Lines Matching refs:inf
222 struct pxaohci_platform_data *inf)
227 if (inf->flags & ENABLE_PORT1)
230 if (inf->flags & ENABLE_PORT2)
233 if (inf->flags & ENABLE_PORT3)
236 if (inf->flags & POWER_CONTROL_LOW)
239 if (inf->flags & POWER_SENSE_LOW)
242 if (inf->flags & NO_OC_PROTECTION)
247 if (inf->flags & OC_MODE_PERPORT)
252 if (inf->power_on_delay) {
254 uhcrhda |= UHCRHDA_POTPGT(inf->power_on_delay / 2);
279 struct pxaohci_platform_data *inf;
283 inf = dev_get_platdata(dev);
297 pxa27x_setup_hc(pxa_ohci, inf);
299 if (inf->init)
300 retval = inf->init(dev);
321 struct pxaohci_platform_data *inf;
325 inf = dev_get_platdata(dev);
330 if (inf->exit)
331 inf->exit(dev);
424 struct pxaohci_platform_data *inf;
435 inf = dev_get_platdata(&pdev->dev);
437 if (!inf)
471 if (!(inf->flags & (ENABLE_PORT1 << i)))
485 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);
487 if (inf->power_budget)
488 hcd->power_budget = inf->power_budget;
564 struct pxaohci_platform_data *inf = dev_get_platdata(dev);
577 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);