Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tunnel.c tb_dp_bandwidth_alloc_mode_enable() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| CAPPED_DATA | 0 | rate | 1 |
| CAPPED_DATA | 1 | lanes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_bandwidth_alloc_mode_enable() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100,10000,13500,20000 |
| PARAM_VALUE | 1 | lanes | 1-2,4 |
| CAPPED_DATA | 0 | rate | 1 |
| CAPPED_DATA | 1 | lanes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_bandwidth_mode_maximum_bandwidth() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100,10000,13500,20000 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate_ext |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_consumed_bandwidth() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_consumed_bandwidth() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_dump() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_dump() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_dump() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_reduce_bandwidth() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0-8100 |
| PARAM_VALUE | 1 | lanes | 0-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_xchg_caps() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_xchg_caps() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0,1620,2700,5400,8100 |
| PARAM_VALUE | 1 | lanes | 0-2,4 |
| DATA_SOURCE | 0 | rate | r tb_dp_cap_get_rate |
| DATA_SOURCE | 1 | lanes | r tb_dp_cap_get_lanes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_dp_xchg_caps() -> tb_dp_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate | 0-8100 |
| PARAM_VALUE | 1 | lanes | 0-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |