Searched refs:sup_dev (Results 1 – 2 of 2) sorted by relevance
323 struct device *sup_dev; in efifb_add_links() local334 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()
1085 struct device *sup_dev, *sup_par_dev; in of_link_to_phandle() local1123 sup_dev = get_dev_from_fwnode(&sup_np->fwnode); in of_link_to_phandle()1124 if (!sup_dev && of_node_check_flag(sup_np, OF_POPULATED)) { in of_link_to_phandle()1130 } else if (!sup_dev) { in of_link_to_phandle()1161 if (!device_link_add(dev, sup_dev, dl_flags)) in of_link_to_phandle()1163 put_device(sup_dev); in of_link_to_phandle()