Searched refs:_SBF (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 20 #define _SBF(v, f) ((v) << (f)) macro 40 #define RK_CRYPTO_WRITE_MASK _SBF(0xFFFF, 16) 64 #define RK_CYYPTO_HASHINSEL_INDEPENDENT_SOURCE _SBF(0x00, 0) 65 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_INPUT _SBF(0x01, 0) 66 #define RK_CYYPTO_HASHINSEL_BLOCK_CIPHER_OUTPUT _SBF(0x02, 0) 87 #define RK_CRYPTO_AES_ECB_MODE _SBF(0x00, 4) 88 #define RK_CRYPTO_AES_CBC_MODE _SBF(0x01, 4) 89 #define RK_CRYPTO_AES_CTR_MODE _SBF(0x02, 4) 90 #define RK_CRYPTO_AES_128BIT_key _SBF(0x00, 2) 91 #define RK_CRYPTO_AES_192BIT_key _SBF(0x01, 2) [all …]
|
D | rk3288_crypto_ahash.c | 85 RK_CRYPTO_HASH_FLUSH | _SBF(0xffff, 16); in rk_ahash_reg_init() 90 reg_status |= _SBF(0xffff, 16); in rk_ahash_reg_init()
|
D | rk3288_crypto_skcipher.c | 309 _SBF(RK_CRYPTO_BLOCK_START, 16)); in crypto_dma_start()
|
/drivers/crypto/ |
D | s5p-sss.c | 38 #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 …]
|
/drivers/mmc/host/ |
D | dw_mmc.h | 350 #define _SBF(f, v) ((v) << (f)) macro 369 #define SDMMC_TMOUT_DATA(n) _SBF(8, (n))
|