Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/platform/chrome/cros_typec_altmode.c cros_typec_register_displayport() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 1 data 280
DATA_SOURCE 0 altmode r typec_port_register_altmode
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 altmode->priority

drivers/platform/chrome/cros_typec_altmode.c cros_typec_register_thunderbolt() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 1 data 280
DATA_SOURCE 0 altmode r typec_port_register_altmode
DATA_SOURCE 1 data r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 altmode->priority

drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode->desc 12
BUF_SIZE 1 data 296
DATA_SOURCE 0 altmode $0
DATA_SOURCE 1 data r devm_kzalloc
STR_LEN 0 altmode->desc 11
TERMINATED 0 altmode->desc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 0 altmode->cable_ops 24
BUF_SIZE 0 altmode->desc 12
BUF_SIZE 1 data 296
DATA_SOURCE 0 altmode r typec_altmode_get_plug
DATA_SOURCE 1 data r devm_kzalloc
STR_LEN 0 altmode->desc 11
TERMINATED 0 altmode->desc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/ucsi/displayport.c ucsi_register_displayport() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 1 data 136
DATA_SOURCE 0 altmode r typec_port_register_altmode
DATA_SOURCE 1 data r devm_kzalloc
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 altmode->priority
LOCK2 &con->lock
LOCK2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/altmodes/thunderbolt.c tbt_altmode_probe() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode->desc 13
BUF_SIZE 1 data 280
DATA_SOURCE 0 altmode $0
DATA_SOURCE 1 data r devm_kzalloc
STR_LEN 0 altmode->desc 12
TERMINATED 0 altmode->desc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/altmodes/thunderbolt.c tbt_ready() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 0 altmode->cable_ops 24
BUF_SIZE 0 altmode->desc 13
BUF_SIZE 1 data s32min-(-2),1-s32max
DATA_SOURCE 0 altmode r typec_altmode_get_plug
STR_LEN 0 altmode->desc 12
TERMINATED 0 altmode->desc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 data unit_byte
HALF_LOCKED2 &tbt->lock

drivers/usb/typec/ucsi/thunderbolt.c ucsi_register_thunderbolt() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 1 data 104
DATA_SOURCE 0 altmode r typec_port_register_altmode
DATA_SOURCE 1 data r devm_kzalloc
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 altmode->priority
LOCK2 &con->lock
LOCK2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/class.c typec_port_register_altmodes() -> typec_altmode_set_drvdata()

Type Parameter Key Value
PARAM_VALUE 0 altmode 4096-ptr_max
PARAM_VALUE 1 data 4096-ptr_max
BUF_SIZE 0 altmode 1656
BUF_SIZE 1 data 744
BUF_SIZE 1 data 744
DATA_SOURCE 0 altmode r typec_port_register_altmode
DATA_SOURCE 1 data $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 altmode->priority