Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dad7280a.c177 u8 oversampling_ratio; member
278 st->oversampling_ratio)); in ad7280_read_reg()
289 st->oversampling_ratio)); in ad7280_read_reg()
330 st->oversampling_ratio)); in ad7280_read_channel()
342 st->oversampling_ratio)); in ad7280_read_channel()
381 st->oversampling_ratio)); in ad7280_read_all_channels()
412 FIELD_PREP(AD7280A_CTRL_HB_CONV_AVG_MSK, st->oversampling_ratio)); in ad7280_sw_power_down()
466 FIELD_PREP(AD7280A_CTRL_HB_CONV_AVG_MSK, st->oversampling_ratio)); in ad7280_chain_setup()
871 (AD7280A_NUM_CH * ad7280a_n_avg[st->oversampling_ratio & 0x3])) - in ad7280_update_delay()
913 *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 …]
Dad7380.c517 unsigned int oversampling_ratio; member
650 if (st->oversampling_ratio > 1) in ad7380_set_ch()
652 T_CONVERT_X_NS * (st->oversampling_ratio - 1); in ad7380_set_ch()
673 if (st->oversampling_ratio > 1) in ad7380_update_xfers()
675 (st->oversampling_ratio - 1); in ad7380_update_xfers()
687 if (st->oversampling_ratio > 1) in ad7380_update_xfers()
886 *val = st->oversampling_ratio; in ad7380_read_raw()
959 st->oversampling_ratio = val; in ad7380_write_raw()
1017 st->oversampling_ratio = 1; in ad7380_init()
Dti-tsc2046.c131 unsigned int oversampling_ratio; member
285 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_read_one()
358 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_group_set_layout()
713 priv->ch_cfg[i].oversampling_ratio = 1; in tsc2046_adc_parse_fwnode()
740 priv->ch_cfg[reg].oversampling_ratio = overs; in tsc2046_adc_parse_fwnode()
Dad7192.c726 u8 avg_factor_selected, oversampling_ratio; in ad7192_compute_f_order() local
733 oversampling_ratio = st->oversampling_ratio_avail[avg_factor_selected]; in ad7192_compute_f_order()
736 return AD7192_SYNC3_FILTER + oversampling_ratio - 1; in ad7192_compute_f_order()
738 return AD7192_SYNC4_FILTER + oversampling_ratio - 1; in ad7192_compute_f_order()
/linux-6.12.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()
1005 if (data->oversampling_ratio < 0) in bma400_read_raw()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio128 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio