/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/registers/ |
A D | rng_regs.h | 28 #define TRNG_SDCTL_ENT_DLY(val) SHIFT_U32(((val) & 0xFFFF), 16) argument 29 #define TRNG_SDCTL_SAMP_SIZE(val) ((val) & 0xFFFF) argument 46 #define TRNG_RTSCMISC_RTY_CNT(val) SHIFT_U32(((val) & (0xF)), 16) argument 48 #define TRNG_RTSCMISC_LRUN_MAX(val) SHIFT_U32(((val) & (0xFF)), 0) argument 53 #define TRNG_RTPKRRNG_PKR_RNG(val) SHIFT_U32(((val) & (0xFFFF)), 0) argument 63 #define TRNG_RTSCML_MONO_RNG(val) SHIFT_U32(((val) & (0xFFFF)), 16) argument 65 #define TRNG_RTSCML_MONO_MAX(val) SHIFT_U32(((val) & (0xFFFF)), 0) argument 72 #define TRNG_RTSCR1L_RUN1_MAX(val) SHIFT_U32(((val) & (0x7FFF)), 0) argument 79 #define TRNG_RTSCR2L_RUN2_MAX(val) SHIFT_U32(((val) & (0x3FFF)), 0) argument 93 #define TRNG_RTSCR4L_RUN4_MAX(val) SHIFT_U32(((val) & (0xFFF)), 0) argument [all …]
|
A D | version_regs.h | 15 #define GET_CTPR_MS_RNG_I(val) (((val) & BM_CTPR_MS_RNG_I) >> 8) argument 19 #define GET_CTPR_LS_SPLIT_KEY(val) (((val) & BM_CTPR_LS_SPLIT_KEY) >> 14) argument 24 #define GET_SMVID_MS_MAX_NPAG(val) (((val) & BM_SMVID_MS_MAX_NPAG) >> 16) argument 26 #define GET_SMVID_MS_NPRT(val) (((val) & BM_SMVID_MS_NPRT) >> 12) argument 30 #define GET_SMVID_LS_PSIZ(val) (((val) & BM_SMVID_LS_PSIZ) >> 16) argument 52 #define GET_CHANUM_LS_PKNUM(val) (((val) & BM_CHANUM_LS_PKNUM) >> 28) argument 54 #define GET_CHANUM_LS_MDNUM(val) (((val) & BM_CHANUM_LS_MDNUM) >> 12) argument 59 #define GET_PKHA_VERSION_PKNUM(val) ((val) & BM_PKHA_VERSION_PKNUM) argument 64 #define GET_MDHA_VERSION_MDNUM(val) ((val) & BM_MDHA_VERSION_MDNUM) argument 72 #define GET_RNG_VERSION_VID(val) ((val) & BM_RNG_VERSION_VID) argument [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/ |
A D | hal_ctrl.c | 19 uint32_t val = io_caam_read32(baseaddr + CCBVID); in caam_hal_ctrl_era() local 26 uint32_t val = 0; in caam_hal_ctrl_jrnum() local 42 uint32_t val = 0; in caam_hal_ctrl_hash_limit() local 76 uint32_t val = io_caam_read32(baseaddr + CTPR_LS); in caam_hal_ctrl_splitkey_support() local 83 uint32_t val = 0; in caam_hal_ctrl_pknum() local 101 uint32_t val = 0; in caam_hal_ctrl_inc_priblob() local
|
A D | hal_jr.c | 158 uint32_t val = 0; in caam_hal_jr_check_ack_itr() local 174 uint32_t val = 0; in caam_hal_jr_halt() local 204 uint32_t val = 0; in caam_hal_jr_flush() local
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_6_7/registers/ |
A D | ctrl_regs.h | 15 #define MCFGR_AXIPIPE(val) SHIFT_U32(val, 4) argument 30 #define JRxMIDR_MS_JROWN_MID(val) SHIFT_U32((val) & 0x7, 0) argument 33 #define JRxMIDR_LS_NONSEQ_MID(val) SHIFT_U32((val) & 0x7, 16) argument 35 #define JRxMIDR_LS_SEQ_MID(val) SHIFT_U32((val) & 0x7, 0) argument 38 #define JRxMIDR_MS_JROWN_MID(val) SHIFT_U32((val) & 0xF, 0) argument 41 #define JRxMIDR_LS_NONSEQ_MID(val) SHIFT_U32((val) & 0xF, 16) argument 43 #define JRxMIDR_LS_SEQ_MID(val) SHIFT_U32((val) & 0xF, 0) argument
|
/optee_os-3.20.0/core/include/ |
A D | io.h | 23 static inline void io_write8(vaddr_t addr, uint8_t val) in io_write8() 28 static inline void io_write16(vaddr_t addr, uint16_t val) in io_write16() 33 static inline void io_write32(vaddr_t addr, uint32_t val) in io_write32() 38 static inline void io_write64(vaddr_t addr, uint64_t val) in io_write64() 83 static inline void put_be64(void *p, uint64_t val) in put_be64() 93 static inline void put_be32(void *p, uint32_t val) in put_be32() 103 static inline void put_be16(void *p, uint16_t val) in put_be16() 108 static inline void put_le32(const void *p, uint32_t val) in put_le32() 118 static inline void put_le64(const void *p, uint64_t val) in put_le64() 141 static inline void put_unaligned_be64(void *p, uint64_t val) in put_unaligned_be64() [all …]
|
A D | gen-asm-defines.h | 9 #define DEFINE(def, val) \ argument
|
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/ |
A D | gpcv2.c | 21 uint32_t val = io_read32(gpc_base() + offset) & (~GPC_PGC_PCG_MASK); in imx_gpcv2_set_core_pgc() local 31 uint32_t val = io_read32(gpc_base() + GPC_CPU_PGC_SW_PDN_REQ); in imx_gpcv2_set_core1_pdn_by_software() local 48 uint32_t val = io_read32(gpc_base() + GPC_CPU_PGC_SW_PUP_REQ); in imx_gpcv2_set_core1_pup_by_software() local
|
/optee_os-3.20.0/core/include/dt-bindings/gpio/ |
A D | atmel,piobu.h | 11 #define PIOBU_PIN_AFV(val) (((val) & PIOBU_PIN_AFV_MASK) >> \ argument 16 #define PIOBU_PIN_RFV(val) (((val) & PIOBU_PIN_RFV_MASK) >> \ argument 21 #define PIOBU_PIN_PULL_MODE(val) (((val) & PIOBU_PIN_PULL_MODE_MASK) >> \ argument 29 #define PIOBU_PIN_DEF_LEVEL(val) (((val) & PIOBU_PIN_DEF_LEVEL_MASK) >> \ argument 36 #define PIOBU_PIN_WAKEUP(val) (((val) & PIOBU_PIN_WAKEUP_MASK) >> \ argument
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/ls/registers/ |
A D | ctrl_regs.h | 15 #define MCFGR_AXIPIPE(val) SHIFT_U32(val, 4) argument 30 #define JRxMIDR_MS_JROWN_MID(val) SHIFT_U32((val) & 0x7, 0) argument 33 #define JRxMIDR_LS_NONSEQ_MID(val) SHIFT_U32((val) & 0x7, 16) argument 35 #define JRxMIDR_LS_SEQ_MID(val) SHIFT_U32((val) & 0x7, 0) argument
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | atomic.h | 46 static inline void atomic_store_int(int *p, int val) in atomic_store_int() 51 static inline void atomic_store_short(short int *p, short int val) in atomic_store_short() 56 static inline void atomic_store_uint(unsigned int *p, unsigned int val) in atomic_store_uint() 61 static inline void atomic_store_u32(uint32_t *p, uint32_t val) in atomic_store_u32()
|
/optee_os-3.20.0/core/include/kernel/ |
A D | refcount.h | 51 unsigned int val; member 59 static inline void refcount_set(struct refcount *r, unsigned int val) in refcount_set()
|
/optee_os-3.20.0/core/arch/arm/plat-marvell/armada3700/ |
A D | hal_sec_perf.c | 70 #define TZ_SET_PERM(data, val) \ argument 77 #define TZ_SET_RZ_EN(data, val) \ argument 85 #define TZ_SET_AREA_LEN_CODE(data, val) \ argument 94 #define TZ_SET_START_ADDR_L(data, val) \ argument 100 #define TZ_GET_UR_PERM(data, val) ((ret) = (((data) & (0x3 << 4)) >> 4)) argument 101 #define TZ_SET_UR_PERM(data, val) \ argument 107 #define TZ_GET_UR_RZ_EN(data, val) \ argument 110 #define TZ_SET_UR_RZ_EN(data, val) \ argument
|
/optee_os-3.20.0/core/lib/libfdt/ |
A D | fdt_addresses.c | 17 uint32_t val; in fdt_cells() local 36 int val; in fdt_address_cells() local 48 int val; in fdt_size_cells() local
|
/optee_os-3.20.0/core/arch/arm/plat-marvell/armada7k8k/ |
A D | hal_sec_perf.c | 69 #define TZ_SET_PERM(data, val) \ argument 76 #define TZ_SET_RZ_EN(data, val) \ argument 84 #define TZ_SET_AREA_LEN_CODE(data, val) \ argument 93 #define TZ_SET_START_ADDR_L(data, val) \ argument 99 #define TZ_GET_UR_PERM(data, val) ((ret) = (((data) & (0x3 << 4)) >> 4)) argument 100 #define TZ_SET_UR_PERM(data, val) \ argument 106 #define TZ_GET_UR_RZ_EN(data, val) \ argument 109 #define TZ_SET_UR_RZ_EN(data, val) \ argument
|
/optee_os-3.20.0/core/lib/libfdt/include/ |
A D | libfdt.h | 1285 const char *name, uint32_t val) in fdt_setprop_inplace_u32() 1320 const char *name, uint64_t val) in fdt_setprop_inplace_u64() 1332 const char *name, uint32_t val) in fdt_setprop_inplace_cell() 1435 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() 1440 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() 1646 uint32_t val) in fdt_setprop_u32() 1681 uint64_t val) in fdt_setprop_u64() 1693 uint32_t val) in fdt_setprop_cell() 1818 const char *name, uint32_t val) in fdt_appendprop_u32() 1853 const char *name, uint64_t val) in fdt_appendprop_u64() [all …]
|
/optee_os-3.20.0/core/arch/arm/plat-zynq7k/ |
A D | main.c | 134 uint32_t val; in arm_cl2_enable() local 163 static uint32_t write_slcr(uint32_t addr, uint32_t val) in write_slcr() 184 static uint32_t read_slcr(uint32_t addr, uint32_t *val) in read_slcr()
|
/optee_os-3.20.0/core/drivers/ |
A D | tzc400.c | 92 static void tzc_write_gate_keeper(vaddr_t base, uint32_t val) in tzc_write_gate_keeper() 108 uint32_t val) in tzc_write_region_base_low() 119 uint32_t val) in tzc_write_region_base_high() 130 uint32_t val) in tzc_write_region_top_low() 141 uint32_t val) in tzc_write_region_top_high() 152 uint32_t val) in tzc_write_region_attributes() 163 uint32_t val) in tzc_write_region_id_access() 191 static void tzc_set_gate_keeper(vaddr_t base, uint8_t filter, uint32_t val) in tzc_set_gate_keeper()
|
A D | tzc380.c | 71 uint32_t val) in tzc_write_region_base_low() 77 uint32_t val) in tzc_write_region_base_high() 88 uint32_t val) in tzc_write_region_attributes() 128 uint32_t val; in tzc_region_enable() local 300 uint32_t val = 0; in tzc_regions_lockdown() local
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8q/registers/ |
A D | ctrl_regs.h | 19 #define JRxDID_MS_PRIM_ICID(val) SHIFT_U32((val) & (0x3FF), 19) argument 24 #define JRxDID_MS_PRIM_DID(val) SHIFT_U32((val) & (0xF), 0) argument
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8m/registers/ |
A D | ctrl_regs.h | 24 #define JRxDID_MS_PRIM_ICID(val) SHIFT_U32(((val) & 0x3FF), 19) argument 29 #define JRxDID_MS_PRIM_DID(val) SHIFT_U32(((val) & 0xF), 0) argument
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_io.h | 18 #define io_caam_write32(a, val) io_write32(a, TEE_U32_TO_BIG_ENDIAN(val)) argument 26 #define io_caam_write32(a, val) io_write32(a, val) argument
|
/optee_os-3.20.0/core/arch/arm/plat-imx/ |
A D | mmdc.c | 19 uint32_t val = 0; in imx_get_ddr_type() local
|
A D | imx_pl310.c | 29 uint32_t val = 0; in arm_cl2_config() local 113 uint32_t val = PL310_DEBUG_CTRL_DISABLE_WRITEBACK | in pl310_disable_writeback() local
|
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8ulp/registers/ |
A D | ctrl_regs.h | 24 #define JRxDID_MS_PRIM_ICID(val) SHIFT_U32(((val) & (0x3FF)), 19) argument 29 #define JRxDID_MS_PRIM_DID(val) SHIFT_U32(((val) & (0xF)), 0) argument
|