Lines Matching defs:tt_info
821 struct xhci_tt_bw_info *tt_info, *next;
834 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) {
836 if (tt_info->slot_id == slot_id) {
838 list_del(&tt_info->tt_list);
839 kfree(tt_info);
851 struct xhci_tt_bw_info *tt_info;
861 for (i = 0; i < num_ports; i++, tt_info++) {
864 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags,
866 if (!tt_info)
868 INIT_LIST_HEAD(&tt_info->tt_list);
869 list_add(&tt_info->tt_list,
871 tt_info->slot_id = virt_dev->udev->slot_id;
873 tt_info->ttport = i+1;
874 bw_table = &tt_info->bw_table;
909 if (dev->tt_info)
910 old_active_eps = dev->tt_info->active_eps;
950 * If the virt_device added a tt_info (a hub) and has children pointing to
951 * that tt_info, then free the child first. Recursive.
958 struct xhci_tt_bw_info *tt_info, *next;
972 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) {
973 /* is this a hub device that added a tt_info to the tts list */
974 if (tt_info->slot_id == slot_id) {
975 /* are any devices using this tt_info? */
978 if (vdev && (vdev->tt_info == tt_info))
1201 dev->tt_info = tt_bw;
1205 if (!dev->tt_info)
1211 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id |
1667 in_slot_ctx->tt_info = out_slot_ctx->tt_info;