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