Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tmu.c tb_switch_tmu_change_mode() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 0,16,1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_change_mode() -> tb_switch_tmu_rate_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->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->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.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->tmu.mode | 1-3 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 3 |
| PARAM_VALUE | 1 | rate | 0,16,1000 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_change_mode_prev() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 0,16,1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_change_mode_prev() -> tb_switch_tmu_rate_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->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->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_on | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tmu.mode | 3 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 1-3 |
| PARAM_VALUE | 1 | rate | 0,16,1000 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_disable() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tmu.mode | 1-u32max |
| PARAM_VALUE | 1 | rate | 0 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| 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_disable() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->tmu.mode | 1-u32max |
| PARAM_VALUE | 1 | rate | 0 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| CAPPED_DATA | 0 | sw | 1 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_enable() -> tb_switch_tmu_rate_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->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->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 | 1 | rate | 0,16,1000 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| DATA_SOURCE | 0 | sw | $0 |
| PARAM_COMPARE | 0 | sw->tmu.mode | <= $0->tmu.mode_request |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_enable_bidirectional() -> tb_switch_tmu_rate_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->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->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.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->tmu.mode | 0 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 3 |
| PARAM_VALUE | 1 | rate | 16 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_enable_unidirectional() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 0,16,1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_off() -> tb_switch_tmu_rate_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rate | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tmu.c tb_switch_tmu_off() -> tb_switch_tmu_rate_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->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->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_on | 0 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sw->tmu.mode | 0 |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 1-4 |
| PARAM_VALUE | 1 | rate | 0 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |