Lines Matching refs:disc_req
371 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper() argument
377 disc_req[9] = single; in sas_ex_phy_discover_helper()
379 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_ex_phy_discover_helper()
396 u8 *disc_req; in sas_ex_phy_discover() local
399 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_ex_phy_discover()
400 if (!disc_req) in sas_ex_phy_discover()
405 kfree(disc_req); in sas_ex_phy_discover()
409 disc_req[1] = SMP_DISCOVER; in sas_ex_phy_discover()
412 res = sas_ex_phy_discover_helper(dev, disc_req, disc_resp, single); in sas_ex_phy_discover()
417 res = sas_ex_phy_discover_helper(dev, disc_req, in sas_ex_phy_discover()
425 kfree(disc_req); in sas_ex_phy_discover()
1682 u8 *disc_req; in sas_get_phy_discover() local
1684 disc_req = alloc_smp_req(DISCOVER_REQ_SIZE); in sas_get_phy_discover()
1685 if (!disc_req) in sas_get_phy_discover()
1688 disc_req[1] = SMP_DISCOVER; in sas_get_phy_discover()
1689 disc_req[9] = phy_id; in sas_get_phy_discover()
1691 res = smp_execute_task(dev, disc_req, DISCOVER_REQ_SIZE, in sas_get_phy_discover()
1700 kfree(disc_req); in sas_get_phy_discover()