Home
last modified time | relevance | path

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

/linux-6.15/drivers/ufs/core/
H A Dufshcd-crypto.c113 blk_crypto_reprogram_all_keys(&hba->crypto_profile); in ufshcd_crypto_enable()
180 hba->dev, &hba->crypto_profile, in ufshcd_hba_init_crypto_capabilities()
185 hba->crypto_profile.ll_ops = ufshcd_crypto_ops; in ufshcd_hba_init_crypto_capabilities()
187 hba->crypto_profile.max_dun_bytes_supported = 8; in ufshcd_hba_init_crypto_capabilities()
188 hba->crypto_profile.key_types_supported = BLK_CRYPTO_KEY_TYPE_RAW; in ufshcd_hba_init_crypto_capabilities()
189 hba->crypto_profile.dev = hba->dev; in ufshcd_hba_init_crypto_capabilities()
204 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
228 for (slot = 0; slot < hba->crypto_profile.num_slots; slot++) in ufshcd_init_crypto()
229 hba->crypto_profile.ll_ops.keyslot_evict(&hba->crypto_profile, in ufshcd_init_crypto()
236 blk_crypto_register(&hba->crypto_profile, q); in ufshcd_crypto_register()
/linux-6.15/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()
/linux-6.15/drivers/md/
H A Ddm-table.c1198 bdev_get_queue(dev->bdev)->crypto_profile; in device_intersect_crypto_capabilities()
1219 dm_destroy_crypto_profile(t->crypto_profile); in dm_table_destroy_crypto_profile()
1220 t->crypto_profile = NULL; in dm_table_destroy_crypto_profile()
1268 t->md->queue->crypto_profile)) { in dm_table_construct_crypto_profile()
1295 t->crypto_profile = profile; in dm_table_construct_crypto_profile()
1303 if (!t->crypto_profile) in dm_update_crypto_profile()
1307 if (!q->crypto_profile) { in dm_update_crypto_profile()
1308 blk_crypto_register(t->crypto_profile, q); in dm_update_crypto_profile()
1311 t->crypto_profile); in dm_update_crypto_profile()
1312 dm_destroy_crypto_profile(t->crypto_profile); in dm_update_crypto_profile()
[all …]
H A Ddm-core.h229 struct blk_crypto_profile *crypto_profile; member
H A Ddm.c2193 dm_destroy_crypto_profile(q->crypto_profile); in dm_queue_destroy_crypto_profile()
/linux-6.15/block/
H A Dblk-crypto.c240 return blk_crypto_get_keyslot(rq->q->crypto_profile, in __blk_crypto_rq_get_keyslot()
388 return __blk_crypto_cfg_supported(bdev_get_queue(bdev)->crypto_profile, in blk_crypto_config_supported_natively()
457 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
599 bdev_get_queue(bdev)->crypto_profile; in blk_crypto_ioctl()
H A Dblk-crypto-sysfs.c170 if (!q->crypto_profile) in blk_crypto_sysfs_register()
176 obj->profile = q->crypto_profile; in blk_crypto_sysfs_register()
H A Dblk-crypto-profile.c462 q->crypto_profile = profile; in blk_crypto_register()
489 bdev_get_queue(bdev)->crypto_profile; in blk_crypto_derive_sw_secret()
H A Dblk-settings.c454 if (q->crypto_profile && lim->integrity.tag_size) { in queue_limits_commit_update()
/linux-6.15/include/linux/mmc/
H A Dhost.h560 struct blk_crypto_profile crypto_profile; member
597 return container_of(profile, struct mmc_host, crypto_profile); in mmc_from_crypto_profile()
/linux-6.15/drivers/mmc/host/
H A Dcqhci-crypto.c165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
H A Dsdhci-msm.c1865 struct blk_crypto_profile *profile = &mmc->crypto_profile; in sdhci_msm_ice_init()
/linux-6.15/include/ufs/
H A Dufshcd.h1114 struct blk_crypto_profile crypto_profile; member
1226 return container_of(profile, struct ufs_hba, crypto_profile); in ufs_hba_from_crypto_profile()
/linux-6.15/include/linux/
H A Dblkdev.h537 struct blk_crypto_profile *crypto_profile; member
/linux-6.15/drivers/ufs/host/
H A Dufs-qcom.c146 struct blk_crypto_profile *profile = &hba->crypto_profile; in ufs_qcom_ice_init()
H A Dufs-exynos.c1285 struct blk_crypto_profile *profile = &hba->crypto_profile; in exynos_ufs_fmp_init()