| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hisi_qm.h | 55 uint16_t head; 56 uint16_t tail; 65 uint16_t rand_data; 66 uint16_t rsv0; 67 uint16_t pasid; 75 uint16_t w11; 76 uint16_t cq_num; 83 uint16_t w13; 88 uint16_t head; 89 uint16_t tail; [all …]
|
| H A D | sec_main.h | 68 uint16_t icvw_kmode; 86 uint16_t auth_src_offset; 87 uint16_t cipher_src_offset; 88 uint16_t cs_ip_header_offset; 89 uint16_t cs_udp_header_offset; 90 uint16_t pass_word_len; 91 uint16_t dk_len; 97 uint16_t tag; 98 uint16_t rsvd5; 105 uint16_t cph_pad; [all …]
|
| /optee_os/core/include/kernel/ |
| H A D | virtualization.h | 29 TEE_Result virt_guest_created(uint16_t guest_id); 40 TEE_Result virt_guest_destroyed(uint16_t guest_id); 50 TEE_Result virt_set_guest(uint16_t guest_id); 98 uint16_t virt_get_current_guest_id(void); 106 uint16_t virt_get_guest_id(struct guest_partition *prtn); 145 struct guest_partition *virt_get_guest(uint16_t guest_id); 185 static inline TEE_Result virt_guest_created(uint16_t guest_id __unused) in virt_guest_created() 188 static inline TEE_Result virt_guest_destroyed(uint16_t guest_id __unused) in virt_guest_destroyed() 191 static inline TEE_Result virt_set_guest(uint16_t guest_id __unused) in virt_set_guest() 202 static inline uint16_t virt_get_current_guest_id(void) { return 0; } in virt_get_current_guest_id() [all …]
|
| H A D | notif.h | 94 uint16_t guest_id); 100 bool notif_async_is_started(uint16_t guest_id); 102 static inline bool notif_async_is_started(uint16_t guest_id __unused) in notif_async_is_started() 125 void notif_send_async(uint32_t value, uint16_t guest_id); 128 uint16_t guest_id __unused) in notif_send_async() 169 void notif_deliver_atomic_event(enum notif_event ev, uint16_t guest_id); 173 uint16_t guest_id __unused) in notif_deliver_atomic_event()
|
| H A D | rpc_io_i2c.h | 29 uint16_t bus; /* bus identifier used by the REE [0..n] */ 30 uint16_t chip; /* slave identifier from its data sheet */ 31 uint16_t flags; /* transfer flags (ie: ten bit chip address) */
|
| H A D | transfer_list.h | 89 uint16_t tag_id; 120 uint16_t tag_id); 134 uint16_t tag_id __unused) in transfer_list_find() 158 uint16_t tag_id, 163 transfer_list_add_with_align(struct transfer_list_header *tl, uint16_t tag_id,
|
| /optee_os/core/arch/arm/plat-k3/drivers/ |
| H A D | ti_sci_protocol.h | 44 uint16_t checksum; 45 uint16_t reserved; 57 uint16_t type; 100 uint16_t firmware_revision; 175 uint16_t fwl_id; 176 uint16_t region; 203 uint16_t fwl_id; 204 uint16_t region; 230 uint16_t fwl_id; 231 uint16_t region; [all …]
|
| H A D | ti_sci.h | 62 int ti_sci_set_fwl_region(uint16_t fwl_id, uint16_t region, 85 int ti_sci_get_fwl_region(uint16_t fwl_id, uint16_t region, 108 int ti_sci_change_fwl_owner(uint16_t fwl_id, uint16_t region, 110 uint16_t *owner_permission_bits);
|
| H A D | sa2ul.c | 42 uint16_t fwl_id = SA2UL_TI_SCI_FW_ID; in sa2ul_init() 43 uint16_t sa2ul_region = SA2UL_TI_SCI_FW_RGN_ID; in sa2ul_init() 44 uint16_t rng_region = RNG_TI_SCI_FW_RGN_ID; in sa2ul_init() 47 uint16_t owner_permission_bits = 0; in sa2ul_init()
|
| /optee_os/core/include/ |
| H A D | io.h | 30 static inline void io_write16(vaddr_t addr, uint16_t val) in io_write16() 32 *(volatile uint16_t *)addr = val; in io_write16() 50 static inline uint16_t io_read16(vaddr_t addr) in io_read16() 52 return *(volatile uint16_t *)addr; in io_read16() 70 static inline void io_mask16(vaddr_t addr, uint16_t val, uint16_t mask) in io_mask16() 100 static inline uint16_t get_be16(const void *p) in get_be16() 102 return TEE_U16_FROM_BIG_ENDIAN(*(const uint16_t *)p); in get_be16() 105 static inline void put_be16(void *p, uint16_t val) in put_be16() 107 *(uint16_t *)p = TEE_U16_TO_BIG_ENDIAN(val); in put_be16() 132 struct __unaligned_u16_t { uint16_t x; } __packed; [all …]
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
| H A D | s_approxRecip32_1.c | 46 uint16_t eps; in softfloat_approxRecip32_1() 47 static const uint16_t k0s[] = { in softfloat_approxRecip32_1() 51 static const uint16_t k1s[] = { in softfloat_approxRecip32_1() 55 uint16_t r0; in softfloat_approxRecip32_1() 61 eps = (uint16_t) (a>>11); in softfloat_approxRecip32_1()
|
| H A D | s_approxRecipSqrt32_1.c | 46 uint16_t eps; in softfloat_approxRecipSqrt32_1() 47 static const uint16_t k0s[] = { in softfloat_approxRecipSqrt32_1() 51 static const uint16_t k1s[] = { in softfloat_approxRecipSqrt32_1() 55 uint16_t r0; in softfloat_approxRecipSqrt32_1() 62 eps = (uint16_t) (a>>12); in softfloat_approxRecipSqrt32_1()
|
| /optee_os/core/drivers/clk/ |
| H A D | clk-stm32-core.h | 12 uint16_t offset; 19 uint16_t offset; 30 uint16_t offset; 116 void stm32_gate_enable(uint16_t gate_id); 117 void stm32_gate_disable(uint16_t gate_id); 118 bool stm32_gate_is_enabled(uint16_t gate_id); 119 TEE_Result stm32_gate_wait_ready(uint16_t gate_id, bool ready_on); 120 TEE_Result stm32_gate_rdy_enable(uint16_t gate_id); 121 TEE_Result stm32_gate_rdy_disable(uint16_t gate_id); 128 void stm32_gate_set_init_state(uint16_t gate_id, bool enable); [all …]
|
| /optee_os/core/drivers/ |
| H A D | stpmic1.c | 20 const uint16_t *voltage_table; 32 static uint16_t pmic_i2c_addr; 35 static const uint16_t buck1_voltage_table[] = { 102 static const uint16_t buck2_voltage_table[] = { 142 static const uint16_t buck3_voltage_table[] = { 201 static const uint16_t buck4_voltage_table[] = { 265 static const uint16_t ldo1_voltage_table[] = { 293 static const uint16_t ldo2_voltage_table[] = { 321 static const uint16_t ldo3_voltage_table[] = { 357 static const uint16_t ldo5_voltage_table[] = { [all …]
|
| /optee_os/core/arch/riscv/include/ |
| H A D | rpmi.h | 45 uint16_t servicegroup_id; 48 uint16_t datalen; 49 uint16_t token; 77 uint16_t event_datalen;
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | alignment.h | 52 typedef uint16_t __packed mbedtls_uint16_unaligned_t; 87 uint16_t x; 115 static inline uint16_t mbedtls_get_unaligned_uint16(const void *p) in mbedtls_get_unaligned_uint16() 117 uint16_t r; in mbedtls_get_unaligned_uint16() 142 static inline void mbedtls_put_unaligned_uint16(void *p, uint16_t x) in mbedtls_put_unaligned_uint16() 332 #define MBEDTLS_BSWAP16(x) ((uint16_t) __rev16((uint32_t) (x))) 344 static inline uint16_t mbedtls_bswap16(uint16_t x) in mbedtls_bswap16() 389 static const uint16_t mbedtls_byte_order_detector = { 0x100 }; 504 mbedtls_put_unaligned_uint16((data) + (offset), MBEDTLS_BSWAP16((uint16_t) (n))); \ 508 mbedtls_put_unaligned_uint16((data) + (offset), (uint16_t) (n)); \ [all …]
|
| H A D | ssl_misc.h | 759 uint16_t hrr_selected_group; 761 uint16_t new_session_tickets_count; /*!< number of session tickets */ 768 uint16_t received_sig_algs[MBEDTLS_RECEIVED_SIG_ALGS_SIZE]; 772 const uint16_t *group_list; 773 const uint16_t *sig_algs; 812 uint16_t *curves_tls_id; /*!< List of TLS IDs of supported elliptic curves */ 823 uint16_t selected_identity; 886 uint16_t cookie_len; /*!< DTLS: HelloVerifyRequest cookie length 923 uint16_t mtu; /*!< Handshake mtu, used to fragment outgoing messages */ 945 uint16_t offered_group_id; /* The NamedGroup value for the group [all …]
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | spmc_sp_handler.h | 29 int spmc_sp_resume_from_preempted(uint16_t endpoint_id, uint16_t thread_id); 50 static inline int spmc_sp_resume_from_preempted(uint16_t endpoint_id __unused, in spmc_sp_resume_from_preempted() 51 uint16_t thread_id __unused) in spmc_sp_resume_from_preempted()
|
| H A D | thread_spmc.h | 48 size_t idx, uint16_t endpoint_id, 49 uint16_t execution_context, 55 bool spmc_is_reserved_id(uint16_t id); 59 uint16_t sp_id; 66 struct spmc_lsp_desc *spmc_find_lsp_by_sp_id(uint16_t sp_id);
|
| /optee_os/core/arch/arm/include/ |
| H A D | ffa.h | 276 uint16_t endpoint_id; 307 uint16_t sender_id; 319 uint16_t sender_id; 320 uint16_t mem_reg_attr; 337 uint16_t sender_id; 342 uint16_t mem_access_offs; 351 uint16_t id; 352 uint16_t execution_context; 366 uint16_t endpoint_id_array[]; 388 uint16_t flags;
|
| /optee_os/core/lib/libfdt/include/ |
| H A D | libfdt_env.h | 25 typedef uint16_t FDT_BITWISE fdt16_t; 38 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 40 return (FDT_FORCE uint16_t)CPU_TO_FDT16(x); in fdt16_to_cpu() 42 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16()
|
| /optee_os/core/lib/qcbor/inc/qcbor/ |
| H A D | qcbor_private.h | 204 uint16_t uCount; /* Number of items in the arrary or map; counts items 290 uint16_t uCountTotal; 291 uint16_t uCountCursor; 374 uint16_t uLastTags[QCBOR_MAX_TAGS_PER_ITEM1];
|
| /optee_os/core/include/drivers/ |
| H A D | stpmic1_regulator.h | 42 void stpmic1_regulator_levels_mv(const char *name, const uint16_t **levels, 50 int stpmic1_regulator_voltage_set(const char *name, uint16_t millivolts);
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/source/include/ |
| H A D | softfloat_types.h | 61 struct extFloat80M { uint64_t signif; uint16_t signExp; }; 63 struct extFloat80M { uint16_t signExp; uint64_t signif; };
|
| /optee_os/core/lib/libefi/include/efi/ |
| H A D | hob.h | 45 uint16_t hob_type; 46 uint16_t hob_length; 118 TEE_UUID *guid, uint16_t data_length,
|