Home
last modified time | relevance | path

Searched refs:default_a (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/drivers/usb/musb/
Dtusb6010.c294 if (x->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
530 musb->xceiv->default_a = 1; in tusb_musb_set_vbus()
556 musb->xceiv->default_a = 1; in tusb_musb_set_vbus()
560 musb->xceiv->default_a = 0; in tusb_musb_set_vbus()
663 int default_a; in tusb_otg_ints() local
666 default_a = !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS); in tusb_otg_ints()
668 default_a = is_host_enabled(musb); in tusb_otg_ints()
669 DBG(2, "Default-%c\n", default_a ? 'A' : 'B'); in tusb_otg_ints()
670 musb->xceiv->default_a = default_a; in tusb_otg_ints()
671 tusb_musb_set_vbus(musb, default_a); in tusb_otg_ints()
[all …]
Ddavinci.c341 musb->xceiv->default_a = 1; in davinci_musb_interrupt()
348 musb->xceiv->default_a = 0; in davinci_musb_interrupt()
474 if (is_host_enabled(musb) && musb->xceiv->default_a) { in davinci_musb_exit()
Domap2430.c176 musb->xceiv->default_a = 1; in omap2430_musb_set_vbus()
188 musb->xceiv->default_a = 0; in omap2430_musb_set_vbus()
Dda8xx.c354 musb->xceiv->default_a = 1; in da8xx_musb_interrupt()
361 musb->xceiv->default_a = 0; in da8xx_musb_interrupt()
Dam35x.c292 musb->xceiv->default_a = 1; in am35x_musb_interrupt()
299 musb->xceiv->default_a = 0; in am35x_musb_interrupt()
Dmusb_core.c2072 musb->xceiv->default_a = 1; in musb_init_controller()
2087 musb->xceiv->default_a = 0; in musb_init_controller()
/linux-2.6.39/drivers/usb/otg/
Dlangwell_otg.c718 iotg->otg.default_a = 0; in init_hsm()
723 iotg->otg.default_a = 1; in init_hsm()
880 if (iotg->otg.default_a == 1) in langwell_otg_iotg_notify()
888 if (iotg->otg.default_a == 1) in langwell_otg_iotg_notify()
896 if (iotg->otg.default_a == 1) in langwell_otg_iotg_notify()
904 if (iotg->otg.default_a == 1) in langwell_otg_iotg_notify()
910 if (iotg->otg.default_a == 1) { in langwell_otg_iotg_notify()
928 if (iotg->otg.default_a == 0) in langwell_otg_iotg_notify()
980 iotg->otg.default_a = 1; in langwell_otg_work()
1035 iotg->otg.default_a = 1; in langwell_otg_work()
[all …]
Disp1301_omap.c367 isp->otg.default_a = 1; in a_idle()
391 isp->otg.default_a = 0; in b_idle()
980 if (isp->otg.default_a) { in isp_update_otg()
1029 if (isp->otg.default_a) { in isp_update_otg()
1365 if (!isp->otg.default_a) in isp1301_set_peripheral()
1467 if (isp->otg.default_a && (isp->otg.host == NULL in isp1301_start_hnp()
1470 if (!isp->otg.default_a && (isp->otg.gadget == NULL in isp1301_start_hnp()
Dab8500-usb.c173 ab->otg.default_a = false; in ab8500_usb_link_status_update()
199 ab->otg.default_a = true; in ab8500_usb_link_status_update()
Dtwl6030-usb.c262 twl->otg.default_a = false; in twl6030_usb_irq()
301 twl->otg.default_a = true; in twl6030_usbotg_irq()
Dtwl4030-usb.c287 twl->otg.default_a = true; in twl4030_usb_linkstat()
290 twl->otg.default_a = false; in twl4030_usb_linkstat()
/linux-2.6.39/include/linux/usb/
Dotg.h67 u8 default_a; member
/linux-2.6.39/drivers/power/
Disp1704_charger.c437 if ((ret & ULPI_INT_VBUS_VALID) && !isp->otg->default_a) { in isp1704_charger_probe()
/linux-2.6.39/drivers/usb/gadget/
Dlangwell_udc.c2349 if (!dev->lotg->otg.default_a) in handle_setup_packet()
2802 if (!dev->lotg->otg.default_a) in handle_usb_reset()
2819 if (dev->lotg->otg.default_a) { in handle_bus_suspend()
2872 if (dev->lotg->otg.default_a == 0) in handle_bus_resume()