Lines Matching refs:inf

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