Lines Matching refs:pdata
34 struct mv_usb_platform_data *pdata; member
54 if (ehci_mv->pdata->phy_init) { in mv_ehci_enable()
55 retval = ehci_mv->pdata->phy_init(ehci_mv->phy_regs); in mv_ehci_enable()
65 if (ehci_mv->pdata->phy_deinit) in mv_ehci_disable()
66 ehci_mv->pdata->phy_deinit(ehci_mv->phy_regs); in mv_ehci_disable()
134 struct mv_usb_platform_data *pdata = dev_get_platdata(&pdev->dev); in mv_ehci_probe() local
142 if (!pdata) { in mv_ehci_probe()
161 ehci_mv->pdata = pdata; in mv_ehci_probe()
209 ehci_mv->mode = pdata->mode; in mv_ehci_probe()
234 if (pdata->set_vbus) in mv_ehci_probe()
235 pdata->set_vbus(1); in mv_ehci_probe()
246 if (pdata->private_init) in mv_ehci_probe()
247 pdata->private_init(ehci_mv->op_regs, ehci_mv->phy_regs); in mv_ehci_probe()
257 if (pdata->set_vbus) in mv_ehci_probe()
258 pdata->set_vbus(0); in mv_ehci_probe()
279 if (ehci_mv->pdata->set_vbus) in mv_ehci_remove()
280 ehci_mv->pdata->set_vbus(0); in mv_ehci_remove()