Lines Matching refs:vdev

2720 	struct xhci_virt_device *vdev, int i)  in xhci_check_bw_drop_ep_streams()  argument
2722 struct xhci_virt_ep *ep = &vdev->eps[i]; in xhci_check_bw_drop_ep_streams()
3155 struct xhci_virt_device *vdev; in xhci_alloc_streams() local
3213 vdev = xhci->devs[udev->slot_id]; in xhci_alloc_streams()
3219 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3233 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci, in xhci_alloc_streams()
3236 if (!vdev->eps[ep_index].stream_info) in xhci_alloc_streams()
3251 vdev->out_ctx, ep_index); in xhci_alloc_streams()
3253 vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3259 vdev->out_ctx, ctrl_ctx, in xhci_alloc_streams()
3276 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3279 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3291 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3292 vdev->eps[ep_index].stream_info = NULL; in xhci_alloc_streams()
3296 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3297 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3298 xhci_endpoint_zero(xhci, vdev, eps[i]); in xhci_alloc_streams()
3316 struct xhci_virt_device *vdev; in xhci_free_streams() local
3324 vdev = xhci->devs[udev->slot_id]; in xhci_free_streams()
3340 command = vdev->eps[ep_index].stream_info->free_streams_command; in xhci_free_streams()
3358 vdev->out_ctx, ep_index); in xhci_free_streams()
3360 &vdev->eps[ep_index]); in xhci_free_streams()
3363 vdev->out_ctx, ctrl_ctx, in xhci_free_streams()
3382 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_free_streams()
3383 vdev->eps[ep_index].stream_info = NULL; in xhci_free_streams()
3387 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3388 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
4742 struct xhci_virt_device *vdev; in xhci_update_hub_device() local
4754 vdev = xhci->devs[hdev->slot_id]; in xhci_update_hub_device()
4755 if (!vdev) { in xhci_update_hub_device()
4774 xhci_alloc_tt_info(xhci, vdev, hdev, tt, GFP_ATOMIC)) { in xhci_update_hub_device()
4781 xhci_slot_copy(xhci, config_cmd->in_ctx, vdev->out_ctx); in xhci_update_hub_device()
4838 xhci_dbg_ctx(xhci, vdev->out_ctx, 0); in xhci_update_hub_device()