Home
last modified time | relevance | path

Searched refs:xceiv (Results 1 – 14 of 14) sorted by relevance

/drivers/usb/musb/
Domap2430.c58 switch (musb->xceiv->state) { in musb_do_idle()
63 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_do_idle()
66 musb->xceiv->state = OTG_STATE_A_IDLE; in musb_do_idle()
83 musb->xceiv->state = OTG_STATE_A_HOST; in musb_do_idle()
89 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_do_idle()
91 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_do_idle()
109 && (musb->xceiv->state == OTG_STATE_A_WAIT_BCON))) { in omap2430_musb_try_idle()
111 otg_state_string(musb->xceiv->state)); in omap2430_musb_try_idle()
128 otg_state_string(musb->xceiv->state), in omap2430_musb_try_idle()
135 struct usb_otg *otg = musb->xceiv->otg; in omap2430_musb_set_vbus()
[all …]
Dda8xx.c200 otg_state_string(musb->xceiv->state)); in otg_timer()
203 switch (musb->xceiv->state) { in otg_timer()
210 musb->xceiv->state = OTG_STATE_B_IDLE; in otg_timer()
213 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
228 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
253 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
273 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) { in da8xx_musb_try_idle()
275 otg_state_string(musb->xceiv->state)); in da8xx_musb_try_idle()
288 otg_state_string(musb->xceiv->state), in da8xx_musb_try_idle()
297 struct usb_otg *otg = musb->xceiv->otg; in da8xx_musb_interrupt()
[all …]
Dmusb_virthub.c50 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend()
81 switch (musb->xceiv->state) { in musb_port_suspend()
83 musb->xceiv->state = OTG_STATE_A_SUSPEND; in musb_port_suspend()
93 musb->xceiv->state = OTG_STATE_B_WAIT_ACON; in musb_port_suspend()
100 otg_state_string(musb->xceiv->state)); in musb_port_suspend()
120 if (musb->xceiv->state == OTG_STATE_B_IDLE) { in musb_port_reset()
183 struct usb_otg *otg = musb->xceiv->otg; in musb_root_disconnect()
191 switch (musb->xceiv->state) { in musb_root_disconnect()
195 musb->xceiv->state = OTG_STATE_A_PERIPHERAL; in musb_root_disconnect()
201 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_root_disconnect()
[all …]
Dmusb_core.c357 switch (musb->xceiv->state) { in musb_otg_timer_func()
361 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
367 otg_state_string(musb->xceiv->state)); in musb_otg_timer_func()
369 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func()
373 otg_state_string(musb->xceiv->state)); in musb_otg_timer_func()
388 dev_dbg(musb->controller, "HNP: stop from %s\n", otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
390 switch (musb->xceiv->state) { in musb_hnp_stop()
394 otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
399 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
408 otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
[all …]
Dam35x.c152 otg_state_string(musb->xceiv->state)); in otg_timer()
155 switch (musb->xceiv->state) { in otg_timer()
162 musb->xceiv->state = OTG_STATE_B_IDLE; in otg_timer()
165 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
170 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
182 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
202 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) { in am35x_musb_try_idle()
204 otg_state_string(musb->xceiv->state)); in am35x_musb_try_idle()
217 otg_state_string(musb->xceiv->state), in am35x_musb_try_idle()
229 struct usb_otg *otg = musb->xceiv->otg; in am35x_musb_interrupt()
[all …]
Ddavinci.c217 otg_state_string(musb->xceiv->state)); in otg_timer()
220 switch (musb->xceiv->state) { in otg_timer()
231 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
256 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
269 struct usb_otg *otg = musb->xceiv->otg; in davinci_musb_interrupt()
331 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL; in davinci_musb_interrupt()
337 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in davinci_musb_interrupt()
344 musb->xceiv->state = OTG_STATE_B_IDLE; in davinci_musb_interrupt()
354 otg_state_string(musb->xceiv->state), in davinci_musb_interrupt()
368 && musb->xceiv->state == OTG_STATE_B_IDLE) in davinci_musb_interrupt()
[all …]
Dtusb6010.c417 switch (musb->xceiv->state) { in musb_do_idle()
423 otg_state_string(musb->xceiv->state)); in musb_do_idle()
477 && (musb->xceiv->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle()
479 otg_state_string(musb->xceiv->state)); in tusb_musb_try_idle()
496 otg_state_string(musb->xceiv->state), in tusb_musb_try_idle()
513 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus()
527 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus()
540 switch (musb->xceiv->state) { in tusb_musb_set_vbus()
543 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus()
546 musb->xceiv->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus()
[all …]
Dblackfin.c186 if ((is_otg_enabled(musb) && (musb->xceiv->state == OTG_STATE_B_IDLE in blackfin_interrupt()
187 || musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) || in blackfin_interrupt()
206 switch (musb->xceiv->state) { in musb_conn_timer_handler()
220 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_conn_timer_handler()
231 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_conn_timer_handler()
251 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_conn_timer_handler()
286 otg_state_string(musb->xceiv->state)); in musb_conn_timer_handler()
292 otg_state_string(musb->xceiv->state)); in musb_conn_timer_handler()
316 otg_state_string(musb->xceiv->state), in bfin_musb_set_vbus()
418 musb->xceiv = usb_get_transceiver(); in bfin_musb_init()
[all …]
Dux500.c40 musb->xceiv = usb_get_transceiver(); in ux500_musb_init()
41 if (!musb->xceiv) { in ux500_musb_init()
51 usb_put_transceiver(musb->xceiv); in ux500_musb_exit()
163 usb_phy_set_suspend(musb->xceiv, 1); in ux500_suspend()
181 usb_phy_set_suspend(musb->xceiv, 0); in ux500_resume()
Dmusb_gadget.c1616 switch (musb->xceiv->state) { in musb_gadget_wakeup()
1646 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup()
1657 otg_state_string(musb->xceiv->state)); in musb_gadget_wakeup()
1723 if (!musb->xceiv->set_power) in musb_gadget_vbus_draw()
1725 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw()
1920 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
1938 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1967 if ((musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start()
1973 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_start()
2035 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_stop()
[all …]
Dmusb_core.h375 struct usb_phy *xceiv; member
Dmusb_host.c2276 switch (musb->xceiv->state) { in musb_bus_suspend()
2286 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_bus_suspend()
2294 otg_state_string(musb->xceiv->state)); in musb_bus_suspend()
/drivers/usb/otg/
DMakefile17 obj-$(CONFIG_NOP_USB_XCEIV) += nop-usb-xceiv.o
/drivers/usb/gadget/
Domap_udc.c2656 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument
2692 udc->transceiver = xceiv; in omap_udc_setup()
2796 struct usb_phy *xceiv = NULL; in omap_udc_probe() local
2869 xceiv = usb_get_transceiver(); in omap_udc_probe()
2870 if (xceiv) in omap_udc_probe()
2871 type = xceiv->label; in omap_udc_probe()
2902 if (!xceiv) { in omap_udc_probe()
2929 status = omap_udc_setup(pdev, xceiv); in omap_udc_probe()
2933 xceiv = NULL; in omap_udc_probe()
3014 if (xceiv) in omap_udc_probe()
[all …]