Searched refs:ep_state (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c165 pep->ep_state |= EP_STALLED;
166 pep->ep_state &= ~EP_STALL_PENDING;
327 pep->ep_state |= EP_RING_FULL;
338 pep->ep_state |= EP_DEFERRED_DRDY;
807 if (!pep->wa1_set && !(pep->ep_state & EP_STALLED) && !pep->skip) {
837 pep->ep_state &= ~EP_RING_FULL;
1037 if (!(pep->ep_state & EP_STALLED) &&
1038 !(pep->ep_state & EP_STALL_PENDING))
1119 if (pep->ep_state & EP_STALL_PENDING &&
1136 if (pep->ep_state
[all...]
H A Dcdns2-ep0.c104 pep->ep_state |= EP_STALLED;
195 if (pep->ep_state & EP_STALLED)
300 if (set || !(pep->ep_state & EP_WEDGE))
416 pep->ep_state &= ~EP_STALLED;
H A Dcdns2-gadget.h524 * @ep_state: state of endpoint.
560 u32 ep_state; member in struct:cdns2_endpoint
H A Dcdns2-trace.h482 __entry->flags = pep->ep_state;
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-gadget.c614 pep->ep_state |= EP_HALTED;
624 pep->ep_state &= ~EP_HALTED;
626 if (pep->idx != 0 && !(pep->ep_state & EP_WEDGE))
629 pep->ep_state &= ~EP_WEDGE;
704 pdev->eps[0].ep_state & EP_HALTED) {
712 pdev->eps[0].ep_state &= ~(EP_STOPPED | EP_HALTED);
713 pdev->eps[0].ep_state |= EP_ENABLED;
727 pdev->eps[i].ep_state |= EP_STOPPED | EP_UNCONFIGURED;
795 pep->ep_state |= EP_HAS_STREAMS;
942 pep->ep_state
[all...]
H A Dcdnsp-ring.c281 unsigned int ep_state = pep->ep_state; local
288 if (ep_state & EP_HALTED || !(ep_state & EP_ENABLED))
292 if (pep->ep_state & EP_HAS_STREAMS) {
299 pep->ep_state &= ~EP_STOPPED;
326 if (!(pep->ep_state & EP_HAS_STREAMS))
354 if (pep->ep_state & EP_DIS_IN_RROGRESS)
358 if (!(pep->ep_state & EP_HAS_STREAMS) && pep->number) {
407 if (pep->ep_state
1623 cdnsp_prepare_ring(struct cdnsp_device *pdev, struct cdnsp_ring *ep_ring, u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) argument
2109 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); local
[all...]
H A Dcdnsp-ep0.c32 pep->ep_state |= EP0_HALTED_STATUS;
309 if (!set && (pep->ep_state & EP_WEDGE)) {
431 if (pdev->eps[0].ep_state & EP_HALTED) {
H A Dcdnsp-debug.h542 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; local
551 ep_state = info & EP_STATE_MASK;
566 cdnsp_ep_state_string(ep_state), mult,
H A Dcdnsp-mem.c545 if (pep->ep_state & EP_HAS_STREAMS)
649 if (!(pep->ep_state & EP_HAS_STREAMS))
665 pep->ep_state &= ~EP_HAS_STREAMS;
H A Dcdnsp-trace.h52 __entry->state = pep->ep_state;
54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
H A Dcdnsp-gadget.h808 * @ep_state: Current state of endpoint.
830 unsigned int ep_state; member in struct:cdnsp_ep
/linux-master/drivers/usb/host/
H A Dxhci.c1539 unsigned int *ep_state; local
1594 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state;
1596 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) {
1598 *ep_state);
1602 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) {
1764 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) {
1770 ep->ep_state |= EP_STOP_CMD_PENDING;
2892 if (ep->ep_state & EP_HAS_STREAMS) {
2897 ep->ep_state
3255 unsigned int ep_state; local
3354 unsigned int ep_state; local
[all...]
H A Dxhci-ring.c499 unsigned int ep_state = ep->ep_state; local
507 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) ||
508 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT))
529 if (!(ep->ep_state & EP_HAS_STREAMS)) {
576 if (!(ep->ep_state & EP_HAS_STREAMS))
624 if (ep->ep_state & EP_HAS_STREAMS) {
722 if ((ep->ep_state
1370 unsigned int ep_state; local
3195 prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) argument
[all...]
H A Dxhci.h659 unsigned int ep_state; member in struct:xhci_virt_ep
2491 u8 ep_state; local
2504 ep_state = info & EP_STATE_MASK;
2519 xhci_ep_state_string(ep_state), mult,
H A Dxhci-hub.c538 if (ep->ep_state & EP_HAS_STREAMS) {
H A Dxhci-mem.c578 if (ep->ep_state & EP_HAS_STREAMS)
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-tegra194.c290 int ep_state; member in struct:tegra_pcie_dw
1702 if (pcie->ep_state == EP_STATE_DISABLED)
1741 pcie->ep_state = EP_STATE_DISABLED;
1754 if (pcie->ep_state == EP_STATE_ENABLED)
1920 pcie->ep_state = EP_STATE_ENABLED;
2068 pcie->ep_state = EP_STATE_DISABLED;
/linux-master/drivers/usb/gadget/legacy/
H A Draw_gadget.c133 enum ep_state { enum
140 enum ep_state state;
H A Dinode.c190 enum ep_state { enum
199 enum ep_state state;

Completed in 477 milliseconds