Searched defs:matches (Results 1 - 8 of 8) sorted by relevance
/drivers/of/ |
H A D | device.c | 13 * of_match_device - Tell if a struct device matches an of_device_id list 20 const struct of_device_id *of_match_device(const struct of_device_id *matches, argument 23 if ((!matches) || (!dev->of_node)) 25 return of_match_node(matches, dev->of_node);
|
H A D | platform.c | 334 * @matches: match table for bus nodes 343 const struct of_device_id *matches, 373 if (!dev || !of_match_node(matches, bus)) 378 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); 390 * @matches: match table for bus nodes 394 * unless the specified root itself matches the bus list and is not NULL. 397 const struct of_device_id *matches, 411 if (of_match_node(matches, root)) { 412 rc = of_platform_bus_create(root, matches, NULL, parent, false); 414 if (!of_match_node(matches, chil 342 of_platform_bus_create(struct device_node *bus, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent, bool strict) argument 396 of_platform_bus_probe(struct device_node *root, const struct of_device_id *matches, struct device *parent) argument 444 of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent) argument [all...] |
H A D | irq.c | 404 * @matches: 0 terminated array of nodes to match and init function to call 409 void __init of_irq_init(const struct of_device_id *matches) argument 418 for_each_matching_node(np, matches) { 456 match = of_match_node(matches, desc->dev);
|
H A D | address.c | 587 const struct of_device_id *matches, 590 struct device_node *dn = of_find_matching_node(from, matches); 598 dn = of_find_matching_node(dn, matches); 586 of_find_matching_node_by_address(struct device_node *from, const struct of_device_id *matches, u64 base_address) argument
|
H A D | base.c | 225 /** Checks if the given "compat" string matches one of the strings in 516 * @matches: array of of device match structures to search in 521 const struct of_device_id *of_match_node(const struct of_device_id *matches, argument 524 if (!matches) 527 while (matches->name[0] || matches->type[0] || matches->compatible[0]) { 529 if (matches->name[0]) 531 && !strcmp(matches->name, node->name); 532 if (matches 558 of_find_matching_node(struct device_node *from, const struct of_device_id *matches) argument [all...] |
/drivers/macintosh/ |
H A D | macio_asic.c | 42 const struct of_device_id * matches = drv->of_match_table; local 44 if (!matches) 47 return of_match_device(matches, dev) != NULL;
|
/drivers/char/hw_random/ |
H A D | n2-drv.c | 492 int err, matches, limit; local 494 matches = 0; 496 matches += n2rng_test_buffer_find(np, val); 497 if (matches >= SELFTEST_MATCH_GOAL)
|
/drivers/scsi/ |
H A D | ipr.c | 2498 int i, j, matches; local 2503 for (j = 0, matches = 0; j < IPR_PROD_ID_LEN; j++) { 2507 matches++; 2511 matches++; 2514 if (matches == IPR_PROD_ID_LEN)
|
Completed in 552 milliseconds