Home
last modified time | relevance | path

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

1234

/Linux-v6.1/drivers/usb/musb/
Dmusb_virthub.c46 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_host_finish_resume()
53 struct usb_otg *otg = musb->xceiv->otg; in musb_port_suspend()
88 switch (musb->xceiv->otg->state) { in musb_port_suspend()
90 musb->xceiv->otg->state = OTG_STATE_A_SUSPEND; in musb_port_suspend()
99 musb->xceiv->otg->state = OTG_STATE_B_WAIT_ACON; in musb_port_suspend()
105 usb_otg_state_string(musb->xceiv->otg->state)); in musb_port_suspend()
126 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) { in musb_port_reset()
199 struct usb_otg *otg = musb->xceiv->otg; in musb_root_disconnect()
207 switch (musb->xceiv->otg->state) { in musb_root_disconnect()
210 musb->xceiv->otg->state = OTG_STATE_A_PERIPHERAL; in musb_root_disconnect()
[all …]
Dux500.c46 if (musb->xceiv->otg->state == OTG_STATE_A_IDLE) { in ux500_musb_set_vbus()
65 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in ux500_musb_set_vbus()
90 usb_otg_state_string(musb->xceiv->otg->state), in ux500_musb_set_vbus()
100 event, usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_notifications()
115 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_otg_notifications()
148 musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); in ux500_musb_init()
149 if (IS_ERR_OR_NULL(musb->xceiv)) { in ux500_musb_init()
155 status = usb_register_notifier(musb->xceiv, &musb->nb); in ux500_musb_init()
168 usb_unregister_notifier(musb->xceiv, &musb->nb); in ux500_musb_exit()
170 usb_put_phy(musb->xceiv); in ux500_musb_exit()
[all …]
Domap2430.c98 usb_otg_state_string(musb->xceiv->otg->state), in omap_musb_set_mailbox()
104 switch (musb->xceiv->otg->state) { in omap_musb_set_mailbox()
109 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap_musb_set_mailbox()
118 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox()
121 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox()
122 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox()
126 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox()
135 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
136 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox()
144 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox()
[all …]
Dam35x.c133 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
136 switch (musb->xceiv->otg->state) { in otg_timer()
143 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
146 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
151 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
160 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
177 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in am35x_musb_try_idle()
179 usb_otg_state_string(musb->xceiv->otg->state)); in am35x_musb_try_idle()
192 usb_otg_state_string(musb->xceiv->otg->state), in am35x_musb_try_idle()
261 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in am35x_musb_interrupt()
[all …]
Dda8xx.c135 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
138 switch (musb->xceiv->otg->state) { in otg_timer()
145 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
148 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
163 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
185 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
202 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in da8xx_musb_try_idle()
204 usb_otg_state_string(musb->xceiv->otg->state)); in da8xx_musb_try_idle()
217 usb_otg_state_string(musb->xceiv->otg->state), in da8xx_musb_try_idle()
277 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in da8xx_musb_interrupt()
[all …]
Ddavinci.c198 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
201 switch (musb->xceiv->otg->state) { in otg_timer()
212 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
235 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
248 struct usb_otg *otg = musb->xceiv->otg; in davinci_musb_interrupt()
309 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in davinci_musb_interrupt()
314 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in davinci_musb_interrupt()
320 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in davinci_musb_interrupt()
330 usb_otg_state_string(musb->xceiv->otg->state), in davinci_musb_interrupt()
343 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in davinci_musb_interrupt()
[all …]
Dtusb6010.c460 switch (musb->xceiv->otg->state) { in musb_do_idle()
466 usb_otg_state_string(musb->xceiv->otg->state)); in musb_do_idle()
520 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle()
522 usb_otg_state_string(musb->xceiv->otg->state)); in tusb_musb_try_idle()
539 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_try_idle()
556 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus()
570 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus()
583 switch (musb->xceiv->otg->state) { in tusb_musb_set_vbus()
586 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus()
589 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus()
[all …]
Dmusb_core.c505 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_set_host()
552 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_set_peripheral()
602 switch (musb->xceiv->otg->state) { in musb_otg_timer_func()
607 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
613 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
615 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func()
619 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
634 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
636 switch (musb->xceiv->otg->state) { in musb_hnp_stop()
640 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
[all …]
Dmpfs.c88 musb->xceiv->otg->default_a = 1; in mpfs_musb_set_vbus()
89 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mpfs_musb_set_vbus()
99 musb->xceiv->otg->default_a = 0; in mpfs_musb_set_vbus()
100 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mpfs_musb_set_vbus()
109 usb_otg_state_string(musb->xceiv->otg->state), in mpfs_musb_set_vbus()
117 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mpfs_musb_init()
118 if (IS_ERR(musb->xceiv)) { in mpfs_musb_init()
120 return PTR_ERR(musb->xceiv); in mpfs_musb_init()
Dmusb_dsps.c188 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in dsps_musb_enable()
227 usb_otg_state_string(musb->xceiv->otg->state)); in dsps_check_status()
229 switch (musb->xceiv->otg->state) { in dsps_check_status()
232 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in dsps_check_status()
252 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status()
255 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in dsps_check_status()
269 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_check_status()
368 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt()
373 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt()
378 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt()
[all …]
Djz4740.c82 struct usb_phy *phy = glue->musb->xceiv; in jz4740_musb_role_switch_set()
112 musb->xceiv = devm_usb_get_phy_by_phandle(dev, "phys", 0); in jz4740_musb_init()
114 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in jz4740_musb_init()
115 if (IS_ERR(musb->xceiv)) in jz4740_musb_init()
116 return dev_err_probe(dev, PTR_ERR(musb->xceiv), in jz4740_musb_init()
Dmusb_gadget.c1526 switch (musb->xceiv->otg->state) { in musb_gadget_wakeup()
1556 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup()
1567 usb_otg_state_string(musb->xceiv->otg->state)); in musb_gadget_wakeup()
1631 if (!musb->xceiv->set_power) in musb_gadget_vbus_draw()
1633 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw()
1790 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup()
1837 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
1855 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1864 if (musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start()
1900 musb->xceiv->otg->state = OTG_STATE_UNDEFINED; in musb_gadget_stop()
[all …]
Dmediatek.c47 struct usb_phy *xceiv; member
76 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mtk_otg_switch_set()
87 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mtk_otg_switch_set()
262 musb->xceiv = glue->xceiv; in mtk_musb_init()
467 glue->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mtk_musb_probe()
468 if (IS_ERR(glue->xceiv)) { in mtk_musb_probe()
469 ret = PTR_ERR(glue->xceiv); in mtk_musb_probe()
Dsunxi.c81 struct usb_phy *xceiv; member
108 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in sunxi_musb_work()
113 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in sunxi_musb_work()
145 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in sunxi_musb_set_vbus()
222 musb->xceiv = glue->xceiv; in sunxi_musb_init()
289 devm_usb_put_phy(glue->dev, glue->xceiv); in sunxi_musb_exit()
768 glue->xceiv = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2); in sunxi_musb_probe()
769 if (IS_ERR(glue->xceiv)) { in sunxi_musb_probe()
770 ret = PTR_ERR(glue->xceiv); in sunxi_musb_probe()
Dmusb_debugfs.c238 switch (musb->xceiv->otg->state) { in musb_softconnect_show()
278 switch (musb->xceiv->otg->state) { in musb_softconnect_write()
289 switch (musb->xceiv->otg->state) { in musb_softconnect_write()
/Linux-v6.1/Documentation/ABI/testing/
Dusb-charger-uevent29 MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv
30 OF_COMPATIBLE_0=usb-nop-xceiv
46 MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv
47 OF_COMPATIBLE_0=usb-nop-xceiv
/Linux-v6.1/arch/arm/boot/dts/
Dzynq-cc108.dts34 compatible = "usb-nop-xceiv";
39 compatible = "usb-nop-xceiv";
Dzynq-zc770-xm011.dts31 compatible = "usb-nop-xceiv";
Dzynq-zed.dts30 compatible = "usb-nop-xceiv";
Dzynq-zybo.dts31 compatible = "usb-nop-xceiv";
Dzynq-zybo-z7.dts36 compatible = "usb-nop-xceiv";
Dzynq-microzed.dts29 compatible = "usb-nop-xceiv";
Dzynq-zc770-xm010.dts32 compatible = "usb-nop-xceiv";
/Linux-v6.1/arch/arm64/boot/dts/marvell/
Dcn9132-db.dtsi30 compatible = "usb-nop-xceiv";
44 compatible = "usb-nop-xceiv";
Dac5-98dx35xx-rd.dts36 compatible = "usb-nop-xceiv";

1234