Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/usb/typec/ucsi/ucsi.c ucsi_altmode_update_active() -> typec_altmode_get_partner()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &con->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_unregister_altmodes() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &con->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/altmodes/displayport.c dp_altmode_probe() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/ucsi/displayport.c ucsi_displayport_enter() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
BUF_SIZE 0 adev 1656
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dp->lock

drivers/usb/typec/ucsi/displayport.c ucsi_displayport_exit() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
BUF_SIZE 0 adev 1656
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dp->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tbt->lock

drivers/usb/typec/ucsi/displayport.c ucsi_displayport_vdm() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
BUF_SIZE 0 adev 1656
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &dp->lock

drivers/usb/typec/mode_selection.c altmode_add_to_list() -> typec_altmode_get_partner()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max