Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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->state 0-25,27-56,58,60-66,68-72,74-u32max
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 state 42-43
PARAM_VALUE 2 ams 0
PARAM_VALUE 3 delay_ms 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 state 43
BIT_INFO 1 state 0x2a,0x2b
HARD_MAX 1 state 43
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_state()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 6
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 state 11
PARAM_VALUE 2 ams 0
PARAM_VALUE 3 delay_ms 0
CAPPED_DATA 0 port->nr_source_caps 1
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_state()

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 0,2-u32max
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->state 0-20,23-u32max
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 state 23
PARAM_VALUE 2 ams 1
PARAM_VALUE 3 delay_ms 0
CAPPED_DATA 0 port->nr_source_caps 1
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_state()

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->pwr_role 1
PARAM_VALUE 0 port->rx_msgid 0-7
PARAM_VALUE 0 port->state 0-6,8-u32max
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 state 9
PARAM_VALUE 2 ams 1
PARAM_VALUE 3 delay_ms 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_data_request() -> tcpm_pd_handle_state()

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 state 90
PARAM_VALUE 2 ams 29
PARAM_VALUE 3 delay_ms 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_data_request() -> tcpm_pd_handle_state()

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->state 0-10,12-27,29-u32max
PARAM_VALUE 0 port->tcpc 4096-ptr_max
PARAM_VALUE 1 state 42-43
PARAM_VALUE 2 ams 0
PARAM_VALUE 3 delay_ms 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 state 43
BIT_INFO 1 state 0x2a,0x2b
HARD_MAX 1 state 43
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_state()

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 state 101
PARAM_VALUE 2 ams 0
PARAM_VALUE 3 delay_ms 42
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_state()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ams 0-13,15-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 state 42-43
PARAM_VALUE 2 ams 0
PARAM_VALUE 3 delay_ms 0
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
FUZZY_MAX 1 state 43
BIT_INFO 1 state 0x2a,0x2b
HARD_MAX 1 state 43
RX_PATH
NOCHECK_CALL
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock