Lines Matching defs:treq
6242 struct utp_task_req_desc *treq, u8 tm_function)
6265 treq->req_header.dword_0 |= cpu_to_be32(task_tag);
6267 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq));
6297 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq));
6326 struct utp_task_req_desc treq = { { 0 }, };
6330 treq.header.dword_0 = cpu_to_le32(UTP_REQ_DESC_INT_CMD);
6331 treq.header.dword_2 = cpu_to_le32(OCS_INVALID_COMMAND_STATUS);
6334 treq.req_header.dword_0 = cpu_to_be32(lun_id << 8) |
6336 treq.req_header.dword_1 = cpu_to_be32(tm_function << 16);
6342 treq.input_param1 = cpu_to_be32(lun_id);
6343 treq.input_param2 = cpu_to_be32(task_id);
6345 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_function);
6349 ocs_value = le32_to_cpu(treq.header.dword_2) & MASK_OCS;
6354 *tm_response = be32_to_cpu(treq.output_param1) &
6507 struct utp_task_req_desc treq = { { 0 }, };
6526 treq.header.dword_0 = cpu_to_le32(UTP_REQ_DESC_INT_CMD);
6527 treq.header.dword_2 = cpu_to_le32(OCS_INVALID_COMMAND_STATUS);
6529 memcpy(&treq.req_header, req_upiu, sizeof(*req_upiu));
6531 err = __ufshcd_issue_tm_cmd(hba, &treq, tm_f);
6535 ocs_value = le32_to_cpu(treq.header.dword_2) & MASK_OCS;
6542 memcpy(rsp_upiu, &treq.rsp_header, sizeof(*rsp_upiu));