Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_discover_bandwidth_group() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | port->sw->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | port->sw->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->sw->dev.type | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_handle_dp_bandwidth_request() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 917761 |
| CAPPED_DATA | 0 | port | 1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_recalc_estimated_bandwidth_for_group() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | &port->group_list | 1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_dp_alloc_bandwidth() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_dp_allocated_bandwidth() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_dp_bandwidth_mode_consumed_bandwidth() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_maximum_bandwidth() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->lock.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->domain->pd_mode | 0-2 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->domain->pscid | (-4095)-s32max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->domain_attached | 1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->gcr3_info.domid | 0-u16max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->gcr3_info.gcr3_tbl | 0,s64max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->gcr3_info.glx | 0-3 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->priv->ppr | 1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_dp_post_deactivate() -> usb4_dp_port_bandwidth_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->config.type | 917761 |
| PARAM_VALUE | 0 | port->sw->is_unplugged | 0 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | port->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |