OTG_STATE_A_PERIPHERAL
if (ci->fsm.otg->state == OTG_STATE_A_PERIPHERAL) {
case OTG_STATE_A_PERIPHERAL:
if (ci->fsm.otg->state == OTG_STATE_A_PERIPHERAL) {
[OTG_STATE_A_PERIPHERAL] = "a_peripheral",
case OTG_STATE_A_PERIPHERAL:
case OTG_STATE_A_PERIPHERAL:
otg_set_state(fsm, OTG_STATE_A_PERIPHERAL);
case OTG_STATE_A_PERIPHERAL:
hsotg->op_state = OTG_STATE_A_PERIPHERAL;
case OTG_STATE_A_PERIPHERAL:
if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) {
case OTG_STATE_A_PERIPHERAL:
case OTG_STATE_A_PERIPHERAL:
case OTG_STATE_A_PERIPHERAL:
case OTG_STATE_A_PERIPHERAL:
case OTG_STATE_A_PERIPHERAL:
musb_set_state(musb, OTG_STATE_A_PERIPHERAL);
musb_set_state(musb, OTG_STATE_A_PERIPHERAL);