Lines Matching refs:disc_req
352 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper() argument
359 disc_req[9] = single; in sas_ex_phy_discover_helper()
361 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_ex_phy_discover_helper()
377 u8 *disc_req; in sas_ex_phy_discover() local
380 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_ex_phy_discover()
381 if (!disc_req) in sas_ex_phy_discover()
386 kfree(disc_req); in sas_ex_phy_discover()
390 disc_req[1] = SMP_DISCOVER; in sas_ex_phy_discover()
393 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
398 res = sas_ex_phy_discover_helper(dev, disc_req, in sas_ex_phy_discover()
406 kfree(disc_req); in sas_ex_phy_discover()
1658 u8 *disc_req; in sas_get_phy_discover() local
1660 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_get_phy_discover()
1661 if (!disc_req) in sas_get_phy_discover()
1664 disc_req[1] = SMP_DISCOVER; in sas_get_phy_discover()
1665 disc_req[9] = phy_id; in sas_get_phy_discover()
1667 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_get_phy_discover()
1674 kfree(disc_req); in sas_get_phy_discover()