ep0_state 562 drivers/staging/emxx_udc/emxx_udc.h enum ep0_state ep0state; ep0_state 1183 drivers/usb/dwc2/core.h enum dwc2_ep0_state ep0_state; ep0_state 1131 drivers/usb/dwc2/gadget.c if (!index && hsotg->ep0_state == DWC2_EP0_DATA_OUT && ep0_state 1173 drivers/usb/dwc2/gadget.c dev_dbg(hsotg->dev, "ep0 state:%d\n", hsotg->ep0_state); ep0_state 1176 drivers/usb/dwc2/gadget.c if (!(index == 0 && hsotg->ep0_state == DWC2_EP0_SETUP)) ep0_state 1337 drivers/usb/dwc2/gadget.c switch (hsotg->ep0_state) { ep0_state 1354 drivers/usb/dwc2/gadget.c hsotg->ep0_state); ep0_state 1456 drivers/usb/dwc2/gadget.c hs->ep0_state == DWC2_EP0_DATA_OUT) ep0_state 1910 drivers/usb/dwc2/gadget.c hsotg->ep0_state = DWC2_EP0_STATUS_IN; ep0_state 1913 drivers/usb/dwc2/gadget.c hsotg->ep0_state = DWC2_EP0_DATA_IN; ep0_state 1916 drivers/usb/dwc2/gadget.c hsotg->ep0_state = DWC2_EP0_DATA_OUT; ep0_state 2022 drivers/usb/dwc2/gadget.c hsotg->ep0_state = DWC2_EP0_SETUP; ep0_state 2295 drivers/usb/dwc2/gadget.c hsotg->ep0_state = dir_in ? DWC2_EP0_STATUS_IN : DWC2_EP0_STATUS_OUT; ep0_state 2367 drivers/usb/dwc2/gadget.c if (epnum == 0 && hsotg->ep0_state == DWC2_EP0_STATUS_OUT) { ep0_state 2413 drivers/usb/dwc2/gadget.c hsotg->ep0_state == DWC2_EP0_DATA_OUT) { ep0_state 2492 drivers/usb/dwc2/gadget.c if (hsotg->ep0_state == DWC2_EP0_SETUP) ep0_state 2506 drivers/usb/dwc2/gadget.c WARN_ON(hsotg->ep0_state != DWC2_EP0_SETUP); ep0_state 2670 drivers/usb/dwc2/gadget.c if (hs_ep->index == 0 && hsotg->ep0_state == DWC2_EP0_STATUS_IN) { ep0_state 2738 drivers/usb/dwc2/gadget.c if (hs_ep->index == 0 && hsotg->ep0_state == DWC2_EP0_DATA_IN) { ep0_state 3008 drivers/usb/dwc2/gadget.c hsotg->ep0_state == DWC2_EP0_SETUP && !(ints & DXEPINT_SETUP)) ep0_state 3083 drivers/usb/dwc2/gadget.c if (hsotg->ep0_state == DWC2_EP0_DATA_OUT) { ep0_state 117 drivers/usb/gadget/legacy/inode.c enum ep0_state state; /* P: lock */ ep0_state 911 drivers/usb/gadget/legacy/inode.c enum ep0_state state; ep0_state 303 drivers/usb/gadget/udc/aspeed-vhub/vhub.h enum ep0_state state; ep0_state 430 drivers/usb/gadget/udc/bdc/bdc.h enum bdc_ep0_state ep0_state; ep0_state 225 drivers/usb/gadget/udc/bdc/bdc_core.c bdc->ep0_state = WAIT_FOR_SETUP; ep0_state 391 drivers/usb/gadget/udc/bdc/bdc_ep.c switch (bdc->ep0_state) { ep0_state 417 drivers/usb/gadget/udc/bdc/bdc_ep.c ep0_state_string[bdc->ep0_state]); ep0_state 671 drivers/usb/gadget/udc/bdc/bdc_ep.c if (bdc->ep0_state == WAIT_FOR_STATUS_START) { ep0_state 674 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_STATUS_XMIT; ep0_state 875 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_SETUP; ep0_state 1069 drivers/usb/gadget/udc/bdc/bdc_ep.c __func__, ep0_state_string[bdc->ep0_state]); ep0_state 1075 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_STATUS_START; ep0_state 1077 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_DATA_START; ep0_state 1082 drivers/usb/gadget/udc/bdc/bdc_ep.c __func__, ep0_state_string[bdc->ep0_state]); ep0_state 1417 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_DATA_START; ep0_state 1423 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_DATA_XMIT; ep0_state 1521 drivers/usb/gadget/udc/bdc/bdc_ep.c if (bdc->ep0_state != WAIT_FOR_DATA_START) ep0_state 1524 drivers/usb/gadget/udc/bdc/bdc_ep.c ep0_state_string[bdc->ep0_state]); ep0_state 1536 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_DATA_XMIT; ep0_state 1538 drivers/usb/gadget/udc/bdc/bdc_ep.c "ep0_state:%s", ep0_state_string[bdc->ep0_state]); ep0_state 1554 drivers/usb/gadget/udc/bdc/bdc_ep.c __func__, ep0_state_string[bdc->ep0_state]); ep0_state 1567 drivers/usb/gadget/udc/bdc/bdc_ep.c if ((bdc->ep0_state != WAIT_FOR_STATUS_START) && ep0_state 1568 drivers/usb/gadget/udc/bdc/bdc_ep.c (bdc->ep0_state != WAIT_FOR_DATA_XMIT)) ep0_state 1571 drivers/usb/gadget/udc/bdc/bdc_ep.c ep0_state_string[bdc->ep0_state]); ep0_state 1574 drivers/usb/gadget/udc/bdc/bdc_ep.c if (bdc->ep0_state == WAIT_FOR_DATA_XMIT) { ep0_state 1575 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = STATUS_PENDING; ep0_state 1598 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_STATUS_XMIT; ep0_state 1600 drivers/usb/gadget/udc/bdc/bdc_ep.c "ep0_state:%s", ep0_state_string[bdc->ep0_state]); ep0_state 1611 drivers/usb/gadget/udc/bdc/bdc_ep.c switch (bdc->ep0_state) { ep0_state 1613 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_STATUS_START; ep0_state 1616 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->ep0_state = WAIT_FOR_SETUP; ep0_state 1636 drivers/usb/gadget/udc/bdc/bdc_ep.c ep0_state_string[bdc->ep0_state]); ep0_state 181 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 640 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 793 drivers/usb/gadget/udc/fsl_qe_udc.c && (udc->ep0_state == WAIT_FOR_SETUP)) { ep0_state 831 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1098 drivers/usb/gadget/udc/fsl_qe_udc.c if ((ep->epnum == 0) && (udc->ep0_state == DATA_STATE_NEED_ZLP)) ep0_state 1245 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_NEED_ZLP; ep0_state 1250 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1262 drivers/usb/gadget/udc/fsl_qe_udc.c switch (udc->ep0_state) { ep0_state 1272 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1284 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1304 drivers/usb/gadget/udc/fsl_qe_udc.c ep->udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1743 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_XMIT; ep0_state 1745 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_RECV; ep0_state 1832 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 2065 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_XMIT; ep0_state 2068 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_RECV; ep0_state 2084 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = DATA_STATE_NEED_ZLP; ep0_state 2142 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 2290 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 2309 drivers/usb/gadget/udc/fsl_qe_udc.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 336 drivers/usb/gadget/udc/fsl_qe_udc.h u32 ep0_state; /* Enpoint zero state */ ep0_state 1037 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1264 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1281 drivers/usb/gadget/udc/fsl_udc_core.c if (udc->ep0_state != DATA_STATE_XMIT) ep0_state 1282 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1385 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = DATA_STATE_XMIT; ep0_state 1497 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = (setup->bRequestType & USB_DIR_IN) ep0_state 1503 drivers/usb/gadget/udc/fsl_udc_core.c if (udc->ep0_state == DATA_STATE_XMIT) ep0_state 1515 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1533 drivers/usb/gadget/udc/fsl_udc_core.c switch (udc->ep0_state) { ep0_state 1536 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1544 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1809 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1975 drivers/usb/gadget/udc/fsl_udc_core.c udc_controller->ep0_state = WAIT_FOR_SETUP; ep0_state 1996 drivers/usb/gadget/udc/fsl_udc_core.c udc_controller->ep0_state = WAIT_FOR_SETUP; ep0_state 2617 drivers/usb/gadget/udc/fsl_udc_core.c udc_controller->ep0_state = WAIT_FOR_SETUP; ep0_state 503 drivers/usb/gadget/udc/fsl_usb2_udc.h u32 ep0_state; /* Endpoint zero state */ ep0_state 266 drivers/usb/gadget/udc/mv_u3d.h unsigned int ep0_state; /* Endpoint zero state */ ep0_state 111 drivers/usb/gadget/udc/mv_u3d_core.c u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; ep0_state 788 drivers/usb/gadget/udc/mv_u3d_core.c && u3d->ep0_state == MV_U3D_STATUS_STAGE ep0_state 791 drivers/usb/gadget/udc/mv_u3d_core.c u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; ep0_state 1417 drivers/usb/gadget/udc/mv_u3d_core.c u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; ep0_state 1567 drivers/usb/gadget/udc/mv_u3d_core.c u3d->ep0_state = MV_U3D_STATUS_STAGE; ep0_state 197 drivers/usb/gadget/udc/mv_udc.h unsigned int ep0_state; /* Endpoint zero state */ ep0_state 118 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 736 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = DATA_STATE_XMIT; ep0_state 926 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1365 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1450 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1557 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = DATA_STATE_XMIT; ep0_state 1705 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = (setup->bRequestType & USB_DIR_IN) ep0_state 1715 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_OUT_STATUS; ep0_state 1735 drivers/usb/gadget/udc/mv_udc_core.c switch (udc->ep0_state) { ep0_state 1747 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 1862 drivers/usb/gadget/udc/mv_udc_core.c udc->ep0_state = WAIT_FOR_SETUP; ep0_state 98 drivers/usb/gadget/udc/pxa25x_udc.h enum ep0_state ep0state; ep0_state 460 drivers/usb/gadget/udc/pxa27x_udc.h enum ep0_state ep0state; ep0_state 119 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_SETUP; ep0_state 166 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_SETUP; ep0_state 286 drivers/usb/isp1760/isp1760-udc.c if (ep->addr == 0 && udc->ep0_state != ISP1760_CTRL_DATA_OUT) { ep0_state 289 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state); ep0_state 327 drivers/usb/isp1760/isp1760-udc.c if (ep->addr == 0 && udc->ep0_state != ISP1760_CTRL_DATA_IN) { ep0_state 330 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state); ep0_state 669 drivers/usb/isp1760/isp1760-udc.c if (udc->ep0_state != ISP1760_CTRL_SETUP) { ep0_state 677 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_STATUS; ep0_state 679 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_DATA_IN; ep0_state 681 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_DATA_OUT; ep0_state 848 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state != ISP1760_CTRL_DATA_IN) { ep0_state 856 drivers/usb/isp1760/isp1760-udc.c switch (udc->ep0_state) { ep0_state 945 drivers/usb/isp1760/isp1760-udc.c if (WARN_ON(udc->ep0_state == ISP1760_CTRL_SETUP || !stall || ep0_state 976 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_SETUP; ep0_state 1121 drivers/usb/isp1760/isp1760-udc.c udc->ep0_state = ISP1760_CTRL_SETUP; ep0_state 77 drivers/usb/isp1760/isp1760-udc.h enum isp1760_ctrl_state ep0_state; ep0_state 346 drivers/usb/mtu3/mtu3.h enum mtu3_g_ep0_state ep0_state; ep0_state 666 drivers/usb/mtu3/mtu3_core.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 605 drivers/usb/mtu3/mtu3_gadget.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 41 drivers/usb/mtu3/mtu3_gadget_ep0.c switch (mtu->ep0_state) { ep0_state 150 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 309 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 533 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 585 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_TX_END; ep0_state 621 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_TX; ep0_state 625 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_RX; ep0_state 703 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 718 drivers/usb/mtu3/mtu3_gadget_ep0.c switch (mtu->ep0_state) { ep0_state 741 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_state = MU3D_EP0_STATE_SETUP; ep0_state 793 drivers/usb/mtu3/mtu3_gadget_ep0.c switch (mtu->ep0_state) { ep0_state 821 drivers/usb/mtu3/mtu3_gadget_ep0.c if (mtu->ep0_state == MU3D_EP0_STATE_TX) ep0_state 877 drivers/usb/mtu3/mtu3_gadget_ep0.c switch (mtu->ep0_state) { ep0_state 398 drivers/usb/musb/musb_core.h enum musb_g_ep0_state ep0_state; ep0_state 2064 drivers/usb/musb/musb_gadget.c musb->ep0_state = MUSB_EP0_STAGE_SETUP; ep0_state 493 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; ep0_state 549 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_STATUSOUT; ep0_state 614 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_ACKWAIT; ep0_state 616 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_TX; ep0_state 623 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_RX; ep0_state 658 drivers/usb/musb/musb_gadget_ep0.c csr, len, decode_ep0stage(musb->ep0_state)); ep0_state 673 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_IDLE; ep0_state 682 drivers/usb/musb/musb_gadget_ep0.c switch (musb->ep0_state) { ep0_state 684 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_STATUSOUT; ep0_state 687 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; ep0_state 691 drivers/usb/musb/musb_gadget_ep0.c decode_ep0stage(musb->ep0_state)); ep0_state 701 drivers/usb/musb/musb_gadget_ep0.c switch (musb->ep0_state) { ep0_state 762 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_IDLE; ep0_state 773 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_SETUP; ep0_state 802 drivers/usb/musb/musb_gadget_ep0.c switch (musb->ep0_state) { ep0_state 823 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = ep0_state 836 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = ep0_state 848 drivers/usb/musb/musb_gadget_ep0.c decode_ep0stage(musb->ep0_state)); ep0_state 865 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_IDLE; ep0_state 885 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_IDLE; ep0_state 936 drivers/usb/musb/musb_gadget_ep0.c switch (musb->ep0_state) { ep0_state 944 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state); ep0_state 959 drivers/usb/musb/musb_gadget_ep0.c if (musb->ep0_state == MUSB_EP0_STAGE_TX) ep0_state 963 drivers/usb/musb/musb_gadget_ep0.c else if (musb->ep0_state == MUSB_EP0_STAGE_ACKWAIT) { ep0_state 967 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; ep0_state 1022 drivers/usb/musb/musb_gadget_ep0.c switch (musb->ep0_state) { ep0_state 1041 drivers/usb/musb/musb_gadget_ep0.c musb->ep0_state = MUSB_EP0_STAGE_IDLE; ep0_state 1045 drivers/usb/musb/musb_gadget_ep0.c musb_dbg(musb, "ep0 can't halt in state %d", musb->ep0_state);