Home
last modified time | relevance | path

Searched refs:linear_range_group_get_win_index (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/lib/linear_range/src/
Dmain.c296 ret = linear_range_group_get_win_index(r, r_cnt, 120, 125, &idx); in ZTEST()
305 ret = linear_range_group_get_win_index(r, r_cnt, -10, -8, &idx); in ZTEST()
309 ret = linear_range_group_get_win_index(r, r_cnt, 0, 1, &idx); in ZTEST()
313 ret = linear_range_group_get_win_index(r, r_cnt, 1, 120, &idx); in ZTEST()
317 ret = linear_range_group_get_win_index(r, r_cnt, 120, 140, &idx); in ZTEST()
321 ret = linear_range_group_get_win_index(r, r_cnt, 140, 400, &idx); in ZTEST()
325 ret = linear_range_group_get_win_index(r, r_cnt, 400, 400, &idx); in ZTEST()
329 ret = linear_range_group_get_win_index(r, r_cnt, 300, 310, &idx); in ZTEST()
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/
Dnpm1300_charger.c481 ret = linear_range_group_get_win_index(vbus_current_ranges, in npm1300_charger_attr_set()
531 ret = linear_range_group_get_win_index(charger_volt_ranges, ARRAY_SIZE(charger_volt_ranges), in npm1300_charger_init()
542 ret = linear_range_group_get_win_index(charger_volt_ranges, ARRAY_SIZE(charger_volt_ranges), in npm1300_charger_init()
576 ret = linear_range_group_get_win_index(vbus_current_ranges, ARRAY_SIZE(vbus_current_ranges), in npm1300_charger_init()
/Zephyr-latest/drivers/regulator/
Dregulator_rpi_pico.c55 ret = linear_range_group_get_win_index(core_ranges, num_core_ranges, min_uv, max_uv, &idx); in regulator_rpi_pico_set_voltage()
Dregulator_da1469x.c302 ret = linear_range_group_get_win_index(config->desc->voltage_ranges, in regulator_da1469x_set_voltage()
349 ret = linear_range_group_get_win_index(config->desc->current_ranges, in regulator_da1469x_set_current_limit()
Dregulator_pca9420.c254 ret = linear_range_group_get_win_index(config->desc->ranges, in regulator_pca9420_set_voltage()
402 ret = linear_range_group_get_win_index( in regulator_pca9420_init()
Dregulator_npm2100.c326 ret = linear_range_group_get_win_index( in regulator_npm2100_set_current()
331 ret = linear_range_group_get_win_index( in regulator_npm2100_set_current()
Dregulator_adp5360.c111 ret = linear_range_group_get_win_index(config->desc->ranges, config->desc->nranges, min_uv, in regulator_adp5360_set_voltage()
Dregulator_axp192.c245 ret = linear_range_group_get_win_index(config->desc->ranges, config->desc->num_ranges, in axp192_set_voltage()
/Zephyr-latest/include/zephyr/sys/
Dlinear_range.h318 static inline int linear_range_group_get_win_index(const struct linear_range *r, in linear_range_group_get_win_index() function