Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/ufs/core/
Dufshcd-crypto.h17 struct ufshcd_lrb *lrbp) in ufshcd_prepare_lrbp_crypto() argument
20 lrbp->crypto_key_slot = -1; in ufshcd_prepare_lrbp_crypto()
24 lrbp->crypto_key_slot = blk_crypto_keyslot_index(rq->crypt_keyslot); in ufshcd_prepare_lrbp_crypto()
25 lrbp->data_unit_num = rq->crypt_ctx->bc_dun[0]; in ufshcd_prepare_lrbp_crypto()
29 ufshcd_prepare_req_desc_hdr_crypto(struct ufshcd_lrb *lrbp, in ufshcd_prepare_req_desc_hdr_crypto() argument
32 if (lrbp->crypto_key_slot < 0) in ufshcd_prepare_req_desc_hdr_crypto()
35 h->cci = lrbp->crypto_key_slot; in ufshcd_prepare_req_desc_hdr_crypto()
36 h->dunl = cpu_to_le32(lower_32_bits(lrbp->data_unit_num)); in ufshcd_prepare_req_desc_hdr_crypto()
37 h->dunu = cpu_to_le32(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.c409 struct ufshcd_lrb *lrbp = &hba->lrb[tag]; in ufshcd_add_command_trace() local
410 struct scsi_cmnd *cmd = lrbp->cmd; in ufshcd_add_command_trace()
429 be32_to_cpu(lrbp->ucd_req_ptr->sc.exp_data_transfer_len); in ufshcd_add_command_trace()
432 group_id = lrbp->cmd->cmnd[6]; in ufshcd_add_command_trace()
528 const struct ufshcd_lrb *lrbp; in ufshcd_print_tr() local
531 lrbp = &hba->lrb[tag]; in ufshcd_print_tr()
534 tag, div_u64(lrbp->issue_time_stamp_local_clock, 1000)); in ufshcd_print_tr()
536 tag, div_u64(lrbp->compl_time_stamp_local_clock, 1000)); in ufshcd_print_tr()
539 tag, (u64)lrbp->utrd_dma_addr); in ufshcd_print_tr()
541 ufshcd_hex_dump("UPIU TRD: ", lrbp->utr_descriptor_ptr, in ufshcd_print_tr()
[all …]
Dufs-mcq.c500 struct ufshcd_lrb *lrbp = &hba->lrb[task_tag]; in ufshcd_mcq_sq_cleanup() local
501 struct scsi_cmnd *cmd = lrbp->cmd; in ufshcd_mcq_sq_cleanup()
528 nexus = lrbp->lun << 8 | task_tag; in ufshcd_mcq_sq_cleanup()
579 struct ufshcd_lrb *lrbp = &hba->lrb[task_tag]; in ufshcd_mcq_sqe_search() local
596 cmd_desc_base_addr = lrbp->utr_descriptor_ptr->command_desc_base_addr; in ufshcd_mcq_sqe_search()
631 struct ufshcd_lrb *lrbp = &hba->lrb[tag]; in ufshcd_mcq_abort() local
636 if (!ufshcd_cmd_inflight(lrbp->cmd)) { in ufshcd_mcq_abort()
644 if (lrbp->req_abort_skip) { in ufshcd_mcq_abort()
669 lrbp->req_abort_skip = true; in ufshcd_mcq_abort()
675 if (ufshcd_cmd_inflight(lrbp->cmd)) in ufshcd_mcq_abort()
[all …]
Dufshcd-priv.h84 struct ufshcd_lrb *lrbp);