Home
last modified time | relevance | path

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

1234

/linux/Documentation/iio/
H A Dad7380.rst61 Oversampling and resolution boost
64 This family supports 2 types of oversampling: normal average and rolling
67 available: 1 (oversampling disabled)/2/4/8/16/32.
69 When the on-chip oversampling function is enabled the performance of the ADC can
72 resolution boost feature can only be enabled when oversampling is enabled and
73 oversampling is not as useful without the resolution boost, the driver
74 automatically enables the resolution boost if and only if oversampling is
80 libiio does not support it. So when enabling or disabling oversampling, user
128 - Rolling average oversampling
/linux/drivers/iio/adc/
H A Dad7606.h46 * oversampling ratios.
48 * @os_req_reset some devices require a reset to update oversampling
67 * @oversampling oversampling selection
73 * oversampling ratios.
85 * @gpio_os GPIO descriptors to control oversampling on the device
96 unsigned int oversampling; member
H A Dstm32-dfsdm.h268 * struct stm32_dfsdm_filter_osr - DFSDM filter settings linked to oversampling
269 * @iosr: integrator oversampling
270 * @fosr: filter oversampling
290 * @flo: filter oversampling data table indexed by fast mode flag
H A Dstm32-dfsdm-adc.c37 /* Oversampling attribute default */
40 /* Oversampling max values */
204 pr_debug("Requested oversampling: %d\n", oversamp); in stm32_dfsdm_compute_osrs()
206 * This function tries to compute filter oversampling and integrator in stm32_dfsdm_compute_osrs()
207 * oversampling, base on oversampling ratio requested by user. in stm32_dfsdm_compute_osrs()
209 * Decimation d depends on the filter order and the oversampling ratios. in stm32_dfsdm_compute_osrs()
220 * Look for filter and integrator oversampling ratios which allows in stm32_dfsdm_compute_osrs()
513 /* Average integrator oversampling */ in stm32_dfsdm_filter_configure()
519 /* Filter order and Oversampling */ in stm32_dfsdm_filter_configure()
1529 * IIO_CHAN_INFO_OVERSAMPLING_RATIO: used to set oversampling in stm32_dfsdm_adc_chan_init_one()
H A Dmcp3564.c355 * @oversampling: the index inside oversampling list of the ADC
373 enum mcp3564_oversampling oversampling; member
849 *val = mcp3564_oversampling_avail[adc->oversampling]; in mcp3564_read_raw()
947 if (adc->oversampling == tmp) in mcp3564_write_raw()
954 adc->oversampling)); in mcp3564_write_raw()
956 adc->oversampling = tmp; in mcp3564_write_raw()
1325 adc->oversampling = MCP3564_OVERSAMPLING_RATIO_98304; in mcp3564_config()
H A Dad7380.c76 #define T_CONVERT_0_NS 10 /* 1st conversion start time (oversampling) */
77 #define T_CONVERT_X_NS 500 /* xth conversion start time (oversampling) */
336 * Available oversampling ratios. The indices correspond with the bit value
669 * In the case of oversampling, conversion time is higher than in normal in ad7380_update_xfers()
686 /* Additional delay required here when oversampling is enabled */ in ad7380_update_xfers()
946 /* always enable resolution boost when oversampling is enabled */ in ad7380_write_raw()
963 * Perform a soft reset. This will flush the oversampling in ad7380_write_raw()
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dti,tsc2046.yaml56 oversampling-ratio: true
91 oversampling-ratio = <5>;
99 oversampling-ratio = <5>;
104 oversampling-ratio = <5>;
109 oversampling-ratio = <5>;
H A Dadi,ad7606.yaml98 adi,oversampling-ratio-gpios:
109 It is enabled when all three oversampling mode pins are connected to high
112 registers. If the adi,oversampling-ratio-gpios property is defined, then
113 the driver will set the oversampling gpios to high. Otherwise, it is
154 adi,oversampling-ratio-gpios: false
199 adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>,
H A Dadc.yaml64 oversampling-ratio:
67 Oversampling is used as replacement of or addition to the low-pass filter.
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi39 oversampling-ratio = <5>;
45 oversampling-ratio = <5>;
51 oversampling-ratio = <5>;
57 oversampling-ratio = <5>;
H A Dimx6dl-plym2m.dts242 oversampling-ratio = <5>;
248 oversampling-ratio = <5>;
254 oversampling-ratio = <5>;
260 oversampling-ratio = <5>;
266 oversampling-ratio = <5>;
272 oversampling-ratio = <5>;
280 oversampling-ratio = <5>;
H A Dimx6dl-victgo.dts190 oversampling-ratio = <5>;
196 oversampling-ratio = <5>;
202 oversampling-ratio = <5>;
208 oversampling-ratio = <5>;
H A Dimx6dl-prtvt7.dts380 oversampling-ratio = <5>;
386 oversampling-ratio = <5>;
392 oversampling-ratio = <5>;
398 oversampling-ratio = <5>;
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-skov-revb-lt6.dts58 oversampling-ratio = <5>;
64 oversampling-ratio = <5>;
70 oversampling-ratio = <5>;
76 oversampling-ratio = <5>;
/linux/Documentation/misc-devices/
H A Doxsemi-tornado.rst14 value from 1 to 65535. Finally a programmable oversampling rate is used
19 By default the oversampling rate is set to 16 and the clock prescaler is
26 The oversampling rate is programmed with the TCR register and the clock
44 from the requested rate (d), and the values of the oversampling rate
93 used by encoding the values for, the prescaler, the oversampling rate
109 oversampling rate to 16 and prescaler values below 1 in CPR2/CPR are
114 the oversampling rate and the clock divisor of 62.500, 16 and 1250
/linux/include/media/i2c/
H A Dadv7343.h20 * @pll_control: PLL and oversampling control. This control allows internal
21 * PLL 1 circuit to be powered down and the oversampling to be
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dadv7343.txt16 - adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows
18 oversampling to be switched off.
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-mcp356447 higher Oversampling Ratio values (over 256). To overcome this
52 reference buffer, even at maximum oversampling ratio values.
/linux/drivers/iio/chemical/
H A Dbme680_core.c541 * (Sum of oversampling ratios * time per oversampling) + in bme680_wait_for_eoc()
578 * Highly recommended to set oversampling of humidity before in bme680_chip_config()
579 * temperature/pressure oversampling. in bme680_chip_config()
886 data->oversampling_humid = 2; /* 2X oversampling rate */ in bme680_core_probe()
887 data->oversampling_press = 4; /* 4X oversampling rate */ in bme680_core_probe()
888 data->oversampling_temp = 8; /* 8X oversampling rate */ in bme680_core_probe()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_tv_regs.h30 /* Selects 4x oversampling for 480i and 576p */
32 /* Selects 2x oversampling for 720p and 1080i */
34 /* Selects no oversampling for 1080p */
36 /* Selects 8x oversampling */
417 * by the oversampling rate. TV_HSCALE should be less than 1, and set to:
/linux/drivers/input/touchscreen/
H A 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()
/linux/drivers/iio/pressure/
H A Dms5611.h27 * OverSampling Rate descriptor.
H A Dmpl3115.c9 * TODO: FIFO buffer, altimeter mode, oversampling, continuous mode,
36 #define MPL3115_CTRL_OS_258MS (BIT(5) | BIT(4)) /* 64x oversampling */
/linux/drivers/spi/
H A Dspi-geni-qcom.c96 unsigned int oversampling; member
126 speed_hz * mas->oversampling, in get_spi_clk_cfg()
134 *clk_div = DIV_ROUND_UP(sclk_freq, mas->oversampling * speed_hz); in get_spi_clk_cfg()
135 actual_hz = sclk_freq / (mas->oversampling * *clk_div); in get_spi_clk_cfg()
695 mas->oversampling = 2; in spi_geni_init()
697 mas->oversampling = 1; in spi_geni_init()
/linux/include/soc/fsl/qe/
H A Ducc_slow.h97 /* UCC Slow oversampling rate for transmitter (TDCR) */
109 /* UCC Slow Oversampling rate for receiver (RDCR)

1234