Lines Matching refs:pdata
136 struct usb_ohci_pdata *pdata = &ohci_platform_defaults; in st_ohci_platform_probe() local
162 dev->dev.platform_data = pdata; in st_ohci_platform_probe()
203 if (pdata->power_on) { in st_ohci_platform_probe()
204 err = pdata->power_on(dev); in st_ohci_platform_probe()
228 if (pdata->power_off) in st_ohci_platform_probe()
229 pdata->power_off(dev); in st_ohci_platform_probe()
235 if (pdata == &ohci_platform_defaults) in st_ohci_platform_probe()
246 struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev); in st_ohci_platform_remove() local
252 if (pdata->power_off) in st_ohci_platform_remove()
253 pdata->power_off(dev); in st_ohci_platform_remove()
261 if (pdata == &ohci_platform_defaults) in st_ohci_platform_remove()
272 struct usb_ohci_pdata *pdata = dev->platform_data; in st_ohci_suspend() local
282 if (pdata->power_suspend) in st_ohci_suspend()
283 pdata->power_suspend(pdev); in st_ohci_suspend()
291 struct usb_ohci_pdata *pdata = dev_get_platdata(dev); in st_ohci_resume() local
296 if (pdata->power_on) { in st_ohci_resume()
297 err = pdata->power_on(pdev); in st_ohci_resume()