Home
last modified time | relevance | path

Searched refs:sup_dev (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Defi-init.c323 struct device *sup_dev; in efifb_add_links() local
334 sup_dev = get_dev_from_fwnode(&sup_np->fwnode); in efifb_add_links()
343 if (!sup_dev) in efifb_add_links()
350 if (!device_link_add(dev, sup_dev, fw_devlink_get_flags())) in efifb_add_links()
353 put_device(sup_dev); in efifb_add_links()
/kernel/linux/linux-5.10/drivers/of/
H A Dproperty.c1105 struct device *sup_dev, *sup_par_dev; in of_link_to_phandle() local
1143 sup_dev = get_dev_from_fwnode(&sup_np->fwnode); in of_link_to_phandle()
1144 if (!sup_dev && of_node_check_flag(sup_np, OF_POPULATED)) { in of_link_to_phandle()
1150 } else if (!sup_dev) { in of_link_to_phandle()
1181 if (!device_link_add(dev, sup_dev, dl_flags)) in of_link_to_phandle()
1183 put_device(sup_dev); in of_link_to_phandle()
/kernel/linux/linux-6.6/drivers/base/
H A Dcore.c1926 struct device *sup_dev = NULL, *par_dev = NULL; in __fw_devlink_relax_cycles() local
1943 sup_dev = get_dev_from_fwnode(sup_handle); in __fw_devlink_relax_cycles()
1946 if (sup_dev == con) { in __fw_devlink_relax_cycles()
1952 * If sup_dev is bound to a driver and @con hasn't started binding to a in __fw_devlink_relax_cycles()
1953 * driver, sup_dev can't be a consumer of @con. So, no need to check in __fw_devlink_relax_cycles()
1956 if (sup_dev && sup_dev->links.status == DL_DEV_DRIVER_BOUND && in __fw_devlink_relax_cycles()
1973 if (sup_dev) in __fw_devlink_relax_cycles()
1974 par_dev = get_device(sup_dev->parent); in __fw_devlink_relax_cycles()
1981 if (!sup_dev) in __fw_devlink_relax_cycles()
2032 struct device *sup_dev; fw_devlink_create_devlink() local
[all...]

Completed in 7 milliseconds