Defined in 1 files as a function:
Referenced in 8 files:
- drivers/thunderbolt/cap.c, line 44
- drivers/thunderbolt/clx.c, line 297
- drivers/thunderbolt/debugfs.c, line 257
- drivers/thunderbolt/eeprom.c, line 20
- drivers/thunderbolt/lc.c
- drivers/thunderbolt/switch.c
- drivers/thunderbolt/tmu.c
- drivers/thunderbolt/usb4.c
Smatch caller information:
drivers/thunderbolt/usb4.c usb4_native_switch_op() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dma_port->base | 0-4294967295 |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops->usb4_switch_op | 0,4621816072277250048 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 25 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| DATA_SOURCE | 1 | buffer | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | buffer | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &sw->tb->lock |
drivers/thunderbolt/usb4.c usb4_native_switch_op() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dma_port->base | 0-4294967295 |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops->usb4_switch_op | 0,4621816072277250048 |
| PARAM_VALUE | 1 | buffer | 0,2839573137693999104 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 9 |
| PARAM_VALUE | 4 | length | 1-16 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| BUF_SIZE | 1 | buffer | (-1),64 |
| BUF_SIZE | 1 | buffer | (-1),64 |
| CAPPED_DATA | 4 | length | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| DATA_SOURCE | 1 | buffer | $4 |
| DATA_SOURCE | 4 | length | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &sw->tb->lock |
drivers/thunderbolt/usb4.c usb4_native_switch_op() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->dma_port->base | 0-4294967295 |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->cm_ops->usb4_switch_op | 0,4621816072277250048 |
| PARAM_VALUE | 1 | buffer | 3698240846962159616 |
| PARAM_VALUE | 1 | *buffer | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 26 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw | (-1),16 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &sw->tb->lock |
drivers/thunderbolt/usb4.c usb4_switch_configuration_valid() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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->tmu.mode_request | 0-4 |
| PARAM_VALUE | 1 | buffer | 7380844504977793024 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 5 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/usb4.c usb4_switch_set_sleep() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 3743256845224173568 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 5 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/usb4.c usb4_switch_set_wake() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 4939538197757014016 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 5 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/usb4.c usb4_switch_setup() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.cmuv | 16,32 |
| PARAM_VALUE | 0 | sw->config.enabled | 1 |
| PARAM_VALUE | 0 | sw->config.plug_events_delay | 255 |
| PARAM_VALUE | 0 | sw->dev.parent | 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->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->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 1274342818704789504 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 5 |
| PARAM_VALUE | 4 | length | 1 |
| 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 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->config.cmuv | 32 |
| BIT_INFO | 0 | sw->config.cmuv | 0x0,0x30 |
| HARD_MAX | 0 | sw->config.cmuv | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_plug_events_active() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.enabled | 1 |
| 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->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 8263843895039180800 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| 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 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_configure() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.cmuv | 16,32 |
| PARAM_VALUE | 0 | sw->config.enabled | 1 |
| PARAM_VALUE | 0 | sw->config.plug_events_delay | 255 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 1 |
| PARAM_VALUE | 4 | length | 4 |
| 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 |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->config.cmuv | 32 |
| BIT_INFO | 0 | sw->config.cmuv | 0x0,0x30 |
| HARD_MAX | 0 | sw->config.cmuv | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_configure() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->cap_plug_events | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->config.enabled | 1 |
| PARAM_VALUE | 0 | sw->config.plug_events_delay | 255 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 1 |
| PARAM_VALUE | 4 | length | 4 |
| 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 |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_pcie_bridge_write() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| 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.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 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->generation | 3 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 1 | *buffer | 207095473,209192625 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &tb->lock | ||
| LOCK2 | 0 | &sw->tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/switch.c tb_switch_pcie_bridge_write() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| 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.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 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->generation | 3 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 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.dep_map->name | 0-255 |
| 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_on | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buffer | 8310225011966488576 |
| PARAM_VALUE | 1 | *buffer | 1084228931,1084260675 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &tb->lock | ||
| LOCK2 | 0 | &sw->tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/switch.c tb_switch_reset_host() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 0-1 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| 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->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.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->blocked_on | 0 |
| 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 | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 2 |
| PARAM_VALUE | 4 | length | 2 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 12 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->generation | 1 |
| HARD_MAX | 0 | sw->generation | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/eeprom.c tb_eeprom_ctl_write() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->cap_plug_events | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| 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->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->request_queue_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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 | 1 | buffer | 4948005100561674240,5052735087039582208,8719767316612759552 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 0-3,2147483652-u32max |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_set_tmu_mode_params() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| 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->dma_port->base | 0-4294967295 |
| 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->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->frame_pool->next_block->next_block | 0 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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->tmu.mode | 0-3 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 1-4 |
| PARAM_VALUE | 1 | buffer | 1992836366483488768 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_set_tmu_mode_params() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| 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->dma_port->base | 0-4294967295 |
| 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->dma_uses_io_tlb | 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->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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->tmu.mode | 0-3 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 1-4 |
| PARAM_VALUE | 1 | buffer | 1992836366483488768 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_set_tmu_mode_params() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| 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->dma_port->base | 0-4294967295 |
| 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->dma_uses_io_tlb | 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->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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->tmu.mode | 0-3 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 1-4 |
| PARAM_VALUE | 1 | buffer | 1992836366483488768 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_disable_objections() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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->tmu.mode_request | 1-2 |
| PARAM_VALUE | 1 | buffer | 5031261870463950848 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_post_time() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb | 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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->root_switch | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->root_switch->tmu.cap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->tmu.mode | 0 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 0-4 |
| PARAM_VALUE | 1 | buffer | 5804746179074412544 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 2 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 8 |
| CAPPED_DATA | 0 | sw->tmu.mode_request | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_post_time() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 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->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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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->root_switch | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->root_switch->tmu.cap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->tmu.mode | 0 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 0-4 |
| PARAM_VALUE | 1 | buffer | 7028517951514439680 |
| PARAM_VALUE | 1 | *buffer | (-4294967295) |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 2 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 8 |
| CAPPED_DATA | 0 | sw->tmu.mode_request | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_post_time() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 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->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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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->root_switch | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tb->root_switch->tmu.cap | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->tmu.mode | 0 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 0-4 |
| PARAM_VALUE | 1 | buffer | 2645200654066470912 |
| PARAM_VALUE | 1 | *buffer | 0 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 4 |
| CAPPED_DATA | 0 | sw->tmu.mode_request | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_rate_write() -> tb_sw_write()
| 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 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 2744274013877784576 |
| PARAM_VALUE | 1 | *buffer | 0-u16max,1048576-1114111,65536000-65601535 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 1 | buffer | 4 |
| CAPPED_DATA | 0 | sw | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_set_time_disruption() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 8968621572242538496 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/clx.c tb_switch_mask_clx_objections() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5607,5610,5615 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| PARAM_VALUE | 0 | sw->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | sw->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.parent->type | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 6454700610116911104 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 2 |
| BUF_SIZE | 1 | buffer | 8 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | length | unit_array_size |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c __tb_lc_xhci_connect() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 3 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 7507851326480039936 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_dp_sink_alloc() -> tb_sw_write()
| 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->generation | 3-u32max |
| 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->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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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->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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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 | 1 | buffer | 997614912004468736 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->generation | 3 |
| LOCK2 | &pool->lock | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_dp_sink_dealloc() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->generation | 3-u32max |
| 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->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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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->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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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 | 1 | buffer | 6179017383483125760 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->generation | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_force_power() -> tb_sw_write()
| 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->no_nvm_upgrade | 0 |
| PARAM_VALUE | 0 | sw->nvm | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->nvm->flushed | 1 |
| PARAM_VALUE | 0 | sw->nvm->vops->validate | 0,4969815085320704000,8746475639591444480 |
| PARAM_VALUE | 0 | sw->nvm->vops->write_headers | 0,8395314951524048896 |
| PARAM_VALUE | 0 | sw->tb | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 7153482491017093120 |
| PARAM_VALUE | 1 | *buffer | u16max |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 1856 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &sw->tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_reset_port() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 2332218407519084544 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_reset_port() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| 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->dma_uses_io_tlb | 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->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 2332218407519084544 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/lc.c tb_lc_set_port_configured() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 6553295037959770112 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_set_sleep() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->cap_lc | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->ports | 4096-ptr_max |
| 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->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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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->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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| 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 | 1 | buffer | 7728009318450659328 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 150-57734 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_set_wake_one() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->cap_lc | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| 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->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->frame_pool->next_block->next_block | 0 |
| 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->blocked_on | 0 |
| 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 |
| PARAM_VALUE | 1 | buffer | 2816332095034925056 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 150-57734 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_set_xdomain_configured() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 3942897684170620928 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/lc.c tb_lc_start_lane_initialization() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->generation | 2-u32max |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 6049491795685994496 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 0 | sw->generation | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/debugfs.c regs_write() -> tb_sw_write()
| 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-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | sw->tb->lock.first_waiter->list.prev->next | 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 |
| PARAM_VALUE | 1 | buffer | 8232356891273908224 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 0 | sw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | 4 |
| DATA_SOURCE | 0 | sw | $0 |
| UNITS | 0 | sw | unit_array_size |
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/cap.c tb_port_enable_tmu() -> tb_sw_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 5395,5402 |
| PARAM_VALUE | 0 | sw->config.vendor_id | 32902 |
| PARAM_VALUE | 0 | sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| 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_on | 0 |
| 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 | 1 | buffer | 8106614253612593152 |
| PARAM_VALUE | 2 | space | 2 |
| PARAM_VALUE | 3 | offset | 38,42 |
| PARAM_VALUE | 4 | length | 1 |
| BUF_SIZE | 1 | buffer | 4 |
| FUZZY_MAX | 3 | offset | 42 |
| BIT_INFO | 3 | offset | 0x22,0x3f |
| HARD_MAX | 3 | offset | 42 |
| RX_PATH | |||
| TASK_NOT_RUNNING |