Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/tcpm/tcpm.c tcpm_aug_set_op_curr() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_supported 1
PARAM_VALUE 0 port->spr_avs_data.active 1
PARAM_VALUE 0 port->state 28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 24-25
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->upcoming_state 25
BIT_INFO 0 port->upcoming_state 0x18,0x19
HARD_MAX 0 port->upcoming_state 25
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_aug_set_out_volt() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_supported 1
PARAM_VALUE 0 port->spr_avs_data.active 1
PARAM_VALUE 0 port->state 28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 24-25
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->upcoming_state 25
BIT_INFO 0 port->upcoming_state 0x18,0x19
HARD_MAX 0 port->upcoming_state 25
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_dr_set() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_capable 1
PARAM_VALUE 0 port->state 11,28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->typec_caps.data 2
PARAM_VALUE 0 port->upcoming_state 46
PARAM_VALUE 1 ams 10
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port r typec_get_drvdata
BIT_INFO 0 port->state 0x8,0x1f
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &p->port_type_lock
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock
TYPE_LOCK (struct typec_port)->port_type_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_enable_frs_work() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->connected 1
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->task->blocked_on 0
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->negotiated_rev 2-u32max
PARAM_VALUE 0 port->port_type 2
PARAM_VALUE 0 port->pwr_opmode 3
PARAM_VALUE 0 port->sink_cap_done 0
PARAM_VALUE 0 port->state 28
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 0 port->tcpc->enable_frs 1-u64max
PARAM_VALUE 0 port->upcoming_state 95
PARAM_VALUE 0 port->vdm_discovery_state 1-u32max
PARAM_VALUE 0 port->vdm_sm_running 0
PARAM_VALUE 1 ams 7
CAPPED_DATA 0 &port->lock 1
FUZZY_MAX 0 port->negotiated_rev 2
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_handle_alert() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0-19,29,32-u32max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
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->pwr_role 1
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->state 11,28
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 0 port->upcoming_state 91
PARAM_VALUE 1 ams 14
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
BIT_INFO 0 port->state 0x8,0x1f
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_set() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->caps_count 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->task->blocked_on 0
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->pd_list 4096-ptr_max
PARAM_VALUE 0 port->state 7-9,11-12
PARAM_VALUE 0 port->upcoming_state 7
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
DATA_SOURCE 0 port r typec_get_drvdata
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &port->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_set() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_capable 1
PARAM_VALUE 0 port->pd_list 4096-ptr_max
PARAM_VALUE 0 port->spr_avs_data.active 0
PARAM_VALUE 0 port->state 23-28
PARAM_VALUE 0 port->upcoming_state 23-24
PARAM_VALUE 0 port->update_sink_caps 1
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
DATA_SOURCE 0 port r typec_get_drvdata
FUZZY_MAX 0 port->upcoming_state 24
BIT_INFO 0 port->upcoming_state 0x10,0x1f
HARD_MAX 0 port->upcoming_state 24
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &port->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tcpm_port)->lock

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

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.first_waiter->task->blocked_on 0
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->logbuffer_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->negotiated_rev 1-2
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->tcpc->attempt_vconn_swap_discovery 1-u64max
PARAM_VALUE 0 port->upcoming_state 63
PARAM_VALUE 0 port->vconn_role 0,2-u32max
PARAM_VALUE 0 port->vdm_discovery_state 1
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
PARAM_VALUE 1 ams 11
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->vdm_state 0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pps_activate() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_supported 1
PARAM_VALUE 0 port->pps_data.active 1
PARAM_VALUE 0 port->pps_data.supported 1
PARAM_VALUE 0 port->state 28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 23-24
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->upcoming_state 24
BIT_INFO 0 port->upcoming_state 0x10,0x1f
HARD_MAX 0 port->upcoming_state 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pr_set() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->port_type 2
PARAM_VALUE 0 port->state 11,28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 51
PARAM_VALUE 1 ams 8
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port r typec_get_drvdata
BIT_INFO 0 port->state 0x8,0x1f
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &p->port_type_lock
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock
TYPE_LOCK (struct typec_port)->port_type_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_spr_avs_activate() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->pd_supported 1
PARAM_VALUE 0 port->spr_avs_data.active 1
PARAM_VALUE 0 port->spr_avs_data.port_partner_src_status 0,2-u32max
PARAM_VALUE 0 port->spr_avs_data.port_snk_status 0,2-u32max
PARAM_VALUE 0 port->state 28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 23,25
PARAM_VALUE 1 ams 1
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->upcoming_state 25
BIT_INFO 0 port->upcoming_state 0x11,0x1f
HARD_MAX 0 port->upcoming_state 25
RX_PATH
TASK_NOT_RUNNING
UNITS 0 port unit_byte
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock

drivers/usb/typec/tcpm/tcpm.c tcpm_vconn_set() -> tcpm_ams_start()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
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->task->blocked_on 0
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->state 11,28
PARAM_VALUE 0 port->swap_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->swap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->swap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->swap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->swap_lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->swap_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 port->upcoming_state 63
PARAM_VALUE 1 ams 11
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->lock 1
CAPPED_DATA 0 &port->swap_lock 1
DATA_SOURCE 0 port r typec_get_drvdata
BIT_INFO 0 port->state 0x8,0x1f
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &port->lock
LOCK2 0 &port->swap_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tcpm_port)->lock
TYPE_LOCK (struct tcpm_port)->swap_lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 20
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 22
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 23
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 24
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 25
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 28
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 1
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->state 11,28,102
PARAM_VALUE 0 port->vdm_state 1
PARAM_VALUE 0 port->vdo_data 4096-ptr_max
PARAM_VALUE 1 ams 31
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->state 102
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock