Lines Matching refs:virt_dev
416 struct xhci_virt_device *virt_dev, in xhci_free_endpoint_ring() argument
419 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
420 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
772 struct xhci_virt_device *virt_dev, in xhci_free_tt_info() argument
782 if (!virt_dev->rhub_port) { in xhci_free_tt_info()
787 tt_list_head = &(xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_free_tt_info()
801 struct xhci_virt_device *virt_dev, in xhci_alloc_tt_info() argument
824 &xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_alloc_tt_info()
825 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
835 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id); in xhci_alloc_tt_info()
1019 struct xhci_virt_device *virt_dev; in xhci_copy_ep0_dequeue_into_input_ctx() local
1023 virt_dev = xhci->devs[udev->slot_id]; in xhci_copy_ep0_dequeue_into_input_ctx()
1024 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1025 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1390 struct xhci_virt_device *virt_dev, in xhci_endpoint_init() argument
1409 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1463 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1465 if (!virt_dev->eps[ep_index].new_ring) in xhci_endpoint_init()
1468 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init()
1469 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1489 struct xhci_virt_device *virt_dev, in xhci_endpoint_zero() argument
1496 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1520 struct xhci_virt_device *virt_dev) in xhci_update_bw_info() argument
1528 bw_info = &virt_dev->eps[i].bw_info; in xhci_update_bw_info()