Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/adc/
Dad7280a.c176 u8 oversampling_ratio; member
277 st->oversampling_ratio)); in ad7280_read_reg()
288 st->oversampling_ratio)); in ad7280_read_reg()
329 st->oversampling_ratio)); in ad7280_read_channel()
341 st->oversampling_ratio)); in ad7280_read_channel()
380 st->oversampling_ratio)); in ad7280_read_all_channels()
411 FIELD_PREP(AD7280A_CTRL_HB_CONV_AVG_MSK, st->oversampling_ratio)); in ad7280_sw_power_down()
465 FIELD_PREP(AD7280A_CTRL_HB_CONV_AVG_MSK, st->oversampling_ratio)); in ad7280_chain_setup()
873 (AD7280A_NUM_CH * ad7280a_n_avg[st->oversampling_ratio & 0x3])) - in ad7280_update_delay()
915 *val = ad7280a_n_avg[st->oversampling_ratio]; in ad7280_read_raw()
[all …]
Dat91-sama5d2_adc.c598 unsigned int oversampling_ratio; member
843 u32 oversampling_ratio, u32 trackx) in at91_adc_config_emr() argument
852 if (oversampling_ratio == st->soc_info.platform->oversampling_avail[i]) in at91_adc_config_emr()
859 switch (oversampling_ratio) { in at91_adc_config_emr()
898 st->oversampling_ratio = oversampling_ratio; in at91_adc_config_emr()
907 if (st->oversampling_ratio == 1) in at91_adc_adjust_val_osr()
909 else if (st->oversampling_ratio == 4) in at91_adc_adjust_val_osr()
911 else if (st->oversampling_ratio == 16) in at91_adc_adjust_val_osr()
913 else if (st->oversampling_ratio == 64) in at91_adc_adjust_val_osr()
915 else if (st->oversampling_ratio == 256) in at91_adc_adjust_val_osr()
[all …]
Dti-tsc2046.c130 unsigned int oversampling_ratio; member
285 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_read_one()
363 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_group_set_layout()
718 priv->ch_cfg[i].oversampling_ratio = 1; in tsc2046_adc_parse_fwnode()
745 priv->ch_cfg[reg].oversampling_ratio = overs; in tsc2046_adc_parse_fwnode()
/Linux-v6.1/drivers/iio/accel/
Dbma400_core.c106 int oversampling_ratio; member
591 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
597 data->oversampling_ratio = osr; in bma400_get_accel_oversampling_ratio()
602 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
608 data->oversampling_ratio = osr; in bma400_get_accel_oversampling_ratio()
611 data->oversampling_ratio = 0; in bma400_get_accel_oversampling_ratio()
614 data->oversampling_ratio = -1; in bma400_get_accel_oversampling_ratio()
647 data->oversampling_ratio = val; in bma400_set_accel_oversampling_ratio()
663 data->oversampling_ratio = val; in bma400_set_accel_oversampling_ratio()
1032 if (data->oversampling_ratio < 0) in bma400_read_raw()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-iio128 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio