Lines Matching refs:ep_state

1649 	unsigned int *ep_state;  in xhci_urb_enqueue()  local
1662 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1715 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue()
1717 *ep_state); in xhci_urb_enqueue()
1721 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue()
1883 if (!(ep->ep_state & EP_STOP_CMD_PENDING)) { in xhci_urb_dequeue()
1889 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue()
3020 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_check_bw_drop_ep_streams()
3025 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3201 if (ep->ep_state & EP_CLEARING_TT) { in xhci_endpoint_disable()
3207 if (ep->ep_state) in xhci_endpoint_disable()
3209 ep->ep_state); in xhci_endpoint_disable()
3259 if (ep->ep_state & EP_HARD_CLEAR_TOGGLE) { in xhci_endpoint_reset()
3260 ep->ep_state &= ~EP_HARD_CLEAR_TOGGLE; in xhci_endpoint_reset()
3286 ep->ep_state |= EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3351 if (ep->ep_state & EP_SOFT_CLEAR_TOGGLE) in xhci_endpoint_reset()
3352 ep->ep_state &= ~EP_SOFT_CLEAR_TOGGLE; in xhci_endpoint_reset()
3362 unsigned int ep_state; in xhci_check_streams_endpoint() local
3377 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3378 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3379 ep_state & EP_GETTING_STREAMS) { in xhci_check_streams_endpoint()
3461 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
3470 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3472 if (ep_state & EP_GETTING_NO_STREAMS) { in xhci_calculate_no_streams_bitmask()
3480 if (!(ep_state & EP_HAS_STREAMS) && in xhci_calculate_no_streams_bitmask()
3481 !(ep_state & EP_GETTING_STREAMS)) { in xhci_calculate_no_streams_bitmask()
3581 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3640 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3643 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3664 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3665 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3722 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3755 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3756 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
3936 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_discover_or_reset_device()
3941 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_discover_or_reset_device()
4001 virt_dev->eps[i].ep_state &= ~EP_STOP_CMD_PENDING; in xhci_free_dev()
5425 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_CLEARING_TT; in xhci_clear_tt_buffer_complete()