Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/ucsi/ucsi.c ucsi_check_altmodes() -> ucsi_get_num_altmode()

Type Parameter Key Value
PARAM_VALUE 0 alt 4096-ptr_max
BUF_SIZE 0 alt 240
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_check_cable() -> ucsi_get_num_altmode()

Type Parameter Key Value
PARAM_VALUE 0 alt 4096-ptr_max
BUF_SIZE 0 alt 240
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock