Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/platform/x86/intel/ishtp_eclite.c ecl_ishtp_cl_init() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->state 0
PARAM_VALUE 1 state 1
BUF_SIZE 0 cl 800
BUF_SIZE 0 cl 800
DATA_SOURCE 0 cl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/intel/ishtp_eclite.c ecl_ishtp_cl_probe() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->state 0-1
PARAM_VALUE 1 state 3
BUF_SIZE 0 cl 800
BUF_SIZE 0 cl 800
CAPPED_DATA 0 cl 1
DATA_SOURCE 0 cl r ishtp_cl_allocate
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/intel/ishtp_eclite.c ecl_ishtp_cl_remove() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 1 state 3
BUF_SIZE 0 cl 800
BUF_SIZE 0 cl 800
DATA_SOURCE 0 cl r ishtp_get_drvdata
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_destroy_connection() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 1-u64max
PARAM_VALUE 1 state 4
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
DATA_SOURCE 0 cl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &init_lock

drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_destroy_connection() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->state 0-3,5-u32max
PARAM_VALUE 1 state 3
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
CAPPED_DATA 0 cl 1
DATA_SOURCE 0 cl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &init_lock

drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_establish_connection() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->state 0,3-4
PARAM_VALUE 1 state 0
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
CAPPED_DATA 0 cl 1
DATA_SOURCE 0 cl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &init_lock

drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_establish_connection() -> ishtp_set_connection_state()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->state 0
PARAM_VALUE 1 state 1
BUF_SIZE 0 cl (-1),800
BUF_SIZE 0 cl (-1),800
CAPPED_DATA 0 cl 1
DATA_SOURCE 0 cl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &init_lock