Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/of/
H A Dplatform.c371 if (of_node_check_flag(bus, OF_POPULATED_BUS)) { in of_platform_bus_create()
558 if (!dev->of_node || !of_node_check_flag(dev->of_node, OF_POPULATED)) in of_platform_device_destroy()
562 if (of_node_check_flag(dev->of_node, OF_POPULATED_BUS)) in of_platform_device_destroy()
590 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate()
679 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify()
683 if (of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify()
703 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()
258 if (WARN_ON(of_node_check_flag(np, OF_DETACHED))) in __of_detach_node()
330 if (!of_node_check_flag(node, OF_DETACHED)) { in of_node_release()
335 if (!of_node_check_flag(node, OF_DYNAMIC)) in of_node_release()
338 if (of_node_check_flag(node, OF_OVERLAY)) { in of_node_release()
340 if (!of_node_check_flag(node, OF_OVERLAY_FREE_CSET)) { in of_node_release()
463 of_node_check_flag(ce->np, OF_OVERLAY)) { in __of_changeset_entry_destroy()
H A Doverlay.c362 if (!of_node_check_flag(target->np, OF_OVERLAY)) in add_changeset_property()
742 if (!of_node_check_flag(tree, OF_DYNAMIC)) in init_overlay_changeset()
745 if (!of_node_check_flag(tree, OF_DETACHED)) in init_overlay_changeset()
H A Dresolver.c280 if (!of_node_check_flag(overlay, OF_DETACHED)) { in of_resolve_phandles()
H A Dproperty.c1109 (of_node_check_flag(sup_np, OF_POPULATED) || in of_link_to_phandle()
H A Dbase.c1216 !of_node_check_flag(np, OF_DETACHED)) { in of_find_node_by_phandle()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-core-of.c262 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_i2c_notify()
/OK3568_Linux_fs/kernel/include/linux/
H A Dof.h188 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function
961 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function
/OK3568_Linux_fs/kernel/lib/
H A Dvsprintf.c2076 tbuf[0] = of_node_check_flag(dn, OF_DYNAMIC) ? 'D' : '-'; in device_node_string()
2077 tbuf[1] = of_node_check_flag(dn, OF_DETACHED) ? 'd' : '-'; in device_node_string()
2078 tbuf[2] = of_node_check_flag(dn, OF_POPULATED) ? 'P' : '-'; in device_node_string()
2079 tbuf[3] = of_node_check_flag(dn, OF_POPULATED_BUS) ? 'B' : '-'; in device_node_string()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-of.c769 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_gpio_notify()
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi.c4114 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_spi_notify()