Searched refs:of_node_check_flag (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/of/ |
H A D | platform.c | 397 if (of_node_check_flag(bus, OF_POPULATED_BUS)) { in of_platform_bus_create() 645 if (!dev->of_node || !of_node_check_flag(dev->of_node, OF_POPULATED)) in of_platform_device_destroy() 649 if (of_node_check_flag(dev->of_node, OF_POPULATED_BUS)) in of_platform_device_destroy() 677 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate() 766 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify() 770 if (of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify() 795 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify()
|
H A D | dynamic.c | 207 if (!of_node_check_flag(np, OF_OVERLAY)) { in __of_attach_node() 262 if (WARN_ON(of_node_check_flag(np, OF_DETACHED) || !parent)) { in __of_detach_node() 338 if (!of_node_check_flag(node, OF_DETACHED)) { in of_node_release() 357 if (!of_node_check_flag(node, OF_DYNAMIC)) in of_node_release() 360 if (of_node_check_flag(node, OF_OVERLAY)) { in of_node_release() 362 if (!of_node_check_flag(node, OF_OVERLAY_FREE_CSET)) { in of_node_release() 523 of_node_check_flag(ce->np, OF_OVERLAY)) { in __of_changeset_entry_destroy()
|
H A D | overlay.c | 360 if (!of_node_check_flag(target->np, OF_OVERLAY)) in add_changeset_property() 763 if (!of_node_check_flag(ovcs->overlay_root, OF_DYNAMIC)) in init_overlay_changeset() 766 if (!of_node_check_flag(ovcs->overlay_root, OF_DETACHED)) in init_overlay_changeset()
|
H A D | resolver.c | 280 if (!of_node_check_flag(overlay, OF_DETACHED)) { in of_resolve_phandles()
|
H A D | base.c | 1082 !of_node_check_flag(np, OF_DETACHED)) { in of_find_node_by_phandle()
|
/openbmc/linux/drivers/bus/ |
H A D | imx-weim.c | 332 if (!of_node_check_flag(rd->dn, OF_POPULATED)) { in of_weim_notify() 351 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_weim_notify()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-of.c | 198 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_i2c_notify()
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_aux_bus.c | 198 if (!of_node_check_flag(np, OF_POPULATED)) in of_dp_aux_ep_destroy()
|
/openbmc/linux/include/linux/ |
H A D | of.h | 195 static inline int of_node_check_flag(const struct device_node *n, unsigned long flag) in of_node_check_flag() function 828 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function
|
/openbmc/linux/drivers/pci/ |
H A D | of.c | 616 if (!np || !of_node_check_flag(np, OF_DYNAMIC)) in of_pci_remove_node()
|
/openbmc/linux/lib/ |
H A D | vsprintf.c | 2190 tbuf[0] = of_node_check_flag(dn, OF_DYNAMIC) ? 'D' : '-'; in device_node_string() 2191 tbuf[1] = of_node_check_flag(dn, OF_DETACHED) ? 'd' : '-'; in device_node_string() 2192 tbuf[2] = of_node_check_flag(dn, OF_POPULATED) ? 'P' : '-'; in device_node_string() 2193 tbuf[3] = of_node_check_flag(dn, OF_POPULATED_BUS) ? 'B' : '-'; in device_node_string()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 878 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_gpio_notify()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 4534 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_spi_notify()
|