Lines Matching refs:inf
221 struct pxaohci_platform_data *inf) in pxa27x_setup_hc() argument
226 if (inf->flags & ENABLE_PORT1) in pxa27x_setup_hc()
229 if (inf->flags & ENABLE_PORT2) in pxa27x_setup_hc()
232 if (inf->flags & ENABLE_PORT3) in pxa27x_setup_hc()
235 if (inf->flags & POWER_CONTROL_LOW) in pxa27x_setup_hc()
238 if (inf->flags & POWER_SENSE_LOW) in pxa27x_setup_hc()
241 if (inf->flags & NO_OC_PROTECTION) in pxa27x_setup_hc()
246 if (inf->flags & OC_MODE_PERPORT) in pxa27x_setup_hc()
251 if (inf->power_on_delay) { in pxa27x_setup_hc()
253 uhcrhda |= UHCRHDA_POTPGT(inf->power_on_delay / 2); in pxa27x_setup_hc()
278 struct pxaohci_platform_data *inf; in pxa27x_start_hc() local
282 inf = dev_get_platdata(dev); in pxa27x_start_hc()
294 pxa27x_setup_hc(pxa_ohci, inf); in pxa27x_start_hc()
296 if (inf->init) in pxa27x_start_hc()
297 retval = inf->init(dev); in pxa27x_start_hc()
316 struct pxaohci_platform_data *inf; in pxa27x_stop_hc() local
320 inf = dev_get_platdata(dev); in pxa27x_stop_hc()
325 if (inf->exit) in pxa27x_stop_hc()
326 inf->exit(dev); in pxa27x_stop_hc()
419 struct pxaohci_platform_data *inf; in usb_hcd_pxa27x_probe() local
430 inf = dev_get_platdata(&pdev->dev); in usb_hcd_pxa27x_probe()
432 if (!inf) in usb_hcd_pxa27x_probe()
466 if (!(inf->flags & (ENABLE_PORT1 << i))) in usb_hcd_pxa27x_probe()
480 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in usb_hcd_pxa27x_probe()
482 if (inf->power_budget) in usb_hcd_pxa27x_probe()
483 hcd->power_budget = inf->power_budget; in usb_hcd_pxa27x_probe()
575 struct pxaohci_platform_data *inf = dev_get_platdata(dev); in ohci_hcd_pxa27x_drv_resume() local
588 pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode); in ohci_hcd_pxa27x_drv_resume()