Home
last modified time | relevance | path

Searched refs:oversampling_ratio (Results 1 – 3 of 3) sorted by relevance

/drivers/iio/accel/
Dbma400_core.c62 int oversampling_ratio; member
355 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
361 data->oversampling_ratio = osr; in bma400_get_accel_oversampling_ratio()
366 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
372 data->oversampling_ratio = osr; in bma400_get_accel_oversampling_ratio()
375 data->oversampling_ratio = 0; in bma400_get_accel_oversampling_ratio()
378 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
411 data->oversampling_ratio = val; in bma400_set_accel_oversampling_ratio()
427 data->oversampling_ratio = val; in bma400_set_accel_oversampling_ratio()
698 if (data->oversampling_ratio < 0) in bma400_read_raw()
[all …]
/drivers/iio/adc/
Dti-tsc2046.c123 unsigned int oversampling_ratio; member
290 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_group_set_layout()
578 priv->ch_cfg[i].oversampling_ratio = 1; in tsc2046_adc_parse_fwnode()
605 priv->ch_cfg[reg].oversampling_ratio = overs; in tsc2046_adc_parse_fwnode()
Dat91-sama5d2_adc.c400 unsigned int oversampling_ratio; member
521 switch (st->oversampling_ratio) { in at91_adc_config_emr()
541 if (st->oversampling_ratio == AT91_OSR_1SAMPLES) { in at91_adc_adjust_val_osr()
547 } else if (st->oversampling_ratio == AT91_OSR_4SAMPLES) { in at91_adc_adjust_val_osr()
1422 *val = st->oversampling_ratio; in at91_adc_read_raw()
1442 if (val == st->oversampling_ratio) in at91_adc_write_raw()
1445 st->oversampling_ratio = val; in at91_adc_write_raw()
1746 st->oversampling_ratio = AT91_OSR_1SAMPLES; in at91_adc_probe()