Lines Matching refs:xceiv
273 struct musb *musb = container_of(x, struct musb, xceiv); in tusb_draw_power()
423 switch (musb->xceiv.state) { in musb_do_idle()
487 && (musb->xceiv.state == OTG_STATE_A_WAIT_BCON))) { in musb_platform_try_idle()
536 musb->xceiv.default_a = 1; in tusb_source_power()
537 musb->xceiv.state = OTG_STATE_A_WAIT_VRISE; in tusb_source_power()
550 switch (musb->xceiv.state) { in tusb_source_power()
553 musb->xceiv.state = OTG_STATE_A_WAIT_VFALL; in tusb_source_power()
556 musb->xceiv.state = OTG_STATE_A_IDLE; in tusb_source_power()
559 musb->xceiv.state = OTG_STATE_A_IDLE; in tusb_source_power()
562 musb->xceiv.default_a = 1; in tusb_source_power()
566 musb->xceiv.default_a = 0; in tusb_source_power()
567 musb->xceiv.state = OTG_STATE_B_IDLE; in tusb_source_power()
678 musb->xceiv.default_a = default_a; in tusb_otg_ints()
690 if ((is_otg_enabled(musb) && !musb->xceiv.default_a) in tusb_otg_ints()
705 if (musb->xceiv.state != OTG_STATE_B_IDLE) { in tusb_otg_ints()
707 musb->xceiv.state = OTG_STATE_B_IDLE; in tusb_otg_ints()
721 switch (musb->xceiv.state) { in tusb_otg_ints()
769 switch (musb->xceiv.state) { in tusb_otg_ints()
781 musb->xceiv.state = OTG_STATE_A_WAIT_BCON; in tusb_otg_ints()
1137 musb->xceiv.set_power = tusb_draw_power; in musb_platform_init()