Lines Matching refs:ep_state

1603 	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()
1666 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue()
1668 *ep_state); in xhci_urb_enqueue()
1672 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue()
1834 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) { in xhci_urb_dequeue()
1840 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue()
2974 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_check_bw_drop_ep_streams()
2979 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3157 if (ep->ep_state & EP_CLEARING_TT) { in xhci_endpoint_disable()
3163 if (ep->ep_state) in xhci_endpoint_disable()
3165 ep->ep_state); in xhci_endpoint_disable()
3217 if (ep->ep_state & EP_HARD_CLEAR_TOGGLE) { in xhci_endpoint_reset()
3218 ep->ep_state &= ~EP_HARD_CLEAR_TOGGLE; in xhci_endpoint_reset()
3244 ep->ep_state |= EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3309 if (ep->ep_state & EP_SOFT_CLEAR_TOGGLE) in xhci_endpoint_reset()
3310 ep->ep_state &= ~EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
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()
3337 ep_state & EP_GETTING_STREAMS) { in xhci_check_streams_endpoint()
3419 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
3428 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3430 if (ep_state & EP_GETTING_NO_STREAMS) { in xhci_calculate_no_streams_bitmask()
3438 if (!(ep_state & EP_HAS_STREAMS) && in xhci_calculate_no_streams_bitmask()
3439 !(ep_state & EP_GETTING_STREAMS)) { in xhci_calculate_no_streams_bitmask()
3539 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3598 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3601 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3622 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3623 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3680 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3713 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3714 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
3894 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_discover_or_reset_device()
3899 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_discover_or_reset_device()
3958 virt_dev->eps[i].ep_state &= ~EP_STOP_CMD_PENDING; in xhci_free_dev()
5374 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_CLEARING_TT; in xhci_clear_tt_buffer_complete()