Searched refs:lrbp (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/ufs/ |
D | ufshcd-crypto.h | 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() 38 struct ufshcd_lrb *lrbp) in ufshcd_crypto_clear_prdt() argument [all …]
|
D | ufshcd.c | 359 struct ufshcd_lrb *lrbp = &hba->lrb[tag]; in ufshcd_add_command_trace() local 360 struct scsi_cmnd *cmd = lrbp->cmd; in ufshcd_add_command_trace() 382 lrbp->ucd_req_ptr->sc.exp_data_transfer_len); in ufshcd_add_command_trace() 384 group_id = lrbp->cmd->cmnd[6]; in ufshcd_add_command_trace() 468 struct ufshcd_lrb *lrbp; in ufshcd_print_trs() local 473 lrbp = &hba->lrb[tag]; in ufshcd_print_trs() 476 tag, ktime_to_us(lrbp->issue_time_stamp)); in ufshcd_print_trs() 478 tag, ktime_to_us(lrbp->compl_time_stamp)); in ufshcd_print_trs() 481 tag, (u64)lrbp->utrd_dma_addr); in ufshcd_print_trs() 483 ufshcd_hex_dump("UPIU TRD: ", lrbp->utr_descriptor_ptr, in ufshcd_print_trs() [all …]
|
D | ufshpb.h | 291 static int ufshpb_prep(struct ufs_hba *hba, struct ufshcd_lrb *lrbp) { return 0; } in ufshpb_prep() argument 292 static void ufshpb_rsp_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp) {} in ufshpb_rsp_upiu() argument 306 int ufshpb_prep(struct ufs_hba *hba, struct ufshcd_lrb *lrbp); 307 void ufshpb_rsp_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp);
|
D | ufshpb.c | 136 struct ufshcd_lrb *lrbp, in ufshpb_is_hpb_rsp_valid() argument 140 if (!(lrbp->ucd_rsp_ptr->header.dword_2 & in ufshpb_is_hpb_rsp_valid() 156 lrbp->lun); in ufshpb_is_hpb_rsp_valid() 343 struct ufshcd_lrb *lrbp, u32 lpn, __be64 ppn, in ufshpb_set_hpb_read_to_upiu() argument 346 unsigned char *cdb = lrbp->cmd->cmnd; in ufshpb_set_hpb_read_to_upiu() 358 lrbp->cmd->cmd_len = UFS_CDB_SIZE; in ufshpb_set_hpb_read_to_upiu() 609 int ufshpb_prep(struct ufs_hba *hba, struct ufshcd_lrb *lrbp) in ufshpb_prep() argument 614 struct scsi_cmnd *cmd = lrbp->cmd; in ufshpb_prep() 713 ufshpb_set_hpb_read_to_upiu(hba, hpb, lrbp, lpn, ppn, transfer_len, in ufshpb_prep() 1537 void ufshpb_rsp_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp) in ufshpb_rsp_upiu() argument [all …]
|
D | ufshcd.h | 1066 struct ufshcd_lrb *lrbp);
|