Searched refs:of_node_check_flag (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/of/ |
| D | platform.c | 371 if (of_node_check_flag(bus, OF_POPULATED_BUS)) { in of_platform_bus_create() 546 if (!dev->of_node || !of_node_check_flag(dev->of_node, OF_POPULATED)) in of_platform_device_destroy() 550 if (of_node_check_flag(dev->of_node, OF_POPULATED_BUS)) in of_platform_device_destroy() 578 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate() 667 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify() 671 if (of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify() 691 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_platform_notify()
|
| D | dynamic.c | 208 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() 331 if (!of_node_check_flag(node, OF_DETACHED)) { in of_node_release() 336 if (!of_node_check_flag(node, OF_DYNAMIC)) in of_node_release() 339 if (of_node_check_flag(node, OF_OVERLAY)) { in of_node_release() 341 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()
|
| D | overlay.c | 359 !of_node_check_flag(target->np, OF_OVERLAY)) in add_changeset_property() 739 if (!of_node_check_flag(tree, OF_DYNAMIC)) in init_overlay_changeset() 742 if (!of_node_check_flag(tree, OF_DETACHED)) in init_overlay_changeset()
|
| D | resolver.c | 280 if (!of_node_check_flag(overlay, OF_DETACHED)) { in of_resolve_phandles()
|
| D | base.c | 1239 if (np && of_node_check_flag(np, OF_DETACHED)) { in of_find_node_by_phandle() 1250 !of_node_check_flag(np, OF_DETACHED)) { in of_find_node_by_phandle()
|
| /Linux-v5.4/drivers/i2c/ |
| D | i2c-core-of.c | 259 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_i2c_notify()
|
| /Linux-v5.4/include/linux/ |
| D | of.h | 188 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function 936 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) in of_node_check_flag() function
|
| /Linux-v5.4/lib/ |
| D | vsprintf.c | 1964 tbuf[0] = of_node_check_flag(dn, OF_DYNAMIC) ? 'D' : '-'; in device_node_string() 1965 tbuf[1] = of_node_check_flag(dn, OF_DETACHED) ? 'd' : '-'; in device_node_string() 1966 tbuf[2] = of_node_check_flag(dn, OF_POPULATED) ? 'P' : '-'; in device_node_string() 1967 tbuf[3] = of_node_check_flag(dn, OF_POPULATED_BUS) ? 'B' : '-'; in device_node_string()
|
| /Linux-v5.4/drivers/spi/ |
| D | spi.c | 3715 if (!of_node_check_flag(rd->dn, OF_POPULATED)) in of_spi_notify()
|