/Linux-v4.19/drivers/usb/musb/ |
D | musb_virthub.c | 46 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 …]
|
D | ux500.c | 46 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 …]
|
D | am35x.c | 133 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 …]
|
D | da8xx.c | 135 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 …]
|
D | omap2430.c | 43 struct usb_otg *otg = musb->xceiv->otg; in omap2430_musb_set_vbus() 54 if (musb->xceiv->otg->state == OTG_STATE_A_IDLE) { in omap2430_musb_set_vbus() 80 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap2430_musb_set_vbus() 91 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap2430_musb_set_vbus() 100 usb_otg_state_string(musb->xceiv->otg->state), in omap2430_musb_set_vbus() 155 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox() 156 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox() 167 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox() 168 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox() 176 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox() [all …]
|
D | davinci.c | 198 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 …]
|
D | tusb6010.c | 459 switch (musb->xceiv->otg->state) { in musb_do_idle() 465 usb_otg_state_string(musb->xceiv->otg->state)); in musb_do_idle() 518 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle() 520 usb_otg_state_string(musb->xceiv->otg->state)); in tusb_musb_try_idle() 537 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_try_idle() 554 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus() 568 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus() 581 switch (musb->xceiv->otg->state) { in tusb_musb_set_vbus() 584 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus() 587 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus() [all …]
|
D | musb_core.c | 460 switch (musb->xceiv->otg->state) { in musb_otg_timer_func() 465 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func() 471 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func() 473 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func() 477 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func() 492 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop() 494 switch (musb->xceiv->otg->state) { in musb_hnp_stop() 498 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop() 504 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop() 513 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop() [all …]
|
D | jz4740.c | 77 musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); in jz4740_musb_init() 78 if (IS_ERR(musb->xceiv)) { in jz4740_musb_init() 80 return PTR_ERR(musb->xceiv); in jz4740_musb_init() 95 usb_put_phy(musb->xceiv); in jz4740_musb_exit()
|
D | musb_dsps.c | 185 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_musb_enable() 226 usb_otg_state_string(musb->xceiv->otg->state)); in dsps_check_status() 228 switch (musb->xceiv->otg->state) { in dsps_check_status() 246 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status() 249 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in dsps_check_status() 259 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_check_status() 358 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt() 363 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt() 368 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt() 374 usb_otg_state_string(musb->xceiv->otg->state), in dsps_interrupt() [all …]
|
D | musb_gadget.c | 1533 switch (musb->xceiv->otg->state) { in musb_gadget_wakeup() 1563 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup() 1574 usb_otg_state_string(musb->xceiv->otg->state)); in musb_gadget_wakeup() 1638 if (!musb->xceiv->set_power) in musb_gadget_vbus_draw() 1640 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw() 1797 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup() 1844 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start() 1862 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start() 1871 if (musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start() 1907 musb->xceiv->otg->state = OTG_STATE_UNDEFINED; in musb_gadget_stop() [all …]
|
D | sunxi.c | 81 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() 771 glue->xceiv = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2); in sunxi_musb_probe() 772 if (IS_ERR(glue->xceiv)) { in sunxi_musb_probe() 773 ret = PTR_ERR(glue->xceiv); in sunxi_musb_probe()
|
D | musb_debugfs.c | 238 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-v4.19/arch/arm/boot/dts/ |
D | zynq-cc108.dts | 34 compatible = "usb-nop-xceiv"; 39 compatible = "usb-nop-xceiv";
|
D | zynq-zybo.dts | 31 compatible = "usb-nop-xceiv";
|
D | zynq-zed.dts | 30 compatible = "usb-nop-xceiv";
|
D | zynq-zc770-xm011.dts | 31 compatible = "usb-nop-xceiv";
|
D | zynq-zybo-z7.dts | 36 compatible = "usb-nop-xceiv";
|
D | zynq-microzed.dts | 29 compatible = "usb-nop-xceiv";
|
D | zynq-zc770-xm010.dts | 32 compatible = "usb-nop-xceiv";
|
D | armada-385-synology-ds116.dts | 161 compatible = "usb-nop-xceiv"; 167 compatible = "usb-nop-xceiv";
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | usb-nop-xceiv.txt | 4 - compatible: should be usb-nop-xceiv 29 compatible = "usb-nop-xceiv";
|
/Linux-v4.19/arch/arm64/boot/dts/marvell/ |
D | armada-8040-db.dts | 51 compatible = "usb-nop-xceiv"; 56 compatible = "usb-nop-xceiv"; 70 compatible = "usb-nop-xceiv";
|
D | armada-7040-db.dts | 50 compatible = "usb-nop-xceiv"; 55 compatible = "usb-nop-xceiv";
|
/Linux-v4.19/arch/mips/boot/dts/ingenic/ |
D | gcw0.dts | 28 compatible = "usb-nop-xceiv";
|