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_enable_clx() -> tb_switch_clx_enable()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->config.depth 1
PARAM_VALUE 1 clx 7
BUF_SIZE 0 sw (-1),1968
BUF_SIZE 0 sw (-1),1968
DATA_SOURCE 0 sw $0 [m]
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_enable_clx() -> tb_switch_clx_enable()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->config.depth 1
PARAM_VALUE 0 sw->dev.parent->type 4096-ptr_max
PARAM_VALUE 1 clx 3
BUF_SIZE 0 sw (-1),1968
BUF_SIZE 0 sw (-1),1968
DATA_SOURCE 0 sw $0 [m]
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/debugfs.c margining_run_write() -> tb_switch_clx_enable()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 1 clx 0-s32max
NOCHECK_CALL
LOCK2 &attr->mutex
LOCK2 &tb->lock
TYPE_LOCK (struct simple_attr)->mutex
TYPE_LOCK (struct tb)->lock