Lines Matching refs:virt_dev
131 struct xhci_virt_device *virt_dev; in get_bw_info() local
134 virt_dev = xhci->devs[udev->slot_id]; in get_bw_info()
135 if (!virt_dev->rhub_port) { in get_bw_info()
142 bw_index = (virt_dev->rhub_port->hw_portnum) * 2; in get_bw_info()
144 bw_index = (virt_dev->rhub_port->hw_portnum) * 2 + 1; in get_bw_info()
147 bw_index = virt_dev->rhub_port->hw_portnum + xhci->usb3_rhub.num_ports; in get_bw_info()
917 struct xhci_virt_device *virt_dev; in add_ep_quirk() local
921 virt_dev = xhci->devs[udev->slot_id]; in add_ep_quirk()
923 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
977 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_check_bandwidth() local
995 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()