Searched refs:tt_info (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/host/
H A Dxhci-mem.c845 struct xhci_tt_bw_info *tt_info, *next; xhci_free_tt_info() local
858 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { list_for_each_entry_safe()
860 if (tt_info->slot_id == slot_id) { list_for_each_entry_safe()
862 list_del(&tt_info->tt_list); list_for_each_entry_safe()
863 kfree(tt_info); list_for_each_entry_safe()
875 struct xhci_tt_bw_info *tt_info; xhci_alloc_tt_info() local
884 for (i = 0; i < num_ports; i++, tt_info++) { xhci_alloc_tt_info()
887 tt_info = kzalloc(sizeof(*tt_info), mem_flags); xhci_alloc_tt_info()
888 if (!tt_info) xhci_alloc_tt_info()
890 INIT_LIST_HEAD(&tt_info->tt_list); xhci_alloc_tt_info()
891 list_add(&tt_info->tt_list, xhci_alloc_tt_info()
893 tt_info->slot_id = virt_dev->udev->slot_id; xhci_alloc_tt_info()
895 tt_info->ttport = i+1; xhci_alloc_tt_info()
896 bw_table = &tt_info->bw_table; xhci_alloc_tt_info()
928 if (dev->tt_info) xhci_free_virt_device()
929 old_active_eps = dev->tt_info->active_eps; xhci_free_virt_device()
1171 dev->tt_info = tt_bw; xhci_setup_addressable_virt_dev()
1175 if (!dev->tt_info) xhci_setup_addressable_virt_dev()
1181 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | xhci_setup_addressable_virt_dev()
1635 in_slot_ctx->tt_info = out_slot_ctx->tt_info; xhci_slot_copy()
H A Dxhci.c2111 struct xhci_tt_bw_info *tt_info; xhci_check_tt_bw_table() local
2115 tt_info = virt_dev->tt_info; xhci_check_tt_bw_table()
2122 if (old_active_eps == 0 && tt_info->active_eps != 0) { xhci_check_tt_bw_table()
2229 if (virt_dev->tt_info) { xhci_check_bw_table()
2240 virt_dev->tt_info->slot_id, xhci_check_bw_table()
2241 virt_dev->tt_info->ttport); xhci_check_bw_table()
2341 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { xhci_check_bw_table()
2401 struct xhci_tt_bw_info *tt_info) xhci_drop_ep_from_interval_table()
2454 if (tt_info) xhci_drop_ep_from_interval_table()
2455 tt_info->active_eps -= 1; xhci_drop_ep_from_interval_table()
2464 struct xhci_tt_bw_info *tt_info) xhci_add_ep_to_interval_table()
2514 if (tt_info) xhci_add_ep_to_interval_table()
2515 tt_info->active_eps += 1; xhci_add_ep_to_interval_table()
2537 if (!virt_dev->tt_info) xhci_update_tt_active_eps()
2542 virt_dev->tt_info->active_eps != 0) { xhci_update_tt_active_eps()
2546 virt_dev->tt_info->active_eps == 0) { xhci_update_tt_active_eps()
2561 if (virt_dev->tt_info) xhci_reserve_bandwidth()
2562 old_active_eps = virt_dev->tt_info->active_eps; xhci_reserve_bandwidth()
2587 virt_dev->tt_info); xhci_reserve_bandwidth()
2599 virt_dev->tt_info); xhci_reserve_bandwidth()
2624 virt_dev->tt_info); xhci_reserve_bandwidth()
2636 virt_dev->tt_info); xhci_reserve_bandwidth()
3480 if (virt_dev->tt_info) xhci_discover_or_reset_device()
3481 old_active_eps = virt_dev->tt_info->active_eps; xhci_discover_or_reset_device()
3595 virt_dev->tt_info); xhci_discover_or_reset_device()
4827 slot_ctx->tt_info |= xhci_update_hub_device()
2396 xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_drop_ep_from_interval_table() argument
2459 xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_add_ep_to_interval_table() argument
H A Dxhci-dbg.c474 xhci_dbg(xhci, "@%p (virt) @%08llx (dma) %#08x - tt_info\n", xhci_dbg_slot_ctx()
475 &slot_ctx->tt_info, xhci_dbg_slot_ctx()
476 (unsigned long long)dma, slot_ctx->tt_info); xhci_dbg_slot_ctx()
H A Dxhci.h546 * @tt_info: tt_info is used to construct split transaction tokens
556 __le32 tt_info; member in struct:xhci_slot_ctx
588 /* tt_info bitmasks */
946 struct xhci_tt_bw_info *tt_info; member in struct:xhci_virt_device
1697 struct xhci_tt_bw_info *tt_info);

Completed in 132 milliseconds