Lines Matching refs:platdata
60 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { in ehci_ci_portpower()
84 if (ci->platdata->notify_event) { in ehci_ci_reset()
85 ret = ci->platdata->notify_event(ci, in ehci_ci_reset()
128 hcd->power_budget = ci->platdata->power_budget; in host_start()
129 hcd->tpl_support = ci->platdata->tpl_support; in host_start()
145 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
146 if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { in host_start()
147 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
155 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
159 if (ci->platdata->pins_host) in host_start()
160 pinctrl_select_state(ci->platdata->pctl, in host_start()
161 ci->platdata->pins_host); in host_start()
176 if (ci->platdata->notify_event && in host_start()
177 (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC)) in host_start()
178 ci->platdata->notify_event in host_start()
185 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
186 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_start()
187 regulator_disable(ci->platdata->reg_vbus); in host_start()
199 if (ci->platdata->notify_event) in host_stop()
200 ci->platdata->notify_event(ci, in host_stop()
206 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
207 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_stop()
208 regulator_disable(ci->platdata->reg_vbus); in host_stop()
213 if (ci->platdata->pins_host && ci->platdata->pins_default) in host_stop()
214 pinctrl_select_state(ci->platdata->pctl, in host_stop()
215 ci->platdata->pins_default); in host_stop()
266 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_hub_control()
267 if (ci->platdata->notify_event) in ci_ehci_hub_control()
268 ci->platdata->notify_event(ci, in ci_ehci_hub_control()
339 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_bus_suspend()