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