Searched refs:linear_range_get_value (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.6.0/tests/lib/linear_range/src/ |
D | main.c | 71 ret = linear_range_get_value(&r[0], 0U, &val); in ZTEST() 75 ret = linear_range_get_value(&r[0], 1U, &val); in ZTEST() 79 ret = linear_range_get_value(&r[1], 2U, &val); in ZTEST() 83 ret = linear_range_get_value(&r[1], 3U, &val); in ZTEST() 87 ret = linear_range_get_value(&r[2], 4U, &val); in ZTEST() 91 ret = linear_range_get_value(&r[2], 5U, &val); in ZTEST() 95 ret = linear_range_get_value(&r[2], 6U, &val); in ZTEST() 99 ret = linear_range_get_value(&r[2], 7U, &val); in ZTEST() 103 ret = linear_range_get_value(&r[2], 8U, &val); in ZTEST() 107 ret = linear_range_get_value(&r[2], 9U, &val); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | linear_range.h | 142 static inline int linear_range_get_value(const struct linear_range *r, in linear_range_get_value() function 172 ret = linear_range_get_value(&r[i], idx, val); in linear_range_group_get_value()
|
/Zephyr-Core-3.6.0/drivers/regulator/ |
D | regulator_nxp_vref.c | 135 return linear_range_get_value(&utrim_range, idx, volt_uv); in regulator_nxp_vref_list_voltage() 168 ret = linear_range_get_value(&utrim_range, base->UTRIM, volt_uv); in regulator_nxp_vref_get_voltage()
|
D | regulator_npm6001.c | 244 return linear_range_get_value(range, idx, volt_uv); in regulator_npm6001_buck0123_get_voltage() 301 return linear_range_get_value(&buck0_range, idx, volt_uv); in regulator_npm6001_list_voltage() 303 return linear_range_get_value(&buck1_range, idx, volt_uv); in regulator_npm6001_list_voltage() 305 return linear_range_get_value(&buck2_range, idx + buck2_range.min_idx, volt_uv); in regulator_npm6001_list_voltage() 307 return linear_range_get_value(&buck3_range, idx, volt_uv); in regulator_npm6001_list_voltage()
|
D | regulator_max20335.c | 174 return linear_range_get_value(config->desc->uv_range, idx, volt_uv); in regulator_max20335_list_voltage() 206 return linear_range_get_value(range, idx, volt_uv); in regulator_max20335_buck12_ldo123_get_voltage() 252 return linear_range_get_value(config->desc->ua_range, idx, current_ua); in regulator_max20335_list_current_limit()
|
D | regulator_npm1300.c | 123 return linear_range_get_value(&buckldo_range, idx, volt_uv); in regulator_npm1300_list_voltage() 256 return linear_range_get_value(&buckldo_range, idx, volt_uv); in buck_get_voltage() 271 return linear_range_get_value(&buckldo_range, idx, volt_uv); in ldo_get_voltage()
|
/Zephyr-Core-3.6.0/drivers/charger/ |
D | charger_max20335.c | 204 return linear_range_get_value(&charger_uv_range, val, current_uv); in max20335_get_constant_charge_voltage()
|