| /linux/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-gadget.c | 166 pep->ep_state |= EP_STALLED; in cdns2_ep_stall_flush() 167 pep->ep_state &= ~EP_STALL_PENDING; in cdns2_ep_stall_flush() 328 pep->ep_state |= EP_RING_FULL; in cdns2_prepare_ring() 339 pep->ep_state |= EP_DEFERRED_DRDY; in cdns2_prepare_ring() 808 if (!pep->wa1_set && !(pep->ep_state & EP_STALLED) && !pep->skip) { in cdns2_ep_run_transfer() 838 pep->ep_state &= ~EP_RING_FULL; in cdns2_start_all_request() 1038 if (!(pep->ep_state & EP_STALLED) && in cdns2_transfer_completed() 1039 !(pep->ep_state & EP_STALL_PENDING)) in cdns2_transfer_completed() 1120 if (pep->ep_state & EP_STALL_PENDING && in cdns2_handle_epx_interrupt() 1137 if (pep->ep_state & EP_DEFERRED_DRDY) { in cdns2_handle_epx_interrupt() [all …]
|
| H A D | cdns2-ep0.c | 104 pep->ep_state |= EP_STALLED; in cdns2_ep0_stall() 195 if (pep->ep_state & EP_STALLED) in cdns2_req_ep0_handle_status() 300 if (set || !(pep->ep_state & EP_WEDGE)) in cdns2_ep0_handle_feature_endpoint() 416 pep->ep_state &= ~EP_STALLED; in cdns2_handle_setup_packet()
|
| H A D | cdns2-gadget.h | 569 u32 ep_state; member
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 660 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint() 670 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint() 672 if (pep->idx != 0 && !(pep->ep_state & EP_WEDGE)) 675 pep->ep_state &= ~EP_WEDGE; in cdnsp_update_eps_configuration() 750 pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_reset_device() 758 pdev->eps[0].ep_state &= ~(EP_STOPPED | EP_HALTED); in cdnsp_reset_device() 759 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device() 773 pdev->eps[i].ep_state |= EP_STOPPED | EP_UNCONFIGURED; in cdnsp_reset_device() 841 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_disable_slot() 988 pep->ep_state in cdnsp_gadget_ep_enable() [all...] |
| H A D | cdnsp-ring.c | 281 unsigned int ep_state = pep->ep_state; in cdnsp_ring_ep_doorbell() local 288 if (ep_state & EP_HALTED || !(ep_state & EP_ENABLED)) in cdnsp_ring_ep_doorbell() 292 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_ring_ep_doorbell() 299 pep->ep_state &= ~EP_STOPPED; in cdnsp_ring_ep_doorbell() 327 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_get_transfer_ring() 355 if (pep->ep_state & EP_DIS_IN_RROGRESS) in cdnsp_ring_doorbell_for_active_rings() 359 if (!(pep->ep_state & EP_HAS_STREAMS) && pep->number) { in cdnsp_ring_doorbell_for_active_rings() 408 if (pep->ep_state in cdnsp_get_hw_deq() 1630 cdnsp_prepare_ring(struct cdnsp_device * pdev,struct cdnsp_ring * ep_ring,u32 ep_state,unsigned int num_trbs,gfp_t mem_flags) cdnsp_prepare_ring() argument 2142 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); cdnsp_cmd_stop_ep() local [all...] |
| H A D | cdnsp-ep0.c | 32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall() 309 if (!set && (pep->ep_state & EP_WEDGE)) { in cdnsp_ep0_handle_feature_endpoint() 434 if (pep->ep_state & EP_HALTED) { in cdnsp_setup_analyze() 444 pep->ep_state &= ~EP_HALTED; in cdnsp_setup_analyze() 445 pep->ep_state |= EP_STOPPED; in cdnsp_setup_analyze()
|
| H A D | cdnsp-debug.h | 543 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; in cdnsp_decode_ep_context() local 552 ep_state = info & EP_STATE_MASK; in cdnsp_decode_ep_context() 567 cdnsp_ep_state_string(ep_state), mult, in cdnsp_decode_ep_context()
|
| H A D | cdnsp-mem.c | 545 if (pep->ep_state & EP_HAS_STREAMS) in cdnsp_dma_to_transfer_ring() 648 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_free_stream_info() 664 pep->ep_state &= ~EP_HAS_STREAMS; in cdnsp_free_stream_info()
|
| H A D | cdnsp-gadget.h | 815 * @ep_state: Current state of endpoint. 838 unsigned int ep_state; member
|
| /linux/drivers/usb/host/ |
| H A D | xhci-ring.c | 556 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local 564 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell() 565 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell() 586 if (!(ep->ep_state & EP_HAS_STREAMS)) { in ring_doorbell_for_active_rings() 633 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_virt_ep_to_ring() 681 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_get_hw_deq() 757 if ((ep->ep_state in xhci_move_dequeue_past_td() 1453 unsigned int ep_state; xhci_handle_cmd_set_deq() local 3263 prepare_ring(struct xhci_hcd * xhci,struct xhci_ring * ep_ring,u32 ep_state,unsigned int num_trbs,gfp_t mem_flags) prepare_ring() argument [all...] |
| H A D | xhci.c | 1625 unsigned int *ep_state; in xhci_urb_enqueue() 1680 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue() 1682 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue() 1684 *ep_state); in xhci_urb_enqueue() 1688 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue() 1848 if (ep->ep_state & (EP_STOP_CMD_PENDING | EP_HALTED | SET_DEQ_PENDING)) { in xhci_urb_dequeue() 1850 urb->dev->slot_id, ep_index, ep->ep_state); in xhci_urb_dequeue() 1855 if (ep->ep_state & EP_CLEARING_TT) { in xhci_urb_dequeue() 1858 urb->dev->slot_id, ep_index, ep->ep_state); in xhci_urb_dequeue() 1628 unsigned int *ep_state; xhci_urb_enqueue() local 3466 unsigned int ep_state; xhci_check_streams_endpoint() local 3565 unsigned int ep_state; xhci_calculate_no_streams_bitmask() local [all...] |
| H A D | xhci-sideband.c | 158 if (ep->ep_state & EP_HAS_STREAMS) in xhci_sideband_add_endpoint()
|
| H A D | xhci-debugfs.c | 288 dev->eps[ep_index].ep_state); in xhci_endpoint_context_show()
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | raw_gadget.c | 134 enum ep_state { enum 141 enum ep_state state;
|
| H A D | inode.c | 190 enum ep_state { enum 199 enum ep_state state;
|