Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/rockchip/
Drk3288_crypto.h19 #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 …]
Drk3288_crypto_ahash.c94 RK_CRYPTO_HASH_FLUSH | _SBF(0xffff, 16); in rk_ahash_reg_init()
99 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
Drk3288_crypto_skcipher.c296 _SBF(RK_CRYPTO_BLOCK_START, 16)); in crypto_dma_start()
/Linux-v6.6/drivers/crypto/
Ds5p-sss.c37 #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/
Ddw_mmc.h350 #define _SBF(f, v) ((v) << (f)) macro
369 #define SDMMC_TMOUT_DATA(n) _SBF(8, (n))
/Linux-v6.6/arch/arm/mach-lpc32xx/
Dlpc32xx.h13 #define _SBF(f, v) ((v) << (f)) macro
14 #define _BIT(n) _SBF(n, 1)