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()
158 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
159 if (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON) { in host_start()
160 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
168 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
172 if (ci->platdata->pins_host) in host_start()
173 pinctrl_select_state(ci->platdata->pctl, in host_start()
174 ci->platdata->pins_host); in host_start()
190 if (ci->platdata->notify_event && in host_start()
191 (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC)) in host_start()
192 ci->platdata->notify_event in host_start()
199 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
200 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_start()
201 regulator_disable(ci->platdata->reg_vbus); in host_start()
213 if (ci->platdata->notify_event) in host_stop()
214 ci->platdata->notify_event(ci, in host_stop()
220 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_stop()
221 (ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON)) in host_stop()
222 regulator_disable(ci->platdata->reg_vbus); in host_stop()
227 if (ci->platdata->pins_host && ci->platdata->pins_default) in host_stop()
228 pinctrl_select_state(ci->platdata->pctl, in host_stop()
229 ci->platdata->pins_default); in host_stop()
265 if (ci->platdata->hub_control) { in ci_ehci_hub_control()
266 retval = ci->platdata->hub_control(ci, typeReq, wValue, wIndex, in ci_ehci_hub_control()
296 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_hub_control()
297 if (ci->platdata->notify_event) in ci_ehci_hub_control()
298 ci->platdata->notify_event(ci, in ci_ehci_hub_control()
369 if (ci->platdata->flags & CI_HDRC_IMX_IS_HSIC) { in ci_ehci_bus_suspend()
479 if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) { in ci_hdrc_host_init()