/trusted-firmware-a/include/drivers/ |
A D | raw_nand.h | 90 uint16_t type; 100 uint16_t rev; 102 uint16_t opt_cmd; 139 uint16_t tprog; 140 uint16_t tbers; 141 uint16_t tr; 142 uint16_t tccs; 151 uint16_t tr_max; 152 uint16_t tadl; 153 uint16_t tr_typ; [all …]
|
A D | usb_device.h | 109 uint16_t value; 110 uint16_t index; 111 uint16_t length; 159 uint8_t *(*get_device_desc)(uint16_t *length); 160 uint8_t *(*get_lang_id_desc)(uint16_t *length); 161 uint8_t *(*get_manufacturer_desc)(uint16_t *length); 162 uint8_t *(*get_product_desc)(uint16_t *length); 163 uint8_t *(*get_serial_desc)(uint16_t *length); 165 uint8_t *(*get_interface_desc)(uint16_t *length); 167 uint8_t *(*get_config_desc)(uint16_t *length); [all …]
|
/trusted-firmware-a/plat/xilinx/zynqmp/pm_service/ |
A D | pm_api_pinctrl.c | 24 uint16_t (*groups)[]; 32 uint16_t (*groups)[]; 39 .groups = &((uint16_t []) { 65 .groups = &((uint16_t []) { 92 .groups = &((uint16_t []) { 100 .groups = &((uint16_t []) { 108 .groups = &((uint16_t []) { 116 .groups = &((uint16_t []) { 2550 uint16_t *grps; in pm_api_pinctrl_get_num_func_groups() 2606 uint16_t *grps; in pm_api_pinctrl_get_function_groups() [all …]
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/rtc/ |
A D | rtc.c | 11 static void RTC_Config_Interface(uint32_t addr, uint16_t data, in RTC_Config_Interface() 12 uint16_t MASK, uint16_t SHIFT) in RTC_Config_Interface() 14 uint16_t pmic_reg = 0; in RTC_Config_Interface() 26 uint16_t reboot; in rtc_disable_2sec_reboot() 34 static void rtc_xosc_write(uint16_t val, bool reload) in rtc_xosc_write() 36 uint16_t bbpu; in rtc_xosc_write() 55 uint16_t osc32; in rtc_enable_k_eosc() 56 uint16_t rtc_eosc_cali_td = 8; /* eosc cali period time */ in rtc_enable_k_eosc() 112 uint16_t bbpu; in rtc_power_off_sequence()
|
/trusted-firmware-a/drivers/brcm/mdio/ |
A D | mdio.c | 31 static int mdio_op(uint16_t busid, uint16_t phyid, uint32_t reg, in mdio_op() 32 uint16_t val, uint8_t op) in mdio_op() 67 int mdio_write(uint16_t busid, uint16_t phyid, uint32_t reg, uint16_t val) in mdio_write() 78 int mdio_read(uint16_t busid, uint16_t phyid, uint32_t reg) in mdio_read()
|
/trusted-firmware-a/include/drivers/brcm/mdio/ |
A D | mdio.h | 29 int mdio_write(uint16_t busid, uint16_t phyid, uint32_t reg, uint16_t val); 30 int mdio_read(uint16_t busid, uint16_t phyid, uint32_t reg);
|
/trusted-firmware-a/drivers/st/pmic/ |
A D | stpmic1.c | 17 const uint16_t *voltage_table; 29 static uint16_t pmic_i2c_addr; 32 static const uint16_t buck1_voltage_table[] = { 99 static const uint16_t buck2_voltage_table[] = { 139 static const uint16_t buck3_voltage_table[] = { 198 static const uint16_t buck4_voltage_table[] = { 262 static const uint16_t ldo1_voltage_table[] = { 290 static const uint16_t ldo2_voltage_table[] = { 318 static const uint16_t ldo3_voltage_table[] = { 700 (uint16_t)register_id, in stpmic1_register_read() [all …]
|
/trusted-firmware-a/plat/st/stm32mp1/ |
A D | stm32mp1_usb_dfu.c | 163 uint16_t length; in update_serial_num_string() 196 static uint8_t *stm32mp1_get_qualifier_desc(uint16_t *length) in stm32mp1_get_qualifier_desc() 208 static uint8_t *stm32mp1_get_config_desc(uint16_t *length) in stm32mp1_get_config_desc() 220 static uint8_t *stm32mp1_device_desc(uint16_t *length) in stm32mp1_device_desc() 232 static uint8_t *stm32mp1_lang_id_desc(uint16_t *length) in stm32mp1_lang_id_desc() 244 static uint8_t *stm32mp1_product_desc(uint16_t *length) in stm32mp1_product_desc() 269 static uint8_t *stm32mp1_manufacturer_desc(uint16_t *length) in stm32mp1_manufacturer_desc() 281 static uint8_t *stm32mp1_serial_desc(uint16_t *length) in stm32mp1_serial_desc() 293 static uint8_t *stm32mp1_config_desc(uint16_t *length) in stm32mp1_config_desc() 305 static uint8_t *stm32mp1_interface_desc(uint16_t *length) in stm32mp1_interface_desc() [all …]
|
/trusted-firmware-a/plat/imx/common/include/ |
A D | imx_wdog.h | 15 uint16_t wcr; 16 uint16_t wsr; 17 uint16_t wrsr; 18 uint16_t wicr; 19 uint16_t wmcr;
|
/trusted-firmware-a/include/drivers/st/ |
A D | stm32_i2c.h | 306 int stm32_i2c_mem_write(struct i2c_handle_s *hi2c, uint16_t dev_addr, 307 uint16_t mem_addr, uint16_t mem_add_size, 308 uint8_t *p_data, uint16_t size, uint32_t timeout_ms); 309 int stm32_i2c_mem_read(struct i2c_handle_s *hi2c, uint16_t dev_addr, 310 uint16_t mem_addr, uint16_t mem_add_size, 311 uint8_t *p_data, uint16_t size, uint32_t timeout_ms); 312 int stm32_i2c_master_transmit(struct i2c_handle_s *hi2c, uint16_t dev_addr, 313 uint8_t *p_data, uint16_t size, 315 int stm32_i2c_master_receive(struct i2c_handle_s *hi2c, uint16_t dev_addr, 316 uint8_t *p_data, uint16_t size, [all …]
|
/trusted-firmware-a/include/lib/ |
A D | mmio.h | 22 static inline void mmio_write_16(uintptr_t addr, uint16_t value) in mmio_write_16() 24 *(volatile uint16_t*)addr = value; in mmio_write_16() 27 static inline uint16_t mmio_read_16(uintptr_t addr) in mmio_read_16() 29 return *(volatile uint16_t*)addr; in mmio_read_16() 33 uint16_t clear, in mmio_clrsetbits_16() 34 uint16_t set) in mmio_clrsetbits_16()
|
A D | bakery_lock.h | 44 static inline uint16_t make_bakery_data(unsigned int choosing, unsigned int num) in make_bakery_data() 48 return (uint16_t) val; in make_bakery_data() 68 volatile uint16_t lock_data[BAKERY_LOCK_MAX_CPUS]; 88 volatile uint16_t lock_data;
|
/trusted-firmware-a/drivers/st/i2c/ |
A D | stm32_i2c.c | 405 uint16_t size, uint32_t i2c_mode, in i2c_transfer_config() 433 uint16_t dev_addr, uint16_t mem_addr, in i2c_request_memory_write() 434 uint16_t mem_add_size, uint64_t timeout_ref) in i2c_request_memory_write() 480 uint16_t mem_addr, uint16_t mem_add_size, in i2c_request_memory_read() 529 uint16_t mem_addr, uint16_t mem_add_size, in i2c_write() 670 uint16_t mem_addr, uint16_t mem_add_size, in stm32_i2c_mem_write() 688 uint8_t *p_data, uint16_t size, in stm32_i2c_master_transmit() 710 uint16_t mem_addr, uint16_t mem_add_size, in i2c_read() 839 uint16_t mem_addr, uint16_t mem_add_size, in stm32_i2c_mem_read() 857 uint8_t *p_data, uint16_t size, in stm32_i2c_master_receive() [all …]
|
/trusted-firmware-a/plat/mediatek/common/drivers/rtc/ |
A D | rtc_mt6359p.c | 12 static void RTC_Config_Interface(uint32_t addr, uint16_t data, in RTC_Config_Interface() 13 uint16_t mask, uint16_t shift) in RTC_Config_Interface() 15 uint16_t pmic_reg; in RTC_Config_Interface() 27 uint16_t reboot; in rtc_disable_2sec_reboot() 38 uint16_t alm_dow, alm_sec; in rtc_enable_k_eosc() 109 uint16_t bbpu; in rtc_power_off_sequence()
|
/trusted-firmware-a/include/tools_share/ |
A D | firmware_encrypted.h | 34 uint16_t dec_algo; 35 uint16_t flags; 36 uint16_t iv_len; 37 uint16_t tag_len;
|
/trusted-firmware-a/plat/arm/board/corstone700/common/ |
A D | corstone700_stack_protector.c | 21 uint16_t random_lo = (uint16_t)( in plat_generate_random_number() 25 uint16_t random_hi = (uint16_t)( in plat_generate_random_number()
|
/trusted-firmware-a/plat/arm/board/diphda/common/ |
A D | diphda_stack_protector.c | 21 uint16_t random_lo = (uint16_t)( in plat_generate_random_number() 25 uint16_t random_hi = (uint16_t)( in plat_generate_random_number()
|
/trusted-firmware-a/include/lib/libc/aarch32/ |
A D | endian_.h | 69 #define __ntohs(x) ((uint16_t)(x)) 71 #define __htons(x) ((uint16_t)(x)) 105 static __inline uint16_t 106 __bswap16_var(uint16_t v) in __bswap16_var() 116 return ((uint16_t)ret); in __bswap16_var() 132 ((uint16_t)(__builtin_constant_p(x) ? \
|
/trusted-firmware-a/drivers/nxp/ddr/phy-gen2/ |
A D | ddr4fw.h | 20 uint16_t dramfreq; 99 uint16_t mr0; 100 uint16_t mr1; 101 uint16_t mr2; 102 uint16_t mr3; 103 uint16_t mr4; 104 uint16_t mr5; 105 uint16_t mr6; 261 uint16_t mr0; 262 uint16_t mr1; [all …]
|
A D | phy.c | 75 static inline void phy_io_write16(uint16_t *phy, uint32_t addr, uint16_t data) in phy_io_write16() 83 static inline uint16_t phy_io_read16(uint16_t *phy, uint32_t addr) in phy_io_read16() 100 uint16_t *buf, uint32_t len) in read_phy_reg() 148 uint16_t *phy; in get_cdd_val() 477 uint16_t *phy = NULL; in restore_phy_training_values() 716 uint16_t *phy; in i_load_pie() 1755 uint16_t loop_vector; in prog_dfi_xlat() 1874 uint16_t *phy; in c_init_phy_config() 2125 uint16_t *phy; in g_exec_fw() 2160 uint16_t *img, in send_fw() [all …]
|
A D | phy.h | 17 uint16_t data; 34 int save_phy_training_values(uint16_t **phy_ptr, uint32_t address_to_store, 49 int restore_phy_training_values(uint16_t **phy_ptr, uint32_t address_to_restore,
|
/trusted-firmware-a/plat/allwinner/common/include/ |
A D | sunxi_private.h | 36 int sunxi_pmic_setup(uint16_t socid, const void *fdt); 39 uint16_t sunxi_read_soc_id(void); 41 int sunxi_init_platform_r_twi(uint16_t socid, bool use_rsb); 42 void sunxi_execute_arisc_code(uint32_t *code, size_t size, uint16_t param);
|
/trusted-firmware-a/include/lib/libc/aarch64/ |
A D | endian_.h | 90 static __inline uint16_t 91 __bswap16_var(uint16_t v) in __bswap16_var() 98 return ((uint16_t)ret); in __bswap16_var() 114 ((uint16_t)(__builtin_constant_p(x) ? \ 115 __bswap16_constant((uint16_t)(x)) : \
|
/trusted-firmware-a/drivers/marvell/ |
A D | ddr_phy_access.c | 26 int snps_fw_write(uintptr_t offset, uint16_t data) in snps_fw_write() 38 int snps_fw_read(uintptr_t offset, uint16_t *read) in snps_fw_read() 50 int mvebu_ddr_phy_write(uintptr_t offset, uint16_t data) in mvebu_ddr_phy_write() 55 int mvebu_ddr_phy_read(uintptr_t offset, uint16_t *read) in mvebu_ddr_phy_read()
|
/trusted-firmware-a/include/lib/libc/ |
A D | endian.h | 57 #define htole16(x) ((uint16_t)(x)) 64 #define le16toh(x) ((uint16_t)(x)) 68 #define htobe16(x) ((uint16_t)(x)) 75 #define be16toh(x) ((uint16_t)(x)) 85 static __inline uint16_t 109 static __inline uint16_t 134 be16enc(void *pp, uint16_t u) in be16enc() 163 le16enc(void *pp, uint16_t u) in le16enc()
|