Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/thunderbolt/clx.c
- drivers/thunderbolt/debugfs.c
- drivers/thunderbolt/switch.c
- drivers/thunderbolt/tb.c, line 3068
- drivers/thunderbolt/tb.h, line 1325
- drivers/thunderbolt/tmu.c, line 60
- drivers/thunderbolt/tunnel.c
Smatch caller information:
drivers/thunderbolt/usb4.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thunderbolt/switch.c tb_switch_configure() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.enabled | 1 |
| PARAM_VALUE | 0 | sw->config.plug_events_delay | 255 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | 0 | &sw->tb->lock |
drivers/thunderbolt/switch.c tb_switch_uevent() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| DATA_SOURCE | 0 | sw | r tb_to_switch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/thunderbolt/tb.c tb_start() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | sw | 1968 |
| DATA_SOURCE | 0 | sw | r tb_switch_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/eeprom.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus->offline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus->online | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus->remove | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.kobj.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.kobj.ktype->child_ns_type | 0 |
| PARAM_VALUE | 0 | sw->dev.kobj.ktype->get_ownership | 9073032014207823872 |
| PARAM_VALUE | 0 | sw->dev.kobj.ktype->namespace | 4142580293989273600 |
| PARAM_VALUE | 0 | sw->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | sw->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type->groups | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dma_port->base | 0-4294967295 |
| PARAM_VALUE | 0 | sw->drom | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->privdata->request_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->privdata->request_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->privdata->request_lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_enhanced_is_supported() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_init_pm_support() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_pci_set_ext_encapsulation() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_pci_set_ext_encapsulation() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_alloc_dp() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/clx.c tb_switch_clx_enable() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| DATA_SOURCE | 0 | sw | r tb_switch_parent |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/clx.c tb_switch_clx_enable() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 4096-ptr_max |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/clx.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thunderbolt/debugfs.c port_cap_show() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/debugfs.c port_cap_show() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/debugfs.c port_cap_show() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/debugfs.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sw->tb->lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | sw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sw | unit_array_size |
| LOCK2 | &s->lock | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/path.c tb_switch_is_usb4() -> usb4_switch_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |