Lines Matching refs:treq

6863 		struct utp_task_req_desc *treq, u8 tm_function)  in __ufshcd_issue_tm_cmd()  argument
6888 treq->upiu_req.req_header.dword_0 |= cpu_to_be32(task_tag); in __ufshcd_issue_tm_cmd()
6890 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
6917 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
6946 struct utp_task_req_desc treq = { { 0 }, }; in ufshcd_issue_tm_cmd() local
6951 treq.header.dword_0 = cpu_to_le32(UTP_REQ_DESC_INT_CMD); in ufshcd_issue_tm_cmd()
6952 treq.header.dword_2 = cpu_to_le32(OCS_INVALID_COMMAND_STATUS); in ufshcd_issue_tm_cmd()
6955 treq.upiu_req.req_header.dword_0 = cpu_to_be32(lun_id << 8) | in ufshcd_issue_tm_cmd()
6957 treq.upiu_req.req_header.dword_1 = cpu_to_be32(tm_function << 16); in ufshcd_issue_tm_cmd()
6963 treq.upiu_req.input_param1 = cpu_to_be32(lun_id); in ufshcd_issue_tm_cmd()
6964 treq.upiu_req.input_param2 = cpu_to_be32(task_id); in ufshcd_issue_tm_cmd()
6966 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_function); in ufshcd_issue_tm_cmd()
6970 ocs_value = le32_to_cpu(treq.header.dword_2) & MASK_OCS; in ufshcd_issue_tm_cmd()
6975 *tm_response = be32_to_cpu(treq.upiu_rsp.output_param1) & in ufshcd_issue_tm_cmd()
7108 struct utp_task_req_desc treq = { { 0 }, }; in ufshcd_exec_raw_upiu_cmd() local
7127 treq.header.dword_0 = cpu_to_le32(UTP_REQ_DESC_INT_CMD); in ufshcd_exec_raw_upiu_cmd()
7128 treq.header.dword_2 = cpu_to_le32(OCS_INVALID_COMMAND_STATUS); in ufshcd_exec_raw_upiu_cmd()
7130 memcpy(&treq.upiu_req, req_upiu, sizeof(*req_upiu)); in ufshcd_exec_raw_upiu_cmd()
7132 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_f); in ufshcd_exec_raw_upiu_cmd()
7136 ocs_value = le32_to_cpu(treq.header.dword_2) & MASK_OCS; in ufshcd_exec_raw_upiu_cmd()
7143 memcpy(rsp_upiu, &treq.upiu_rsp, sizeof(*rsp_upiu)); in ufshcd_exec_raw_upiu_cmd()