Searched refs:strprefixeq (Results 1 – 3 of 3) sorted by relevance
/scripts/dtc/ |
D | checks.c | 822 if (!strprefixeq(node->name, node->basenamelen, "pci") && in check_pci_bridge() 823 !strprefixeq(node->name, node->basenamelen, "pcie")) in check_pci_bridge() 999 if (strprefixeq(node->name, node->basenamelen, "i2c-bus") || in check_i2c_bus_bridge() 1000 strprefixeq(node->name, node->basenamelen, "i2c-arb")) { in check_i2c_bus_bridge() 1002 } else if (strprefixeq(node->name, node->basenamelen, "i2c")) { in check_i2c_bus_bridge() 1005 if (strprefixeq(child->name, node->basenamelen, "i2c-bus")) in check_i2c_bus_bridge() 1078 if (strprefixeq(node->name, node->basenamelen, "spi")) { in check_spi_bus_bridge() 1090 if (strprefixeq(prop->name, 4, "spi-")) { in check_spi_bus_bridge() 1664 if (!(strprefixeq(child->name, child->basenamelen, "endpoint") || in check_graph_nodes() 1743 if (!strprefixeq(node->name, node->basenamelen, "port")) in check_graph_port() [all …]
|
D | dtc.h | 88 #define strprefixeq(a, n, b) (strlen(b) == (n) && (memcmp(a, b, n) == 0)) macro
|
D | livetree.c | 529 if (p && strprefixeq(path, p - path, child->name)) in get_node_by_path()
|