Lines Matching refs:auxdata
296 const struct of_dev_auxdata *auxdata; in of_dev_lookup() local
303 auxdata = lookup; in of_dev_lookup()
304 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
305 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
309 if (res.start != auxdata->phys_addr) in of_dev_lookup()
311 pr_debug("%pOF: devname=%s\n", np, auxdata->name); in of_dev_lookup()
312 return auxdata; in of_dev_lookup()
319 auxdata = lookup; in of_dev_lookup()
320 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
321 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
323 if (!auxdata->phys_addr && !auxdata->name) { in of_dev_lookup()
325 return auxdata; in of_dev_lookup()
348 const struct of_dev_auxdata *auxdata; in of_platform_bus_create() local
374 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create()
375 if (auxdata) { in of_platform_bus_create()
376 bus_id = auxdata->name; in of_platform_bus_create()
377 platform_data = auxdata->platform_data; in of_platform_bus_create()