Searched refs:virt_dev (Results 1 – 3 of 3) sorted by relevance
138 struct xhci_virt_device *virt_dev; in xhci_free_virt_devices() local145 virt_dev = ctrl->devs[slot_id]; in xhci_free_virt_devices()146 if (!virt_dev) in xhci_free_virt_devices()152 if (virt_dev->eps[i].ring) in xhci_free_virt_devices()153 xhci_ring_free(virt_dev->eps[i].ring); in xhci_free_virt_devices()155 if (virt_dev->in_ctx) in xhci_free_virt_devices()156 xhci_free_container_ctx(virt_dev->in_ctx); in xhci_free_virt_devices()157 if (virt_dev->out_ctx) in xhci_free_virt_devices()158 xhci_free_container_ctx(virt_dev->out_ctx); in xhci_free_virt_devices()160 free(virt_dev); in xhci_free_virt_devices()[all …]
452 struct xhci_virt_device *virt_dev; in xhci_configure_endpoints() local456 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints()457 in_ctx = virt_dev->in_ctx; in xhci_configure_endpoints()506 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_set_configuration() local515 out_ctx = virt_dev->out_ctx; in xhci_set_configuration()516 in_ctx = virt_dev->in_ctx; in xhci_set_configuration()573 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()574 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()599 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()601 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()[all …]
566 struct xhci_virt_device *virt_dev; in xhci_bulk_tx() local583 virt_dev = ctrl->devs[slot_id]; in xhci_bulk_tx()585 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_bulk_tx()586 virt_dev->out_ctx->size); in xhci_bulk_tx()588 ep_ctx = xhci_get_ep_ctx(ctrl, virt_dev->out_ctx, ep_index); in xhci_bulk_tx()590 ring = virt_dev->eps[ep_index].ring; in xhci_bulk_tx()761 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_ctrl_tx() local773 ep_ring = virt_dev->eps[ep_index].ring; in xhci_ctrl_tx()785 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_ctrl_tx()786 virt_dev->out_ctx->size); in xhci_ctrl_tx()[all …]