Home
last modified time | relevance | path

Searched +full:clock +full:- +full:measure (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/amlogic/
Dclk-measure.txt1 Amlogic Internal Clock Measurer
4 The Amlogic SoCs contains an IP to measure the internal clocks.
5 The precision is multiple of MHz, useful to debug the clock states.
8 - compatible: Shall contain one of the following :
9 "amlogic,meson-gx-clk-measure" for GX SoCs
10 "amlogic,meson8-clk-measure" for Meson8 SoCs
11 "amlogic,meson8b-clk-measure" for Meson8b SoCs
12 "amlogic,meson-axg-clk-measure" for AXG SoCs
13 "amlogic,meson-g12a-clk-measure" for G12a SoCs
14 "amlogic,meson-sm1-clk-measure" for SM1 SoCs
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/amlogic/
Damlogic,meson-gx-clk-measure.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Internal Clock Measurer
10 The Amlogic SoCs contains an IP to measure the internal clocks.
11 The precision is multiple of MHz, useful to debug the clock states.
14 - Neil Armstrong <neil.armstrong@linaro.org>
19 - amlogic,meson-gx-clk-measure
20 - amlogic,meson8-clk-measure
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
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 …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dsht3x.rst6 * Sensirion SHT3x-DIS
16 - David Frey <david.frey@sensirion.com>
17 - Pascal Sachs <pascal.sachs@sensirion.com>
20 -----------
22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity
29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device.
33 1. blocking (pull the I2C clock line down while performing the measurement) or
34 non-blocking mode. Blocking mode will guarantee the fastest result but
35 the I2C bus will be busy during that time. By default, non-blocking mode
36 is used. Make sure clock-stretching works properly on your device if you
[all …]
Dadm1026.rst16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
17 - Justin Thiessen <jthiessen@penguincomputing.com>
20 -----------------
23 List of GPIO pins (0-16) to program as inputs
26 List of GPIO pins (0-16) to program as outputs
29 List of GPIO pins (0-16) to program as inverted
32 List of GPIO pins (0-16) to program as normal/non-inverted
35 List of GPIO pins (0-7) to program as fan tachs
39 -----------
45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit),
[all …]
Dlm85.rst79 - Philip Pokorny <ppokorny@penguincomputing.com>,
80 - Frodo Looijaard <frodol@dds.nl>,
81 - Richard Barrington <rich_b_nz@clear.net.nz>,
82 - Margit Schubert-While <margitsw@t-online.de>,
83 - Justin Thiessen <jthiessen@penguincomputing.com>
86 -----------
92 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0
94 temperatures and five (5) voltages. It has four (4) 16-bit counters for
106 measure a thermal diode like the one in a Pentium 4 processor in a socket
107 423 or socket 478 package. They can also measure temperature using a
[all …]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
Dadf_clock.c1 // SPDX-License-Identifier: GPL-2.0-only
57 delta_us = timespec_to_us(&ts2) - timespec_to_us(&ts1); in measure_clock()
58 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
61 dev_err(&GET_DEV(accel_dev), "Excessive clock measure delay\n"); in measure_clock()
62 return -ETIMEDOUT; in measure_clock()
73 return -EIO; in measure_clock()
76 delta_us = timespec_to_us(&ts4) - timespec_to_us(&ts3); in measure_clock()
77 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
80 dev_err(&GET_DEV(accel_dev), "Excessive clock measure delay\n"); in measure_clock()
81 return -ETIMEDOUT; in measure_clock()
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dsht3x.rst6 * Sensirion SHT3x-DIS
16 - David Frey <david.frey@sensirion.com>
17 - Pascal Sachs <pascal.sachs@sensirion.com>
20 -----------
22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity
29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device.
31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench
32 (non-blocking mode) in single-shot mode, this driver only supports the latter.
34 The sht3x sensor supports a single shot mode as well as 5 periodic measure
47 In the periodic measure mode, the sensor automatically triggers a measurement
[all …]
Dadm1026.rst16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
17 - Justin Thiessen <jthiessen@penguincomputing.com>
20 -----------------
23 List of GPIO pins (0-16) to program as inputs
26 List of GPIO pins (0-16) to program as outputs
29 List of GPIO pins (0-16) to program as inverted
32 List of GPIO pins (0-16) to program as normal/non-inverted
35 List of GPIO pins (0-7) to program as fan tachs
39 -----------
45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit),
[all …]
Dlm85.rst79 - Philip Pokorny <ppokorny@penguincomputing.com>,
80 - Frodo Looijaard <frodol@dds.nl>,
81 - Richard Barrington <rich_b_nz@clear.net.nz>,
82 - Margit Schubert-While <margitsw@t-online.de>,
83 - Justin Thiessen <jthiessen@penguincomputing.com>
86 -----------
92 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0
94 temperatures and five (5) voltages. It has four (4) 16-bit counters for
106 measure a thermal diode like the one in a Pentium 4 processor in a socket
107 423 or socket 478 package. They can also measure temperature using a
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dimx6ul_tsc.c1 // SPDX-License-Identifier: GPL-2.0
100 * TSC module need ADC to get the measure value. So
111 reinit_completion(&tsc->completion); in imx6ul_adc_init()
113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
118 if (tsc->average_enable) { in imx6ul_adc_init()
120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init()
123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init()
131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
133 if (tsc->average_enable) in imx6ul_adc_init()
[all …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dimx6ul_tsc.c1 // SPDX-License-Identifier: GPL-2.0
100 * TSC module need ADC to get the measure value. So
111 reinit_completion(&tsc->completion); in imx6ul_adc_init()
113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
118 if (tsc->average_enable) { in imx6ul_adc_init()
120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init()
123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init()
128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init()
131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init()
133 if (tsc->average_enable) in imx6ul_adc_init()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/misc/
Dqemu,vcpu-stall-detector.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Sebastian Ene <sebastianene@google.com>
19 - qemu,vcpu-stall-detector
24 clock-frequency:
27 The internal clock of the stall detector peripheral measure in Hz used
32 timeout-sec:
40 - compatible
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/
Dexynos5422-dmc.txt7 is able to measure the current load of the memory.
12 - compatible: Should be "samsung,exynos5422-dmc".
13 - clocks : list of clock specifiers, must contain an entry for each
14 required entry in clock-names for CLK_FOUT_SPLL, CLK_MOUT_SCLK_SPLL,
17 - clock-names : should include "fout_spll", "mout_sclk_spll", "ff_dout_spll2",
20 - devfreq-events : phandles for PPMU devices connected to this DMC.
21 - vdd-supply : phandle for voltage regulator which is connected.
22 - reg : registers of two CDREX controllers.
23 - operating-points-v2 : phandle for OPPs described in v2 definition.
24 - device-handle : phandle of the connected DRAM memory device. For more
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/
Dsamsung,exynos5422-dmc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/samsung,exynos5422-dmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Krzysztof Kozlowski <krzk@kernel.org>
13 - Lukasz Luba <lukasz.luba@arm.com>
20 Monitoring Unit), which is able to measure the current load of the memory.
27 - const: samsung,exynos5422-dmc
29 clock-names:
31 - const: fout_spll
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Dstat_bpf_counters_cgrp.sh2 # perf stat --bpf-counters --for-each-cgroup test
3 # SPDX-License-Identifier: GPL-2.0
5 set -e
8 if [ "$1" = "-v" ]; then
12 # skip if --bpf-counters --for-each-cgroup is not supported
15 if ! perf stat -a --bpf-counters --for-each-cgroup / true > /dev/null 2>&1; then
17 echo "Skipping: --bpf-counters --for-each-cgroup not supported"
18 perf --no-pager stat -a --bpf-counters --for-each-cgroup / true || true
24 # find two cgroups to measure
28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then
[all …]
/kernel/linux/linux-6.6/drivers/soc/amlogic/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 tristate "Amlogic Meson SoC Clock Measure driver"
41 tristate "Amlogic Meson Everything-Else Power Domains driver"
48 Say yes to expose Amlogic Meson Everything-Else Power Domains as
/kernel/linux/linux-5.10/drivers/soc/amlogic/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 bool "Amlogic Meson SoC Clock Measure driver"
41 bool "Amlogic Meson Everything-Else Power Domains driver"
48 Say yes to expose Amlogic Meson Everything-Else Power Domains as
Dmeson-clk-measure.c1 // SPDX-License-Identifier: GPL-2.0+
493 struct meson_msr *priv = clk_msr_id->priv; in meson_measure_id()
501 regmap_write(priv->regmap, MSR_CLK_REG0, 0); in meson_measure_id()
504 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_DURATION, in meson_measure_id()
505 FIELD_PREP(MSR_DURATION, duration - 1)); in meson_measure_id()
508 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_CLK_SRC, in meson_measure_id()
509 FIELD_PREP(MSR_CLK_SRC, clk_msr_id->id)); in meson_measure_id()
512 regmap_update_bits(priv->regmap, MSR_CLK_REG0, in meson_measure_id()
516 ret = regmap_read_poll_timeout(priv->regmap, MSR_CLK_REG0, in meson_measure_id()
524 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_ENABLE, 0); in meson_measure_id()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dpmu.c34 * Duration for ILP clock frequency measurment in milliseconds
52 /* ILP clock */
55 /* ALP clock on pre-PMU chips */
128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
134 * Enable the reg to measure the freq, in si_pmu_measure_alpclk()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dpmu.c34 * Duration for ILP clock frequency measurment in milliseconds
52 /* ILP clock */
55 /* ALP clock on pre-PMU chips */
128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
134 * Enable the reg to measure the freq, in si_pmu_measure_alpclk()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmeson8b.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 #include <dt-bindings/clock/meson8-ddr-clkc.h>
8 #include <dt-bindings/clock/meson8b-clkc.h>
9 #include <dt-bindings/gpio/meson8b-gpio.h>
10 #include <dt-bindings/power/meson8-power.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
17 #address-cells = <1>;
18 #size-cells = <0>;
22 compatible = "arm,cortex-a5";
[all …]
Dmeson8.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/clock/meson8-ddr-clkc.h>
7 #include <dt-bindings/clock/meson8b-clkc.h>
8 #include <dt-bindings/gpio/meson8-gpio.h>
9 #include <dt-bindings/power/meson8-power.h>
10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
19 #address-cells = <1>;
20 #size-cells = <0>;
24 compatible = "arm,cortex-a9";
[all …]
/kernel/linux/linux-6.6/drivers/iio/magnetometer/
Dyamaha-yas530.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance)
8 * YAS532 MS-3R (2011 Samsung Galaxy S4)
9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L)
11 * YAS535 MS-6C
12 * YAS536 MS-3W
13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7)
14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN)
57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */
58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */
[all …]

12345678910>>...12