Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/rockchip/
Drk3288_crypto.h18 #define _SBF(v, f) ((v) << (f)) macro
38 #define RK_CRYPTO_WRITE_MASK _SBF(0xFFFF, 16)
62 #define RK_CYYPTO_HASHINSEL_INDEPENDENT_SOURCE _SBF(0x00, 0)
63 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_INPUT _SBF(0x01, 0)
64 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_OUTPUT _SBF(0x02, 0)
85 #define RK_CRYPTO_AES_ECB_MODE _SBF(0x00, 4)
86 #define RK_CRYPTO_AES_CBC_MODE _SBF(0x01, 4)
87 #define RK_CRYPTO_AES_CTR_MODE _SBF(0x02, 4)
88 #define RK_CRYPTO_AES_128BIT_key _SBF(0x00, 2)
89 #define RK_CRYPTO_AES_192BIT_key _SBF(0x01, 2)
[all …]
Drk3288_crypto_ahash.c54 RK_CRYPTO_HASH_FLUSH | _SBF(0xffff, 16); in rk_ahash_reg_init()
59 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
Drk3288_crypto_skcipher.c240 _SBF(RK_CRYPTO_BLOCK_START, 16)); in crypto_dma_start()
/linux-5.19.10/drivers/crypto/
Ds5p-sss.c38 #define _SBF(s, v) ((v) << (s)) macro
85 #define SSS_HASHIN_INDEPENDENT _SBF(0, 0x00)
86 #define SSS_HASHIN_CIPHER_INPUT _SBF(0, 0x01)
87 #define SSS_HASHIN_CIPHER_OUTPUT _SBF(0, 0x02)
88 #define SSS_HASHIN_MASK _SBF(0, 0x03)
126 #define SSS_AES_KEY_SIZE_128 _SBF(4, 0x00)
127 #define SSS_AES_KEY_SIZE_192 _SBF(4, 0x01)
128 #define SSS_AES_KEY_SIZE_256 _SBF(4, 0x02)
130 #define SSS_AES_CHAIN_MODE_ECB _SBF(1, 0x00)
131 #define SSS_AES_CHAIN_MODE_CBC _SBF(1, 0x01)
[all …]
/linux-5.19.10/drivers/mmc/host/
Ddw_mmc.h350 #define _SBF(f, v) ((v) << (f)) macro
369 #define SDMMC_TMOUT_DATA(n) _SBF(8, (n))
/linux-5.19.10/arch/arm/mach-lpc32xx/
Dlpc32xx.h13 #define _SBF(f, v) ((v) << (f)) macro
14 #define _BIT(n) _SBF(n, 1)