Home
last modified time | relevance | path

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

123

/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.yaml127 adi,oversampling-ratio-gpios:
138 It is enabled when all three oversampling mode pins are connected to high
141 registers. If the adi,oversampling-ratio-gpios property is defined, then
142 the driver will set the oversampling gpios to high. Otherwise, it is
257 adi,oversampling-ratio-gpios: false
321 adi,oversampling-ratio-gpios = <&gpio0 88 GPIO_ACTIVE_HIGH
350 adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>,
/linux/Documentation/iio/
H A Dad7380.rst77 Oversampling and resolution boost
80 This family supports 2 types of oversampling: normal average and rolling
83 available: 1 (oversampling disabled)/2/4/8/16/32.
85 When the on-chip oversampling function is enabled the performance of the ADC can
88 resolution boost feature can only be enabled when oversampling is enabled and
89 oversampling is not as useful without the resolution boost, the driver
90 automatically enables the resolution boost if and only if oversampling is
96 libiio does not support it. So when enabling or disabling oversampling, user
184 - Rolling average oversampling
H A Dad7606.rst114 Also, there is a broader choice of oversampling ratios in software mode.
141 Oversampling section in Supported features
144 This family supports oversampling to improve SNR.
146 1 (oversampling disabled)/2/4/8/16/32/64/128/256.
/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>;
/linux/drivers/iio/adc/
H A Dad7606.h58 * oversampling ratios.
60 * @os_req_reset: some devices require a reset to update oversampling
101 * @oversampling: oversampling selection
106 * oversampling ratios.
119 * @gpio_os: GPIO descriptors to control oversampling on the device
132 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-adc.c206 * @has_oversampling: oversampling support flag
212 * @set_ovs: routine to set oversampling configuration
263 * @ovs_idx: current oversampling ratio index (in oversampling array)
303 * @oversampling: available oversampling ratios
305 * @num_ovs: number of available oversampling ratios
310 const unsigned int *oversampling; member
344 .oversampling = stm32h7_adc_oversampling_avail,
353 .oversampling = stm32mp13_adc_oversampling_avail,
927 * Only the oversampling ratios corresponding to 2^ovs_idx are exposed in sysfs. in stm32h7_adc_set_ovs()
928 * Oversampling ratios [2,3,...,1024] are mapped on OVSR register values [1,2,...,1023]. in stm32h7_adc_set_ovs()
[all …]
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()
1542 * 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.c91 #define T_CONVERT_0_NS 10 /* 1st conversion start time (oversampling) */
92 #define T_CONVERT_X_NS 500 /* xth conversion start time (oversampling) */
593 * Available oversampling ratios. The indices correspond with the bit value
1024 * bound, return 1 (oversampling disabled)
1104 * In the case of oversampling, conversion time is higher than in normal in ad7380_update_xfers()
1126 /* Additional delay required here when oversampling is enabled */ in ad7380_update_xfers()
1541 /* always enable resolution boost when oversampling is enabled */ in ad7380_set_oversampling_ratio()
1556 * Perform a soft reset. This will flush the oversampling in ad7380_set_oversampling_ratio()
1730 * oversampling. This means that the thresholds are the same for in ad7380_set_alert_th()
1731 * normal mode and oversampling mode. in ad7380_set_alert_th()
[all …]
H A Dad7606.c712 *val = st->oversampling; in ad7606_read_raw()
814 st->oversampling = st->oversampling_avail[i]; in ad7606_write_raw()
907 "adi,oversampling-ratio", in ad7606_request_gpios()
1185 * Software mode is enabled when all three oversampling in ad7606b_sw_mode_setup()
1186 * pins are set to high. If oversampling gpios are defined in ad7606b_sw_mode_setup()
1254 * All chips with software mode support oversampling, in ad7606_probe_channels()
1321 st->oversampling = 1; in ad7606_probe()
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-skov-revb-lt6.dts97 oversampling-ratio = <5>;
103 oversampling-ratio = <5>;
109 oversampling-ratio = <5>;
115 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/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/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/iio/chemical/
H A Dbme680_core.c611 * (Sum of oversampling ratios * time per oversampling) + in bme680_wait_for_eoc()
647 * Highly recommended to set oversampling of humidity before in bme680_chip_config()
648 * temperature/pressure oversampling. in bme680_chip_config()
1176 data->oversampling_humid = 2; /* 2X oversampling rate */ in bme680_core_probe()
1177 data->oversampling_press = 4; /* 4X oversampling rate */ in bme680_core_probe()
1178 data->oversampling_temp = 8; /* 8X oversampling rate */ in bme680_core_probe()
/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/include/soc/fsl/qe/
H A Ducc_slow.h97 /* UCC Slow oversampling rate for transmitter (TDCR) */
109 /* UCC Slow Oversampling rate for receiver (RDCR)
/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()

123