Home
last modified time | relevance | path

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

/drivers/usb/musb/
Domap2430.c65 switch (musb->xceiv.state) { in musb_do_idle()
72 musb->xceiv.state = OTG_STATE_B_IDLE; in musb_do_idle()
75 musb->xceiv.state = OTG_STATE_A_IDLE; in musb_do_idle()
93 musb->xceiv.state = OTG_STATE_A_HOST; in musb_do_idle()
101 musb->xceiv.state = OTG_STATE_B_IDLE; in musb_do_idle()
103 musb->xceiv.state = OTG_STATE_A_WAIT_BCON; in musb_do_idle()
122 && (musb->xceiv.state == OTG_STATE_A_WAIT_BCON))) { in musb_platform_try_idle()
167 musb->xceiv.default_a = 1; in omap_set_vbus()
168 musb->xceiv.state = OTG_STATE_A_WAIT_VRISE; in omap_set_vbus()
179 musb->xceiv.default_a = 0; in omap_set_vbus()
[all …]
Dmusb_virthub.c81 switch (musb->xceiv.state) { in musb_port_suspend()
83 musb->xceiv.state = OTG_STATE_A_SUSPEND; in musb_port_suspend()
85 && musb->xceiv.host->b_hnp_enable; in musb_port_suspend()
90 musb->xceiv.state = OTG_STATE_B_WAIT_ACON; in musb_port_suspend()
92 && musb->xceiv.host->b_hnp_enable; in musb_port_suspend()
119 if (musb->xceiv.state == OTG_STATE_B_IDLE) { in musb_port_reset()
189 switch (musb->xceiv.state) { in musb_root_disconnect()
192 musb->xceiv.state = OTG_STATE_A_WAIT_BCON; in musb_root_disconnect()
196 musb->xceiv.state = OTG_STATE_B_IDLE; in musb_root_disconnect()
335 musb->xceiv.state = OTG_STATE_A_HOST; in musb_hub_control()
Ddavinci.c203 switch (musb->xceiv.state) { in otg_timer()
214 musb->xceiv.state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
239 musb->xceiv.state = OTG_STATE_A_IDLE; in otg_timer()
319 musb->xceiv.state = OTG_STATE_A_WAIT_VFALL; in davinci_interrupt()
325 musb->xceiv.default_a = 1; in davinci_interrupt()
326 musb->xceiv.state = OTG_STATE_A_WAIT_VRISE; in davinci_interrupt()
332 musb->xceiv.default_a = 0; in davinci_interrupt()
333 musb->xceiv.state = OTG_STATE_B_IDLE; in davinci_interrupt()
355 && musb->xceiv.state == OTG_STATE_B_IDLE) in davinci_interrupt()
420 if (is_host_enabled(musb) && musb->xceiv.default_a) { in musb_platform_exit()
Dmusb_core.c270 switch (musb->xceiv.state) { in otg_state_string()
305 switch (musb->xceiv.state) { in musb_otg_timer_func()
309 musb->xceiv.state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
334 switch (musb->xceiv.state) { in musb_hnp_stop()
340 musb->xceiv.state = OTG_STATE_A_IDLE; in musb_hnp_stop()
347 musb->xceiv.state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
405 switch (musb->xceiv.state) { in musb_stage0_irq()
428 musb->xceiv.state = OTG_STATE_A_HOST; in musb_stage0_irq()
433 musb->xceiv.state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
444 switch (musb->xceiv.state) { in musb_stage0_irq()
[all …]
Dtusb6010.c273 struct musb *musb = container_of(x, struct musb, xceiv); in tusb_draw_power()
423 switch (musb->xceiv.state) { in musb_do_idle()
487 && (musb->xceiv.state == OTG_STATE_A_WAIT_BCON))) { in musb_platform_try_idle()
536 musb->xceiv.default_a = 1; in tusb_source_power()
537 musb->xceiv.state = OTG_STATE_A_WAIT_VRISE; in tusb_source_power()
550 switch (musb->xceiv.state) { in tusb_source_power()
553 musb->xceiv.state = OTG_STATE_A_WAIT_VFALL; in tusb_source_power()
556 musb->xceiv.state = OTG_STATE_A_IDLE; in tusb_source_power()
559 musb->xceiv.state = OTG_STATE_A_IDLE; in tusb_source_power()
562 musb->xceiv.default_a = 1; in tusb_source_power()
[all …]
Dmusb_gadget.c1397 switch (musb->xceiv.state) { in musb_gadget_wakeup()
1499 if (!musb->xceiv.set_power) in musb_gadget_vbus_draw()
1501 return otg_set_power(&musb->xceiv, mA); in musb_gadget_vbus_draw()
1727 musb->xceiv.gadget = &musb->g; in usb_gadget_register_driver()
1728 musb->xceiv.state = OTG_STATE_B_IDLE; in usb_gadget_register_driver()
1753 musb->xceiv.gadget = NULL; in usb_gadget_register_driver()
1754 musb->xceiv.state = OTG_STATE_UNDEFINED; in usb_gadget_register_driver()
1837 musb->xceiv.state = OTG_STATE_UNDEFINED; in usb_gadget_unregister_driver()
1874 switch (musb->xceiv.state) { in musb_g_resume()
1900 switch (musb->xceiv.state) { in musb_g_suspend()
[all …]
Dblackfin.c146 switch (musb->xceiv.state) { in musb_conn_timer_handler()
157 musb->xceiv.state = OTG_STATE_A_WAIT_BCON; in musb_conn_timer_handler()
294 musb->xceiv.set_power = bfin_set_power; in musb_platform_init()
Dmusb_core.h359 struct otg_transceiver xceiv; member
Dmusb_host.c2200 if (musb->xceiv.state == OTG_STATE_A_SUSPEND) in musb_bus_suspend()
/drivers/usb/otg/
Dotg.c17 static struct otg_transceiver *xceiv; variable
30 if (xceiv) in otg_get_transceiver()
31 get_device(xceiv->dev); in otg_get_transceiver()
32 return xceiv; in otg_get_transceiver()
60 if (xceiv && x) in otg_set_transceiver()
62 xceiv = x; in otg_set_transceiver()
/drivers/usb/gadget/
Domap_udc.c2668 omap_udc_setup(struct platform_device *odev, struct otg_transceiver *xceiv) in omap_udc_setup() argument
2703 udc->transceiver = xceiv; in omap_udc_setup()
2807 struct otg_transceiver *xceiv = NULL; in omap_udc_probe() local
2870 xceiv = otg_get_transceiver(); in omap_udc_probe()
2871 if (xceiv) in omap_udc_probe()
2872 type = xceiv->label; in omap_udc_probe()
2903 if (!xceiv) { in omap_udc_probe()
2930 status = omap_udc_setup(pdev, xceiv); in omap_udc_probe()
2934 xceiv = NULL; in omap_udc_probe()
3008 if (xceiv) in omap_udc_probe()
[all …]