Searched refs:sec_out32 (Results 1 – 6 of 6) sorted by relevance
/trusted-firmware-a-3.4.0/include/drivers/nxp/crypto/caam/ |
D | caam_io.h | 27 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) macro 32 sec_out32(((uintptr_t)(addr)), (uint32_t)((val) >> 32)); \ 33 sec_out32(((uintptr_t)(addr)) + 4, (uint32_t)(val)); }) 36 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), (v)) macro 41 sec_out32(((uintptr_t)(addr)) + 4, (uint32_t)((val) >> 32)); \ 42 sec_out32(((uintptr_t)(addr)), (uint32_t)(val)); })
|
D | sec_hw_specific.h | 205 #define sec_write_addr(a, v) sec_out32((a), (v)) 215 (sec_out32(JR_REG(name, (jr)), (val))) 218 (sec_out32(JR_REG_LO(name, (jr)), (val))) 500 sec_out32(®s->irja, num); in hw_enqueue_desc_on_job_ring()
|
/trusted-firmware-a-3.4.0/drivers/nxp/crypto/caam/src/ |
D | sec_hw_specific.c | 36 sec_out32(®s->irba_h, PHYS_ADDR_HI(start_addr)); in hw_set_input_ring_start_addr() 38 sec_out32(®s->irba_h, 0); in hw_set_input_ring_start_addr() 40 sec_out32(®s->irba_l, PHYS_ADDR_LO(start_addr)); in hw_set_input_ring_start_addr() 47 sec_out32(®s->orba_h, PHYS_ADDR_HI(start_addr)); in hw_set_output_ring_start_addr() 49 sec_out32(®s->orba_h, 0); in hw_set_output_ring_start_addr() 51 sec_out32(®s->orba_l, PHYS_ADDR_LO(start_addr)); in hw_set_output_ring_start_addr() 63 sec_out32(®s->orjr, num); in hw_remove_entries() 166 sec_out32(®s->irs, SEC_JOB_RING_SIZE); in hw_reset_job_ring() 169 sec_out32(®s->ors, SEC_JOB_RING_SIZE); in hw_reset_job_ring() 200 sec_out32(®s->jrcr, JR_REG_JRCR_VAL_RESET); in hw_shutdown_job_ring() [all …]
|
D | rng.c | 66 sec_out32(get_caam_addr() + RNG_REG_RTMCTL_OFFSET, val); in kick_trng() 74 sec_out32(get_caam_addr() + RNG_REG_RTSDCTL_OFFSET, val); in kick_trng() 76 sec_out32(get_caam_addr() + RNG_REG_RTFRQMIN_OFFSET, ent_delay >> 2); in kick_trng() 78 sec_out32(get_caam_addr() + RNG_REG_RTFRQMAX_OFFSET, RTFRQMAX_DISABLE); in kick_trng() 85 sec_out32(get_caam_addr() + RNG_REG_RTMCTL_OFFSET, val); in kick_trng() 90 sec_out32(get_caam_addr() + RNG_REG_RTMCTL_OFFSET, val); in kick_trng()
|
D | caam.c | 42 sec_out32(g_nxp_caam_addr + SEC_REG_JR0ICIDR_MS_OFFSET, in config_tz() 47 sec_out32(g_nxp_caam_addr + SEC_REG_JR1ICIDR_MS_OFFSET, in config_tz() 52 sec_out32(g_nxp_caam_addr + SEC_REG_JR2ICIDR_MS_OFFSET, in config_tz() 57 sec_out32(g_nxp_caam_addr + SEC_REG_JR3ICIDR_MS_OFFSET, in config_tz() 104 sec_out32((g_nxp_caam_addr + SEC_REG_JRSTARTR_OFFSET), tmp); in start_jr() 204 sec_out32(g_nxp_caam_addr + SEC_REG_MCFGR_OFFSET, mcfgr); in config_sec_block() 247 sec_out32((uint32_t *)&desc_addr[i], desc_word); in run_descriptor_jr()
|
/trusted-firmware-a-3.4.0/drivers/nxp/crypto/caam/src/auth/ |
D | hash.c | 88 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_hi, in hash_update() 91 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_hi, 0x0); in hash_update() 93 sec_out32(&ctx->sg_tbl[ctx->sg_num].addr_lo, (uintptr_t) data_ptr); in hash_update() 95 sec_out32(&ctx->sg_tbl[ctx->sg_num].len_flag, in hash_update() 131 sec_out32(&ctx->sg_tbl[ctx->sg_num - 1].len_flag, final); in hash_final()
|