Lines Matching refs:lrbp
14 struct ufshcd_lrb *lrbp) in ufshcd_prepare_lrbp_crypto() argument
17 lrbp->crypto_key_slot = -1; in ufshcd_prepare_lrbp_crypto()
21 lrbp->crypto_key_slot = blk_ksm_get_slot_idx(rq->crypt_keyslot); in ufshcd_prepare_lrbp_crypto()
22 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
26 ufshcd_prepare_req_desc_hdr_crypto(struct ufshcd_lrb *lrbp, u32 *dword_0, in ufshcd_prepare_req_desc_hdr_crypto() argument
29 if (lrbp->crypto_key_slot >= 0) { in ufshcd_prepare_req_desc_hdr_crypto()
31 *dword_0 |= lrbp->crypto_key_slot; in ufshcd_prepare_req_desc_hdr_crypto()
32 *dword_1 = lower_32_bits(lrbp->data_unit_num); in ufshcd_prepare_req_desc_hdr_crypto()
33 *dword_3 = upper_32_bits(lrbp->data_unit_num); in ufshcd_prepare_req_desc_hdr_crypto()
51 struct ufshcd_lrb *lrbp) { } in ufshcd_prepare_lrbp_crypto() argument
54 ufshcd_prepare_req_desc_hdr_crypto(struct ufshcd_lrb *lrbp, u32 *dword_0, in ufshcd_prepare_req_desc_hdr_crypto() argument