Lines Matching refs:virt_dev
453 struct xhci_virt_device *virt_dev; in xhci_configure_endpoints() local
457 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints()
458 in_ctx = virt_dev->in_ctx; in xhci_configure_endpoints()
507 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_set_configuration() local
516 out_ctx = virt_dev->out_ctx; in xhci_set_configuration()
517 in_ctx = virt_dev->in_ctx; in xhci_set_configuration()
574 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
575 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
600 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
602 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
631 struct xhci_virt_device *virt_dev; in xhci_address_device() local
635 virt_dev = ctrl->devs[slot_id]; in xhci_address_device()
644 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_address_device()
688 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_address_device()
689 virt_dev->out_ctx->size); in xhci_address_device()
690 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
1411 struct xhci_virt_device *virt_dev; in xhci_update_hub_device() local
1425 virt_dev = ctrl->devs[slot_id]; in xhci_update_hub_device()
1426 BUG_ON(!virt_dev); in xhci_update_hub_device()
1428 out_ctx = virt_dev->out_ctx; in xhci_update_hub_device()
1429 in_ctx = virt_dev->in_ctx; in xhci_update_hub_device()