Lines Matching refs:devs
1225 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1231 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1266 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1291 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1300 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1301 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1416 if (xhci->devs[slot_id]->eps[ep_index].ep_state & in xhci_urb_enqueue()
1421 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state & in xhci_urb_enqueue()
1482 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_urb_to_transfer_ring()
1564 i < urb_priv->length && xhci->devs[urb->dev->slot_id]; in xhci_urb_dequeue()
1594 ep = &xhci->devs[urb->dev->slot_id]->eps[ep_index]; in xhci_urb_dequeue()
1681 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1682 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint()
1700 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1712 xhci_endpoint_zero(xhci, xhci->devs[udev->slot_id], ep); in xhci_drop_endpoint()
1768 virt_dev = xhci->devs[udev->slot_id]; in xhci_add_endpoint()
1919 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; in xhci_evaluate_context_result()
2411 xhci->devs[udev->slot_id]->bw_table->ss_bw_in -= in xhci_drop_ep_from_interval_table()
2414 xhci->devs[udev->slot_id]->bw_table->ss_bw_out -= in xhci_drop_ep_from_interval_table()
2475 xhci->devs[udev->slot_id]->bw_table->ss_bw_in += in xhci_add_ep_to_interval_table()
2478 xhci->devs[udev->slot_id]->bw_table->ss_bw_out += in xhci_add_ep_to_interval_table()
2659 virt_dev = xhci->devs[udev->slot_id]; in xhci_configure_endpoint()
2772 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_bandwidth()
2869 virt_dev = xhci->devs[udev->slot_id]; in xhci_reset_bandwidth()
2905 in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_setup_input_ctx_for_quirk()
2913 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_setup_input_ctx_for_quirk()
2914 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_setup_input_ctx_for_quirk()
2929 xhci_setup_input_ctx_for_config_ep(xhci, xhci->devs[slot_id]->in_ctx, in xhci_setup_input_ctx_for_quirk()
2930 xhci->devs[slot_id]->out_ctx, ctrl_ctx, in xhci_setup_input_ctx_for_quirk()
2943 ep = &xhci->devs[udev->slot_id]->eps[ep_index]; in xhci_cleanup_stalled_ring()
3025 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3035 if (!list_empty(&xhci->devs[slot_id]->eps[ep_index].ring->td_list)) { in xhci_check_streams_endpoint()
3113 if (!xhci->devs[slot_id]) in xhci_calculate_no_streams_bitmask()
3118 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_calculate_no_streams_bitmask()
3223 vdev = xhci->devs[udev->slot_id]; in xhci_alloc_streams()
3334 vdev = xhci->devs[udev->slot_id]; in xhci_free_streams()
3364 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= in xhci_free_streams()
3469 virt_dev = xhci->devs[slot_id]; in xhci_discover_or_reset_device()
3647 virt_dev = xhci->devs[udev->slot_id]; in xhci_free_dev()
3827 virt_dev = xhci->devs[udev->slot_id]; in xhci_setup_device()
4027 virt_dev = xhci->devs[udev->slot_id]; in xhci_change_max_exit_latency()
4688 !xhci->devs[udev->slot_id]) in xhci_enable_usb3_lpm_timeout()
4714 !xhci->devs[udev->slot_id]) in xhci_disable_usb3_lpm_timeout()
4770 vdev = xhci->devs[hdev->slot_id]; in xhci_update_hub_device()