Searched refs:sec_out32 (Results 1 – 6 of 6) sorted by relevance
/trusted-firmware-a/include/drivers/nxp/crypto/caam/ |
A 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)); })
|
A D | sec_hw_specific.h | 208 #define sec_write_addr(a, v) sec_out32((a), (v)) 218 (sec_out32(JR_REG(name, (jr)), (val))) 221 (sec_out32(JR_REG_LO(name, (jr)), (val))) 503 sec_out32(®s->irja, num); in hw_enqueue_desc_on_job_ring()
|
/trusted-firmware-a/drivers/nxp/crypto/caam/src/ |
A 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() 49 sec_out32(®s->orba_h, 0); 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() 339 sec_out32(®s->jrcfg1, reg_val); in hw_job_ring_set_coalescing_param() 359 sec_out32(®s->jrcfg1, reg_val); in hw_job_ring_enable_coalescing() 379 sec_out32(®s->jrcfg1, reg_val); in hw_job_ring_disable_coalescing() 610 sec_out32(®s->jrcfg1, reg_val); in jr_enable_irqs() [all …]
|
A 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()
|
A 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/drivers/nxp/crypto/caam/src/auth/ |
A 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()
|
Completed in 8 milliseconds