Lines Matching refs:ksm
26 cqhci_host_from_ksm(struct blk_keyslot_manager *ksm) in cqhci_host_from_ksm() argument
28 struct mmc_host *mmc = container_of(ksm, struct mmc_host, ksm); in cqhci_host_from_ksm()
60 static int cqhci_crypto_keyslot_program(struct blk_keyslot_manager *ksm, in cqhci_crypto_keyslot_program() argument
65 struct cqhci_host *cq_host = cqhci_host_from_ksm(ksm); in cqhci_crypto_keyslot_program()
118 static int cqhci_crypto_keyslot_evict(struct blk_keyslot_manager *ksm, in cqhci_crypto_keyslot_evict() argument
122 struct cqhci_host *cq_host = cqhci_host_from_ksm(ksm); in cqhci_crypto_keyslot_evict()
171 struct blk_keyslot_manager *ksm = &mmc->ksm; in cqhci_crypto_init() local
202 err = devm_blk_ksm_init(dev, ksm, num_keyslots); in cqhci_crypto_init()
206 ksm->ksm_ll_ops = cqhci_ksm_ops; in cqhci_crypto_init()
207 ksm->dev = dev; in cqhci_crypto_init()
210 ksm->max_dun_bytes_supported = 4; in cqhci_crypto_init()
212 ksm->features = BLK_CRYPTO_FEATURE_STANDARD_KEYS; in cqhci_crypto_init()
228 ksm->crypto_modes_supported[blk_mode_num] |= in cqhci_crypto_init()