Searched refs:xceiv (Results 1 - 14 of 14) sorted by relevance

/drivers/usb/musb/
H A Domap2430.c58 switch (musb->xceiv->state) {
63 musb->xceiv->state = OTG_STATE_B_IDLE;
66 musb->xceiv->state = OTG_STATE_A_IDLE;
83 musb->xceiv->state = OTG_STATE_A_HOST;
89 musb->xceiv->state = OTG_STATE_B_IDLE;
91 musb->xceiv->state = OTG_STATE_A_WAIT_BCON;
109 && (musb->xceiv->state == OTG_STATE_A_WAIT_BCON))) {
111 otg_state_string(musb->xceiv->state));
128 otg_state_string(musb->xceiv->state),
135 struct usb_otg *otg = musb->xceiv
[all...]
H A Dda8xx.c200 otg_state_string(musb->xceiv->state));
203 switch (musb->xceiv->state) {
210 musb->xceiv->state = OTG_STATE_B_IDLE;
213 musb->xceiv->state = OTG_STATE_A_IDLE;
228 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE;
253 musb->xceiv->state = OTG_STATE_A_IDLE;
273 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) {
275 otg_state_string(musb->xceiv->state));
288 otg_state_string(musb->xceiv->state),
297 struct usb_otg *otg = musb->xceiv
[all...]
H A Dmusb_virthub.c50 struct usb_otg *otg = musb->xceiv->otg;
81 switch (musb->xceiv->state) {
83 musb->xceiv->state = OTG_STATE_A_SUSPEND;
93 musb->xceiv->state = OTG_STATE_B_WAIT_ACON;
100 otg_state_string(musb->xceiv->state));
120 if (musb->xceiv->state == OTG_STATE_B_IDLE) {
183 struct usb_otg *otg = musb->xceiv->otg;
191 switch (musb->xceiv->state) {
195 musb->xceiv->state = OTG_STATE_A_PERIPHERAL;
201 musb->xceiv
[all...]
H A Ddavinci.c217 otg_state_string(musb->xceiv->state));
220 switch (musb->xceiv->state) {
231 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE;
256 musb->xceiv->state = OTG_STATE_A_IDLE;
269 struct usb_otg *otg = musb->xceiv->otg;
331 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL;
337 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE;
344 musb->xceiv->state = OTG_STATE_B_IDLE;
354 otg_state_string(musb->xceiv->state),
368 && musb->xceiv
[all...]
H A Dux500.c40 musb->xceiv = usb_get_transceiver();
41 if (!musb->xceiv) {
51 usb_put_transceiver(musb->xceiv);
163 usb_phy_set_suspend(musb->xceiv, 1);
181 usb_phy_set_suspend(musb->xceiv, 0);
H A Dam35x.c152 otg_state_string(musb->xceiv->state));
155 switch (musb->xceiv->state) {
162 musb->xceiv->state = OTG_STATE_B_IDLE;
165 musb->xceiv->state = OTG_STATE_A_IDLE;
170 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE;
182 musb->xceiv->state = OTG_STATE_A_IDLE;
202 musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) {
204 otg_state_string(musb->xceiv->state));
217 otg_state_string(musb->xceiv->state),
229 struct usb_otg *otg = musb->xceiv
[all...]
H A Dtusb6010.c417 switch (musb->xceiv->state) {
423 otg_state_string(musb->xceiv->state));
477 && (musb->xceiv->state == OTG_STATE_A_WAIT_BCON))) {
479 otg_state_string(musb->xceiv->state));
496 otg_state_string(musb->xceiv->state),
513 struct usb_otg *otg = musb->xceiv->otg;
527 musb->xceiv->state = OTG_STATE_A_WAIT_VRISE;
540 switch (musb->xceiv->state) {
543 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL;
546 musb->xceiv
[all...]
H A Dmusb_core.c357 switch (musb->xceiv->state) {
361 musb->xceiv->state = OTG_STATE_B_PERIPHERAL;
367 otg_state_string(musb->xceiv->state));
369 musb->xceiv->state = OTG_STATE_A_WAIT_VFALL;
373 otg_state_string(musb->xceiv->state));
388 dev_dbg(musb->controller, "HNP: stop from %s\n", otg_state_string(musb->xceiv->state));
390 switch (musb->xceiv->state) {
394 otg_state_string(musb->xceiv->state));
399 musb->xceiv->state = OTG_STATE_B_PERIPHERAL;
408 otg_state_string(musb->xceiv
[all...]
H A Dblackfin.c186 if ((is_otg_enabled(musb) && (musb->xceiv->state == OTG_STATE_B_IDLE
187 || musb->xceiv->state == OTG_STATE_A_WAIT_BCON)) ||
206 switch (musb->xceiv->state) {
220 musb->xceiv->state = OTG_STATE_A_WAIT_BCON;
231 musb->xceiv->state = OTG_STATE_B_IDLE;
251 musb->xceiv->state = OTG_STATE_A_WAIT_BCON;
286 otg_state_string(musb->xceiv->state));
292 otg_state_string(musb->xceiv->state));
316 otg_state_string(musb->xceiv->state),
418 musb->xceiv
[all...]
H A Dmusb_gadget.c1616 switch (musb->xceiv->state) {
1646 otg_start_srp(musb->xceiv->otg);
1657 otg_state_string(musb->xceiv->state));
1723 if (!musb->xceiv->set_power)
1725 return usb_phy_set_power(musb->xceiv, mA);
1920 struct usb_otg *otg = musb->xceiv->otg;
1938 musb->xceiv->state = OTG_STATE_B_IDLE;
1967 if ((musb->xceiv->last_event == USB_EVENT_ID)
1973 if (musb->xceiv->last_event == USB_EVENT_NONE)
2035 if (musb->xceiv
[all...]
H A Dmusb_core.h375 struct usb_phy *xceiv; member in struct:musb
H A Dmusb_host.c2276 switch (musb->xceiv->state) {
2286 musb->xceiv->state = OTG_STATE_A_WAIT_BCON;
2294 otg_state_string(musb->xceiv->state));
/drivers/usb/otg/
H A DMakefile17 obj-$(CONFIG_NOP_USB_XCEIV) += nop-usb-xceiv.o
/drivers/usb/gadget/
H A Domap_udc.c2656 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) argument
2692 udc->transceiver = xceiv;
2796 struct usb_phy *xceiv = NULL; local
2869 xceiv = usb_get_transceiver();
2870 if (xceiv)
2871 type = xceiv->label;
2902 if (!xceiv) {
2929 status = omap_udc_setup(pdev, xceiv);
2933 xceiv = NULL;
3014 if (xceiv)
[all...]

Completed in 135 milliseconds