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