Lines Matching refs:ep_state
1479 unsigned int *ep_state; in xhci_urb_enqueue() local
1489 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1544 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue()
1546 *ep_state); in xhci_urb_enqueue()
1550 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue()
1707 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) { in xhci_urb_dequeue()
1713 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue()
2857 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_check_bw_drop_ep_streams()
2862 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3116 if (ep->ep_state & EP_CLEARING_TT) { in xhci_endpoint_disable()
3122 if (ep->ep_state) in xhci_endpoint_disable()
3124 ep->ep_state); in xhci_endpoint_disable()
3176 if (ep->ep_state & EP_HARD_CLEAR_TOGGLE) { in xhci_endpoint_reset()
3177 ep->ep_state &= ~EP_HARD_CLEAR_TOGGLE; in xhci_endpoint_reset()
3203 ep->ep_state |= EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3268 if (ep->ep_state & EP_SOFT_CLEAR_TOGGLE) in xhci_endpoint_reset()
3269 ep->ep_state &= ~EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3279 unsigned int ep_state; in xhci_check_streams_endpoint() local
3294 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3295 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3296 ep_state & EP_GETTING_STREAMS) { in xhci_check_streams_endpoint()
3378 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
3387 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3389 if (ep_state & EP_GETTING_NO_STREAMS) { in xhci_calculate_no_streams_bitmask()
3397 if (!(ep_state & EP_HAS_STREAMS) && in xhci_calculate_no_streams_bitmask()
3398 !(ep_state & EP_GETTING_STREAMS)) { in xhci_calculate_no_streams_bitmask()
3498 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3557 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3560 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3581 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3582 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3639 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3672 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3673 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
3853 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_discover_or_reset_device()
3858 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_discover_or_reset_device()
3917 virt_dev->eps[i].ep_state &= ~EP_STOP_CMD_PENDING; in xhci_free_dev()
5332 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_CLEARING_TT; in xhci_clear_tt_buffer_complete()