/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 821 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_tt_info() local 834 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_tt_info() 836 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 838 list_del(&tt_info->tt_list); in xhci_free_tt_info() 839 kfree(tt_info); in xhci_free_tt_info() 851 struct xhci_tt_bw_info *tt_info; in xhci_alloc_tt_info() local 861 for (i = 0; i < num_ports; i++, tt_info++) { in xhci_alloc_tt_info() 864 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 866 if (!tt_info) in xhci_alloc_tt_info() 958 struct xhci_tt_bw_info *tt_info, *next; xhci_free_virt_devices_depth_first() local [all...] |
H A D | xhci.c | 2254 struct xhci_tt_bw_info *tt_info; in xhci_check_tt_bw_table() local 2258 tt_info = virt_dev->tt_info; in xhci_check_tt_bw_table() 2265 if (old_active_eps == 0 && tt_info->active_eps != 0) { in xhci_check_tt_bw_table() 2372 if (virt_dev->tt_info) { in xhci_check_bw_table() 2383 virt_dev->tt_info->slot_id, in xhci_check_bw_table() 2384 virt_dev->tt_info->ttport); in xhci_check_bw_table() 2484 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table() 2544 struct xhci_tt_bw_info *tt_info) in xhci_drop_ep_from_interval_table() 2598 if (tt_info) in xhci_drop_ep_from_interval_table() 2539 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 2603 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 [all...] |
H A D | xhci-trace.h | 369 __field(u32, tt_info) 376 __entry->tt_info = le64_to_cpu(ctx->tt_info); 381 __entry->tt_info, __entry->state)
|
H A D | xhci.h | 615 * @tt_info: tt_info is used to construct split transaction tokens 625 __le32 tt_info; member 659 /* tt_info bitmasks */ 1025 struct xhci_tt_bw_info *tt_info; member 2502 u32 info, u32 info2, u32 tt_info, u32 state) in xhci_decode_slot_context() 2543 tt_info & TT_SLOT, (tt_info & TT_PORT) >> 8, in xhci_decode_slot_context() 2544 GET_TT_THINK_TIME(tt_info), GET_INTR_TARGET(tt_info), in xhci_decode_slot_context() 2501 xhci_decode_slot_context(char *str, u32 info, u32 info2, u32 tt_info, u32 state) xhci_decode_slot_context() argument [all...] |
H A D | xhci-mtk-sch.c | 705 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) { in xhci_mtk_add_ep_quirk() 751 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) in xhci_mtk_drop_ep_quirk()
|
H A D | xhci-debugfs.c | 273 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
|
H A D | xhci-ring.c | 2395 le32_to_cpu(slot_ctx->tt_info) & TT_SLOT) in process_bulk_intr_td()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mem.c | 777 struct xhci_tt_bw_info *tt_info, *next; in xhci_free_tt_info() local 790 list_for_each_entry_safe(tt_info, next, tt_list_head, tt_list) { in xhci_free_tt_info() 792 if (tt_info->slot_id == slot_id) { in xhci_free_tt_info() 794 list_del(&tt_info->tt_list); in xhci_free_tt_info() 795 kfree(tt_info); in xhci_free_tt_info() 807 struct xhci_tt_bw_info *tt_info; in xhci_alloc_tt_info() local 817 for (i = 0; i < num_ports; i++, tt_info++) { in xhci_alloc_tt_info() 820 tt_info = kzalloc_node(sizeof(*tt_info), mem_flags, in xhci_alloc_tt_info() 822 if (!tt_info) in xhci_alloc_tt_info() 914 struct xhci_tt_bw_info *tt_info, *next; xhci_free_virt_devices_depth_first() local [all...] |
H A D | xhci.c | 2232 struct xhci_tt_bw_info *tt_info; in xhci_check_tt_bw_table() local 2236 tt_info = virt_dev->tt_info; in xhci_check_tt_bw_table() 2243 if (old_active_eps == 0 && tt_info->active_eps != 0) { in xhci_check_tt_bw_table() 2350 if (virt_dev->tt_info) { in xhci_check_bw_table() 2361 virt_dev->tt_info->slot_id, in xhci_check_bw_table() 2362 virt_dev->tt_info->ttport); in xhci_check_bw_table() 2462 if (!virt_dev->tt_info && virt_dev->udev->speed == USB_SPEED_HIGH) { in xhci_check_bw_table() 2522 struct xhci_tt_bw_info *tt_info) in xhci_drop_ep_from_interval_table() 2573 if (tt_info) in xhci_drop_ep_from_interval_table() 2517 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 2578 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 [all...] |
H A D | xhci-trace.h | 363 __field(u32, tt_info) 369 __entry->tt_info = le64_to_cpu(ctx->tt_info); 374 __entry->tt_info, __entry->state)
|
H A D | xhci.h | 618 * @tt_info: tt_info is used to construct split transaction tokens 628 __le32 tt_info; member 662 /* tt_info bitmasks */ 1026 struct xhci_tt_bw_info *tt_info; member 2534 u32 info, u32 info2, u32 tt_info, u32 state) in xhci_decode_slot_context() 2575 tt_info & TT_SLOT, (tt_info & TT_PORT) >> 8, in xhci_decode_slot_context() 2576 GET_TT_THINK_TIME(tt_info), GET_INTR_TARGET(tt_info), in xhci_decode_slot_context() 2533 xhci_decode_slot_context(char *str, u32 info, u32 info2, u32 tt_info, u32 state) xhci_decode_slot_context() argument [all...] |
H A D | xhci-debugfs.c | 273 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
|
H A D | xhci-ring.c | 2527 le32_to_cpu(slot_ctx->tt_info) & TT_SLOT) in process_bulk_intr_td()
|