Home
last modified time | relevance | path

Searched refs:ep0_state (Results 1 – 25 of 27) sorted by relevance

12

/drivers/usb/musb/
Dmusb_gadget_ep0.c518 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 …]
Dmusb_core.h436 enum musb_g_ep0_state ep0_state; member
/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c397 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 …]
Dbdc.h435 enum bdc_ep0_state ep0_state; member
Dbdc_core.c231 bdc->ep0_state = WAIT_FOR_SETUP; in bdc_mem_init()
/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c47 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 …]
Dmtu3.h316 enum mtu3_g_ep0_state ep0_state; member
Dmtu3_gadget.c729 mtu->ep0_state = MU3D_EP0_STATE_SETUP; in mtu3_gadget_reset()
/drivers/usb/isp1760/
Disp1760-udc.c122 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 …]
Disp1760-udc.h80 enum isp1760_ctrl_state ep0_state; member
/drivers/usb/gadget/udc/
Dfsl_qe_udc.c185 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 …]
Dfsl_udc_core.c1040 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 …]
Dpxa25x_udc.h69 enum ep0_state { enum
103 enum ep0_state ep0state;
Ds3c2410_udc.h60 enum ep0_state { enum
Dmv_udc_core.c122 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 …]
Dpxa27x_udc.h392 enum ep0_state { enum
464 enum ep0_state ep0state;
Dmv_udc.h201 unsigned int ep0_state; /* Endpoint zero state */ member
Dmv_u3d.h269 unsigned int ep0_state; /* Endpoint zero state */ member
Dmv_u3d_core.c114 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()
Dfsl_qe_udc.h340 u32 ep0_state; /* Enpoint zero state */ member
Dfsl_usb2_udc.h507 u32 ep0_state; /* Endpoint zero state */ member
/drivers/usb/dwc2/
Dgadget.c1102 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 …]
Dcore.h1044 enum dwc2_ep0_state ep0_state; member
/drivers/staging/emxx_udc/
Demxx_udc.h521 enum ep0_state { enum
573 enum ep0_state ep0state;
/drivers/usb/gadget/legacy/
Dinode.c87 enum ep0_state { enum
120 enum ep0_state state; /* P: lock */
914 enum ep0_state state; in ep0_read()

12