Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/core.c, line 475 (as a function)
- include/linux/regulator/coupler.h, line 72 (as a function)
Referenced in 5 files:
- drivers/regulator/core.c
- drivers/soc/mediatek/mtk-regulator-coupler.c, line 61
- drivers/soc/samsung/exynos-regulator-coupler.c, line 42
- drivers/soc/tegra/regulators-tegra20.c
- drivers/soc/tegra/regulators-tegra30.c
Smatch caller information:
drivers/regulator/core.c regulator_get_optimal_voltage() -> regulator_check_consumers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->constraints | 4096-ptr_max |
| PARAM_VALUE | 1 | min_uV | 1990488618668437504 |
| PARAM_VALUE | 2 | max_uV | 8636363146645385216 |
| DATA_SOURCE | 0 | rdev | $0 |
| DATA_SOURCE | 3 | state | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/core.c regulator_get_optimal_voltage() -> regulator_check_consumers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min_uV | 6608711449136197632 |
| PARAM_VALUE | 1 | *min_uV | 0 |
| PARAM_VALUE | 2 | max_uV | 1979344950965485568 |
| PARAM_VALUE | 2 | *max_uV | s32max |
| DATA_SOURCE | 3 | state | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/core.c regulator_sync_voltage() -> regulator_check_consumers()
| 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 |
| PARAM_VALUE | 3 | state | 0 |
| CAPPED_DATA | 0 | rdev->constraints->min_uV | 1 |
drivers/soc/samsung/exynos-regulator-coupler.c regulator_get_optimal_voltage() -> regulator_check_consumers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min_uV | 4183264226830180352 |
| PARAM_VALUE | 1 | *min_uV | 0 |
| PARAM_VALUE | 2 | max_uV | 5491200942526623744 |
| PARAM_VALUE | 2 | *max_uV | s32max |
| DATA_SOURCE | 3 | state | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/mediatek/mtk-regulator-coupler.c mediatek_regulator_balance_voltage() -> regulator_check_consumers()
| 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 | 0 |
| PARAM_VALUE | 2 | max_uV | 1054758268711378944 |
| PARAM_VALUE | 2 | *max_uV | s32max |
| CAPPED_DATA | 0 | rdev | 1 |
| DATA_SOURCE | 0 | rdev | $1 |
| DATA_SOURCE | 3 | state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |