Lines Matching refs:ucd_req_ptr
304 struct utp_upiu_req *rq = hba->lrb[tag].ucd_req_ptr; in ufshcd_add_cmd_upiu_trace()
312 struct utp_upiu_req *rq = hba->lrb[tag].ucd_req_ptr; in ufshcd_add_query_upiu_trace()
376 lrbp->ucd_req_ptr->sc.exp_data_transfer_len); in ufshcd_add_command_trace()
469 ufshcd_hex_dump("UPIU REQ: ", lrbp->ucd_req_ptr, in ufshcd_print_trs()
2354 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_scsi_cmd_upiu() local
2358 ucd_req_ptr->header.dword_0 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_scsi_cmd_upiu()
2361 ucd_req_ptr->header.dword_1 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_scsi_cmd_upiu()
2365 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_scsi_cmd_upiu()
2367 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(cmd->sdb.length); in ufshcd_prepare_utp_scsi_cmd_upiu()
2370 memset(ucd_req_ptr->sc.cdb, 0, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu()
2371 memcpy(ucd_req_ptr->sc.cdb, cmd->cmnd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu()
2386 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_query_req_upiu() local
2391 ucd_req_ptr->header.dword_0 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_query_req_upiu()
2394 ucd_req_ptr->header.dword_1 = UPIU_HEADER_DWORD( in ufshcd_prepare_utp_query_req_upiu()
2399 ucd_req_ptr->header.dword_2 = in ufshcd_prepare_utp_query_req_upiu()
2402 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_query_req_upiu()
2405 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
2410 memcpy(ucd_req_ptr + 1, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu()
2417 struct utp_upiu_req *ucd_req_ptr = lrbp->ucd_req_ptr; in ufshcd_prepare_utp_nop_upiu() local
2419 memset(ucd_req_ptr, 0, sizeof(struct utp_upiu_req)); in ufshcd_prepare_utp_nop_upiu()
2422 ucd_req_ptr->header.dword_0 = in ufshcd_prepare_utp_nop_upiu()
2426 ucd_req_ptr->header.dword_1 = 0; in ufshcd_prepare_utp_nop_upiu()
2427 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_nop_upiu()
2513 lrb->ucd_req_ptr = (struct utp_upiu_req *)(cmd_descp + i); in ufshcd_init_lrb()
6437 memcpy(lrbp->ucd_req_ptr, req_upiu, sizeof(*lrbp->ucd_req_ptr)); in ufshcd_issue_devman_upiu_cmd()
6443 memcpy(lrbp->ucd_req_ptr + 1, desc_buff, *buff_len); in ufshcd_issue_devman_upiu_cmd()