Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/platform/chrome/cros_ec_typec.c cros_typec_set_port_params_v0() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 orientation 0-2
CAPPED_DATA 0 port->pwr_role 1
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/chrome/cros_ec_typec.c cros_typec_set_port_params_v1() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 0-2
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/typec/ucsi/ucsi.c ucsi_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-4294967295
PARAM_VALUE 1 orientation 0
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-4294967295
PARAM_VALUE 1 orientation 1
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi.c ucsi_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->data_role 0-4294967295
PARAM_VALUE 1 orientation 2
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi_yoga_c630.c yoga_c630_ucsi_read_port0_status() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 orientation 1-2
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
NOCHECK_CALL

drivers/usb/typec/tipd/core.c cd321x_update_work() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 orientation 0-2
CAPPED_DATA 0 port->pwr_opmode 1
CAPPED_DATA 0 port->pwr_role 1
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/tipd/core.c tps6598x_connect() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 orientation 2
CAPPED_DATA 0 port->pwr_opmode 1
CAPPED_DATA 0 port->pwr_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tps->lock

drivers/usb/typec/tipd/core.c tps6598x_connect() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 orientation 1
CAPPED_DATA 0 port->pwr_opmode 1
CAPPED_DATA 0 port->pwr_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tps->lock

drivers/usb/typec/tipd/core.c tps6598x_disconnect() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->vconn_role 0-1
PARAM_VALUE 1 orientation 0
CAPPED_DATA 0 port->pwr_opmode 1
CAPPED_DATA 0 port->pwr_role 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &tps->lock

drivers/usb/typec/anx7411.c anx7411_detect_cc_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/usb/typec/anx7411.c anx7411_detect_cc_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/usb/typec/ucsi/ucsi_glink.c pmic_glink_ucsi_connector_status() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 0
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/ucsi/ucsi_glink.c pmic_glink_ucsi_connector_status() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 1-2
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_mux_set() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 1 orientation 0-2
DATA_SOURCE 1 orientation $3
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c gaokun_set_orientation() -> typec_set_orientation()

Type Parameter Key Value
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
NOCHECK_CALL
LOCK2 &con->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ucsi_connector)->lock

drivers/extcon/extcon-usbc-tusb320.c tusb320_typec_irq_handler() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 orientation 1-2
FUZZY_MAX 1 orientation 2
HARD_MAX 1 orientation 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/bridge/analogix/anx7625.c anx7625_typec_set_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 orientation 1
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/gpu/drm/bridge/analogix/anx7625.c anx7625_typec_set_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 orientation 2
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/gpu/drm/bridge/analogix/anx7625.c anx7625_typec_set_orientation() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PARAM_VALUE 1 orientation 0
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->lock

drivers/usb/typec/wusb3801.c wusb3801_hw_update() -> typec_set_orientation()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 orientation 0-2
BUF_SIZE 0 port (-1),2136
BUF_SIZE 0 port (-1),2136
CAPPED_DATA 0 port->pwr_opmode 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL