Searched refs:strprefixeq (Results 1 – 3 of 3) sorted by relevance
/external/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() 1001 if (strprefixeq(node->name, node->basenamelen, "i2c-bus") || in check_i2c_bus_bridge() 1002 strprefixeq(node->name, node->basenamelen, "i2c-arb")) { in check_i2c_bus_bridge() 1004 } else if (strprefixeq(node->name, node->basenamelen, "i2c")) { in check_i2c_bus_bridge() 1007 if (strprefixeq(child->name, node->basenamelen, "i2c-bus")) in check_i2c_bus_bridge() 1080 if (strprefixeq(node->name, node->basenamelen, "spi")) { in check_spi_bus_bridge() 1092 if (strprefixeq(prop->name, 4, "spi-")) { in check_spi_bus_bridge() 1666 if (!(strprefixeq(child->name, child->basenamelen, "endpoint") || in check_graph_nodes() 1745 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()
|