Home
last modified time | relevance | path

Searched refs:of_node_check_flag (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/of/
H A Dplatform.c360 if (of_node_check_flag(bus, OF_POPULATED_BUS)) { in of_platform_bus_create()
618 if (!dev->of_node || !of_node_check_flag(dev->of_node, OF_POPULATED)) in of_platform_device_destroy()
622 if (of_node_check_flag(dev->of_node, OF_POPULATED_BUS)) in of_platform_device_destroy()
650 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate()
739 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify()
743 if (of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify()
768 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify()
H A Ddynamic.c208 if (!of_node_check_flag(np, OF_OVERLAY)) { in __of_attach_node()
263 if (WARN_ON(of_node_check_flag(np, OF_DETACHED) || !parent)) { in __of_detach_node()
344 if (!of_node_check_flag(node, OF_DETACHED)) { in of_node_release()
363 if (!of_node_check_flag(node, OF_DYNAMIC)) in of_node_release()
366 if (of_node_check_flag(node, OF_OVERLAY)) { in of_node_release()
368 if (!of_node_check_flag(node, OF_OVERLAY_FREE_CSET)) { in of_node_release()
525 of_node_check_flag(ce->np, OF_OVERLAY)) { in __of_changeset_entry_destroy()
H A Doverlay.c358 if (!of_node_check_flag(target->np, OF_OVERLAY)) in add_changeset_property()
758 if (!of_node_check_flag(ovcs->overlay_root, OF_DYNAMIC)) in init_overlay_changeset()
761 if (!of_node_check_flag(ovcs->overlay_root, OF_DETACHED)) in init_overlay_changeset()
H A Dresolver.c271 if (!of_node_check_flag(overlay, OF_DETACHED)) { in of_resolve_phandles()
H A Dbase.c1135 !of_node_check_flag(np, OF_DETACHED)) { in of_find_node_by_phandle()
/linux/drivers/bus/
H A Dimx-weim.c333 if (!of_node_check_flag(rd->dn, OF_POPULATED)) { in of_weim_notify()
352 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_weim_notify()
/linux/drivers/nvmem/
H A Dlayouts.c138 if (of_node_check_flag(layout_dn, OF_POPULATED_BUS)) { in nvmem_layout_bus_populate()
/linux/drivers/i2c/
H A Di2c-core-of.c198 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_i2c_notify()
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_bus.c198 if (!of_node_check_flag(np, OF_POPULATED)) in of_dp_aux_ep_destroy()
/linux/drivers/pci/
H A Dof.c616 if (!np || !of_node_check_flag(np, OF_DYNAMIC)) in of_pci_remove_node()
/linux/include/linux/
H A Dof.h190 static inline int of_node_check_flag(const struct device_node *n, unsigned long flag) in of_node_check_flag() function
843 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function
/linux/lib/
H A Dvsprintf.c2191 tbuf[0] = of_node_check_flag(dn, OF_DYNAMIC) ? 'D' : '-'; in device_node_string()
2192 tbuf[1] = of_node_check_flag(dn, OF_DETACHED) ? 'd' : '-'; in device_node_string()
2193 tbuf[2] = of_node_check_flag(dn, OF_POPULATED) ? 'P' : '-'; in device_node_string()
2194 tbuf[3] = of_node_check_flag(dn, OF_POPULATED_BUS) ? 'B' : '-'; in device_node_string()
/linux/drivers/gpio/
H A Dgpiolib-of.c901 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_gpio_notify()
/linux/drivers/spi/
H A Dspi.c4794 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_spi_notify()