Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ufs/core/
H A 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()
/openbmc/linux/drivers/mmc/core/
H A 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()
/openbmc/linux/block/
H A 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()
H A Dblk-crypto-sysfs.c135 if (!q->crypto_profile) in blk_crypto_sysfs_register()
141 obj->profile = q->crypto_profile; in blk_crypto_sysfs_register()
H A Dblk-integrity.c377 if (disk->queue->crypto_profile) { in blk_integrity_register()
379 disk->queue->crypto_profile = NULL; in blk_integrity_register()
H A Dblk-crypto-profile.c460 q->crypto_profile = profile; in blk_crypto_register()
/openbmc/linux/drivers/md/
H A 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()
1377 t->crypto_profile); in dm_update_crypto_profile()
1378 dm_destroy_crypto_profile(t->crypto_profile); in dm_update_crypto_profile()
[all …]
H A Ddm-core.h228 struct blk_crypto_profile *crypto_profile; member
H A Ddm.c1960 dm_destroy_crypto_profile(q->crypto_profile); in dm_queue_destroy_crypto_profile()
/openbmc/linux/drivers/mmc/host/
H A 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()
/openbmc/linux/include/linux/mmc/
H A Dhost.h524 struct blk_crypto_profile crypto_profile; member
/openbmc/linux/include/ufs/
H A Dufshcd.h1053 struct blk_crypto_profile crypto_profile; member
/openbmc/linux/include/linux/
H A Dblkdev.h462 struct blk_crypto_profile *crypto_profile; member