Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/typec/ucsi/psy.c ucsi_psy_get_current_max() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/pd.c current_show() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/typec/rt1719.c rt1719_update_operating_status() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/rt1719.c rt1719_update_operating_status() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 0,32818,32868,32918,32968,33018,33068,33118,33168,33218,33268
CAPPED_DATA 0 pdo 1
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/tcpm/tcpm.c tcpm_log_source_caps() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_log_source_caps() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_parse_snk_pdos() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 1-u32max

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_build_request() -> pdo_max_current()

Type Parameter Key Value

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_build_request() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 0

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_build_request() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 0

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_build_request() -> pdo_max_current()

Type Parameter Key Value

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_build_request() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 0

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_check_request() -> pdo_max_current()

Type Parameter Key Value
PARAM_VALUE 0 pdo 0

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_select_pdo() -> pdo_max_current()

Type Parameter Key Value

drivers/usb/typec/tcpm/tcpm.c tcpm_psy_get_input_power_limit() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_rp_cc() -> pdo_max_current()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &port->lock