Home
last modified time | relevance | path

Searched refs:set_field_u32 (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_saes.c140 set_field_u32(cr, _SAES_CR_CHMOD_MASK, _SAES_CR_CHMOD_##mode)
570 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_MODE_MASK, in stm32_saes_init()
573 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_MODE_MASK, in stm32_saes_init()
606 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_DATATYPE_MASK, in stm32_saes_init()
624 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_KEYSEL_MASK, in stm32_saes_init()
656 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_KEYSEL_MASK, in stm32_saes_init()
660 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_KEYSEL_MASK, in stm32_saes_init()
664 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_KEYSEL_MASK, in stm32_saes_init()
668 ctx->cr = set_field_u32(ctx->cr, _SAES_CR_KEYSEL_MASK, in stm32_saes_init()
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c181 xstatus = set_field_u32(xstatus, CSR_XSTATUS_IE, 0); in xstatus_for_xret()
182 xstatus = set_field_u32(xstatus, CSR_XSTATUS_PIE, pie); in xstatus_for_xret()
183 xstatus = set_field_u32(xstatus, CSR_XSTATUS_SPP, pp); in xstatus_for_xret()
/optee_os/lib/libutils/ext/include/
H A Dutil.h296 static inline uint32_t set_field_u32(uint32_t reg, uint32_t mask, uint32_t val) in set_field_u32() function