Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tmu.c tb_port_tmu_enhanced_enable() -> tb_switch_tmu_enhanced_is_supported()

Type Parameter Key Value
PARAM_VALUE 0 sw 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->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
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tmu.c tb_port_tmu_rate_write() -> tb_switch_tmu_enhanced_is_supported()

Type Parameter Key Value
PARAM_VALUE 0 sw 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->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
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tmu.c tb_switch_set_tmu_mode_params() -> tb_switch_tmu_enhanced_is_supported()

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->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->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
BUF_SIZE 0 sw->dev.parent (-1),1616
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tmu.c tb_switch_tmu_configure() -> tb_switch_tmu_enhanced_is_supported()

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 &tb->lock

drivers/thunderbolt/tmu.c tb_switch_tmu_configure() -> tb_switch_tmu_enhanced_is_supported()

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 &tb->lock

drivers/thunderbolt/tmu.c tmu_mode_init() -> tb_switch_tmu_enhanced_is_supported()

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.cmuv 16,32
PARAM_VALUE 0 sw->config.enabled 1
PARAM_VALUE 0 sw->config.plug_events_delay 255
PARAM_VALUE 0 sw->is_unplugged 0
PARAM_VALUE 0 sw->ports 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_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
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->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_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
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock