Lines Matching refs:disc_req
369 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper() argument
375 disc_req[9] = single; in sas_ex_phy_discover_helper()
377 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_ex_phy_discover_helper()
394 u8 *disc_req; in sas_ex_phy_discover() local
397 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_ex_phy_discover()
398 if (!disc_req) in sas_ex_phy_discover()
403 kfree(disc_req); in sas_ex_phy_discover()
407 disc_req[1] = SMP_DISCOVER; in sas_ex_phy_discover()
410 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
415 res = sas_ex_phy_discover_helper(dev, disc_req, in sas_ex_phy_discover()
423 kfree(disc_req); in sas_ex_phy_discover()
1679 u8 *disc_req; in sas_get_phy_discover() local
1681 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_get_phy_discover()
1682 if (!disc_req) in sas_get_phy_discover()
1685 disc_req[1] = SMP_DISCOVER; in sas_get_phy_discover()
1686 disc_req[9] = phy_id; in sas_get_phy_discover()
1688 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_get_phy_discover()
1697 kfree(disc_req); in sas_get_phy_discover()