Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/tcpm/tcpm.c tcpm_handle_vdm_request() -> tcpm_pd_handle_msg()

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 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->negotiated_rev 2-u32max
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_state s32min-1,3-s32max
PARAM_VALUE 1 message 3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 0 port->negotiated_rev 2
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_ctrl_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 5
PARAM_VALUE 2 ams 6
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ctrl_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 4
PARAM_VALUE 2 ams 7
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0-5,7-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.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->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->nr_source_caps 0-7
PARAM_VALUE 0 port->partner_pd 1-u64max
PARAM_VALUE 0 port->pwr_role 1
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->nr_source_caps 1
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

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->explicit_contract 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.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->tcpc 4096-ptr_max
PARAM_VALUE 0 port->vdm_sm_running 1
PARAM_VALUE 1 message 2
PARAM_VALUE 2 ams 0-19,29,32-u32max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0-6,8-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.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->nr_sink_caps 0-7
PARAM_VALUE 0 port->partner_pd 1-u64max
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->sink_cap_done 1
PARAM_VALUE 0 port->sink_caps 4096-ptr_max
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->nr_sink_caps 1
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 1,3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 message 3
BIT_INFO 1 message 0x1,0x3
HARD_MAX 1 message 3
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> tcpm_pd_handle_msg()

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->batt_request_id 0-255
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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 8
PARAM_VALUE 2 ams 16
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> tcpm_pd_handle_msg()

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->batt_request_id 0-255
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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 9
PARAM_VALUE 2 ams 15
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> tcpm_pd_handle_msg()

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.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->rx_msgid 0-7
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 message 3
PARAM_VALUE 2 ams 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock