Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/tcpm/tcpm.c tcpm_handle_discover_mode() -> tcpm_register_partner_altmodes()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0
PARAM_VALUE 0 port->attached 1
PARAM_VALUE 0 port->cable 0,4096-u64max
PARAM_VALUE 0 port->in_ams 0
PARAM_VALUE 0 port->lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->partner_altmode 4096-ptr_max
PARAM_VALUE 0 port->port_altmode 4096-ptr_max
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 0 port->vdm_sm_running 1
PARAM_VALUE 0 port->vdm_state s32min-1,3-s32max
PARAM_VALUE 0 port->wq->task->delays->blkio_count 0-4294967295
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_max 0-s64max
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_min 0-s64max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_state 0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_handle_discover_mode() -> tcpm_register_partner_altmodes()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0
PARAM_VALUE 0 port->attached 1
PARAM_VALUE 0 port->in_ams 0
PARAM_VALUE 0 port->lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->logbuffer_lock.dep_map->name 0-255
PARAM_VALUE 0 port->logbuffer_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->logbuffer_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->logbuffer_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->partner_altmode 4096-ptr_max
PARAM_VALUE 0 port->plug_prime->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 port->plug_prime->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 port->plug_prime->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 port->plug_prime->dev.kobj.sd->active.counter s32min-s32max
PARAM_VALUE 0 port->plug_prime->dev.kobj.sd->count.counter s32min-s32max
PARAM_VALUE 0 port->plug_prime->dev.kobj.sd->flags 0-u16max
PARAM_VALUE 0 port->plug_prime->dev.kobj.sd->hash 0-4294967295
PARAM_VALUE 0 port->plug_prime->dev.kobj.sd->mode 0-u16max
PARAM_VALUE 0 port->plug_prime->dev.kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 port->plug_prime->dev.kobj.state_in_sysfs 0-1
PARAM_VALUE 0 port->plug_prime->dev.kobj.state_initialized 0-1
PARAM_VALUE 0 port->plug_prime->dev.kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 port->plug_prime->dev.kobj.uevent_suppress 0-1
PARAM_VALUE 0 port->plug_prime->num_altmodes 0-96
PARAM_VALUE 0 port->port_altmode 4096-ptr_max
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 0 port->vdm_sm_running 1
PARAM_VALUE 0 port->vdm_state s32min-1,3-s32max
PARAM_VALUE 0 port->wq->task->delays->blkio_count 0-4294967295
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_max 0-s64max
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_min 0-s64max
CAPPED_DATA 0 port->mode_data_prime.altmodes 1
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_state 0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_svdm() -> tcpm_register_partner_altmodes()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0
PARAM_VALUE 0 port->attached 1
PARAM_VALUE 0 port->in_ams 0
PARAM_VALUE 0 port->lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 port->partner 1-ptr_max
PARAM_VALUE 0 port->partner_altmode 4096-ptr_max
PARAM_VALUE 0 port->port_altmode 4096-ptr_max
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 0 port->vdm_discovery_state 5
PARAM_VALUE 0 port->vdm_sm_running 1
PARAM_VALUE 0 port->vdm_state s32min-1,3-s32max
PARAM_VALUE 0 port->wq->task->delays->blkio_count 0-4294967295
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_max 0-s64max
PARAM_VALUE 0 port->wq->task->delays->blkio_delay_min 0-s64max
PARAM_VALUE 0 port->wq->task->sched_task_group->idle s32min-s32max
PARAM_VALUE 0 port->wq->task->sched_task_group->shares 0-s64max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_state 0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c vdm_run_state_machine() -> tcpm_register_partner_altmodes()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0
PARAM_VALUE 0 port->in_ams 0
PARAM_VALUE 0 port->lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 0-101,103-u32max
PARAM_VALUE 0 port->tx_sop_type 1-u32max
PARAM_VALUE 0 port->vdm_retries 3-u32max
PARAM_VALUE 0 port->vdm_state (-2)
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_retries 3
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c vdm_run_state_machine() -> tcpm_register_partner_altmodes()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0
PARAM_VALUE 0 port->in_ams 0
PARAM_VALUE 0 port->lock.dep_map->name 0-255
PARAM_VALUE 0 port->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 0-101,103-u32max
PARAM_VALUE 0 port->tx_sop_type 1-u32max
PARAM_VALUE 0 port->vdm_retries 3-u32max
PARAM_VALUE 0 port->vdm_state (-2)
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_retries 3
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock