Lines Matching refs:platdata
66 if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) { in ehci_ci_portpower()
73 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
97 if (ci->platdata->notify_event) { in ehci_ci_reset()
98 ret = ci->platdata->notify_event(ci, in ehci_ci_reset()
141 hcd->power_budget = ci->platdata->power_budget; in host_start()
142 hcd->tpl_support = ci->platdata->tpl_support; in host_start()
159 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
160 if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { in host_start()
161 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
169 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
173 if (ci->platdata->pins_host) in host_start()
174 pinctrl_select_state(ci->platdata->pctl, in host_start()
175 ci->platdata->pins_host); in host_start()
191 if (ci->platdata->notify_event && in host_start()
192 (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC)) in host_start()
193 ci->platdata->notify_event in host_start()
200 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
201 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_start()
202 regulator_disable(ci->platdata->reg_vbus); in host_start()
214 if (ci->platdata->notify_event) in host_stop()
215 ci->platdata->notify_event(ci, in host_stop()
221 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
222 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_stop()
223 regulator_disable(ci->platdata->reg_vbus); in host_stop()
228 if (ci->platdata->pins_host && ci->platdata->pins_default) in host_stop()
229 pinctrl_select_state(ci->platdata->pctl, in host_stop()
230 ci->platdata->pins_default); in host_stop()
272 if (ci->platdata->hub_control) { in ci_ehci_hub_control()
273 retval = ci->platdata->hub_control(ci, typeReq, wValue, wIndex, in ci_ehci_hub_control()
303 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_hub_control()
304 if (ci->platdata->notify_event) in ci_ehci_hub_control()
305 ci->platdata->notify_event(ci, in ci_ehci_hub_control()
376 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_bus_suspend()
495 if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) { in ci_hdrc_host_init()