Home
last modified time | relevance | path

Searched refs:linear_range_get_value (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/lib/linear_range/src/
Dmain.c71 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-latest/include/zephyr/sys/
Dlinear_range.h142 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-latest/drivers/regulator/
Dregulator_nxp_vref.c136 return linear_range_get_value(&utrim_range, idx, volt_uv); in regulator_nxp_vref_list_voltage()
169 ret = linear_range_get_value(&utrim_range, idx, volt_uv); in regulator_nxp_vref_get_voltage()
Dregulator_npm6001.c244 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()
Dregulator_npm2100.c161 return linear_range_get_value(&boost_range, idx, volt_uv); in regulator_npm2100_list_voltage()
163 return linear_range_get_value(&ldosw_range, idx, volt_uv); in regulator_npm2100_list_voltage()
223 return linear_range_get_value(&boost_range, idx, volt_uv); in regulator_npm2100_get_voltage()
239 return linear_range_get_value(&vset0_range, idx, volt_uv); in regulator_npm2100_get_voltage()
257 return linear_range_get_value(&ldosw_range, idx, volt_uv); in regulator_npm2100_get_voltage()
291 return linear_range_get_value(&boost_ocp_range, idx, current_ua); in regulator_npm2100_list_currents()
Dregulator_max20335.c174 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()
Dregulator_npm1300.c123 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-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c211 ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, in npm2100_vbat_sample_fetch()
304 int ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, &val_usec); in npm2100_vbat_attr_get()
328 ret = linear_range_get_value(npm2100_attr[idx].range, reg_data, &val_mv); in npm2100_vbat_attr_get()