Lines Matching refs:tt_info

795 	struct xhci_tt_bw_info *tt_info, *next;  in xhci_free_tt_info()  local
808 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_tt_info()
810 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info()
812 list_del(&tt_info->tt_list); in xhci_free_tt_info()
813 kfree(tt_info); in xhci_free_tt_info()
825 struct xhci_tt_bw_info *tt_info; in xhci_alloc_tt_info() local
835 for (i = 0; i < num_ports; i++, tt_info++) { in xhci_alloc_tt_info()
838 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info()
840 if (!tt_info) in xhci_alloc_tt_info()
842 INIT_LIST_HEAD(&tt_info->tt_list); in xhci_alloc_tt_info()
843 list_add(&tt_info->tt_list, in xhci_alloc_tt_info()
845 tt_info->slot_id = virt_dev->udev->slot_id; in xhci_alloc_tt_info()
847 tt_info->ttport = i+1; in xhci_alloc_tt_info()
848 bw_table = &tt_info->bw_table; in xhci_alloc_tt_info()
883 if (dev->tt_info) in xhci_free_virt_device()
884 old_active_eps = dev->tt_info->active_eps; in xhci_free_virt_device()
932 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_virt_devices_depth_first() local
946 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_virt_devices_depth_first()
948 if (tt_info->slot_id == slot_id) { in xhci_free_virt_devices_depth_first()
952 if (vdev && (vdev->tt_info == tt_info)) in xhci_free_virt_devices_depth_first()
1174 dev->tt_info = tt_bw; in xhci_setup_addressable_virt_dev()
1178 if (!dev->tt_info) in xhci_setup_addressable_virt_dev()
1184 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
1640 in_slot_ctx->tt_info = out_slot_ctx->tt_info; in xhci_slot_copy()