Lines Matching refs:inf
218 struct pxaohci_platform_data *inf)
223 if (inf->flags & ENABLE_PORT1)
226 if (inf->flags & ENABLE_PORT2)
229 if (inf->flags & ENABLE_PORT3)
232 if (inf->flags & POWER_CONTROL_LOW)
235 if (inf->flags & POWER_SENSE_LOW)
238 if (inf->flags & NO_OC_PROTECTION)
243 if (inf->flags & OC_MODE_PERPORT)
248 if (inf->power_on_delay) {
250 uhcrhda |= UHCRHDA_POTPGT(inf->power_on_delay / 2);
269 struct pxaohci_platform_data *inf;
272 inf = dev_get_platdata(dev);
286 pxa27x_setup_hc(pxa_ohci, inf);
288 if (inf->init)
289 retval = inf->init(dev);
307 struct pxaohci_platform_data *inf;
310 inf = dev_get_platdata(dev);
312 if (inf->exit)
313 inf->exit(dev);
407 struct pxaohci_platform_data *inf;
418 inf = dev_get_platdata(&pdev->dev);
420 if (!inf)
453 if (!(inf->flags & (ENABLE_PORT1 << i)))
467 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);
469 if (inf->power_budget)
470 hcd->power_budget = inf->power_budget;
545 struct pxaohci_platform_data *inf = dev_get_platdata(dev);
558 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);