Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/usb/musb/
H A 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 …]
H A 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 …]
H A Domap2430.c99 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 Dtusb6010.c465 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 Dmpfs.c89 musb->xceiv->otg->default_a = 1; in mpfs_musb_set_vbus()
90 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mpfs_musb_set_vbus()
100 musb->xceiv->otg->default_a = 0; in mpfs_musb_set_vbus()
101 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mpfs_musb_set_vbus()
110 usb_otg_state_string(musb->xceiv->otg->state), in mpfs_musb_set_vbus()
118 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mpfs_musb_init()
119 if (IS_ERR(musb->xceiv)) { in mpfs_musb_init()
121 return PTR_ERR(musb->xceiv); in mpfs_musb_init()
H A Dmusb_dsps.c186 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in dsps_musb_enable()
225 usb_otg_state_string(musb->xceiv->otg->state)); in dsps_check_status()
227 switch (musb->xceiv->otg->state) { in dsps_check_status()
230 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in dsps_check_status()
250 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status()
253 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in dsps_check_status()
267 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 Dmusb_virthub.c90 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 Dmediatek.c48 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()
469 glue->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in mtk_musb_probe()
470 if (IS_ERR(glue->xceiv)) { in mtk_musb_probe()
471 ret = PTR_ERR(glue->xceiv); in mtk_musb_probe()
H A Djz4740.c83 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 Dsunxi.c88 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 Dmusb_core.h339 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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c152 otg_state_string(musb->xceiv->state)); in otg_timer()
155 switch (musb->xceiv->state) { in otg_timer()
162 musb->xceiv->state = OTG_STATE_B_IDLE; in otg_timer()
165 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
170 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
182 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
202 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) { in am35x_musb_try_idle()
204 otg_state_string(musb->xceiv->state)); in am35x_musb_try_idle()
217 otg_state_string(musb->xceiv->state), in am35x_musb_try_idle()
231 struct usb_otg *otg = musb->xceiv->otg; in am35x_musb_interrupt()
[all …]
H A Dmusb_core.c342 switch (musb->xceiv->state) { in musb_otg_timer_func()
346 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
352 otg_state_string(musb->xceiv->state)); in musb_otg_timer_func()
354 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func()
358 otg_state_string(musb->xceiv->state)); in musb_otg_timer_func()
373 dev_dbg(musb->controller, "HNP: stop from %s\n", otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
375 switch (musb->xceiv->state) { in musb_hnp_stop()
379 otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
384 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
393 otg_state_string(musb->xceiv->state)); in musb_hnp_stop()
[all …]
H A Dmusb_dsps.c216 otg_state_string(musb->xceiv->state)); in otg_timer()
219 switch (musb->xceiv->state) { in otg_timer()
226 musb->xceiv->state = OTG_STATE_B_IDLE; in otg_timer()
229 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
234 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
247 musb->xceiv->state = OTG_STATE_A_IDLE; in otg_timer()
270 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) { in dsps_musb_try_idle()
272 otg_state_string(musb->xceiv->state)); in dsps_musb_try_idle()
286 otg_state_string(musb->xceiv->state), in dsps_musb_try_idle()
362 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt()
[all …]
H A Dmusb_gadget.c1630 switch (musb->xceiv->state) { in musb_gadget_wakeup()
1660 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup()
1671 otg_state_string(musb->xceiv->state)); in musb_gadget_wakeup()
1741 if (!musb->xceiv->set_power) in musb_gadget_vbus_draw()
1743 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw()
1976 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
2000 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_gadget_start()
2031 if ((musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start()
2037 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_start()
2103 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_stop()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A 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
/openbmc/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-cc108.dts34 compatible = "usb-nop-xceiv";
39 compatible = "usb-nop-xceiv";
H A Dzynq-zybo.dts31 compatible = "usb-nop-xceiv";
H A Dzynq-zed.dts30 compatible = "usb-nop-xceiv";
H A Dzynq-zc770-xm011.dts31 compatible = "usb-nop-xceiv";
/openbmc/u-boot/arch/arm/dts/
H A Dzynq-cc108.dts35 compatible = "usb-nop-xceiv";
40 compatible = "usb-nop-xceiv";
H A Dzynq-zc770-xm011-x16.dts31 compatible = "usb-nop-xceiv";
H A Dzynq-zc770-xm011.dts31 compatible = "usb-nop-xceiv";
H A Dzynq-microzed.dts31 compatible = "usb-nop-xceiv";
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Dcn9132-db.dtsi30 compatible = "usb-nop-xceiv";
44 compatible = "usb-nop-xceiv";

123456