Searched refs:_SBF (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 19 #define _SBF(v, f) ((v) << (f)) macro 39 #define RK_CRYPTO_WRITE_MASK _SBF(0xFFFF, 16) 63 #define RK_CYYPTO_HASHINSEL_INDEPENDENT_SOURCE _SBF(0x00, 0) 64 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_INPUT _SBF(0x01, 0) 65 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_OUTPUT _SBF(0x02, 0) 86 #define RK_CRYPTO_AES_ECB_MODE _SBF(0x00, 4) 87 #define RK_CRYPTO_AES_CBC_MODE _SBF(0x01, 4) 88 #define RK_CRYPTO_AES_CTR_MODE _SBF(0x02, 4) 89 #define RK_CRYPTO_AES_128BIT_key _SBF(0x00, 2) 90 #define RK_CRYPTO_AES_192BIT_key _SBF(0x01, 2) [all …]
|
D | rk3288_crypto_ahash.c | 94 RK_CRYPTO_HASH_FLUSH | _SBF(0xffff, 16); in rk_ahash_reg_init() 99 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
|
D | rk3288_crypto_skcipher.c | 296 _SBF(RK_CRYPTO_BLOCK_START, 16)); in crypto_dma_start()
|
/Linux-v6.6/drivers/crypto/ |
D | s5p-sss.c | 37 #define _SBF(s, v) ((v) << (s)) macro 84 #define SSS_HASHIN_INDEPENDENT _SBF(0, 0x00) 85 #define SSS_HASHIN_CIPHER_INPUT _SBF(0, 0x01) 86 #define SSS_HASHIN_CIPHER_OUTPUT _SBF(0, 0x02) 87 #define SSS_HASHIN_MASK _SBF(0, 0x03) 125 #define SSS_AES_KEY_SIZE_128 _SBF(4, 0x00) 126 #define SSS_AES_KEY_SIZE_192 _SBF(4, 0x01) 127 #define SSS_AES_KEY_SIZE_256 _SBF(4, 0x02) 129 #define SSS_AES_CHAIN_MODE_ECB _SBF(1, 0x00) 130 #define SSS_AES_CHAIN_MODE_CBC _SBF(1, 0x01) [all …]
|
/Linux-v6.6/drivers/mmc/host/ |
D | dw_mmc.h | 350 #define _SBF(f, v) ((v) << (f)) macro 369 #define SDMMC_TMOUT_DATA(n) _SBF(8, (n))
|
/Linux-v6.6/arch/arm/mach-lpc32xx/ |
D | lpc32xx.h | 13 #define _SBF(f, v) ((v) << (f)) macro 14 #define _BIT(n) _SBF(n, 1)
|