Lines Matching refs:disc_resp

353 				      u8 *disc_resp, int single)  in sas_ex_phy_discover_helper()  argument
361 disc_resp, DISCOVER_RESP_SIZE); in sas_ex_phy_discover_helper()
364 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
369 sas_set_ex_phy(dev, single, disc_resp); in sas_ex_phy_discover_helper()
378 u8 *disc_resp; in sas_ex_phy_discover() local
384 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_ex_phy_discover()
385 if (!disc_resp) { in sas_ex_phy_discover()
393 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
399 disc_resp, i); in sas_ex_phy_discover()
405 kfree(disc_resp); in sas_ex_phy_discover()
1660 int phy_id, struct smp_resp *disc_resp) in sas_get_phy_discover() argument
1673 disc_resp, DISCOVER_RESP_SIZE); in sas_get_phy_discover()
1676 else if (disc_resp->result != SMP_RESP_FUNC_ACC) { in sas_get_phy_discover()
1677 res = disc_resp->result; in sas_get_phy_discover()
1689 struct smp_resp *disc_resp; in sas_get_phy_change_count() local
1691 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_change_count()
1692 if (!disc_resp) in sas_get_phy_change_count()
1695 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_change_count()
1697 *pcc = disc_resp->disc.change_count; in sas_get_phy_change_count()
1699 kfree(disc_resp); in sas_get_phy_change_count()
1707 struct smp_resp *disc_resp; in sas_get_phy_attached_dev() local
1710 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_attached_dev()
1711 if (!disc_resp) in sas_get_phy_attached_dev()
1713 dr = &disc_resp->disc; in sas_get_phy_attached_dev()
1715 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_attached_dev()
1717 memcpy(sas_addr, disc_resp->disc.attached_sas_addr, in sas_get_phy_attached_dev()
1723 kfree(disc_resp); in sas_get_phy_attached_dev()