Home
last modified time | relevance | path

Searched refs:sup_np (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/of/
Dproperty.c1082 static int of_link_to_phandle(struct device *dev, struct device_node *sup_np, in of_link_to_phandle() argument
1087 struct device_node *tmp_np = sup_np; in of_link_to_phandle()
1089 of_node_get(sup_np); in of_link_to_phandle()
1094 while (sup_np) { in of_link_to_phandle()
1097 if (!of_device_is_available(sup_np)) { in of_link_to_phandle()
1098 of_node_put(sup_np); in of_link_to_phandle()
1099 sup_np = NULL; in of_link_to_phandle()
1102 if (of_find_property(sup_np, "compatible", NULL)) in of_link_to_phandle()
1105 sup_np = of_get_next_parent(sup_np); in of_link_to_phandle()
1108 if (!sup_np) { in of_link_to_phandle()
[all …]
/Linux-v5.10/drivers/firmware/efi/
Defi-init.c322 struct device_node *sup_np; in efifb_add_links() local
325 sup_np = find_pci_overlap_node(); in efifb_add_links()
331 if (!sup_np) in efifb_add_links()
334 sup_dev = get_dev_from_fwnode(&sup_np->fwnode); in efifb_add_links()
335 of_node_put(sup_np); in efifb_add_links()