Searched refs:voc (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | sgp40.c | 18 * 2) calculate an estimated absolute voc index (0 - 500 index points) for 20 * For this purpose the value of the resistance for which the voc index 35 * floating point calculation of voc is done as integer 140 static int sgp40_calc_voc(struct sgp40_data *data, u16 resistance_raw, int *voc) in sgp40_calc_voc() argument 150 /* voc = 500 / (1 + e^x) */ in sgp40_calc_voc() 152 *voc = 500 * ((1 << (SGP40_CALC_POWER * 2)) / ((1<<SGP40_CALC_POWER) + exp)); in sgp40_calc_voc() 154 dev_dbg(data->dev, "raw: %d res_calibbias: %d x: %d exp: %d voc: %d\n", in sgp40_calc_voc() 155 resistance_raw, data->res_calibbias, x, exp, *voc); in sgp40_calc_voc() 215 int ret, voc; in sgp40_read_raw() local 246 ret = sgp40_calc_voc(data, resistance_raw, &voc); in sgp40_read_raw() [all...] |
H A D | ccs811.c | 68 __be16 voc; member 254 *val = be16_to_cpu(data->buffer.voc); in ccs811_read_raw()
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A D | ccs811.c | 68 __be16 voc; member 254 *val = be16_to_cpu(data->buffer.voc); in ccs811_read_raw()
|
/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 608 #define CX25840_VCONFIG_SET_BIT(state, opt_msk, voc, idx, bit, oneval) \ 613 (voc)[idx] |= BIT(bit); \ 615 (voc)[idx] &= ~BIT(bit); \
|
/kernel/linux/linux-6.6/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 608 #define CX25840_VCONFIG_SET_BIT(state, opt_msk, voc, idx, bit, oneval) \ 613 (voc)[idx] |= BIT(bit); \ 615 (voc)[idx] &= ~BIT(bit); \
|
Completed in 16 milliseconds