Lines Matching refs:ucd_req_ptr
617 hba->ucd_req_ptr = (struct utp_upiu_req *)hba->ucdl; in ufshcd_host_memory_configure()
737 struct utp_upiu_req *ucd_req_ptr = hba->ucd_req_ptr; in ufshcd_prepare_utp_query_req_upiu() local
742 ucd_req_ptr->header.dword_0 = in ufshcd_prepare_utp_query_req_upiu()
745 ucd_req_ptr->header.dword_1 = in ufshcd_prepare_utp_query_req_upiu()
751 ucd_req_ptr->header.dword_2 = in ufshcd_prepare_utp_query_req_upiu()
754 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_query_req_upiu()
757 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, QUERY_OSF_SIZE); in ufshcd_prepare_utp_query_req_upiu()
761 memcpy(ucd_req_ptr + 1, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu()
768 struct utp_upiu_req *ucd_req_ptr = hba->ucd_req_ptr; in ufshcd_prepare_utp_nop_upiu() local
770 memset(ucd_req_ptr, 0, sizeof(struct utp_upiu_req)); in ufshcd_prepare_utp_nop_upiu()
773 ucd_req_ptr->header.dword_0 = in ufshcd_prepare_utp_nop_upiu()
776 ucd_req_ptr->header.dword_1 = 0; in ufshcd_prepare_utp_nop_upiu()
777 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_nop_upiu()
1385 struct utp_upiu_req *ucd_req_ptr = hba->ucd_req_ptr; in ufshcd_prepare_utp_scsi_cmd_upiu() local
1389 ucd_req_ptr->header.dword_0 = in ufshcd_prepare_utp_scsi_cmd_upiu()
1392 ucd_req_ptr->header.dword_1 = in ufshcd_prepare_utp_scsi_cmd_upiu()
1396 ucd_req_ptr->header.dword_2 = 0; in ufshcd_prepare_utp_scsi_cmd_upiu()
1398 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(pccb->datalen); in ufshcd_prepare_utp_scsi_cmd_upiu()
1401 memset(ucd_req_ptr->sc.cdb, 0, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu()
1402 memcpy(ucd_req_ptr->sc.cdb, pccb->cmd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu()