Lines Matching refs:auxdata
288 const struct of_dev_auxdata *auxdata; in of_dev_lookup() local
295 auxdata = lookup; in of_dev_lookup()
296 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
297 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
301 if (res.start != auxdata->phys_addr) in of_dev_lookup()
303 pr_debug("%pOF: devname=%s\n", np, auxdata->name); in of_dev_lookup()
304 return auxdata; in of_dev_lookup()
311 auxdata = lookup; in of_dev_lookup()
312 for (; auxdata->compatible; auxdata++) { in of_dev_lookup()
313 if (!of_device_is_compatible(np, auxdata->compatible)) in of_dev_lookup()
315 if (!auxdata->phys_addr && !auxdata->name) { in of_dev_lookup()
317 return auxdata; in of_dev_lookup()
340 const struct of_dev_auxdata *auxdata; in of_platform_bus_create() local
365 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create()
366 if (auxdata) { in of_platform_bus_create()
367 bus_id = auxdata->name; in of_platform_bus_create()
368 platform_data = auxdata->platform_data; in of_platform_bus_create()