Home
last modified time | relevance | path

Searched refs:crypto_profile (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/ufs/core/
Dufshcd-crypto.c56 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_program()
114 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_evict()
125 blk_crypto_reprogram_all_keys(&hba->crypto_profile); in ufshcd_crypto_enable()
185 hba->dev, &hba->crypto_profile, in ufshcd_hba_init_crypto_capabilities()
190 hba->crypto_profile.ll_ops = ufshcd_crypto_ops; in ufshcd_hba_init_crypto_capabilities()
192 hba->crypto_profile.max_dun_bytes_supported = 8; in ufshcd_hba_init_crypto_capabilities()
193 hba->crypto_profile.dev = hba->dev; in ufshcd_hba_init_crypto_capabilities()
208 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
239 blk_crypto_register(&hba->crypto_profile, q); in ufshcd_crypto_register()
/linux-6.6.21/drivers/mmc/core/
Dcrypto.c19 blk_crypto_reprogram_all_keys(&host->crypto_profile); in mmc_crypto_set_initial_state()
25 blk_crypto_register(&host->crypto_profile, q); in mmc_crypto_setup_queue()
/linux-6.6.21/block/
Dblk-crypto.c230 return blk_crypto_get_keyslot(rq->q->crypto_profile, in __blk_crypto_rq_get_keyslot()
363 return __blk_crypto_cfg_supported(bdev_get_queue(bdev)->crypto_profile, in blk_crypto_config_supported_natively()
424 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
Dblk-crypto-sysfs.c135 if (!q->crypto_profile) in blk_crypto_sysfs_register()
141 obj->profile = q->crypto_profile; in blk_crypto_sysfs_register()
Dblk-integrity.c377 if (disk->queue->crypto_profile) { in blk_integrity_register()
379 disk->queue->crypto_profile = NULL; in blk_integrity_register()
Dblk-crypto-profile.c460 q->crypto_profile = profile; in blk_crypto_register()
/linux-6.6.21/drivers/md/
Ddm-table.c1265 bdev_get_queue(dev->bdev)->crypto_profile; in device_intersect_crypto_capabilities()
1286 dm_destroy_crypto_profile(t->crypto_profile); in dm_table_destroy_crypto_profile()
1287 t->crypto_profile = NULL; in dm_table_destroy_crypto_profile()
1334 t->md->queue->crypto_profile)) { in dm_table_construct_crypto_profile()
1361 t->crypto_profile = profile; in dm_table_construct_crypto_profile()
1369 if (!t->crypto_profile) in dm_update_crypto_profile()
1373 if (!q->crypto_profile) { in dm_update_crypto_profile()
1374 blk_crypto_register(t->crypto_profile, q); in dm_update_crypto_profile()
1376 blk_crypto_update_capabilities(q->crypto_profile, in dm_update_crypto_profile()
1377 t->crypto_profile); in dm_update_crypto_profile()
[all …]
Ddm-core.h228 struct blk_crypto_profile *crypto_profile; member
Ddm.c1960 dm_destroy_crypto_profile(q->crypto_profile); in dm_queue_destroy_crypto_profile()
/linux-6.6.21/drivers/mmc/host/
Dcqhci-crypto.c29 container_of(profile, struct mmc_host, crypto_profile); in cqhci_host_from_crypto_profile()
172 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
/linux-6.6.21/include/linux/mmc/
Dhost.h524 struct blk_crypto_profile crypto_profile; member
/linux-6.6.21/include/ufs/
Dufshcd.h1053 struct blk_crypto_profile crypto_profile; member
/linux-6.6.21/include/linux/
Dblkdev.h449 struct blk_crypto_profile *crypto_profile; member