Home
last modified time | relevance | path

Searched refs:ep_state (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/usb/cdns3/
A Dcdnsp-gadget.c614 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint()
628 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint()
633 pep->ep_state &= ~EP_WEDGE; in cdnsp_halt_endpoint()
717 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device()
799 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_alloc_streams()
946 pep->ep_state &= ~EP_UNCONFIGURED; in cdnsp_gadget_ep_enable()
994 pep->ep_state |= EP_ENABLED; in cdnsp_gadget_ep_enable()
995 pep->ep_state &= ~EP_STOPPED; in cdnsp_gadget_ep_enable()
1058 pep->ep_state |= EP_STOPPED; in cdnsp_gadget_ep_disable()
1140 if (!(pep->ep_state & EP_ENABLED)) in cdnsp_gadget_ep_dequeue()
[all …]
A Dcdnsp-ring.c281 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()
326 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_get_transfer_ring()
407 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_get_hw_deq()
1615 u32 ep_state, unsigned in cdnsp_prepare_ring() argument
1622 switch (ep_state) { in cdnsp_prepare_ring()
2076 if (ep_state == EP_STATE_STOPPED || ep_state == EP_STATE_DISABLED) { in cdnsp_cmd_stop_ep()
2088 pep->ep_state |= EP_STOPPED; in cdnsp_cmd_stop_ep()
[all …]
A Dcdnsp-ep0.c32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall()
309 if (!set && (pep->ep_state & EP_WEDGE)) { in cdnsp_ep0_handle_feature_endpoint()
446 if (pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_setup_analyze()
A Dcdnsp-debug.h542 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; in cdnsp_decode_ep_context() local
551 ep_state = info & EP_STATE_MASK; in cdnsp_decode_ep_context()
566 cdnsp_ep_state_string(ep_state), mult, in cdnsp_decode_ep_context()
A Dcdnsp-mem.c545 if (pep->ep_state & EP_HAS_STREAMS) in cdnsp_dma_to_transfer_ring()
649 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_free_stream_info()
665 pep->ep_state &= ~EP_HAS_STREAMS; in cdnsp_free_stream_info()
A Dcdnsp-trace.h52 __entry->state = pep->ep_state;
54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
A Dcdnsp-gadget.h830 unsigned int ep_state; member
/linux/drivers/usb/host/
A Dxhci-ring.c433 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local
441 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell()
442 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell()
940 ep->ep_state |= EP_HALTED; in xhci_handle_halted_endpoint()
1390 unsigned int ep_state; in xhci_handle_cmd_set_deq() local
1404 slot_state, ep_state); in xhci_handle_cmd_set_deq()
1495 ep->ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep()
1537 unsigned int ep_state; in xhci_handle_cmd_config_ep() local
1574 ep_state = virt_dev->eps[ep_index].ep_state; in xhci_handle_cmd_config_ep()
1580 ep_index, ep_state); in xhci_handle_cmd_config_ep()
[all …]
A Dxhci.c1603 unsigned int *ep_state; in xhci_urb_enqueue() local
1613 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1668 *ep_state); in xhci_urb_enqueue()
2979 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3163 if (ep->ep_state) in xhci_endpoint_disable()
3165 ep->ep_state); in xhci_endpoint_disable()
3320 unsigned int ep_state; in xhci_check_streams_endpoint() local
3335 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3336 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3419 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
[all …]
A Dxhci.h933 unsigned int ep_state; member
2729 u8 ep_state; in xhci_decode_ep_context() local
2742 ep_state = info & EP_STATE_MASK; in xhci_decode_ep_context()
2757 xhci_ep_state_string(ep_state), mult, in xhci_decode_ep_context()
A Dxhci-hub.c556 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_ring_device()
A Dxhci-mem.c589 if (ep->ep_state & EP_HAS_STREAMS) in xhci_dma_to_transfer_ring()
/linux/drivers/pci/controller/dwc/
A Dpcie-tegra194.c289 int ep_state; member
1613 if (pcie->ep_state == EP_STATE_DISABLED) in pex_ep_event_pex_rst_assert()
1643 pcie->ep_state = EP_STATE_DISABLED; in pex_ep_event_pex_rst_assert()
1655 if (pcie->ep_state == EP_STATE_ENABLED) in pex_ep_event_pex_rst_deassert()
1792 pcie->ep_state = EP_STATE_ENABLED; in pex_ep_event_pex_rst_deassert()
1936 pcie->ep_state = EP_STATE_DISABLED; in tegra_pcie_config_ep()
/linux/drivers/usb/gadget/legacy/
A Draw_gadget.c128 enum ep_state { enum
135 enum ep_state state;
A Dinode.c184 enum ep_state { enum
193 enum ep_state state;

Completed in 67 milliseconds