Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/regulator/core.c regulator_get_optimal_voltage() -> regulator_check_voltage()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 1 min_uV 6608711449136197632
PARAM_VALUE 1 *min_uV (-2147483647)-s32max
PARAM_VALUE 2 max_uV 1979344950965485568
RX_PATH
TASK_NOT_RUNNING

drivers/regulator/core.c regulator_set_voltage_unlocked() -> regulator_check_voltage()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->constraints 0,4096-ptr_max
PARAM_VALUE 0 rdev->constraints->valid_ops_mask 1-u32max
PARAM_VALUE 0 rdev->desc 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *min_uV s32min-(-1),1-s32max[c]
USER_DATA 2 *max_uV s32min-(-1),1-s32max[c]
NO_OVERFLOW_SIMPLE 1 *min_uV
NO_OVERFLOW_SIMPLE 2 *max_uV
USER_PTR 1 min_uV
USER_PTR 2 max_uV

drivers/regulator/core.c regulator_sync_voltage() -> regulator_check_voltage()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->constraints 4096-ptr_max
PARAM_VALUE 0 rdev->constraints->valid_ops_mask 1-u32max
PARAM_VALUE 0 rdev->desc 4096-ptr_max
PARAM_VALUE 0 rdev->desc->ops 4096-ptr_max
PARAM_VALUE 1 min_uV 2526229332927139840
PARAM_VALUE 2 max_uV 8525069962382057472

drivers/soc/samsung/exynos-regulator-coupler.c regulator_get_optimal_voltage() -> regulator_check_voltage()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 1 min_uV 4183264226830180352
PARAM_VALUE 1 *min_uV (-2147483647)-s32max
PARAM_VALUE 2 max_uV 5491200942526623744
RX_PATH
TASK_NOT_RUNNING

drivers/soc/mediatek/mtk-regulator-coupler.c mediatek_regulator_balance_voltage() -> regulator_check_voltage()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->constraints 4096-ptr_max
PARAM_VALUE 0 rdev->constraints->max_spread 4096-ptr_max
PARAM_VALUE 1 min_uV 1743956571747127296
PARAM_VALUE 1 *min_uV (-2147483647)-s32max
PARAM_VALUE 2 max_uV 1054758268711378944
CAPPED_DATA 0 rdev 1
DATA_SOURCE 0 rdev $1
RX_PATH
TASK_NOT_RUNNING