Lines Matching defs:tt_info
777 struct xhci_tt_bw_info *tt_info, *next;
790 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) {
792 if (tt_info->slot_id == slot_id) {
794 list_del(&tt_info->tt_list);
795 kfree(tt_info);
807 struct xhci_tt_bw_info *tt_info;
817 for (i = 0; i < num_ports; i++, tt_info++) {
820 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags,
822 if (!tt_info)
824 INIT_LIST_HEAD(&tt_info->tt_list);
825 list_add(&tt_info->tt_list,
827 tt_info->slot_id = virt_dev->udev->slot_id;
829 tt_info->ttport = i+1;
830 bw_table = &tt_info->bw_table;
865 if (dev->tt_info)
866 old_active_eps = dev->tt_info->active_eps;
906 * If the virt_device added a tt_info (a hub) and has children pointing to
907 * that tt_info, then free the child first. Recursive.
914 struct xhci_tt_bw_info *tt_info, *next;
928 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) {
929 /* is this a hub device that added a tt_info to the tts list */
930 if (tt_info->slot_id == slot_id) {
931 /* are any devices using this tt_info? */
934 if (vdev && (vdev->tt_info == tt_info))
1151 dev->tt_info = tt_bw;
1155 if (!dev->tt_info)
1161 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id |
1618 in_slot_ctx->tt_info = out_slot_ctx->tt_info;