/Linux-v5.10/drivers/usb/gadget/udc/ |
D | bcm63xx_udc.c | 317 int ep0state; member 974 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_init_udc_hw() 1541 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle() 1545 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle() 1547 udc->ep0state = bcm63xx_ep0_do_setup(udc); in bcm63xx_ep0_do_idle() 1548 return udc->ep0state == EP0_IDLE ? -EAGAIN : 0; in bcm63xx_ep0_do_idle() 1559 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_ep0_do_idle() 1583 enum bcm63xx_ep0_state ep0state = udc->ep0state; in bcm63xx_ep0_one_round() local 1586 switch (udc->ep0state) { in bcm63xx_ep0_one_round() 1591 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round() [all …]
|
D | goku_udc.c | 254 if (dev->ep0state == EP0_SUSPEND) in goku_ep_disable() 362 if (unlikely(ep->num == 0 && dev->ep0state != EP0_IN)) in write_fifo() 380 dev->ep0state = EP0_STATUS; in write_fifo() 420 if (unlikely(ep->num == 0 && ep->dev->ep0state != EP0_OUT)) in read_fifo() 486 ep->dev->ep0state = EP0_STATUS; in read_fifo() 732 if (dev->ep0state == EP0_SUSPEND) in goku_queue() 825 if (dev->ep0state == EP0_SUSPEND) in goku_dequeue() 893 ep->dev->ep0state = EP0_STALL; in goku_set_halt() 1089 static const char *udc_ep_state(enum ep0state state) in udc_ep_state() 1160 udc_ep_state(dev->ep0state)); in udc_proc_read() [all …]
|
D | s3c2410_udc.c | 352 ep->dev->ep0state = EP0_IDLE; in s3c2410_udc_write_fifo() 476 ep->dev->ep0state = EP0_IDLE; in s3c2410_udc_read_fifo() 681 dev->ep0state = EP0_IN_DATA_PHASE; in s3c2410_udc_handle_ep0_idle() 683 dev->ep0state = EP0_OUT_DATA_PHASE; in s3c2410_udc_handle_ep0_idle() 706 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0_idle() 713 dprintk(DEBUG_VERBOSE, "ep0state %s\n", ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0_idle() 735 ep0csr, ep0states[dev->ep0state]); in s3c2410_udc_handle_ep0() 742 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0() 751 dev->ep0state = EP0_IDLE; in s3c2410_udc_handle_ep0() 754 switch (dev->ep0state) { in s3c2410_udc_handle_ep0() [all …]
|
D | pxa25x_udc.h | 98 enum ep0_state ep0state; member 185 label, state_name[the_controller->ep0state], udccs0, in dump_udccs0() 205 state_name[dev->ep0state], in dump_state()
|
D | s3c-hsudc.c | 149 int ep0state; member 203 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_complete_request() 587 hsudc->ep0state = DATA_STATE_XMIT; in s3c_hsudc_process_setup() 590 hsudc->ep0state = DATA_STATE_RECV; in s3c_hsudc_process_setup() 597 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 611 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 622 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 629 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_process_setup() 658 hsudc->ep0state = WAIT_FOR_SETUP; in s3c_hsudc_handle_ep0_intr() 676 if (hsudc->ep0state == WAIT_FOR_SETUP) in s3c_hsudc_handle_ep0_intr() [all …]
|
D | goku_udc.h | 229 enum ep0state { enum 245 enum ep0state ep0state; member
|
D | gr_udc.c | 194 seq_printf(seq, "ep0state = %s\n", gr_ep0state_string(dev->ep0state)); in gr_dfs_show() 599 if (dev->ep0state == GR_EP0_SUSPEND) { in gr_queue() 695 dev->ep0state = GR_EP0_STALL; in gr_control_stall() 751 if (dev->ep0state != value) in gr_set_ep0state() 754 dev->ep0state = value; in gr_set_ep0state() 1059 if (dev->ep0state == GR_EP0_STALL) { in gr_ep0_setup() 1065 if (dev->ep0state == GR_EP0_ISTATUS) { in gr_ep0_setup() 1073 } else if (dev->ep0state != GR_EP0_SETUP) { in gr_ep0_setup() 1076 gr_ep0state_string(dev->ep0state)); in gr_ep0_setup() 1082 gr_ep0state_string(dev->ep0state)); in gr_ep0_setup() [all …]
|
D | pxa25x_udc.c | 567 dev->ep0state = EP0_IDLE; in ep0_idle() 887 switch (dev->ep0state) { in pxa25x_ep_queue() 904 dev->ep0state = EP0_END_XFER; in pxa25x_ep_queue() 919 DMSG("ep0 i/o, odd state %d\n", dev->ep0state); in pxa25x_ep_queue() 1034 ep->dev->ep0state = EP0_STALL; in pxa25x_ep_set_halt() 1386 dev->ep0state = EP0_IDLE; in udc_reinit() 1618 if (dev->ep0state == EP0_STALL in udc_watchdog() 1653 if ((udccs0 & UDCCS0_SA) != 0 && dev->ep0state != EP0_IDLE) { in handle_ep0() 1659 switch (dev->ep0state) { in handle_ep0() 1735 dev->ep0state = EP0_IN_DATA_PHASE; in handle_ep0() [all …]
|
D | lpc32xx_udc.c | 167 int ep0state; member 1394 udc->ep0state = WAIT_FOR_SETUP; in udc_reinit() 1473 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_in_req() 1495 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_out_req() 1513 udc->ep0state = WAIT_FOR_SETUP; in udc_ep0_out_req() 1807 udc->ep0state = DATA_IN; in lpc32xx_ep_queue() 1811 udc->ep0state = DATA_OUT; in lpc32xx_ep_queue() 2302 udc->ep0state = WAIT_FOR_SETUP; in udc_handle_ep0_setup() 2338 udc->ep0state = WAIT_FOR_SETUP; in udc_handle_ep0_in() 2345 if (udc->ep0state == DATA_IN) in udc_handle_ep0_in() [all …]
|
D | s3c2410_udc.h | 84 int ep0state; member
|
D | pxa27x_udc.h | 404 #define EP0_STNAME(udc) ep0_state_name[(udc)->ep0state] 460 enum ep0_state ep0state; member
|
D | gr_udc.h | 195 enum gr_ep0state ep0state; member
|
D | pxa27x_udc.c | 483 udc->ep0state = state; in set_ep0state() 1111 switch (dev->ep0state) { in pxa_ep_queue() 1958 switch (udc->ep0state) { in handle_ep0()
|
/Linux-v5.10/drivers/usb/dwc3/ |
D | debug.h | 256 const struct dwc3_event_depevt *event, u32 ep0state) in dwc3_ep_event_string() argument 277 dwc3_ep0_state_string(ep0state)); in dwc3_ep_event_string() 372 u32 ep0state) in dwc3_decode_event() argument 381 return dwc3_ep_event_string(str, size, &evt.depevt, ep0state); in dwc3_decode_event()
|
D | ep0.c | 112 if (dwc->ep0state != EP0_DATA_PHASE) { in __dwc3_gadget_ep0_queue() 136 if (dwc->ep0state == EP0_STATUS_PHASE) in __dwc3_gadget_ep0_queue() 178 dwc->ep0state = EP0_DATA_PHASE; in __dwc3_gadget_ep0_queue() 242 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_ep0_stall_and_restart() 917 dwc->ep0state = EP0_SETUP_PHASE; in dwc3_ep0_complete_status() 930 switch (dwc->ep0state) { in dwc3_ep0_xfer_complete() 943 WARN(true, "UNKNOWN ep0state %d\n", dwc->ep0state); in dwc3_ep0_xfer_complete() 1063 if (dwc->ep0state != EP0_STATUS_PHASE) in dwc3_ep0_send_delayed_status() 1116 dwc->ep0state = EP0_STATUS_PHASE; in dwc3_ep0_xfernotready()
|
D | trace.h | 54 __field(u32, ep0state) 59 __entry->ep0state = dwc->ep0state; 63 __entry->event, __entry->ep0state))
|
D | core.h | 1184 enum dwc3_ep0_state ep0state; member
|
D | gadget.c | 2099 if (!is_on && dwc->ep0state != EP0_SETUP_PHASE) { in dwc3_gadget_pullup() 2280 dwc->ep0state = EP0_SETUP_PHASE; in __dwc3_gadget_start()
|
/Linux-v5.10/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 1182 switch (udc->ep0state) { in _nbu2ss_start_transfer() 1611 udc->ep0state = EP0_IN_STATUS_PHASE; in _nbu2ss_decode_request() 1615 udc->ep0state = EP0_IN_DATA_PHASE; in _nbu2ss_decode_request() 1617 udc->ep0state = EP0_OUT_DATA_PHASE; in _nbu2ss_decode_request() 1652 if (udc->ep0state == EP0_IN_STATUS_PHASE) { in _nbu2ss_decode_request() 1667 udc->ep0state = EP0_IDLE; in _nbu2ss_decode_request() 1688 udc->ep0state = EP0_OUT_STATUS_PAHSE; in _nbu2ss_ep0_in_data_stage() 1708 udc->ep0state = EP0_IN_STATUS_PHASE; in _nbu2ss_ep0_out_data_stage() 1736 udc->ep0state = EP0_IDLE; in _nbu2ss_ep0_status_stage() 1766 switch (udc->ep0state) { in _nbu2ss_ep0_int() [all …]
|
D | emxx_udc.h | 523 enum ep0_state ep0state; member
|
/Linux-v5.10/Documentation/driver-api/usb/ |
D | dwc3.rst | 566 dwc3_decode_event(__entry->event, __entry->ep0state))
|