Home
last modified time | relevance | path

Searched refs:lrbp (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd-crypto.h14 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
[all …]
Dufshcd.c351 struct ufshcd_lrb *lrbp = &hba->lrb[tag]; in ufshcd_add_command_trace() local
352 struct scsi_cmnd *cmd = lrbp->cmd; in ufshcd_add_command_trace()
374 lrbp->ucd_req_ptr->sc.exp_data_transfer_len); in ufshcd_add_command_trace()
448 struct ufshcd_lrb *lrbp; in ufshcd_print_trs() local
453 lrbp = &hba->lrb[tag]; in ufshcd_print_trs()
456 tag, ktime_to_us(lrbp->issue_time_stamp)); in ufshcd_print_trs()
458 tag, ktime_to_us(lrbp->compl_time_stamp)); in ufshcd_print_trs()
461 tag, (u64)lrbp->utrd_dma_addr); in ufshcd_print_trs()
463 ufshcd_hex_dump("UPIU TRD: ", lrbp->utr_descriptor_ptr, in ufshcd_print_trs()
466 (u64)lrbp->ucd_req_dma_addr); in ufshcd_print_trs()
[all …]