Lines Matching refs:disc_resp

370 				      u8 *disc_resp, int single)  in sas_ex_phy_discover_helper()  argument
378 disc_resp, DISCOVER_RESP_SIZE); in sas_ex_phy_discover_helper()
381 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
386 sas_set_ex_phy(dev, single, disc_resp); in sas_ex_phy_discover_helper()
395 u8 *disc_resp; in sas_ex_phy_discover() local
401 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_ex_phy_discover()
402 if (!disc_resp) { in sas_ex_phy_discover()
410 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
416 disc_resp, i); in sas_ex_phy_discover()
422 kfree(disc_resp); in sas_ex_phy_discover()
1676 int phy_id, struct smp_resp *disc_resp) in sas_get_phy_discover() argument
1689 disc_resp, DISCOVER_RESP_SIZE); in sas_get_phy_discover()
1692 else if (disc_resp->result != SMP_RESP_FUNC_ACC) { in sas_get_phy_discover()
1693 res = disc_resp->result; in sas_get_phy_discover()
1705 struct smp_resp *disc_resp; in sas_get_phy_change_count() local
1707 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_change_count()
1708 if (!disc_resp) in sas_get_phy_change_count()
1711 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_change_count()
1713 *pcc = disc_resp->disc.change_count; in sas_get_phy_change_count()
1715 kfree(disc_resp); in sas_get_phy_change_count()
1723 struct smp_resp *disc_resp; in sas_get_phy_attached_dev() local
1726 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_attached_dev()
1727 if (!disc_resp) in sas_get_phy_attached_dev()
1729 dr = &disc_resp->disc; in sas_get_phy_attached_dev()
1731 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_attached_dev()
1733 memcpy(sas_addr, disc_resp->disc.attached_sas_addr, in sas_get_phy_attached_dev()
1739 kfree(disc_resp); in sas_get_phy_attached_dev()