Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/ucsi/ucsi.c ucsi_register_altmodes() -> ucsi_altmode_is_duplicate()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->lock.dep_map->name 0-255
PARAM_VALUE 0 con->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 con->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->lock.wait_lock.owner (-1)
PARAM_VALUE 0 con->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->partner_altmode 4096-ptr_max
PARAM_VALUE 0 con->ucsi 4096-ptr_max
PARAM_VALUE 0 con->ucsi->complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 con->ucsi->ops 4096-ptr_max
PARAM_VALUE 0 con->ucsi->ppm_lock.dep_map->name 0-255
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 con->ucsi->ppm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 con->ucsi->ppm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *con->src_pdos 0-4294967295
PARAM_VALUE 1 recipient 0-2
PARAM_VALUE 2 alt_batch 1156943013596893184
PARAM_VALUE 3 batch_idx 0-357913940
PARAM_VALUE 4 svid 1-u16max
BUF_SIZE 0 con->port (-1),2136
BUF_SIZE 0 con->wq (-1),512,528-8720
BUF_SIZE 2 alt_batch 12
CAPPED_DATA 3 batch_idx 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 recipient $1
BIT_INFO 0 con->ucsi->cap.features 0x4,0xffffffffffffffff
HARD_MAX 1 recipient 2
LOCK2 0 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_register_altmodes_nvidia() -> ucsi_altmode_is_duplicate()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->lock.dep_map->name 0-255
PARAM_VALUE 0 con->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 con->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 con->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->lock.wait_lock.owner (-1)
PARAM_VALUE 0 con->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->partner_altmode 4096-ptr_max
PARAM_VALUE 0 con->pd->id s32min-s32max
PARAM_VALUE 0 con->pd->version 0-u16max
PARAM_VALUE 0 con->port->id 0-4294967295
PARAM_VALUE 0 con->port->ops 0-s64max
PARAM_VALUE 0 con->port->prefer_role s32min-s32max
PARAM_VALUE 0 con->ucsi 4096-ptr_max
PARAM_VALUE 0 con->ucsi->ops 4096-ptr_max
PARAM_VALUE 0 con->ucsi->ops->update_altmodes 1-u64max
PARAM_VALUE 0 *con->src_pdos 0-4294967295
PARAM_VALUE 1 recipient 0-2
PARAM_VALUE 2 alt_batch 1069028092208160768,3470180762748923904
PARAM_VALUE 3 batch_idx 0-254
PARAM_VALUE 4 svid 1-u16max
PARAM_VALUE 6 offset 0-254
BUF_SIZE 0 con->port (-1),2136
BUF_SIZE 0 con->wq (-1),512,528-8720
BUF_SIZE 2 alt_batch 180
BUF_SIZE 2 alt_batch 180
CAPPED_DATA 3 batch_idx 1
CAPPED_DATA 6 offset 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 recipient $1
BIT_INFO 0 con->ucsi->cap.features 0x4,0xffffffffffffffff
BIT_INFO 2 alt_batch 0x8300820b2000,0x3efdff66defb3000
BIT_INFO 2 alt_batch 0x8300820b2000,0x3efdff66defb3000
HARD_MAX 1 recipient 2
LOCK2 0 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock