Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/power/supply/mt6370-charger.c, line 208
- drivers/power/supply/rt9467-charger.c, line 376
- drivers/regulator/helpers.c
- drivers/soc/qcom/spm.c, line 456
- lib/linear_ranges.c
- lib/tests/test_linear_ranges.c
Smatch caller information:
drivers/soc/qcom/spm.c spm_register_regulator() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 2 | selector | 4096-ptr_max |
| PARAM_VALUE | 3 | found | 5388525669873299456 |
| MEM_ZERO | 2 | selector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | val | unit_array_size |
drivers/power/supply/mt6370-charger.c mt6370_chg_field_set() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 8776874528257286144,8776874528257286148,8776874528257286152,8776874528257286156,8776874528257286160,8776874528257286164 |
| PARAM_VALUE | 3 | found | 8461559921660669952 |
| DATA_SOURCE | 1 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-u32max |
| USER_DATA | 2 | *selector | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | val | |
| NO_OVERFLOW_SIMPLE | 2 | *selector | |
| USER_PTR | 2 | selector | |
| HALF_LOCKED2 | _T->lock |
lib/tests/test_linear_ranges.c range_test_get_selector_high() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 1954623988855074816 |
| PARAM_VALUE | 2 | selector | 1470943883041329152 |
| PARAM_VALUE | 3 | found | 7772040946118217728 |
| BUF_SIZE | 0 | r | 32 |
lib/tests/test_linear_ranges.c range_test_get_selector_high() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 1954623988855074816 |
| PARAM_VALUE | 1 | val | 51 |
| PARAM_VALUE | 2 | selector | 1470943883041329152 |
| PARAM_VALUE | 3 | found | 7772040946118217728 |
| BUF_SIZE | 0 | r | 32 |
lib/tests/test_linear_ranges.c range_test_get_selector_high() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 1954623988855074816 |
| PARAM_VALUE | 1 | val | 9 |
| PARAM_VALUE | 2 | selector | 1470943883041329152 |
| PARAM_VALUE | 3 | found | 7772040946118217728 |
| BUF_SIZE | 0 | r | 32 |
drivers/power/supply/rt9467-charger.c rt9467_set_value_from_ranges() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | selector | 6846074255122456576 |
| PARAM_VALUE | 3 | found | 6060409646258040832 |
| DATA_SOURCE | 1 | val | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | val | |
| HALF_LOCKED2 | _T->lock |
lib/linear_ranges.c linear_range_get_selector_high_array() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 2 | selector | 109554758359322624,8074249021329514496 |
| PARAM_VALUE | 3 | found | 1542778796827779072,4353991298396573696 |
| DATA_SOURCE | 1 | val | $2 |
| DATA_SOURCE | 2 | selector | $3 |
| DATA_SOURCE | 3 | found | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/helpers.c regulator_map_voltage_linear_range() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 2 | selector | 4389333418379534336 |
| PARAM_VALUE | 3 | found | 358052492414808064 |
| DATA_SOURCE | 1 | val | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | val | unit_array_size |
drivers/regulator/helpers.c regulator_map_voltage_pickable_linear_range() -> linear_range_get_selector_high()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 2 | selector | 815423878286454784 |
| PARAM_VALUE | 3 | found | 3310523067805622272 |
| CAPPED_DATA | 0 | r->min | 1 |
| CAPPED_DATA | 1 | val | 1 |
| DATA_SOURCE | 1 | val | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | val | unit_array_size |