Searched refs:ep0state (Results 1 – 16 of 16) sorted by relevance
/drivers/usb/gadget/ |
D | bcm63xx_udc.c | 304 int ep0state; member 956 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_init_udc_hw() 1526 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle() 1530 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle() 1532 udc->ep0state = bcm63xx_ep0_do_setup(udc); in bcm63xx_ep0_do_idle() 1533 return udc->ep0state == EP0_IDLE ? -EAGAIN : 0; in bcm63xx_ep0_do_idle() 1544 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_ep0_do_idle() 1568 enum bcm63xx_ep0_state ep0state = udc->ep0state; in bcm63xx_ep0_one_round() local 1571 switch (udc->ep0state) { in bcm63xx_ep0_one_round() 1576 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round() [all …]
|
D | goku_udc.c | 251 if (dev->ep0state == EP0_SUSPEND) in goku_ep_disable() 359 if (unlikely(ep->num == 0 && dev->ep0state != EP0_IN)) in write_fifo() 377 dev->ep0state = EP0_STATUS; in write_fifo() 417 if (unlikely(ep->num == 0 && ep->dev->ep0state != EP0_OUT)) in read_fifo() 483 ep->dev->ep0state = EP0_STATUS; in read_fifo() 729 if (dev->ep0state == EP0_SUSPEND) in goku_queue() 822 if (dev->ep0state == EP0_SUSPEND) in goku_dequeue() 890 ep->dev->ep0state = EP0_STALL; in goku_set_halt() 1085 switch(dev->ep0state){ in udc_proc_read() 1233 dev->ep0state = EP0_DISCONNECT; in udc_reinit() [all …]
|
D | s3c2410_udc.c | 397 ep->dev->ep0state = EP0_IDLE; in s3c2410_udc_write_fifo() 520 ep->dev->ep0state = EP0_IDLE; in s3c2410_udc_read_fifo() 725 dev->ep0state = EP0_IN_DATA_PHASE; in s3c2410_udc_handle_ep0_idle() 727 dev->ep0state = EP0_OUT_DATA_PHASE; in s3c2410_udc_handle_ep0_idle() 750 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0_idle() 757 dprintk(DEBUG_VERBOSE, "ep0state %s\n", ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0_idle() 779 ep0csr, ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0() 786 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0() 795 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0() 798 switch (dev->ep0state) { in s3c2410_udc_handle_ep0() [all …]
|
D | s3c-hsudc.c | 154 int ep0state; member 255 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_complete_request() 640 hsudc->ep0state = DATA_STATE_XMIT; in s3c_hsudc_process_setup() 643 hsudc->ep0state = DATA_STATE_RECV; in s3c_hsudc_process_setup() 650 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 664 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 675 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 682 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 711 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_handle_ep0_intr() 729 if (hsudc->ep0state == WAIT_FOR_SETUP) in s3c_hsudc_handle_ep0_intr() [all …]
|
D | pxa25x_udc.h | 103 enum ep0_state ep0state; member 189 label, state_name[the_controller->ep0state], udccs0, in dump_udccs0() 207 state_name[dev->ep0state], in dump_state()
|
D | goku_udc.h | 232 enum ep0state { enum 248 enum ep0state ep0state; member
|
D | pxa25x_udc.c | 357 dev->ep0state = EP0_IDLE; in ep0_idle() 676 switch (dev->ep0state) { in pxa25x_ep_queue() 693 dev->ep0state = EP0_END_XFER; in pxa25x_ep_queue() 708 DMSG("ep0 i/o, odd state %d\n", dev->ep0state); in pxa25x_ep_queue() 823 ep->dev->ep0state = EP0_STALL; in pxa25x_ep_set_halt() 1183 dev->ep0state = EP0_IDLE; in udc_reinit() 1389 if (dev->ep0state == EP0_STALL in udc_watchdog() 1424 if ((udccs0 & UDCCS0_SA) != 0 && dev->ep0state != EP0_IDLE) { in handle_ep0() 1430 switch (dev->ep0state) { in handle_ep0() 1506 dev->ep0state = EP0_IN_DATA_PHASE; in handle_ep0() [all …]
|
D | lpc32xx_udc.c | 196 int ep0state; member 1457 udc->ep0state = WAIT_FOR_SETUP; in udc_reinit() 1536 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_in_req() 1558 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_out_req() 1576 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_out_req() 1879 udc->ep0state = DATA_IN; in lpc32xx_ep_queue() 1883 udc->ep0state = DATA_OUT; in lpc32xx_ep_queue() 2374 udc->ep0state = WAIT_FOR_SETUP; in udc_handle_ep0_setup() 2410 udc->ep0state = WAIT_FOR_SETUP; in udc_handle_ep0_in() 2417 if (udc->ep0state == DATA_IN) in udc_handle_ep0_in() [all …]
|
D | s3c2410_udc.h | 88 int ep0state; member
|
D | imx_udc.c | 566 switch (imx_ep->imx_usb->ep0state) { in handle_ep0() 577 __func__, imx_ep->imx_usb->ep0state); in handle_ep0() 813 ((!EP_NO(imx_ep) && imx_ep->imx_usb->ep0state in imx_ep_queue() 965 label, state_name[imx_usb->ep0state], state_name[stat]); in ep0_chg_stat() 967 if (imx_usb->ep0state == stat) in ep0_chg_stat() 970 imx_usb->ep0state = stat; in ep0_chg_stat() 1106 if (imx_usb->ep0state == EP0_IDLE) { in imx_udc_irq()
|
D | imx_udc.h | 55 enum ep0_state ep0state; member 313 if ((!EP_NO(imx_ep) && imx_ep->imx_usb->ep0state in dump_req()
|
D | pxa27x_udc.h | 398 #define EP0_STNAME(udc) ep0_state_name[(udc)->ep0state] 452 enum ep0_state ep0state; member
|
D | pxa27x_udc.c | 562 udc->ep0state = state; in set_ep0state() 1194 switch (dev->ep0state) { in pxa_ep_queue() 2023 switch (udc->ep0state) { in handle_ep0()
|
/drivers/usb/dwc3/ |
D | ep0.c | 149 if (dwc->ep0state != EP0_DATA_PHASE) { in __dwc3_gadget_ep0_queue() 172 if (dwc->ep0state == EP0_STATUS_PHASE) in __dwc3_gadget_ep0_queue() 216 dwc->ep0state = EP0_DATA_PHASE; in __dwc3_gadget_ep0_queue() 253 dwc3_ep0_state_string(dwc->ep0state)); in dwc3_gadget_ep0_queue() 284 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_ep0_stall_and_restart() 857 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_ep0_complete_status() 870 switch (dwc->ep0state) { in dwc3_ep0_xfer_complete() 886 WARN(true, "UNKNOWN ep0state %d\n", dwc->ep0state); in dwc3_ep0_xfer_complete() 1027 dwc->ep0state = EP0_STATUS_PHASE; in dwc3_ep0_xfernotready() 1047 dwc3_ep0_state_string(dwc->ep0state)); in dwc3_ep0_interrupt()
|
D | core.h | 732 enum dwc3_ep0_state ep0state; member
|
D | gadget.c | 1565 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_gadget_start() 2750 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_gadget_resume()
|