Lines Matching refs:default_a
346 if (x->otg->default_a || mA < (musb->min_power << 1)) in tusb_draw_power()
574 otg->default_a = 1; in tusb_musb_set_vbus()
600 otg->default_a = 1; in tusb_musb_set_vbus()
604 otg->default_a = 0; in tusb_musb_set_vbus()
691 int default_a; in tusb_otg_ints() local
693 default_a = !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS); in tusb_otg_ints()
694 dev_dbg(musb->controller, "Default-%c\n", default_a ? 'A' : 'B'); in tusb_otg_ints()
695 otg->default_a = default_a; in tusb_otg_ints()
696 tusb_musb_set_vbus(musb, default_a); in tusb_otg_ints()
699 if (default_a) in tusb_otg_ints()
707 if (!otg->default_a) { in tusb_otg_ints()