Lines Matching refs:disc_resp

372 				      u8 *disc_resp, int single)  in sas_ex_phy_discover_helper()  argument
380 disc_resp, DISCOVER_RESP_SIZE); in sas_ex_phy_discover_helper()
383 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
388 sas_set_ex_phy(dev, single, disc_resp); in sas_ex_phy_discover_helper()
397 u8 *disc_resp; in sas_ex_phy_discover() local
403 disc_resp = alloc_smp_req(DISCOVER_RESP_SIZE); in sas_ex_phy_discover()
404 if (!disc_resp) { in sas_ex_phy_discover()
412 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
418 disc_resp, i); in sas_ex_phy_discover()
424 kfree(disc_resp); in sas_ex_phy_discover()
1679 int phy_id, struct smp_resp *disc_resp) in sas_get_phy_discover() argument
1692 disc_resp, DISCOVER_RESP_SIZE); in sas_get_phy_discover()
1695 else if (disc_resp->result != SMP_RESP_FUNC_ACC) { in sas_get_phy_discover()
1696 res = disc_resp->result; in sas_get_phy_discover()
1708 struct smp_resp *disc_resp; in sas_get_phy_change_count() local
1710 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_change_count()
1711 if (!disc_resp) in sas_get_phy_change_count()
1714 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_change_count()
1716 *pcc = disc_resp->disc.change_count; in sas_get_phy_change_count()
1718 kfree(disc_resp); in sas_get_phy_change_count()
1726 struct smp_resp *disc_resp; in sas_get_phy_attached_dev() local
1729 disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); in sas_get_phy_attached_dev()
1730 if (!disc_resp) in sas_get_phy_attached_dev()
1732 dr = &disc_resp->disc; in sas_get_phy_attached_dev()
1734 res = sas_get_phy_discover(dev, phy_id, disc_resp); in sas_get_phy_attached_dev()
1736 memcpy(sas_addr, disc_resp->disc.attached_sas_addr, 8); in sas_get_phy_attached_dev()
1741 kfree(disc_resp); in sas_get_phy_attached_dev()