Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/platform/chrome/cros_typec_altmode.c cros_typec_altmode_work() -> typec_altmode_vdm()

Type Parameter Key Value
LOCK2 &data->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cros_typec_altmode_data)->lock

drivers/usb/typec/altmodes/displayport.c dp_altmode_configure_vdm() -> typec_altmode_vdm()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev.parent 4096-ptr_max
PARAM_VALUE 1 header 0,256-s32max
PARAM_VALUE 3 count 2
BIT_INFO 1 header 0x8111,0x7fffe111
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dp->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dp_altmode)->lock

drivers/usb/typec/altmodes/displayport.c dp_altmode_work() -> typec_altmode_vdm()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev.parent 4096-ptr_max
PARAM_VALUE 1 header 0,256-s32max
PARAM_VALUE 2 vdo 4462990976591216640
PARAM_VALUE 2 *vdo 1
PARAM_VALUE 3 count 2
BIT_INFO 1 header 0x8110,0x7fffe110
LOCK2 &dp->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dp_altmode)->lock

drivers/usb/typec/ucsi/displayport.c ucsi_displayport_work() -> typec_altmode_vdm()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 2 vdo 2001098545837957124
PARAM_VALUE 3 count 0-7
BUF_SIZE 2 vdo 24
CAPPED_DATA 3 count 1
DATA_SOURCE 0 adev r typec_match_altmode
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 1
RX_PATH
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 2 vdo 2001098545837957124
PARAM_VALUE 3 count 0-7
BUF_SIZE 2 vdo 24
CAPPED_DATA 3 count 1
DATA_SOURCE 0 adev r typec_match_altmode
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 1
RX_PATH
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 2 vdo 2001098545837957124
PARAM_VALUE 3 count 0-7
BUF_SIZE 2 vdo 24
CAPPED_DATA 3 count 1
DATA_SOURCE 0 adev r typec_match_altmode
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 1
RX_PATH

drivers/usb/typec/ucsi/thunderbolt.c ucsi_thunderbolt_work() -> typec_altmode_vdm()

Type Parameter Key Value
PARAM_VALUE 2 vdo 0
PARAM_VALUE 3 count 0
HALF_LOCKED2 &pool->lock

drivers/platform/chrome/cros_typec_vdm.c cros_typec_handle_vdm_response() -> typec_altmode_vdm()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 2 vdo 4096-ptr_max
BUF_SIZE 2 vdo 24
DATA_SOURCE 0 adev r typec_match_altmode
RX_PATH
TASK_NOT_RUNNING