/openbmc/linux/Documentation/devicetree/bindings/soc/amlogic/ |
H A D | amlogic,meson-gx-clk-measure.yaml | 1 # 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | imx6ul_tsc.txt | 4 - 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 …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_clock.c | 1 // 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | sht3x.rst | 6 * 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 …]
|
H A D | adm1026.rst | 16 - 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 …]
|
H A D | lm85.rst | 79 - 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 …]
|
H A D | lm63.rst | 45 ----------- 53 - No low limit for local temperature. 54 - No critical limit for local temperature. 55 - Critical limit for remote temperature can be changed only once. We 56 will consider that the critical limit is read-only. 67 store the value in an 8-bit register and have a selectable clock divider 68 to make sure that the result will fit in the register, the LM63 uses 16-bit 69 value for measuring the speed of the fan. It can measure fan speeds down to
|
H A D | it87.rst | 174 - Christophe Gauthron 175 - Jean Delvare <jdelvare@suse.de> 179 ----------------- 192 misconfigured by BIOS - PWM values would be inverted. This option tries 209 Provided since there are reports that system-wide acpi_enfore_resources=lax 217 ------------------- 219 All the chips supported by this driver are LPC Super-I/O chips, accessed 220 through the LPC bus (ISA-like I/O ports). The IT8712F additionally has an 228 ----------- 247 is stored in the Super-I/O configuration space. Due to technical limitations, [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | imx6ul_tsc.c | 1 // 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | qemu,vcpu-stall-detector.yaml | 1 # 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 …]
|
/openbmc/qemu/include/hw/misc/ |
H A D | npcm7xx_mft.h | 20 #include "hw/clock.h" 35 * The MFT can take up to 4 inputs: A0, B0, A1, B1. It can measure one A and one 42 * struct NPCM7xxMFTState - Multi Functional Tachometer device state. 45 * @clock_in: The input clock for MFT from CLK module. 57 Clock *clock_in; 58 Clock *clock_1, *clock_2; 66 #define TYPE_NPCM7XX_MFT "npcm7xx-mft"
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | samsung,exynos5422-dmc.yaml | 1 # 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 …]
|
/openbmc/u-boot/drivers/thermal/ |
H A D | imx_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/arch/clock.h> 23 #define TEMPERATURE_HOT_DELTA 5 /* CPU maxT - 5C */ 29 #define TEMPERATURE_MIN -40 54 struct anatop_regs *anatop = (struct anatop_regs *)pdata->regs; in read_cpu_temperature() 56 u32 fuse = priv->fuse; in read_cpu_temperature() 64 * [31:20] - sensor value @ 25C in read_cpu_temperature() 66 * slope = 0.4445388 - (0.0016549 * 25C fuse) in read_cpu_temperature() 73 * slope = 0.4445388 - (0.0016549 * 25C fuse) in read_cpu_temperature() 74 * slope = (FACTOR2 - FACTOR1 * n1) / FACTOR0 in read_cpu_temperature() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | speed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * (C) Copyright 2000-2002 24 volatile ccsr_gur_t *gur = &immap->im_gur; in get_sys_info() 27 plat_ratio = (gur->porpllsr) & 0x0000003e; in get_sys_info() 32 sys_info->freq_systembus = 16 * CONFIG_SYS_CLK_FREQ; in get_sys_info() 44 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info() 47 sys_info->freq_systembus = 0; in get_sys_info() 51 e600_ratio = (gur->porpllsr) & 0x003f0000; in get_sys_info() 56 sys_info->freq_processor = 2 * sys_info->freq_systembus; in get_sys_info() 59 sys_info->freq_processor = 5 * sys_info->freq_systembus / 2; in get_sys_info() [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | stat_bpf_counters_cgrp.sh | 2 # 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 …]
|
/openbmc/u-boot/cmd/aspeed/ |
H A D | plltest.c | 9 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 #include <clk-uclass.h> 30 #include <dt-bindings/clock/ast2600-clock.h> 33 #include <dt-bindings/clock/ast2600-clock.h> 37 /* ------------------------------------------------------------------------- */ 65 ulCounter = (pll_rate/1000) * 512 / 25000 - 1; in cal_ast2600_28nm_pll_rate() 66 ulLowLimit = ulCounter * (100 - ulErrRate) / 100; in cal_ast2600_28nm_pll_rate() 84 //3. Set SCU320[0] = 1 and SCU320[5:2] = clock for measurement in cal_ast2600_28nm_pll_rate() 106 //When the reference clock CLK25M count from 0 to 512, measure the OSCCLK counting value, then in cal_ast2600_28nm_pll_rate() 129 ulCounter = (pll_rate/1000) * 512 / 25000 - 1; in cal_ast2600_13nm_pll_rate() [all …]
|
/openbmc/linux/drivers/soc/amlogic/ |
H A D | Kconfig | 1 # 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
|
H A D | meson-clk-measure.c | 1 // SPDX-License-Identifier: GPL-2.0+ 494 struct meson_msr *priv = clk_msr_id->priv; in meson_measure_id() 502 regmap_write(priv->regmap, MSR_CLK_REG0, 0); in meson_measure_id() 505 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_DURATION, in meson_measure_id() 506 FIELD_PREP(MSR_DURATION, duration - 1)); in meson_measure_id() 509 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_CLK_SRC, in meson_measure_id() 510 FIELD_PREP(MSR_CLK_SRC, clk_msr_id->id)); in meson_measure_id() 513 regmap_update_bits(priv->regmap, MSR_CLK_REG0, in meson_measure_id() 517 ret = regmap_read_poll_timeout(priv->regmap, MSR_CLK_REG0, in meson_measure_id() 525 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_ENABLE, 0); in meson_measure_id() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | pmu.c | 34 * 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()
|
/openbmc/linux/drivers/iio/magnetometer/ |
H A D | yamaha-yas530.c | 1 // 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 …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-sparx5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/mmc/host/sdhci-of-sparx5.c 17 #include <linux/dma-mapping.h> 20 #include "sdhci-pltfm.h" 46 ((addr | (SZ_128M - 1)) == ((addr + len - 1) | (SZ_128M - 1))) 64 mmc_hostname(host->mmc), len, &addr); in sdhci_sparx5_adma_write_desc() 66 offset = addr & (SZ_128M - 1); in sdhci_sparx5_adma_write_desc() 67 tmplen = SZ_128M - offset; in sdhci_sparx5_adma_write_desc() 71 len -= tmplen; in sdhci_sparx5_adma_write_desc() 80 pr_debug("%s: Set Cacheable = 0x%x\n", mmc_hostname(host->mmc), value); in sparx5_set_cacheable() [all …]
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8.dtsi | 1 // 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> 12 #include <dt-bindings/thermal/thermal.h> 20 #address-cells = <1>; 21 #size-cells = <0>; [all …]
|
H A D | meson8b.dtsi | 1 // 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> 13 #include <dt-bindings/thermal/thermal.h> 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 37 From common clock binding to override the default output clock name. [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | ChangeLog.sym53c8xx | 1 Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr) 2 * version sym53c8xx-1.7.3c 3 - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM. 4 Fix sent by Stig Telfer <stig@api-networks.com>. 5 - Backport from SYM-2 the work-around that allows to support 7 - Check that we received at least 8 bytes of INQUIRY response 9 - Define scsi_set_pci_device() as nil for kernel < 2.4.4. 10 - + A couple of minor changes. 12 Sat Apr 7 19:30 2001 Gerard Roudier (groudier@club-internet.fr) 13 * version sym53c8xx-1.7.3b [all …]
|