Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/thunderbolt/switch.c tb_switch_link_init() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_link_init() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_set_link_width() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | width | 1 |
| DATA_SOURCE | 0 | width | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/xdomain.c tb_xdomain_get_properties() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/thunderbolt/debugfs.c validate_margining() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | width | 0-7,9-s32max |
| DATA_SOURCE | 0 | width | r tb_port_get_link_width |
| LOCK2 | &attr->mutex | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/debugfs.c validate_margining() -> tb_width_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | width | 8 |
| LOCK2 | &attr->mutex | ||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |