Lines Matching defs:ksm
51 static int ufshcd_crypto_keyslot_program(struct blk_keyslot_manager *ksm,
55 struct ufs_hba *hba = container_of(ksm, struct ufs_hba, ksm);
108 static int ufshcd_crypto_keyslot_evict(struct blk_keyslot_manager *ksm,
112 struct ufs_hba *hba = container_of(ksm, struct ufs_hba, ksm);
123 blk_ksm_reprogram_all_keys(&hba->ksm);
182 err = blk_ksm_init(&hba->ksm,
187 hba->ksm.ksm_ll_ops = ufshcd_ksm_ops;
189 hba->ksm.max_dun_bytes_supported = 8;
190 hba->ksm.dev = hba->dev;
205 hba->ksm.crypto_modes_supported[blk_mode_num] |=
239 blk_ksm_register(&hba->ksm, q);
244 blk_ksm_destroy(&hba->ksm);