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()
1087 struct device *sup_dev, *sup_par_dev; in of_link_to_phandle() local1125 sup_dev = get_dev_from_fwnode(&sup_np->fwnode); in of_link_to_phandle()1126 if (!sup_dev && of_node_check_flag(sup_np, OF_POPULATED)) { in of_link_to_phandle()1132 } else if (!sup_dev) { in of_link_to_phandle()1163 if (!device_link_add(dev, sup_dev, dl_flags)) in of_link_to_phandle()1165 put_device(sup_dev); in of_link_to_phandle()