Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->nr_sink_caps 1
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port->rx_msgid 1
DATA_SOURCE 0 port $0
RX_PATH
LOCK2 0 &port->lock
TYPE_LOCK (struct tcpm_port)->lock