Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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->src_pdos 0-4294967295
PARAM_VALUE 1 recipient 0-2
PARAM_VALUE 2 svid 1-u16max
BUF_SIZE 0 con->port (-1),2136
BUF_SIZE 0 con->wq (-1),512,528-8720
CAPPED_DATA 2 svid 1
CAPPED_DATA 3 existing_vdo 1
CAPPED_DATA 4 new_vdo 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 recipient $1
DATA_SOURCE 2 svid $4
DATA_SOURCE 3 existing_vdo $5
DATA_SOURCE 4 new_vdo $5
DATA_SOURCE 5 offset $6
BIT_INFO 0 con->ucsi->cap.features 0x4,0xffffffffffffffff
HARD_MAX 1 recipient 2
NOCHECK_CALL
LOCK2 0 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

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

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->port_altmode 4096-ptr_max
PARAM_VALUE 0 con->ucsi 4096-ptr_max
PARAM_VALUE 0 con->ucsi->ops 4096-ptr_max
PARAM_VALUE 0 *con->src_pdos 0-4294967295
PARAM_VALUE 1 recipient 1
PARAM_VALUE 2 svid 1-u16max
BUF_SIZE 0 con->port (-1),2136
BUF_SIZE 0 con->wq (-1),512,528-8720
CAPPED_DATA 2 svid 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 recipient $1
DATA_SOURCE 2 svid $4
DATA_SOURCE 4 new_vdo $5
DATA_SOURCE 5 offset $6
BIT_INFO 0 con->ucsi->cap.features 0x4,0xffffffffffffffff
NOCHECK_CALL
LOCK2 0 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

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

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->src_pdos 0-4294967295
PARAM_VALUE 1 recipient 0,2
PARAM_VALUE 2 svid 1-u16max
BUF_SIZE 0 con->port (-1),2136
BUF_SIZE 0 con->wq (-1),512,528-8720
CAPPED_DATA 2 svid 1
CAPPED_DATA 4 new_vdo 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 recipient $1
DATA_SOURCE 2 svid $4
DATA_SOURCE 4 new_vdo $5
DATA_SOURCE 5 offset $6
BIT_INFO 0 con->ucsi->cap.features 0x4,0xffffffffffffffff
NOCHECK_CALL
LOCK2 0 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock