Lines Matching refs:resp

68 			    void *resp, int resp_size)  in smp_execute_task()  argument
90 sg_init_one(&task->smp_task.smp_resp, resp, resp_size); in smp_execute_task()
117 if (task->task_status.resp == SAS_TASK_COMPLETE && in smp_execute_task()
122 if (task->task_status.resp == SAS_TASK_COMPLETE && in smp_execute_task()
129 if (task->task_status.resp == SAS_TASK_COMPLETE && in smp_execute_task()
134 if (task->task_status.resp == SAS_TASK_UNDELIVERED && in smp_execute_task()
141 task->task_status.resp, in smp_execute_task()
203 struct smp_resp *resp = rsp; in sas_set_ex_phy() local
204 struct discover_resp *dr = &resp->disc; in sas_set_ex_phy()
221 switch (resp->result) { in sas_set_ex_phy()
452 struct smp_resp *resp) in ex_assign_report_general() argument
454 struct report_general_resp *rg = &resp->rg; in ex_assign_report_general()
658 u8 *resp; in sas_smp_get_phy_events() local
666 resp = alloc_smp_resp(RPEL_RESP_SIZE); in sas_smp_get_phy_events()
667 if (!resp) { in sas_smp_get_phy_events()
676 resp, RPEL_RESP_SIZE); in sas_smp_get_phy_events()
681 phy->invalid_dword_count = scsi_to_u32(&resp[12]); in sas_smp_get_phy_events()
682 phy->running_disparity_error_count = scsi_to_u32(&resp[16]); in sas_smp_get_phy_events()
683 phy->loss_of_dword_sync_count = scsi_to_u32(&resp[20]); in sas_smp_get_phy_events()
684 phy->phy_reset_problem_count = scsi_to_u32(&resp[24]); in sas_smp_get_phy_events()
687 kfree(resp); in sas_smp_get_phy_events()
702 u8 *resp = (u8 *)rps_resp; in sas_get_report_phy_sata() local
718 if (!res && resp[27] == 0x34 && resp[24] != 0x34) { in sas_get_report_phy_sata()
724 a = resp[j + 0]; in sas_get_report_phy_sata()
725 b = resp[j + 1]; in sas_get_report_phy_sata()
726 resp[j + 0] = resp[j + 3]; in sas_get_report_phy_sata()
727 resp[j + 1] = resp[j + 2]; in sas_get_report_phy_sata()
728 resp[j + 2] = b; in sas_get_report_phy_sata()
729 resp[j + 3] = a; in sas_get_report_phy_sata()