Home
last modified time | relevance | path

Searched refs:BITMASK (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/
Dcc_bitops.h19 #define BITMASK(mask_size) (((mask_size) < 32) ? \ macro
22 #define BITMASK_AT(mask_size, mask_offset) (BITMASK(mask_size) << (mask_offset))
26 (((word) >> (bit_offset)) & BITMASK(bit_size))
30 (((new_val) & BITMASK(bit_size)) << (bit_offset)); \
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Native_Driver/
Dgfc100_eflash_drv.c26 #define BITMASK(width) ((1U<<(width))-1) macro
89 #define GFC100_ALL_IRQ_MASK BITMASK(GFC100_IRQ_MAX_NUMBER)
95 (BITMASK(GFC100_CTRL_CMD_WIDTH)<<GFC100_CTRL_CMD_POS)
104 (BITMASK(GFC100_CTRL_CMD_ABORT_WIDTH)<<GFC100_CTRL_CMD_ABORT_POS)
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dgcm_alt.c282 pAesGcmCtx->tempBuf[3] = (pAesGcmCtx->ivSize << 3) & BITMASK(CC_BITS_IN_32BIT_WORD); in gcm_process_j0()
391 pAesGcmCtx->tempBuf[1] = (pAesGcmCtx->aadSize << 3) & BITMASK(CC_BITS_IN_32BIT_WORD); in gcm_process_lenA_lenC()
394 pAesGcmCtx->tempBuf[3] = (pAesGcmCtx->dataSize << 3) & BITMASK(CC_BITS_IN_32BIT_WORD); in gcm_process_lenA_lenC()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c63 #define BITMASK(width) ((1u<<(width))-1) macro
152 (BITMASK(SYSCOUNTER_ARMV8M_CNTID_CNTSELCLK_WIDTH) \
Dsystimer_armv8-m_drv.c36 #define BITMASK(width) ((1u<<(width))-1) macro
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c64 #define BITMASK(width) ((1u<<(width))-1) macro
100 (BITMASK(SYSCOUNTER_ARMV8M_CNTID_CNTSELCLK_WIDTH) \
Dsystimer_armv8-m_drv.c36 #define BITMASK(width) ((1u<<(width))-1) macro
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c63 #define BITMASK(width) ((1u<<(width))-1) macro
152 (BITMASK(SYSCOUNTER_ARMV8M_CNTID_CNTSELCLK_WIDTH) \
Dsystimer_armv8-m_drv.c36 #define BITMASK(width) ((1u<<(width))-1) macro
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c63 #define BITMASK(width) ((1u<<(width))-1) macro
152 (BITMASK(SYSCOUNTER_ARMV8M_CNTID_CNTSELCLK_WIDTH) \
Dsystimer_armv8-m_drv.c36 #define BITMASK(width) ((1u<<(width))-1) macro
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Daesgcm_driver.c64 if (BITMASK(CC_BITS_IN_32BIT_WORD) != tmpWord) { in inc32AesGcmJ0()