Searched refs:linear_range_get_win_index (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/lib/linear_range/src/ |
D | main.c | 253 ret = linear_range_get_win_index(&r[0], -10, -6, &idx); in ZTEST() 257 ret = linear_range_get_win_index(&r[0], -7, -5, &idx); in ZTEST() 262 ret = linear_range_get_win_index(&r[0], -20, -15, &idx); in ZTEST() 265 ret = linear_range_get_win_index(&r[0], -4, -3, &idx); in ZTEST() 269 ret = linear_range_get_win_index(&r[1], -1, 0, &idx); in ZTEST() 273 ret = linear_range_get_win_index(&r[1], 1, 2, &idx); in ZTEST() 278 ret = linear_range_get_win_index(&r[2], 100, 100, &idx); in ZTEST() 283 ret = linear_range_get_win_index(&r[2], 100, 180, &idx); in ZTEST() 288 ret = linear_range_get_win_index(&r[2], 120, 140, &idx); in ZTEST() 293 ret = linear_range_get_win_index(&r[2], 120, 125, &idx); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | linear_range.h | 265 static inline int linear_range_get_win_index(const struct linear_range *r, in linear_range_get_win_index() function 329 return linear_range_get_win_index(&r[i], val_min, val_max, idx); in linear_range_group_get_win_index()
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_max20335.c | 185 ret = linear_range_get_win_index(range, min_uv, max_uv, &idx); in regulator_max20335_set_buck_ldo_voltage() 274 ret = linear_range_get_win_index(config->desc->ua_range, min_ua, max_ua, &idx); in regulator_max20335_set_current_limit()
|
D | regulator_nxp_vref.c | 147 ret = linear_range_get_win_index(&utrim_range, min_uv, max_uv, &idx); in regulator_nxp_vref_set_voltage()
|
D | regulator_npm1300.c | 147 ret = linear_range_get_win_index(&buckldo_range, retention_uv, retention_uv, &idx); in retention_set_voltage() 187 ret = linear_range_get_win_index(&buckldo_range, min_uv, max_uv, &idx); in buck_set_voltage() 218 ret = linear_range_get_win_index(&buckldo_range, min_uv, max_uv, &idx); in ldo_set_voltage()
|
D | regulator_npm2100.c | 177 ret = linear_range_get_win_index(&boost_range, min_uv, max_uv, &idx); in regulator_npm2100_set_voltage() 191 ret = linear_range_get_win_index(&ldosw_range, min_uv, max_uv, &idx); in regulator_npm2100_set_voltage() 314 ret = linear_range_get_win_index(&boost_ocp_range, min_ua, max_ua, &idx); in regulator_npm2100_set_current()
|
D | regulator_npm6001.c | 122 ret = linear_range_get_win_index(range, min_uv, max_uv, &idx); in regulator_npm6001_buck012_set_voltage() 175 ret = linear_range_get_win_index(&buck3_range, min_uv, max_uv, &idx); in regulator_npm6001_buck3_set_voltage()
|
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/ |
D | npm1300_charger.c | 555 ret = linear_range_get_win_index(&charger_current_range, in npm1300_charger_init()
|