Searched refs:linear_range_group_get_win_index (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/lib/linear_range/src/ |
D | main.c | 296 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/ |
D | npm1300_charger.c | 481 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/ |
D | regulator_rpi_pico.c | 55 ret = linear_range_group_get_win_index(core_ranges, num_core_ranges, min_uv, max_uv, &idx); in regulator_rpi_pico_set_voltage()
|
D | regulator_da1469x.c | 302 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()
|
D | regulator_pca9420.c | 254 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()
|
D | regulator_npm2100.c | 326 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()
|
D | regulator_adp5360.c | 111 ret = linear_range_group_get_win_index(config->desc->ranges, config->desc->nranges, min_uv, in regulator_adp5360_set_voltage()
|
D | regulator_axp192.c | 245 ret = linear_range_group_get_win_index(config->desc->ranges, config->desc->num_ranges, in axp192_set_voltage()
|
/Zephyr-latest/include/zephyr/sys/ |
D | linear_range.h | 318 static inline int linear_range_group_get_win_index(const struct linear_range *r, in linear_range_group_get_win_index() function
|