Searched refs:oversampling_ratio (Results 1 – 5 of 5) sorted by relevance
176 u8 oversampling_ratio; member277 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 …]
598 unsigned int oversampling_ratio; member843 u32 oversampling_ratio, u32 trackx) in at91_adc_config_emr() argument852 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 …]
130 unsigned int oversampling_ratio; member285 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()
106 int oversampling_ratio; member591 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 …]
128 What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio