Lines Matching refs:virt_dev
55 struct xhci_virt_device *virt_dev; in get_bw_index() local
58 virt_dev = xhci->devs[udev->slot_id]; in get_bw_index()
62 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_index()
64 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_index()
67 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_index()
599 struct xhci_virt_device *virt_dev; in xhci_mtk_add_ep_quirk() local
608 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_add_ep_quirk()
610 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk()
611 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_add_ep_quirk()
671 struct xhci_virt_device *virt_dev; in xhci_mtk_drop_ep_quirk() local
678 virt_dev = xhci->devs[udev->slot_id]; in xhci_mtk_drop_ep_quirk()
679 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk()