Lines Matching refs:vdev
2730 struct xhci_virt_device *vdev, int i) in xhci_check_bw_drop_ep_streams() argument
2732 struct xhci_virt_ep *ep = &vdev->eps[i]; in xhci_check_bw_drop_ep_streams()
3165 struct xhci_virt_device *vdev; in xhci_alloc_streams() local
3223 vdev = xhci->devs[udev->slot_id]; in xhci_alloc_streams()
3229 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS; in xhci_alloc_streams()
3243 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci, in xhci_alloc_streams()
3246 if (!vdev->eps[ep_index].stream_info) in xhci_alloc_streams()
3261 vdev->out_ctx, ep_index); in xhci_alloc_streams()
3263 vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3269 vdev->out_ctx, ctrl_ctx, in xhci_alloc_streams()
3286 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3289 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS; in xhci_alloc_streams()
3301 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3302 vdev->eps[ep_index].stream_info = NULL; in xhci_alloc_streams()
3306 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS; in xhci_alloc_streams()
3307 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_alloc_streams()
3308 xhci_endpoint_zero(xhci, vdev, eps[i]); in xhci_alloc_streams()
3326 struct xhci_virt_device *vdev; in xhci_free_streams() local
3334 vdev = xhci->devs[udev->slot_id]; in xhci_free_streams()
3350 command = vdev->eps[ep_index].stream_info->free_streams_command; in xhci_free_streams()
3368 vdev->out_ctx, ep_index); in xhci_free_streams()
3370 &vdev->eps[ep_index]); in xhci_free_streams()
3373 vdev->out_ctx, ctrl_ctx, in xhci_free_streams()
3392 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_free_streams()
3393 vdev->eps[ep_index].stream_info = NULL; in xhci_free_streams()
3397 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS; in xhci_free_streams()
3398 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS; in xhci_free_streams()
4758 struct xhci_virt_device *vdev; in xhci_update_hub_device() local
4770 vdev = xhci->devs[hdev->slot_id]; in xhci_update_hub_device()
4771 if (!vdev) { in xhci_update_hub_device()
4790 xhci_alloc_tt_info(xhci, vdev, hdev, tt, GFP_ATOMIC)) { in xhci_update_hub_device()
4797 xhci_slot_copy(xhci, config_cmd->in_ctx, vdev->out_ctx); in xhci_update_hub_device()
4854 xhci_dbg_ctx(xhci, vdev->out_ctx, 0); in xhci_update_hub_device()