Lines Matching refs:ucd_req_ptr

317 	struct utp_upiu_req *rq = hba->lrb[tag].ucd_req_ptr;  in ufshcd_add_cmd_upiu_trace()
325 struct utp_upiu_req *rq = hba->lrb[tag].ucd_req_ptr; in ufshcd_add_query_upiu_trace()
391 lrbp->ucd_req_ptr->sc.exp_data_transfer_len); in ufshcd_add_command_trace()
496 ufshcd_hex_dump("UPIU REQ: ", lrbp->ucd_req_ptr, in ufshcd_print_trs()
2506 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_scsi_cmd_upiu() local
2510 ucd_req_ptr->header.dword_0 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_scsi_cmd_upiu()
2513 ucd_req_ptr->header.dword_1 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_scsi_cmd_upiu()
2517 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_scsi_cmd_upiu()
2519 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(cmd->sdb.length); in ufshcd_prepare_utp_scsi_cmd_upiu()
2522 memset(ucd_req_ptr->sc.cdb, 0, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu()
2523 memcpy(ucd_req_ptr->sc.cdb, cmd->cmnd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu()
2538 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_query_req_upiu() local
2543 ucd_req_ptr->header.dword_0 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_query_req_upiu()
2546 ucd_req_ptr->header.dword_1 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_query_req_upiu()
2551 ucd_req_ptr->header.dword_2 = in ufshcd_prepare_utp_query_req_upiu()
2554 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_query_req_upiu()
2557 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
2562 memcpy(ucd_req_ptr + 1, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu()
2569 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_nop_upiu() local
2571 memset(ucd_req_ptr, 0, sizeof(struct utp_upiu_req)); in ufshcd_prepare_utp_nop_upiu()
2574 ucd_req_ptr->header.dword_0 = in ufshcd_prepare_utp_nop_upiu()
2578 ucd_req_ptr->header.dword_1 = 0; in ufshcd_prepare_utp_nop_upiu()
2579 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_nop_upiu()
2664 lrb->ucd_req_ptr = (struct utp_upiu_req *)cmd_descp; in ufshcd_init_lrb()
6656 memcpy(lrbp->ucd_req_ptr, req_upiu, sizeof(*lrbp->ucd_req_ptr)); in ufshcd_issue_devman_upiu_cmd()
6662 memcpy(lrbp->ucd_req_ptr + 1, desc_buff, *buff_len); in ufshcd_issue_devman_upiu_cmd()