Lines Matching refs:ep_state

1413 	unsigned int *ep_state;  in xhci_urb_enqueue()  local
1423 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1475 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue()
1477 *ep_state); in xhci_urb_enqueue()
1481 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue()
1638 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) { in xhci_urb_dequeue()
1644 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue()
2784 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_check_bw_drop_ep_streams()
2789 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3048 if (ep->ep_state & EP_HARD_CLEAR_TOGGLE) { in xhci_endpoint_reset()
3049 ep->ep_state &= ~EP_HARD_CLEAR_TOGGLE; in xhci_endpoint_reset()
3073 ep->ep_state |= EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3108 ep->ep_state &= ~EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3120 unsigned int ep_state; in xhci_check_streams_endpoint() local
3135 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3136 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3137 ep_state & EP_GETTING_STREAMS) { in xhci_check_streams_endpoint()
3219 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
3228 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3230 if (ep_state & EP_GETTING_NO_STREAMS) { in xhci_calculate_no_streams_bitmask()
3238 if (!(ep_state & EP_HAS_STREAMS) && in xhci_calculate_no_streams_bitmask()
3239 !(ep_state & EP_GETTING_STREAMS)) { in xhci_calculate_no_streams_bitmask()
3339 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3398 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3401 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3418 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3419 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3476 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3509 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3510 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
3690 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_discover_or_reset_device()
3695 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_discover_or_reset_device()
3755 virt_dev->eps[i].ep_state &= ~EP_STOP_CMD_PENDING; in xhci_free_dev()