Lines Matching refs:virt_dev
486 struct xhci_virt_device *virt_dev; in xhci_configure_endpoints() local
490 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints()
491 in_ctx = virt_dev->in_ctx; in xhci_configure_endpoints()
540 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_set_configuration() local
549 out_ctx = virt_dev->out_ctx; in xhci_set_configuration()
550 in_ctx = virt_dev->in_ctx; in xhci_set_configuration()
607 virt_dev->eps[ep_index].ring = xhci_ring_alloc(ctrl, 1, true); in xhci_set_configuration()
608 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
631 trb_64 = xhci_virt_to_bus(ctrl, virt_dev->eps[ep_index].ring->enqueue); in xhci_set_configuration()
633 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
672 struct xhci_virt_device *virt_dev; in xhci_address_device() local
676 virt_dev = ctrl->devs[slot_id]; in xhci_address_device()
685 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_address_device()
729 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_address_device()
730 virt_dev->out_ctx->size); in xhci_address_device()
731 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
1449 struct xhci_virt_device *virt_dev; in xhci_update_hub_device() local
1463 virt_dev = ctrl->devs[slot_id]; in xhci_update_hub_device()
1464 BUG_ON(!virt_dev); in xhci_update_hub_device()
1466 out_ctx = virt_dev->out_ctx; in xhci_update_hub_device()
1467 in_ctx = virt_dev->in_ctx; in xhci_update_hub_device()