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()
275 struct pxaohci_platform_data *inf; in pxa27x_start_hc() local
278 inf = dev_get_platdata(dev); in pxa27x_start_hc()
292 pxa27x_setup_hc(pxa_ohci, inf); in pxa27x_start_hc()
294 if (inf->init) in pxa27x_start_hc()
295 retval = inf->init(dev); in pxa27x_start_hc()
313 struct pxaohci_platform_data *inf; in pxa27x_stop_hc() local
316 inf = dev_get_platdata(dev); in pxa27x_stop_hc()
318 if (inf->exit) in pxa27x_stop_hc()
319 inf->exit(dev); in pxa27x_stop_hc()
413 struct pxaohci_platform_data *inf; in ohci_hcd_pxa27x_probe() local
424 inf = dev_get_platdata(&pdev->dev); in ohci_hcd_pxa27x_probe()
426 if (!inf) in ohci_hcd_pxa27x_probe()
460 if (!(inf->flags & (ENABLE_PORT1 << i))) in ohci_hcd_pxa27x_probe()
474 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_probe()
476 if (inf->power_budget) in ohci_hcd_pxa27x_probe()
477 hcd->power_budget = inf->power_budget; in ohci_hcd_pxa27x_probe()
553 struct pxaohci_platform_data *inf = dev_get_platdata(dev); in ohci_hcd_pxa27x_drv_resume() local
566 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_drv_resume()