Lines Matching refs:tt_info
776 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_tt_info() local
788 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_tt_info()
790 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
792 list_del(&tt_info->tt_list); in xhci_free_tt_info()
793 kfree(tt_info); in xhci_free_tt_info()
805 struct xhci_tt_bw_info *tt_info; in xhci_alloc_tt_info() local
815 for (i = 0; i < num_ports; i++, tt_info++) { in xhci_alloc_tt_info()
818 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info()
820 if (!tt_info) in xhci_alloc_tt_info()
822 INIT_LIST_HEAD(&tt_info->tt_list); in xhci_alloc_tt_info()
823 list_add(&tt_info->tt_list, in xhci_alloc_tt_info()
825 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
827 tt_info->ttport = i+1; in xhci_alloc_tt_info()
828 bw_table = &tt_info->bw_table; in xhci_alloc_tt_info()
863 if (dev->tt_info) in xhci_free_virt_device()
864 old_active_eps = dev->tt_info->active_eps; in xhci_free_virt_device()
914 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_virt_devices_depth_first() local
927 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_virt_devices_depth_first()
929 if (tt_info->slot_id == slot_id) { in xhci_free_virt_devices_depth_first()
933 if (vdev && (vdev->tt_info == tt_info)) in xhci_free_virt_devices_depth_first()
1146 dev->tt_info = tt_bw; in xhci_setup_addressable_virt_dev()
1150 if (!dev->tt_info) in xhci_setup_addressable_virt_dev()
1156 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
1613 in_slot_ctx->tt_info = out_slot_ctx->tt_info; in xhci_slot_copy()