Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/platform/chrome/cros_ec_typec.c cros_typec_register_altmodes() -> typec_plug_register_altmode()

Type Parameter Key Value
PARAM_VALUE 1 desc 343230201600012288
MEM_ZERO 1 desc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_register_altmode() -> typec_plug_register_altmode()

Type Parameter Key Value
PARAM_VALUE 1 desc 2283276497289809920,6454239552941371392
PARAM_VALUE 1 desc->mode 1-255
PARAM_VALUE 1 desc->roles 2
PARAM_VALUE 1 desc->svid 1-u16max
CAPPED_DATA 1 desc->svid 1
DATA_SOURCE 1 desc $1
MEM_ZERO 1 desc
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_register_plug_altmodes() -> typec_plug_register_altmode()

Type Parameter Key Value
PARAM_VALUE 1 desc 4096-ptr_max
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock