| /optee_os/core/arch/arm/plat-imx/registers/ |
| H A D | imx7-crm.h | 14 #define CCM_GPRx(idx) (((idx) * CCM_GRPx_OFFSET) + CCM_GPR0) argument 15 #define CCM_GPRx_SET(idx) (CCM_GPRx(idx) + 0x4) argument 16 #define CCM_GPRx_CLR(idx) (CCM_GPRx(idx) + 0x8) argument 17 #define CCM_GPRx_TOG(idx) (CCM_GPRx(idx) + 0xC) argument 24 #define CCM_PLL_CTRLx(idx) (((idx) * CCM_PLL_CTRLx_OFFSET) + CCM_PLL_CTRL0) argument 25 #define CCM_PLL_CTRLx_SET(idx) (CCM_PLL_CTRLx(idx) + 0x4) argument 26 #define CCM_PLL_CTRLx_CLR(idx) (CCM_PLL_CTRLx(idx) + 0x8) argument 27 #define CCM_PLL_CTRLx_TOG(idx) (CCM_PLL_CTRLx(idx) + 0xC) argument 34 #define CCM_CCGRx(idx) (((idx) * CCM_CCGRx_OFFSET) + CCM_CCGR0) argument 35 #define CCM_CCGRx_SET(idx) (CCM_CCGRx(idx) + 0x4) argument [all …]
|
| H A D | imx8m-crm.h | 12 #define CCM_CCGRx(idx) (((idx) * CCM_CCGRx_OFFSET) + CCM_CCGR0) argument 13 #define CCM_CCGRx_SET(idx) (CCM_CCGRx(idx) + 0x4) argument 14 #define CCM_CCGRx_CLR(idx) (CCM_CCGRx(idx) + 0x8) argument 15 #define CCM_CCGRx_TOG(idx) (CCM_CCGRx(idx) + 0xC) argument 17 #define BS_CCM_CCGRx_SETTING(idx) ((idx) * 4) argument 18 #define BM_CCM_CCGRx_SETTING(idx) \ argument 20 #define CCM_CCGRx_DISABLE(idx) \ argument 22 #define CCM_CCGRx_RUN(idx) \ argument 24 #define CCM_CCGRx_RUN_WAIT(idx) \ argument 26 #define CCM_CCGRx_ALWAYS_ON(idx) \ argument
|
| /optee_os/core/drivers/crypto/caam/hal/imx_8q/registers/ |
| H A D | ctrl_regs.h | 15 #define JRxDID_MS(idx) (JR0DID_MS + (idx) * (JRxDID_SIZE)) argument 16 #define JRxDID_LS(idx) (JR0DID_LS + (idx) * (JRxDID_SIZE)) argument 33 #define JRX_SMVBAR(idx) (0x0184 + (idx) * (8)) argument
|
| /optee_os/core/drivers/crypto/caam/hal/imx_8ulp/registers/ |
| H A D | ctrl_regs.h | 20 #define JRxDID_MS(idx) (JR0DID_MS + ((idx) * (JRxDID_SIZE))) argument 21 #define JRxDID_LS(idx) (JR0DID_LS + ((idx) * (JRxDID_SIZE))) argument 38 #define JRX_SMVBAR(idx) (0x0184 + (idx) * (8)) argument
|
| /optee_os/core/drivers/crypto/caam/utils/ |
| H A D | utils_sgt.c | 33 unsigned int idx = 0; in caam_sgt_cache_op() local 51 unsigned int idx = 0; in caam_sgt_fill_table() local 71 unsigned int idx = 0; in caam_sgt_derive() local
|
| /optee_os/core/drivers/crypto/caam/hal/imx_8m/registers/ |
| H A D | ctrl_regs.h | 20 #define JRxDID_MS(idx) (JR0DID_MS + ((idx) * JRxDID_SIZE)) argument 21 #define JRxDID_LS(idx) (JR0DID_LS + ((idx) * JRxDID_SIZE)) argument 42 #define JRX_SMVBAR(idx) (0x0184 + (idx) * 8) argument
|
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_xts.c | 22 size_t idx = 0; in do_galois_mult() local 51 unsigned int idx = 0; in do_tweak_block() local 88 size_t idx = 0; in caam_cipher_update_xts() local
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | caam_pwr.c | 27 uint32_t idx = 0; in caam_pwr_add_backup() local 63 uint32_t idx = 0; in do_save_regs() local 93 uint32_t idx = 0; in do_restore_regs() local
|
| /optee_os/core/tee/ |
| H A D | tadb.c | 143 static TEE_Result maybe_grow_files(struct tee_tadb_dir *db, int idx) in maybe_grow_files() 161 static TEE_Result set_file(struct tee_tadb_dir *db, int idx) in set_file() 171 static void clear_file(struct tee_tadb_dir *db, int idx) in clear_file() 181 static bool test_file(struct tee_tadb_dir *db, int idx) in test_file() 193 static TEE_Result read_ent(struct tee_tadb_dir *db, size_t idx, in read_ent() 205 static TEE_Result write_ent(struct tee_tadb_dir *db, size_t idx, in write_ent() 316 size_t idx; in populate_files() local 499 size_t idx; in find_ent() local 529 static TEE_Result find_free_ent_idx(struct tee_tadb_dir *db, size_t *idx) in find_free_ent_idx() 548 size_t idx; in tee_tadb_ta_close_and_commit() local [all …]
|
| H A D | fs_dirfile.c | 54 static TEE_Result maybe_grow_files(struct tee_fs_dirfile_dirh *dirh, int idx) in maybe_grow_files() 72 static TEE_Result set_file(struct tee_fs_dirfile_dirh *dirh, int idx) in set_file() 82 static void clear_file(struct tee_fs_dirfile_dirh *dirh, int idx) in clear_file() 88 static bool test_file(struct tee_fs_dirfile_dirh *dirh, int idx) in test_file() 96 static TEE_Result read_dent(struct tee_fs_dirfile_dirh *dirh, int idx, in read_dent() 245 static TEE_Result find_empty_idx(struct tee_fs_dirfile_dirh *dh, int *idx) in find_empty_idx() 367 const TEE_UUID *uuid, int *idx, void *oid, in tee_fs_dirfile_get_next()
|
| /optee_os/core/include/drivers/ |
| H A D | imx_mu.h | 12 #define IMX_MU_DATA_U32(mesg, idx) ((mesg)->data.u32[(idx)]) argument 13 #define IMX_MU_DATA_U16(mesg, idx) ((mesg)->data.u16[(idx)]) argument 14 #define IMX_MU_DATA_U8(mesg, idx) ((mesg)->data.u8[(idx)]) argument
|
| H A D | tzc400.h | 80 #define FAIL_FILTER_OFF(idx) (U(0x10) * (idx)) argument 82 #define FAIL_ADDRESS_LOW(idx) (FAIL_ADDRESS_LOW_OFF + FAIL_FILTER_OFF(idx)) argument 83 #define FAIL_ADDRESS_HIGH(idx) (FAIL_ADDRESS_HIGH_OFF + FAIL_FILTER_OFF(idx)) argument 84 #define FAIL_CONTROL(idx) (FAIL_CONTROL_OFF + FAIL_FILTER_OFF(idx)) argument 85 #define FAIL_ID(idx) (FAIL_ID_OFF + FAIL_FILTER_OFF(idx)) argument
|
| /optee_os/core/lib/libtomcrypt/src/misc/crypt/ |
| H A D | crypt_hash_is_valid.c | 15 int hash_is_valid(int idx) in hash_is_valid()
|
| H A D | crypt_cipher_is_valid.c | 15 int cipher_is_valid(int idx) in cipher_is_valid()
|
| H A D | crypt_prng_is_valid.c | 15 int prng_is_valid(int idx) in prng_is_valid()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | aes.c | 468 #define AES_RT0(idx) RT0[idx] argument 469 #define AES_RT1(idx) ROTL8(RT0[idx]) argument 470 #define AES_RT2(idx) ROTL16(RT0[idx]) argument 471 #define AES_RT3(idx) ROTL24(RT0[idx]) argument 473 #define AES_FT0(idx) FT0[idx] argument 474 #define AES_FT1(idx) ROTL8(FT0[idx]) argument 475 #define AES_FT2(idx) ROTL16(FT0[idx]) argument 476 #define AES_FT3(idx) ROTL24(FT0[idx]) argument 480 #define AES_RT0(idx) RT0[idx] argument 481 #define AES_RT1(idx) RT1[idx] argument [all …]
|
| H A D | version_features.c | 828 const char * const *idx = features; in mbedtls_version_check_feature() local
|
| /optee_os/core/drivers/crypto/caam/hal/ls/registers/ |
| H A D | ctrl_regs.h | 22 #define JRxMIDR_MS(idx) (JR0MIDR_MS + (idx) * JRxMIDR_SIZE) argument 23 #define JRxMIDR_LS(idx) (JR0MIDR_LS + (idx) * JRxMIDR_SIZE) argument
|
| /optee_os/lib/libutils/ext/ |
| H A D | base64.c | 60 static bool get_idx(char ch, uint8_t *idx) in get_idx() 77 uint8_t idx = 0; in base64_dec() local
|
| /optee_os/core/drivers/imx/dcp/include/ |
| H A D | dcp_utils.h | 12 #define DCP_SRAM_KEY_INDEX(idx) SHIFT_U32(idx, 4) argument
|
| /optee_os/core/drivers/crypto/crypto_api/math/ |
| H A D | modulus.c | 32 size_t min = 0, idx = 0; in drvcrypt_xor_mod_n() local
|
| /optee_os/core/arch/arm/plat-sam/ |
| H A D | platform_sama5d2.c | 513 struct peri_security *peri_security_get(unsigned int idx) in peri_security_get() 523 struct matrix *matrix_get(unsigned int idx) in matrix_get()
|
| H A D | platform_sama7g5.c | 744 struct peri_security *peri_security_get(unsigned int idx) in peri_security_get() 754 struct matrix *matrix_get(unsigned int idx) in matrix_get()
|
| /optee_os/core/arch/riscv/mm/ |
| H A D | core_mmu_arch.c | 101 unsigned int idx) in core_mmu_table_get_entry() 259 unsigned int idx = va >> CORE_MMU_SHIFT_OF_LEVEL(level); in core_mmu_pgt_idx() local 266 unsigned int idx) in core_mmu_pgt_get_va_base() 404 unsigned int idx) in core_mmu_get_next_level_pgt() 424 unsigned int idx) in core_mmu_entry_copy() 691 unsigned int idx = 0; in arch_va2pa_helper() local 758 unsigned int idx = 0; in core_mmu_find_table() local 793 unsigned int idx, bool secure __unused) in core_mmu_entry_to_finer_grained() 837 size_t idx, paddr_t *pa, uint32_t *attr) in core_mmu_get_entry_primitive() 855 void core_mmu_set_entry_primitive(void *table, size_t level, size_t idx, in core_mmu_set_entry_primitive() [all …]
|
| /optee_os/core/drivers/crypto/caam/hal/imx_6_7/registers/ |
| H A D | ctrl_regs.h | 22 #define JRxMIDR_MS(idx) (JR0MIDR_MS + (idx) * JRxMIDR_SIZE) argument 23 #define JRxMIDR_LS(idx) (JR0MIDR_LS + (idx) * JRxMIDR_SIZE) argument
|