Home
last modified time | relevance | path

Searched +full:average +full:- +full:samples (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dadi,adm1275.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 that offer digital current, voltage, and power monitoring using an on-chip,
15 12-bit analog-to-digital converter (ADC), communicated through a PMBus
24 - adi,adm1075
25 - adi,adm1272
26 - adi,adm1273
27 - adi,adm1275
[all …]
H A Drenesas,isl28022.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Carsten Spieß <mail@carsten-spiess.de>
26 shunt-resistor-micro-ohms:
28 Shunt resistor value in micro-Ohm
32 renesas,shunt-range-microvolt:
34 Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV
38 renesas,average-samples:
40 Number of samples to be used to report voltage, current and power values.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dimx6ul_tsc.txt4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
14 - measure-delay-time: the value of measure delay time.
15 Before X-axis or Y-axis measurement, the screen need some time before
18 - pre-charge-time: the touch screen need some time to precharge.
[all …]
H A Dfsl,imx6ul-tsc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/fsl,imx6ul-tsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Haibo Chen <haibo.chen@nxp.com>
11 - Shawn Guo <shawnguo@kernel.org>
12 - Sascha Hauer <s.hauer@pengutronix.de>
16 const: fsl,imx6ul-tsc
20 - description: touch controller address
21 - description: ADC2 address
[all …]
H A Dstmpe.txt2 ----------------
5 - compatible: "st,stmpe-ts"
8 - st,ave-ctrl : Sample average control
9 0 -> 1 sample
10 1 -> 2 samples
11 2 -> 4 samples
12 3 -> 8 samples
13 - st,touch-det-delay : Touch detect interrupt delay (recommended is 3)
14 0 -> 10 us
15 1 -> 50 us
[all …]
H A Dads7846.txt7 Documentation/devicetree/bindings/spi/spi-bus.txt
23 vcc-supply A regulator node for the supply voltage.
28 ti,vref-delay-usecs vref supply delay in usecs, 0 for
30 ti,vref-mv The VREF voltage, in millivolts (u16).
33 ti,keep-vref-on set to keep vref on for differential
35 ti,settle-delay-usec Settling time of the analog signals;
37 on the X/Y drivers. If set to non-zero,
38 two samples are taken with settle_delay
41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are
47 ti,x-plate-ohms Resistance of the X-plate,
[all …]
H A Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
20 touchscreen-min-x:
25 touchscreen-min-y:
30 touchscreen-size-x:
34 touchscreen-size-y:
38 touchscreen-max-pressure:
42 touchscreen-min-pressure:
[all …]
/freebsd/lib/libkvm/
H A Dkvm_getloadavg.333 .Nd get load average of the system
49 samples are retrieved and assigned to successive elements of
51 The system imposes a maximum of 3 samples, representing averages
54 If the load average was unobtainable, \-1 is returned; otherwise,
55 the number of samples actually retrieved is returned.
/freebsd/sys/contrib/device-tree/Bindings/staging/iio/adc/
H A Dspear-adc.txt4 - compatible: Should be "st,spear600-adc"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the ADC interrupt
7 - sampling-frequency: Default sampling frequency
10 - vref-external: External voltage reference in milli-volts. If omitted
12 - average-samples: Number of samples to generate an average value. If
18 compatible = "st,spear600-adc";
20 interrupt-parent = <&vic1>;
22 sampling-frequency = <5000000>;
23 vref-external = <2500>; /* 2.5V VRef */
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dst,spear600-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,spear600-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
14 10-bit resolution. Datasheet can be found here:
20 - st,spear600-adc
28 sampling-frequency:
35 vref-external:
40 External voltage reference in milli-volts. If omitted the internal voltage
[all …]
H A Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
22 - items:
23 - const: qcom,pms405-adc
[all …]
H A Dqcom,spmi-vadc.txt3 - SPMI PMIC voltage ADC (VADC) provides interface to clients to read
4 voltage. The VADC is a 15-bit sigma-delta ADC.
5 - SPMI PMIC5 voltage ADC (ADC) provides interface to clients to read
6 voltage. The VADC is a 16-bit sigma-delta ADC.
10 - compatible:
13 Definition: Should contain "qcom,spmi-vadc".
14 Should contain "qcom,spmi-adc5" for PMIC5 ADC driver.
15 Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC driver.
16 Should contain "qcom,pms405-adc" for PMS405 PMIC
18 - reg:
[all …]
/freebsd/lib/libc/gen/
H A Dgetloadavg.347 samples are retrieved and assigned to successive elements of
49 The system imposes a maximum of 3 samples, representing averages
52 If the load average was unobtainable, \-1 is returned; otherwise,
53 the number of samples actually retrieved is returned.
/freebsd/tools/tools/ath/athsurvey/
H A Dathsurvey.c1 /*-
47 fprintf(stderr, "usage: %s [-i ifname]\n", progname); in usage()
48 exit(-1); in usage()
87 * Skip samples with no cycle count in process_survey_stats()
89 if (hs->samples[i].cycle_count == 0) in process_survey_stats()
96 cycle_count = hs->samples[i].cycle_count; in process_survey_stats()
103 tx = (float) hs->samples[i].tx_busy * 100.0 / in process_survey_stats()
104 hs->samples[i].cycle_count; in process_survey_stats()
105 rx = (float) hs->samples[i].rx_busy * 100.0 / in process_survey_stats()
106 hs->samples[i].cycle_count; in process_survey_stats()
[all …]
/freebsd/share/man/man4/man4.arm/
H A Dti_adc.445 .Bd -literal
85 On Beaglebone-black the analog input 7 is connected to the 3V3B rail through
91 .Bl -tag -width ".Va dev.ti_adc.0.clockdiv"
101 .Bl -tag -width ".Va dev.ti_adc.0.ain.%d.samples_avg"
110 Sets the number of samples average used on each input, it can be set to 0
111 (no samples average), 2, 4, 8, or 16.
124 .An -nosplit
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dmxs-lradc.txt4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc"
6 - reg: Address and length of the register set for the device
7 - interrupts: Should contain the LRADC interrupts
10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen
14 - fsl,ave-ctrl: number of samples per direction to calculate an average value.
16 - fsl,ave-delay: delay between consecutive samples. Allowed value is
17 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at
19 - fsl,settling: delay between plate switch to next sample. Allowed value is
26 compatible = "fsl,imx23-lradc";
29 fsl,lradc-touchscreen-wires = <4>;
[all …]
H A Dmxs-lradc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mxs-lradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MXS Low-Resolution ADC (LRADC)
10 - Dario Binacchi <dario.binacchi@amarulasolutions.com>
13 The LRADC provides 16 physical channels of 12-bit resolution for
14 analog-to-digital conversion and includes an integrated 4-wire/5-wire
20 - enum:
21 - fsl,imx23-lradc
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_processor_tbl.c1 /*-
2 * Copyright (c) 2005-2006 The FreeBSD Project
5 * Author: Victor Cruceru <soc-victor@freebsd.org>
50 * for HOST-RESOURCES-MIB's hrProcessorTable.
57 int32_t load; /* average cpu usage */
58 int32_t sample_cnt; /* number of usage samples */
63 /* the samples from the last minute, as required by MIB */
64 double samples[MAX_CPU_SAMPLES]; member
89 * It needs at least two cp_times "tick" samples to calculate a delta and
101 /* Need two samples to perform delta calculation. */ in get_avg_load()
[all …]
/freebsd/tools/test/arc4random/
H A Dbiastest.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * biastest.c -- bias test for arc4random_uniform().
41 fprintf(stderr, "usage: %s [-n tries] [-t upper_bound]\n", argv0); in usage()
90 fprintf(stderr, "\r%10lld of %10lld samples taken (%5.2f%% done)", in progress()
129 double discrepancy, average, variance, total; in analyze_sample() local
136 /* find median, average, deviation, smallest, and largest bucket */ in analyze_sample()
143 average = total / tries; in analyze_sample()
154 discrepancy = i - average; in analyze_sample()
178 printf("\taverage: %f (expected %f)\n", average, 0.5 * (threshold - 1)); in analyze_sample()
[all …]
/freebsd/sys/arm/ti/
H A Dti_adcvar.h1 /*-
32 #define ADC_READ4(_sc, reg) bus_read_4((_sc)->sc_mem_res, reg)
34 bus_write_4((_sc)->sc_mem_res, reg, value)
65 int32_t samples; /* samples average */ member
74 mtx_lock(&(_sc)->sc_mtx)
76 mtx_unlock(&(_sc)->sc_mtx)
78 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \
81 mtx_destroy(&_sc->sc_mtx);
83 mtx_assert(&(_sc)->sc_mtx, MA_OWNED)
H A Dti_adc.c1 /*-
94 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x); in ti_adc_ev_report()
95 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y); in ti_adc_ev_report()
96 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down); in ti_adc_ev_report()
97 evdev_sync(sc->sc_evdev); in ti_adc_ev_report()
108 if (sc->sc_last_state == 1) in ti_adc_enable()
116 if (sc->sc_tsc_wires > 0) { in ti_adc_enable()
118 switch (sc->sc_tsc_wires) { in ti_adc_enable()
136 sc->sc_last_state = 1; in ti_adc_enable()
146 if (sc->sc_last_state == 0) in ti_adc_disable()
[all …]
/freebsd/contrib/ntp/html/
H A Dstats.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
12 <!-- #BeginDate format:En2m -->26-Jul-2015 06:29<!-- #EndDate -->
29 …<li>Roundtrip system and network delay measured by the on-wire protocol. This is call <em>roundtri…
31 … nominal clock offset sample differencess in a sliding window of several samples. This is called <…
38 …he server. The data represented in boxes labeled Peer are computed by the on-wire protocol, as des…
40 …ource is characterized by the offset &theta; and delay &delta; samples measured by the on-wire pro…
44samples, the algorithm described on the <a href="filter.html">Clock Filter Algorithm</a> page sele…
45-bit shift register, which is shifted left by one bit as each poll packet is sent, with 0 replacin…
47 …is, once a sample has been selected by the clock filter algorithm, older samples are no longer sel…
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_msfees.c1 /* refclock_ees - clock driver for the EES M201 receiver */
55 if (flags & CLK_FLAG2 && unitinuse) ees->leaphold = 0;
56 ees->dump_vals = flags & CLK_FLAG3;
57 ees->usealldata = flags & CLK_FLAG4;
60 bug->values[0] = (ees->lasttime) ? current_time - ees->lasttime : 0;
61 bug->values[1] = (ees->clocklastgood)?current_time-ees->clocklastgood:0;
62 bug->values[2] = (u_long)ees->status;
63 bug->values[3] = (u_long)ees->lastevent;
64 bug->values[4] = (u_long)ees->reason;
65 bug->values[5] = (u_long)ees->nsamples;
[all …]
/freebsd/share/doc/psd/18.gprof/
H A Dgathering.me62 By post-processing of this data we can build the dynamic call
85 post-processing to provide a profile of many
106 In a machine-dependent fashion, the monitoring routine notes its
142 for the primary hash table to allow a one-to-one mapping from
161 non-standard calling sequences.
175 Unfortunately, time measurement is complicated on time-sharing
176 systems by the time-slicing of the program.
177 A second method samples the value of the program counter at some
179 samples within the program.
180 This technique is particularly suited to time-sharing systems,
[all …]

123