Home
last modified time | relevance | path

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

/linux/block/
A Dblk-crypto-fallback.c613 const char *cipher_str = blk_crypto_modes[mode_num].cipher_str; in blk_crypto_fallback_start_using_mode()
623 if (likely(smp_load_acquire(&tfms_inited[mode_num]))) in blk_crypto_fallback_start_using_mode()
627 if (tfms_inited[mode_num]) in blk_crypto_fallback_start_using_mode()
636 slotp->tfms[mode_num] = crypto_alloc_skcipher(cipher_str, 0, 0); in blk_crypto_fallback_start_using_mode()
637 if (IS_ERR(slotp->tfms[mode_num])) { in blk_crypto_fallback_start_using_mode()
638 err = PTR_ERR(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
644 slotp->tfms[mode_num] = NULL; in blk_crypto_fallback_start_using_mode()
648 crypto_skcipher_set_flags(slotp->tfms[mode_num], in blk_crypto_fallback_start_using_mode()
656 smp_store_release(&tfms_inited[mode_num], true); in blk_crypto_fallback_start_using_mode()
662 crypto_free_skcipher(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
[all …]
A Dblk-crypto-internal.h182 int blk_crypto_fallback_start_using_mode(enum blk_crypto_mode_num mode_num);
191 blk_crypto_fallback_start_using_mode(enum blk_crypto_mode_num mode_num) in blk_crypto_fallback_start_using_mode() argument
/linux/sound/soc/codecs/
A Des7134.c25 unsigned int mode_num; member
44 for (i = 0; i < priv->chip->mode_num; i++) { in es7134_check_mclk()
189 .mode_num = ARRAY_SIZE(es7134_modes),
267 .mode_num = ARRAY_SIZE(es7154_modes),
A Des7241.c23 unsigned int mode_num; member
95 for (i = 0; i < priv->chip->mode_num; i++) { in es7241_hw_params()
208 .mode_num = ARRAY_SIZE(es7241_modes),
/linux/fs/crypto/
A Dkeysetup.c172 const u8 mode_num = mode - fscrypt_modes; in setup_per_mode_enc_key() local
175 u8 hkdf_info[sizeof(mode_num) + sizeof(sb->s_uuid)]; in setup_per_mode_enc_key()
179 if (WARN_ON(mode_num > FSCRYPT_MODE_MAX)) in setup_per_mode_enc_key()
182 prep_key = &keys[mode_num]; in setup_per_mode_enc_key()
193 BUILD_BUG_ON(sizeof(mode_num) != 1); in setup_per_mode_enc_key()
196 hkdf_info[hkdf_infolen++] = mode_num; in setup_per_mode_enc_key()
/linux/drivers/ata/
A Dpata_hpt3x3.c72 int mode_num = adev->dma_mode & 0x0F; in hpt3x3_set_dmamode() local
78 r1 |= (mode_num << (3 * dn)); in hpt3x3_set_dmamode()

Completed in 14 milliseconds