Lines Matching refs:tt_info
876 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_tt_info() local
889 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_tt_info()
891 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
893 list_del(&tt_info->tt_list); in xhci_free_tt_info()
894 kfree(tt_info); in xhci_free_tt_info()
906 struct xhci_tt_bw_info *tt_info; in xhci_alloc_tt_info() local
916 for (i = 0; i < num_ports; i++, tt_info++) { in xhci_alloc_tt_info()
919 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info()
921 if (!tt_info) in xhci_alloc_tt_info()
923 INIT_LIST_HEAD(&tt_info->tt_list); in xhci_alloc_tt_info()
924 list_add(&tt_info->tt_list, in xhci_alloc_tt_info()
926 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
928 tt_info->ttport = i+1; in xhci_alloc_tt_info()
929 bw_table = &tt_info->bw_table; in xhci_alloc_tt_info()
964 if (dev->tt_info) in xhci_free_virt_device()
965 old_active_eps = dev->tt_info->active_eps; in xhci_free_virt_device()
1013 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_virt_devices_depth_first() local
1027 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_virt_devices_depth_first()
1029 if (tt_info->slot_id == slot_id) { in xhci_free_virt_devices_depth_first()
1033 if (vdev && (vdev->tt_info == tt_info)) in xhci_free_virt_devices_depth_first()
1256 dev->tt_info = tt_bw; in xhci_setup_addressable_virt_dev()
1260 if (!dev->tt_info) in xhci_setup_addressable_virt_dev()
1266 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
1730 in_slot_ctx->tt_info = out_slot_ctx->tt_info; in xhci_slot_copy()