Lines Matching defs:profile
9 #include <linux/blk-crypto-profile.h>
26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile)
28 return mmc_from_crypto_profile(profile)->cqe_private;
54 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile,
59 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile);
112 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile,
116 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile);
165 struct blk_crypto_profile *profile = &mmc->crypto_profile;
197 dev, profile, cq_host->crypto_capabilities.config_count + 1);
201 profile->ll_ops = cqhci_crypto_ops;
202 profile->dev = dev;
205 profile->max_dun_bytes_supported = 4;
207 profile->key_types_supported = BLK_CRYPTO_KEY_TYPE_RAW;
223 profile->modes_supported[blk_mode_num] |=
230 for (slot = 0; slot < profile->num_slots; slot++)
231 profile->ll_ops.keyslot_evict(profile, NULL, slot);