Lines Matching refs:state
135 usb_otg_state_string(musb->xceiv->otg->state));
138 switch (musb->xceiv->otg->state) {
145 musb->xceiv->otg->state = OTG_STATE_B_IDLE;
148 musb->xceiv->otg->state = OTG_STATE_A_IDLE;
163 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE;
170 * when to switch to the A-Default state machine (by setting
175 * grounded and we're now in the A-Default state machine.
185 musb->xceiv->otg->state = OTG_STATE_A_IDLE;
202 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) {
204 usb_otg_state_string(musb->xceiv->otg->state));
217 usb_otg_state_string(musb->xceiv->otg->state),
252 * switch appropriately between halves of the OTG state machine.
277 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL;
282 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE;
296 musb->xceiv->otg->state = OTG_STATE_B_IDLE;
302 usb_otg_state_string(musb->xceiv->otg->state),
317 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE)