| /linux/drivers/usb/musb/ |
| H A D | mpfs.c | 65 musb->xceiv->otg->default_a = 1; in mpfs_musb_set_vbus() 66 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mpfs_musb_set_vbus() 76 musb->xceiv->otg->default_a = 0; in mpfs_musb_set_vbus() 77 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mpfs_musb_set_vbus() 86 usb_otg_state_string(musb->xceiv->otg->state), in mpfs_musb_set_vbus() 106 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer() 109 switch (musb->xceiv->otg->state) { in otg_timer() 116 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer() 120 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer() 129 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer() [all …]
|
| H A 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 …]
|
| H A D | da8xx.c | 138 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer() 141 switch (musb->xceiv->otg->state) { in otg_timer() 148 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer() 151 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer() 166 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer() 188 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer() 205 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in da8xx_musb_try_idle() 207 usb_otg_state_string(musb->xceiv->otg->state)); in da8xx_musb_try_idle() 220 usb_otg_state_string(musb->xceiv->otg->state), in da8xx_musb_try_idle() 287 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in da8xx_musb_interrupt() [all …]
|
| H A D | omap2430.c | 99 usb_otg_state_string(musb->xceiv->otg->state), in omap_musb_set_mailbox() 105 switch (musb->xceiv->otg->state) { in omap_musb_set_mailbox() 110 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap_musb_set_mailbox() 119 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox() 122 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox() 123 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox() 127 otg_set_vbus(musb->xceiv->otg, 1); in omap_musb_set_mailbox() 136 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox() 137 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox() 145 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox() [all …]
|
| H A D | tusb6010.c | 465 switch (musb->xceiv->otg->state) { in musb_do_idle() 471 usb_otg_state_string(musb->xceiv->otg->state)); in musb_do_idle() 525 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle() 527 usb_otg_state_string(musb->xceiv->otg->state)); in tusb_musb_try_idle() 544 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_try_idle() 561 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus() 575 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus() 588 switch (musb->xceiv->otg->state) { in tusb_musb_set_vbus() 591 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus() 594 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus() [all …]
|
| H A 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() 366 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt() 371 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt() 376 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt() [all …]
|
| H A D | musb_virthub.c | 90 musb->is_active = musb->xceiv && in musb_port_suspend() 91 musb->xceiv->otg->host->b_hnp_enable; in musb_port_suspend() 100 musb->is_active = musb->xceiv && in musb_port_suspend() 101 musb->xceiv->otg->host->b_hnp_enable; in musb_port_suspend() 208 if (musb->xceiv && musb->xceiv->otg->host->b_hnp_enable) { in musb_root_disconnect()
|
| H A D | mediatek.c | 48 struct usb_phy *xceiv; member 77 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mtk_otg_switch_set() 88 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mtk_otg_switch_set() 263 musb->xceiv = glue->xceiv; in mtk_musb_init() 464 glue->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mtk_musb_probe() 465 if (IS_ERR(glue->xceiv)) { in mtk_musb_probe() 466 ret = PTR_ERR(glue->xceiv); in mtk_musb_probe()
|
| H A D | jz4740.c | 83 struct usb_phy *phy = glue->musb->xceiv; in jz4740_musb_role_switch_set() 143 musb->xceiv = devm_usb_get_phy_by_phandle(dev, "phys", 0); in jz4740_musb_init() 145 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in jz4740_musb_init() 146 if (IS_ERR(musb->xceiv)) { in jz4740_musb_init() 148 return PTR_ERR(musb->xceiv); in jz4740_musb_init()
|
| H A D | sunxi.c | 88 struct usb_phy *xceiv; member 115 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in sunxi_musb_work() 120 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in sunxi_musb_work() 152 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in sunxi_musb_set_vbus() 229 musb->xceiv = glue->xceiv; in sunxi_musb_init() 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()
|
| H A D | musb_core.h | 339 struct usb_phy *xceiv; member 598 if (musb->xceiv) in musb_set_state() 599 musb->xceiv->otg->state = otg_state; in musb_set_state() 606 if (musb->xceiv) in musb_get_state() 607 return musb->xceiv->otg->state; in musb_get_state()
|
| H A D | musb_gadget.c | 1553 if (musb->xceiv) { in musb_gadget_wakeup() 1555 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup() 1631 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw() 1846 if (musb->xceiv) in musb_gadget_start() 1847 otg_set_peripheral(musb->xceiv->otg, &musb->g); in musb_gadget_start() 1860 if (musb->xceiv && musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start() 1898 if (musb->xceiv) in musb_gadget_stop() 1899 otg_set_peripheral(musb->xceiv->otg, NULL); in musb_gadget_stop()
|
| /linux/Documentation/ABI/testing/ |
| H A 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
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-cc108.dts | 35 compatible = "usb-nop-xceiv"; 40 compatible = "usb-nop-xceiv";
|
| H A D | zynq-zybo.dts | 32 compatible = "usb-nop-xceiv";
|
| H A D | zynq-zybo-z7.dts | 38 compatible = "usb-nop-xceiv";
|
| H A D | zynq-zc770-xm011.dts | 31 compatible = "usb-nop-xceiv";
|
| H A D | zynq-microzed.dts | 30 compatible = "usb-nop-xceiv";
|
| H A D | zynq-zed.dts | 31 compatible = "usb-nop-xceiv";
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx27-phytec-phycard-s-som.dtsi | 20 compatible = "usb-nop-xceiv"; 28 compatible = "usb-nop-xceiv";
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | cn9132-db.dtsi | 30 compatible = "usb-nop-xceiv"; 45 compatible = "usb-nop-xceiv";
|
| H A D | armada-8040-db.dts | 53 compatible = "usb-nop-xceiv"; 68 compatible = "usb-nop-xceiv";
|
| H A D | cn9130-crb.dtsi | 49 compatible = "usb-nop-xceiv"; 54 compatible = "usb-nop-xceiv";
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-synology-ds116.dts | 161 compatible = "usb-nop-xceiv"; 167 compatible = "usb-nop-xceiv";
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | omap_udc.c | 2615 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument 2644 udc->transceiver = xceiv; in omap_udc_setup() 2748 struct usb_phy *xceiv = NULL; in omap_udc_probe() local 2801 xceiv = usb_get_phy(USB_PHY_TYPE_USB2); in omap_udc_probe() 2802 if (!IS_ERR_OR_NULL(xceiv)) in omap_udc_probe() 2803 type = xceiv->label; in omap_udc_probe() 2826 if (IS_ERR_OR_NULL(xceiv)) { in omap_udc_probe() 2853 status = omap_udc_setup(pdev, xceiv); in omap_udc_probe() 2857 xceiv = NULL; in omap_udc_probe() 2912 if (!IS_ERR_OR_NULL(xceiv)) in omap_udc_probe() [all …]
|