Home
last modified time | relevance | path

Searched full:oversampling (Results 1 – 25 of 129) sorted by relevance

123456

/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_adc.h136 #define ADC_OVSCR_OVSEN BIT(0) /*!< oversampling enable */
137 #define ADC_OVSCR_OVSR BITS(2,4) /*!< oversampling ratio */
138 #define ADC_OVSCR_OVSS BITS(5,8) /*!< oversampling shift */
139 …ine ADC_OVSCR_TOVS BIT(9) /*!< triggered oversampling */
279 /* ADC oversampling mode */
283 /* ADC oversampling shift */
285 …RSAMPLING_SHIFT_NONE OVSCR_OVSS(0) /*!< no oversampling shift */
286 …MPLING_SHIFT_1B OVSCR_OVSS(1) /*!< 1-bit oversampling shift */
287 …MPLING_SHIFT_2B OVSCR_OVSS(2) /*!< 2-bit oversampling shift */
288 …MPLING_SHIFT_3B OVSCR_OVSS(3) /*!< 3-bit oversampling shift */
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7606.h46 * oversampling ratios.
48 * @os_req_reset some devices require a reset to update oversampling
68 * @oversampling oversampling selection
74 * oversampling ratios.
86 * @gpio_os GPIO descriptors to control oversampling on the device
98 unsigned int oversampling; member
Dstm32-dfsdm-adc.c35 /* Oversampling attribute default */
38 /* Oversampling max values */
201 pr_debug("%s: Requested oversampling: %d\n", __func__, oversamp); in stm32_dfsdm_compute_osrs()
203 * This function tries to compute filter oversampling and integrator in stm32_dfsdm_compute_osrs()
204 * oversampling, base on oversampling ratio requested by user. in stm32_dfsdm_compute_osrs()
206 * Decimation d depends on the filter order and the oversampling ratios. in stm32_dfsdm_compute_osrs()
217 * Look for filter and integrator oversampling ratios which allows in stm32_dfsdm_compute_osrs()
511 /* Average integrator oversampling */ in stm32_dfsdm_filter_configure()
517 /* Filter order and Oversampling */ in stm32_dfsdm_filter_configure()
1385 * IIO_CHAN_INFO_OVERSAMPLING_RATIO: used to set oversampling in stm32_dfsdm_adc_chan_init_one()
Dstm32-dfsdm.h246 * struct stm32_dfsdm_filter_osr - DFSDM filter settings linked to oversampling
247 * @iosr: integrator oversampling
248 * @fosr: filter oversampling
268 * @flo: filter oversampling data table indexed by fast mode flag
Dad7606.c194 *val = st->oversampling; in ad7606_read_raw()
288 st->oversampling = st->oversampling_avail[i]; in ad7606_write_raw()
461 "adi,oversampling-ratio", in ad7606_request_gpios()
587 st->oversampling = 1; in ad7606_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7606.yaml84 adi,oversampling-ratio-gpios:
94 It is enabled when all three oversampling mode pins are connected to
96 adi,oversampling-ratio-gpios property is defined, then the driver will set the
97 oversampling gpios to high. Otherwise, it is assumed that the pins are hardwired
134 adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>,
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/Drivers/
Dgd32vf103_adc.c932 \param[in] mode: ADC oversampling mode
938 \param[in] shift: ADC oversampling shift
940 \arg ADC_OVERSAMPLING_SHIFT_NONE: no oversampling shift
941 \arg ADC_OVERSAMPLING_SHIFT_1B: 1-bit oversampling shift
942 \arg ADC_OVERSAMPLING_SHIFT_2B: 2-bit oversampling shift
943 \arg ADC_OVERSAMPLING_SHIFT_3B: 3-bit oversampling shift
944 \arg ADC_OVERSAMPLING_SHIFT_4B: 3-bit oversampling shift
945 \arg ADC_OVERSAMPLING_SHIFT_5B: 5-bit oversampling shift
946 \arg ADC_OVERSAMPLING_SHIFT_6B: 6-bit oversampling shift
947 \arg ADC_OVERSAMPLING_SHIFT_7B: 7-bit oversampling shift
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dadv7343.txt16 - adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows
18 oversampling to be switched off.
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/i2c/
Dadv7343.txt16 - adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows
18 oversampling to be switched off.
/kernel/linux/linux-4.19/include/media/i2c/
Dadv7343.h28 * @pll_control: PLL and oversampling control. This control allows internal
29 * PLL 1 circuit to be powered down and the oversampling to be
/kernel/linux/linux-5.10/include/media/i2c/
Dadv7343.h28 * @pll_control: PLL and oversampling control. This control allows internal
29 * PLL 1 circuit to be powered down and the oversampling to be
/kernel/linux/linux-4.19/drivers/iio/adc/
Dstm32-dfsdm-adc.c30 /* Oversampling attribute default */
33 /* Oversampling max values */
126 pr_debug("%s: Requested oversampling: %d\n", __func__, oversamp); in stm32_dfsdm_set_osrs()
128 * This function tries to compute filter oversampling and integrator in stm32_dfsdm_set_osrs()
129 * oversampling, base on oversampling ratio requested by user. in stm32_dfsdm_set_osrs()
131 * Decimation d depends on the filter order and the oversampling ratios. in stm32_dfsdm_set_osrs()
142 * Look for filter and integrator oversampling ratios which allows in stm32_dfsdm_set_osrs()
272 /* Average integrator oversampling */ in stm32_dfsdm_filter_configure()
278 /* Filter order and Oversampling */ in stm32_dfsdm_filter_configure()
983 * IIO_CHAN_INFO_OVERSAMPLING_RATIO: used to set oversampling in stm32_dfsdm_adc_chan_init_one()
/kernel/linux/linux-4.19/drivers/staging/iio/adc/
Dad7606.c166 *val = st->oversampling; in ad7606_read_raw()
240 st->oversampling = val; in ad7606_write_raw()
355 st->gpio_os = devm_gpiod_get_array_optional(dev, "oversampling-ratio", in ad7606_request_gpios()
420 st->oversampling = 1; in ad7606_probe()
Dad7606.h38 unsigned int oversampling; member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-geni-qcom.c82 unsigned int oversampling; member
99 speed_hz * mas->oversampling, in get_spi_clk_cfg()
107 *clk_div = DIV_ROUND_UP(sclk_freq, mas->oversampling * speed_hz); in get_spi_clk_cfg()
108 actual_hz = sclk_freq / (mas->oversampling * *clk_div); in get_spi_clk_cfg()
372 mas->oversampling = 2; in spi_geni_init()
374 mas->oversampling = 1; in spi_geni_init()
/kernel/linux/linux-4.19/drivers/tty/serial/
Dstm32-usart.c638 u32 usartdiv, mantissa, fraction, oversampling; in stm32_set_termios() local
698 * The USART supports 16 or 8 times oversampling. in stm32_set_termios()
699 * By default we prefer 16 times oversampling, so that the receiver in stm32_set_termios()
701 * 8 times oversampling is only used to achieve higher speeds. in stm32_set_termios()
704 oversampling = 8; in stm32_set_termios()
708 oversampling = 16; in stm32_set_termios()
713 mantissa = (usartdiv / oversampling) << USART_BRR_DIV_M_SHIFT; in stm32_set_termios()
714 fraction = usartdiv % oversampling; in stm32_set_termios()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dms5611.h36 * OverSampling Rate descriptor.
/kernel/linux/linux-4.19/drivers/iio/pressure/
Dms5611.h39 * OverSampling Rate descriptor.
/kernel/linux/linux-4.19/drivers/input/touchscreen/
Dmxs-lradc-ts.c118 * prepare for oversampling conversion in mxs_lradc_setup_ts_channel()
137 * prepare the delay/loop unit according to the oversampling count in mxs_lradc_setup_ts_channel()
175 * prepare for oversampling conversion in mxs_lradc_setup_ts_pressure()
196 /* prepare the delay/loop unit according to the oversampling count */ in mxs_lradc_setup_ts_pressure()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dmxs-lradc-ts.c109 * prepare for oversampling conversion in mxs_lradc_setup_ts_channel()
128 * prepare the delay/loop unit according to the oversampling count in mxs_lradc_setup_ts_channel()
166 * prepare for oversampling conversion in mxs_lradc_setup_ts_pressure()
187 /* prepare the delay/loop unit according to the oversampling count */ in mxs_lradc_setup_ts_pressure()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dstm32-usart.c739 u32 usartdiv, mantissa, fraction, oversampling; in stm32_usart_set_termios() local
840 * The USART supports 16 or 8 times oversampling. in stm32_usart_set_termios()
841 * By default we prefer 16 times oversampling, so that the receiver in stm32_usart_set_termios()
843 * 8 times oversampling is only used to achieve higher speeds. in stm32_usart_set_termios()
846 oversampling = 8; in stm32_usart_set_termios()
850 oversampling = 16; in stm32_usart_set_termios()
855 mantissa = (usartdiv / oversampling) << USART_BRR_DIV_M_SHIFT; in stm32_usart_set_termios()
856 fraction = usartdiv % oversampling; in stm32_usart_set_termios()
/kernel/linux/linux-4.19/drivers/iio/chemical/
Dbme680_core.c546 * Highly recommended to set oversampling of humidity before in bme680_chip_config()
547 * temperature/pressure oversampling. in bme680_chip_config()
964 data->oversampling_humid = ilog2(2); /* 2X oversampling rate */ in bme680_core_probe()
965 data->oversampling_press = ilog2(4); /* 4X oversampling rate */ in bme680_core_probe()
966 data->oversampling_temp = ilog2(8); /* 8X oversampling rate */ in bme680_core_probe()
/kernel/linux/linux-5.10/drivers/iio/chemical/
Dbme680_core.c545 * Highly recommended to set oversampling of humidity before in bme680_chip_config()
546 * temperature/pressure oversampling. in bme680_chip_config()
933 data->oversampling_humid = 2; /* 2X oversampling rate */ in bme680_core_probe()
934 data->oversampling_press = 4; /* 4X oversampling rate */ in bme680_core_probe()
935 data->oversampling_temp = 8; /* 8X oversampling rate */ in bme680_core_probe()
/kernel/linux/linux-4.19/include/soc/fsl/qe/
Ducc_slow.h101 /* UCC Slow oversampling rate for transmitter (TDCR) */
113 /* UCC Slow Oversampling rate for receiver (RDCR)
/kernel/linux/linux-5.10/include/soc/fsl/qe/
Ducc_slow.h97 /* UCC Slow oversampling rate for transmitter (TDCR) */
109 /* UCC Slow Oversampling rate for receiver (RDCR)

123456