Lines Matching refs:rg_resp
469 struct smp_resp *rg_resp; in sas_ex_general() local
477 rg_resp = alloc_smp_resp(RG_RESP_SIZE); in sas_ex_general()
478 if (!rg_resp) { in sas_ex_general()
486 res = smp_execute_task(dev, rg_req, RG_REQ_SIZE, rg_resp, in sas_ex_general()
493 } else if (rg_resp->result != SMP_RESP_FUNC_ACC) { in sas_ex_general()
495 SAS_ADDR(dev->sas_addr), rg_resp->result); in sas_ex_general()
496 res = rg_resp->result; in sas_ex_general()
500 ex_assign_report_general(dev, rg_resp); in sas_ex_general()
511 kfree(rg_resp); in sas_ex_general()
1779 struct smp_resp *rg_resp; in sas_get_ex_change_count() local
1785 rg_resp = alloc_smp_resp(RG_RESP_SIZE); in sas_get_ex_change_count()
1786 if (!rg_resp) { in sas_get_ex_change_count()
1793 res = smp_execute_task(dev, rg_req, RG_REQ_SIZE, rg_resp, in sas_get_ex_change_count()
1797 if (rg_resp->result != SMP_RESP_FUNC_ACC) { in sas_get_ex_change_count()
1798 res = rg_resp->result; in sas_get_ex_change_count()
1802 *ecc = be16_to_cpu(rg_resp->rg.change_count); in sas_get_ex_change_count()
1804 kfree(rg_resp); in sas_get_ex_change_count()