Searched refs:linear_range_get_value (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/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-latest/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-latest/drivers/regulator/ |
D | regulator_nxp_vref.c | 136 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()
|
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_npm2100.c | 161 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()
|
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-latest/drivers/sensor/nordic/npm2100_vbat/ |
D | npm2100_vbat.c | 211 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()
|