Lines Matching refs:virt_dev
128 struct xhci_virt_device *virt_dev; in get_bw_info() local
131 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info()
132 if (!virt_dev->real_port) { in get_bw_info()
139 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_info()
141 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_info()
144 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_info()
683 struct xhci_virt_device *virt_dev; in add_ep_quirk() local
687 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
689 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
743 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local
761 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()