Lines Matching refs:inf
219 struct pxaohci_platform_data *inf)
224 if (inf->flags & ENABLE_PORT1)
227 if (inf->flags & ENABLE_PORT2)
230 if (inf->flags & ENABLE_PORT3)
233 if (inf->flags & POWER_CONTROL_LOW)
236 if (inf->flags & POWER_SENSE_LOW)
239 if (inf->flags & NO_OC_PROTECTION)
244 if (inf->flags & OC_MODE_PERPORT)
249 if (inf->power_on_delay) {
251 uhcrhda |= UHCRHDA_POTPGT(inf->power_on_delay / 2);
270 struct pxaohci_platform_data *inf;
273 inf = dev_get_platdata(dev);
287 pxa27x_setup_hc(pxa_ohci, inf);
289 if (inf->init)
290 retval = inf->init(dev);
308 struct pxaohci_platform_data *inf;
311 inf = dev_get_platdata(dev);
313 if (inf->exit)
314 inf->exit(dev);
408 struct pxaohci_platform_data *inf;
419 inf = dev_get_platdata(&pdev->dev);
421 if (!inf)
454 if (!(inf->flags & (ENABLE_PORT1 << i)))
468 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);
470 if (inf->power_budget)
471 hcd->power_budget = inf->power_budget;
546 struct pxaohci_platform_data *inf = dev_get_platdata(dev);
559 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);