/kernel/linux/linux-5.10/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 | omap2430.c | 95 usb_otg_state_string(musb->xceiv->otg->state), in omap_musb_set_mailbox() 101 switch (musb->xceiv->otg->state) { in omap_musb_set_mailbox() 106 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap_musb_set_mailbox() 115 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox() 118 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox() 119 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox() 123 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox() 132 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox() 133 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox() 141 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox() [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 | 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 | 460 switch (musb->xceiv->otg->state) { in musb_do_idle() 466 usb_otg_state_string(musb->xceiv->otg->state)); in musb_do_idle() 519 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle() 521 usb_otg_state_string(musb->xceiv->otg->state)); in tusb_musb_try_idle() 538 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_try_idle() 555 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus() 569 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus() 582 switch (musb->xceiv->otg->state) { in tusb_musb_set_vbus() 585 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus() 588 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus() [all …]
|
D | musb_core.c | 504 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_set_host() 551 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_set_peripheral() 601 switch (musb->xceiv->otg->state) { in musb_otg_timer_func() 606 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func() 612 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func() 614 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func() 618 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func() 633 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop() 635 switch (musb->xceiv->otg->state) { in musb_hnp_stop() 639 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop() [all …]
|
D | musb_dsps.c | 187 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() 231 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in dsps_check_status() 251 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status() 254 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in dsps_check_status() 268 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_check_status() 367 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt() 372 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt() 377 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt() [all …]
|
D | jz4740.c | 82 struct usb_phy *phy = glue->musb->xceiv; in jz4740_musb_role_switch_set() 113 musb->xceiv = devm_usb_get_phy_by_phandle(dev, "phys", 0); in jz4740_musb_init() 115 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in jz4740_musb_init() 116 if (IS_ERR(musb->xceiv)) { in jz4740_musb_init() 117 err = PTR_ERR(musb->xceiv); in jz4740_musb_init()
|
D | musb_gadget.c | 1526 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 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw() 1788 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup() 1835 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start() 1853 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start() 1862 if (musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start() 1898 musb->xceiv->otg->state = OTG_STATE_UNDEFINED; in musb_gadget_stop() 1900 otg_set_peripheral(musb->xceiv->otg, NULL); in musb_gadget_stop() [all …]
|
D | mediatek.c | 45 struct usb_phy *xceiv; member 129 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mtk_otg_switch_set() 140 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mtk_otg_switch_set() 314 musb->xceiv = glue->xceiv; in mtk_musb_init() 519 glue->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mtk_musb_probe() 520 if (IS_ERR(glue->xceiv)) { in mtk_musb_probe() 521 ret = PTR_ERR(glue->xceiv); in mtk_musb_probe()
|
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()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | usb-charger-uevent | 29 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
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | zynq-cc108.dts | 34 compatible = "usb-nop-xceiv"; 39 compatible = "usb-nop-xceiv";
|
D | zynq-zc770-xm011.dts | 31 compatible = "usb-nop-xceiv";
|
D | zynq-zybo.dts | 31 compatible = "usb-nop-xceiv";
|
D | zynq-zed.dts | 30 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-388-helios4.dts | 142 compatible = "usb-nop-xceiv"; 147 compatible = "usb-nop-xceiv";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
D | usb-nop-xceiv.txt | 4 - compatible: should be usb-nop-xceiv 29 compatible = "usb-nop-xceiv";
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/marvell/ |
D | cn9132-db.dts | 31 compatible = "usb-nop-xceiv"; 45 compatible = "usb-nop-xceiv";
|