Lines Matching refs:treq

7027 		struct utp_task_req_desc *treq, u8 tm_function)  in __ufshcd_issue_tm_cmd()  argument
7050 treq->upiu_req.req_header.task_tag = task_tag; in __ufshcd_issue_tm_cmd()
7052 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7076 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7105 struct utp_task_req_desc treq = { }; in ufshcd_issue_tm_cmd() local
7110 treq.header.interrupt = 1; in ufshcd_issue_tm_cmd()
7111 treq.header.ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_issue_tm_cmd()
7114 treq.upiu_req.req_header.transaction_code = UPIU_TRANSACTION_TASK_REQ; in ufshcd_issue_tm_cmd()
7115 treq.upiu_req.req_header.lun = lun_id; in ufshcd_issue_tm_cmd()
7116 treq.upiu_req.req_header.tm_function = tm_function; in ufshcd_issue_tm_cmd()
7122 treq.upiu_req.input_param1 = cpu_to_be32(lun_id); in ufshcd_issue_tm_cmd()
7123 treq.upiu_req.input_param2 = cpu_to_be32(task_id); in ufshcd_issue_tm_cmd()
7125 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_function); in ufshcd_issue_tm_cmd()
7129 ocs_value = treq.header.ocs & MASK_OCS; in ufshcd_issue_tm_cmd()
7134 *tm_response = be32_to_cpu(treq.upiu_rsp.output_param1) & in ufshcd_issue_tm_cmd()
7250 struct utp_task_req_desc treq = { }; in ufshcd_exec_raw_upiu_cmd() local
7267 treq.header.interrupt = 1; in ufshcd_exec_raw_upiu_cmd()
7268 treq.header.ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_exec_raw_upiu_cmd()
7270 memcpy(&treq.upiu_req, req_upiu, sizeof(*req_upiu)); in ufshcd_exec_raw_upiu_cmd()
7272 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_f); in ufshcd_exec_raw_upiu_cmd()
7276 ocs_value = treq.header.ocs & MASK_OCS; in ufshcd_exec_raw_upiu_cmd()
7283 memcpy(rsp_upiu, &treq.upiu_rsp, sizeof(*rsp_upiu)); in ufshcd_exec_raw_upiu_cmd()