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_handle_sop_prime_disc() -> typec_register_cable()

Type Parameter Key Value
PARAM_VALUE 1 desc 4894372700809486336
PARAM_VALUE 1 desc->identity 4096-ptr_max
PARAM_VALUE 1 desc->pd_revision 0-4080
PARAM_VALUE 1 desc->type 0-4
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/ucsi/ucsi.c ucsi_register_cable() -> typec_register_cable()

Type Parameter Key Value
PARAM_VALUE 1 desc 7092580494711291904
PARAM_VALUE 1 desc->identity 0,4096-ptr_max
PARAM_VALUE 1 desc->pd_revision 0,256-1024
PARAM_VALUE 1 desc->type 0-3
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/tcpm/tcpm.c svdm_consume_identity_sop_prime() -> typec_register_cable()

Type Parameter Key Value
PARAM_VALUE 1 desc 4096-ptr_max
PARAM_VALUE 1 desc->identity 4096-ptr_max
PARAM_VALUE 1 desc->pd_revision 512,768
PARAM_VALUE 1 desc->type 1-4
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock