/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 518 musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; in ep0_rxstate() 574 musb->ep0_state = MUSB_EP0_STAGE_STATUSOUT; in ep0_txstate() 639 musb->ep0_state = MUSB_EP0_STAGE_ACKWAIT; in musb_read_setup() 641 musb->ep0_state = MUSB_EP0_STAGE_TX; in musb_read_setup() 648 musb->ep0_state = MUSB_EP0_STAGE_RX; in musb_read_setup() 683 csr, len, decode_ep0stage(musb->ep0_state)); in musb_g_ep0_irq() 698 musb->ep0_state = MUSB_EP0_STAGE_IDLE; in musb_g_ep0_irq() 707 switch (musb->ep0_state) { in musb_g_ep0_irq() 709 musb->ep0_state = MUSB_EP0_STAGE_STATUSOUT; in musb_g_ep0_irq() 712 musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; in musb_g_ep0_irq() [all …]
|
D | musb_core.h | 436 enum musb_g_ep0_state ep0_state; member
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 397 switch (bdc->ep0_state) { in setup_first_bd_ep0() 423 ep0_state_string[bdc->ep0_state]); in setup_first_bd_ep0() 677 if (bdc->ep0_state == WAIT_FOR_STATUS_START) { in ep0_queue() 680 bdc->ep0_state = WAIT_FOR_STATUS_XMIT; in ep0_queue() 881 bdc->ep0_state = WAIT_FOR_SETUP; in ep_set_halt() 1075 __func__, ep0_state_string[bdc->ep0_state]); in bdc_xsf_ep0_setup_recv() 1081 bdc->ep0_state = WAIT_FOR_STATUS_START; in bdc_xsf_ep0_setup_recv() 1083 bdc->ep0_state = WAIT_FOR_DATA_START; in bdc_xsf_ep0_setup_recv() 1088 __func__, ep0_state_string[bdc->ep0_state]); in bdc_xsf_ep0_setup_recv() 1423 bdc->ep0_state = WAIT_FOR_DATA_START; in ep0_queue_zlp() [all …]
|
D | bdc.h | 435 enum bdc_ep0_state ep0_state; member
|
D | bdc_core.c | 231 bdc->ep0_state = WAIT_FOR_SETUP; in bdc_mem_init()
|
/drivers/usb/mtu3/ |
D | mtu3_gadget_ep0.c | 47 switch (mtu->ep0_state) { in decode_ep0_state() 156 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in ep0_stall_set() 306 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in handle_test_mode() 530 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in ep0_rx_state() 582 mtu->ep0_state = MU3D_EP0_STATE_TX_END; in ep0_tx_state() 618 mtu->ep0_state = MU3D_EP0_STATE_TX; in ep0_read_setup() 622 mtu->ep0_state = MU3D_EP0_STATE_RX; in ep0_read_setup() 709 switch (mtu->ep0_state) { in mtu3_ep0_isr() 732 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in mtu3_ep0_isr() 784 switch (mtu->ep0_state) { in ep0_queue() [all …]
|
D | mtu3.h | 316 enum mtu3_g_ep0_state ep0_state; member
|
D | mtu3_gadget.c | 729 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in mtu3_gadget_reset()
|
/drivers/usb/isp1760/ |
D | isp1760-udc.c | 122 udc->ep0_state = ISP1760_CTRL_SETUP; in isp1760_udc_ctrl_send_status() 169 udc->ep0_state = ISP1760_CTRL_SETUP; in isp1760_udc_ctrl_send_stall() 289 if (ep->addr == 0 && udc->ep0_state != ISP1760_CTRL_DATA_OUT) { in isp1760_ep_rx_ready() 292 udc->ep0_state); in isp1760_ep_rx_ready() 330 if (ep->addr == 0 && udc->ep0_state != ISP1760_CTRL_DATA_IN) { in isp1760_ep_tx_complete() 333 udc->ep0_state); in isp1760_ep_tx_complete() 672 if (udc->ep0_state != ISP1760_CTRL_SETUP) { in isp1760_ep0_setup() 680 udc->ep0_state = ISP1760_CTRL_STATUS; in isp1760_ep0_setup() 682 udc->ep0_state = ISP1760_CTRL_DATA_IN; in isp1760_ep0_setup() 684 udc->ep0_state = ISP1760_CTRL_DATA_OUT; in isp1760_ep0_setup() [all …]
|
D | isp1760-udc.h | 80 enum isp1760_ctrl_state ep0_state; member
|
/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 185 udc->ep0_state = WAIT_FOR_SETUP; in qe_ep0_stall() 644 udc->ep0_state = WAIT_FOR_SETUP; in qe_ep_init() 797 && (udc->ep0_state == WAIT_FOR_SETUP)) { in ep0_setup_handle() 835 udc->ep0_state = WAIT_FOR_SETUP; in qe_ep0_rx() 1102 if ((ep->epnum == 0) && (udc->ep0_state == DATA_STATE_NEED_ZLP)) in qe_ep_tx() 1249 udc->ep0_state = DATA_STATE_NEED_ZLP; in ep0_prime_status() 1254 udc->ep0_state = WAIT_FOR_OUT_STATUS; in ep0_prime_status() 1266 switch (udc->ep0_state) { in ep0_req_complete() 1276 udc->ep0_state = WAIT_FOR_SETUP; in ep0_req_complete() 1288 udc->ep0_state = WAIT_FOR_SETUP; in ep0_req_complete() [all …]
|
D | fsl_udc_core.c | 1040 udc->ep0_state = WAIT_FOR_SETUP; in fsl_ep_set_halt() 1267 udc->ep0_state = WAIT_FOR_SETUP; in ep0stall() 1284 if (udc->ep0_state != DATA_STATE_XMIT) in ep0_prime_status() 1285 udc->ep0_state = WAIT_FOR_OUT_STATUS; in ep0_prime_status() 1388 udc->ep0_state = DATA_STATE_XMIT; in ch9getstatus() 1500 udc->ep0_state = (setup->bRequestType & USB_DIR_IN) in setup_received_irq() 1506 if (udc->ep0_state == DATA_STATE_XMIT) in setup_received_irq() 1518 udc->ep0_state = WAIT_FOR_OUT_STATUS; in setup_received_irq() 1536 switch (udc->ep0_state) { in ep0_req_complete() 1539 udc->ep0_state = WAIT_FOR_OUT_STATUS; in ep0_req_complete() [all …]
|
D | pxa25x_udc.h | 69 enum ep0_state { enum 103 enum ep0_state ep0state;
|
D | s3c2410_udc.h | 60 enum ep0_state { enum
|
D | mv_udc_core.c | 122 udc->ep0_state = WAIT_FOR_SETUP; in ep0_stall() 740 udc->ep0_state = DATA_STATE_XMIT; in mv_ep_queue() 930 udc->ep0_state = WAIT_FOR_SETUP; in mv_ep_set_halt_wedge() 1369 udc->ep0_state = WAIT_FOR_SETUP; in mv_udc_start() 1454 udc->ep0_state = WAIT_FOR_OUT_STATUS; in udc_prime_status() 1561 udc->ep0_state = DATA_STATE_XMIT; in ch9getstatus() 1709 udc->ep0_state = (setup->bRequestType & USB_DIR_IN) in handle_setup_packet() 1719 udc->ep0_state = WAIT_FOR_OUT_STATUS; in handle_setup_packet() 1739 switch (udc->ep0_state) { in ep0_req_complete() 1751 udc->ep0_state = WAIT_FOR_SETUP; in ep0_req_complete() [all …]
|
D | pxa27x_udc.h | 392 enum ep0_state { enum 464 enum ep0_state ep0state;
|
D | mv_udc.h | 201 unsigned int ep0_state; /* Endpoint zero state */ member
|
D | mv_u3d.h | 269 unsigned int ep0_state; /* Endpoint zero state */ member
|
D | mv_u3d_core.c | 114 u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; in mv_u3d_ep0_stall() 791 && u3d->ep0_state == MV_U3D_STATUS_STAGE in mv_u3d_ep_queue() 794 u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; in mv_u3d_ep_queue() 1420 u3d->ep0_state = MV_U3D_WAIT_FOR_SETUP; in mv_u3d_irq_process_link_change() 1570 u3d->ep0_state = MV_U3D_STATUS_STAGE; in mv_u3d_handle_setup_packet()
|
D | fsl_qe_udc.h | 340 u32 ep0_state; /* Enpoint zero state */ member
|
D | fsl_usb2_udc.h | 507 u32 ep0_state; /* Endpoint zero state */ member
|
/drivers/usb/dwc2/ |
D | gadget.c | 1102 if (!index && hsotg->ep0_state == DWC2_EP0_DATA_OUT && in dwc2_hsotg_start_req() 1144 dev_dbg(hsotg->dev, "ep0 state:%d\n", hsotg->ep0_state); in dwc2_hsotg_start_req() 1147 if (!(index == 0 && hsotg->ep0_state == DWC2_EP0_SETUP)) in dwc2_hsotg_start_req() 1308 switch (hsotg->ep0_state) { in dwc2_gadget_set_ep0_desc_chain() 1325 hsotg->ep0_state); in dwc2_gadget_set_ep0_desc_chain() 1829 hsotg->ep0_state = DWC2_EP0_STATUS_IN; in dwc2_hsotg_process_control() 1832 hsotg->ep0_state = DWC2_EP0_DATA_IN; in dwc2_hsotg_process_control() 1835 hsotg->ep0_state = DWC2_EP0_DATA_OUT; in dwc2_hsotg_process_control() 1937 hsotg->ep0_state = DWC2_EP0_SETUP; in dwc2_hsotg_enqueue_setup() 2236 hsotg->ep0_state = dir_in ? DWC2_EP0_STATUS_IN : DWC2_EP0_STATUS_OUT; in dwc2_hsotg_ep0_zlp() [all …]
|
D | core.h | 1044 enum dwc2_ep0_state ep0_state; member
|
/drivers/staging/emxx_udc/ |
D | emxx_udc.h | 521 enum ep0_state { enum 573 enum ep0_state ep0state;
|
/drivers/usb/gadget/legacy/ |
D | inode.c | 87 enum ep0_state { enum 120 enum ep0_state state; /* P: lock */ 914 enum ep0_state state; in ep0_read()
|