Lines Matching refs:default_a
341 if (x->otg->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
569 otg->default_a = 1; in tusb_musb_set_vbus()
595 otg->default_a = 1; in tusb_musb_set_vbus()
599 otg->default_a = 0; in tusb_musb_set_vbus()
686 int default_a; in tusb_otg_ints() local
688 default_a = !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS); in tusb_otg_ints()
689 dev_dbg(musb->controller, "Default-%c\n", default_a ? 'A' : 'B'); in tusb_otg_ints()
690 otg->default_a = default_a; in tusb_otg_ints()
691 tusb_musb_set_vbus(musb, default_a); in tusb_otg_ints()
694 if (default_a) in tusb_otg_ints()
702 if (!otg->default_a) { in tusb_otg_ints()