Searched refs:strprefixeq (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/scripts/dtc/ |
D | checks.c | 843 if (!strprefixeq(node->name, node->basenamelen, "pci") && in check_pci_bridge() 844 !strprefixeq(node->name, node->basenamelen, "pcie")) in check_pci_bridge() 1020 if (strprefixeq(node->name, node->basenamelen, "i2c-bus") || in check_i2c_bus_bridge() 1021 strprefixeq(node->name, node->basenamelen, "i2c-arb")) { in check_i2c_bus_bridge() 1023 } else if (strprefixeq(node->name, node->basenamelen, "i2c")) { in check_i2c_bus_bridge() 1026 if (strprefixeq(child->name, node->basenamelen, "i2c-bus")) in check_i2c_bus_bridge() 1099 if (strprefixeq(node->name, node->basenamelen, "spi")) { in check_spi_bus_bridge() 1111 if (strprefixeq(prop->name, 4, "spi-")) { in check_spi_bus_bridge() 1764 if (!(strprefixeq(child->name, child->basenamelen, "endpoint") || in check_graph_nodes() 1843 if (!strprefixeq(node->name, node->basenamelen, "port")) in check_graph_port() [all …]
|
D | dtc.h | 93 #define strprefixeq(a, n, b) (strlen(b) == (n) && (memcmp(a, b, n) == 0)) macro
|
D | livetree.c | 529 if (p && strprefixeq(path, (size_t)(p - path), child->name)) in get_node_by_path()
|