Lines Matching refs:ep_state
1495 unsigned int *ep_state; in xhci_urb_enqueue() local
1508 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1568 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue()
1570 *ep_state); in xhci_urb_enqueue()
1574 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue()
1736 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) { in xhci_urb_dequeue()
1742 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue()
2884 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_check_bw_drop_ep_streams()
2889 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3071 if (ep->ep_state & EP_CLEARING_TT) { in xhci_endpoint_disable()
3077 if (ep->ep_state) in xhci_endpoint_disable()
3079 ep->ep_state); in xhci_endpoint_disable()
3131 if (ep->ep_state & EP_HARD_CLEAR_TOGGLE) { in xhci_endpoint_reset()
3132 ep->ep_state &= ~EP_HARD_CLEAR_TOGGLE; in xhci_endpoint_reset()
3158 ep->ep_state |= EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3235 if (ep->ep_state & EP_SOFT_CLEAR_TOGGLE) in xhci_endpoint_reset()
3236 ep->ep_state &= ~EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3246 unsigned int ep_state; in xhci_check_streams_endpoint() local
3261 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3262 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3263 ep_state & EP_GETTING_STREAMS) { in xhci_check_streams_endpoint()
3345 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
3354 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3356 if (ep_state & EP_GETTING_NO_STREAMS) { in xhci_calculate_no_streams_bitmask()
3364 if (!(ep_state & EP_HAS_STREAMS) && in xhci_calculate_no_streams_bitmask()
3365 !(ep_state & EP_GETTING_STREAMS)) { in xhci_calculate_no_streams_bitmask()
3465 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3524 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3527 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3548 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3549 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3606 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3639 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3640 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
3827 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_discover_or_reset_device()
3832 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_discover_or_reset_device()
3891 virt_dev->eps[i].ep_state &= ~EP_STOP_CMD_PENDING; in xhci_free_dev()
5363 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_CLEARING_TT; in xhci_clear_tt_buffer_complete()