Home
last modified time | relevance | path

Searched refs:sec_out32 (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-a/include/drivers/nxp/crypto/caam/
A Dcaam_io.h27 #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 Dsec_hw_specific.h208 #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(&regs->irja, num); in hw_enqueue_desc_on_job_ring()
/trusted-firmware-a/drivers/nxp/crypto/caam/src/
A Dsec_hw_specific.c36 sec_out32(&regs->irba_h, PHYS_ADDR_HI(start_addr)); in hw_set_input_ring_start_addr()
38 sec_out32(&regs->irba_h, 0); in hw_set_input_ring_start_addr()
49 sec_out32(&regs->orba_h, 0); in hw_set_output_ring_start_addr()
63 sec_out32(&regs->orjr, num); in hw_remove_entries()
166 sec_out32(&regs->irs, SEC_JOB_RING_SIZE); in hw_reset_job_ring()
169 sec_out32(&regs->ors, SEC_JOB_RING_SIZE); in hw_reset_job_ring()
339 sec_out32(&regs->jrcfg1, reg_val); in hw_job_ring_set_coalescing_param()
359 sec_out32(&regs->jrcfg1, reg_val); in hw_job_ring_enable_coalescing()
379 sec_out32(&regs->jrcfg1, reg_val); in hw_job_ring_disable_coalescing()
610 sec_out32(&regs->jrcfg1, reg_val); in jr_enable_irqs()
[all …]
A Drng.c66 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 Dcaam.c42 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 Dhash.c88 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