/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | decorators.py | 4 # SPDX-License-Identifier: MIT 31 class NoParsingFilter(logging.Filter): 32 def filter(self, record): member in NoParsingFilter 43 logfile = os.path.join(os.getcwd(),'results-'+caller+'.'+timestamp+'.log') 44 linkfile = os.path.join(os.getcwd(),'results-'+caller+'.log') 83 format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', 138 if hasattr(signal, 'alarm'): 147 signal.alarm(seconds) 150 signal.alarm(0) 160 for use with the Attribute (-a) plugin. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
/openbmc/linux/drivers/staging/iio/accel/ |
H A D | adis16203.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 /* Output, x-axis inclination */ 34 /* Output, y-axis inclination */ 40 /* Alarm 1 amplitude threshold */ 43 /* Alarm 2 amplitude threshold */ 46 /* Alarm 1, sample period */ 49 /* Alarm 2, sample period */ 52 /* Alarm control */ 58 /* General-purpose digital input/output control */ 67 /* Operation, filter configuration */ [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | ac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Chen-Yu Tsai 7 * Chen-Yu Tsai <wens@csie.org> 84 /* ADC digital audio processing (high pass filter & auto gain control */ 104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ 105 #define AC100_ADC_DAP_L_HPF_C 0x94 /* Low High-Pass-Filter Coef */ 108 /* DAC digital audio processing (high pass filter & dynamic range control) */ 110 #define AC100_DAC_DAP_H_HPF_C 0xa1 /* High High-Pass-Filter Coef */ 111 #define AC100_DAC_DAP_L_HPF_C 0xa2 /* Low High-Pass-Filter Coef */ 160 /* RTC alarm */
|
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
H A D | 0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch | 8 '--yocto-ptest' as an optional argument to vg_regtest, which alters 12 option, --yocto-ptest, the valgrind regression test output is unchanged. 17 Upstream-Status: Inappropriate [oe-core specific] 19 Signed-off-by: Dave Lerner <dave.lerner@windriver.com> 20 Signed-off-by: Tudor Florea <tudor.florea@enea.com> 21 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 26 Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> 27 --- 28 tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++------------ 29 1 file changed, 55 insertions(+), 20 deletions(-) [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | ptp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 - Set time 19 - Get time 20 - Shift the clock by a given offset atomically 21 - Adjust clock frequency 24 - Time stamp external events 25 - Period output signals configurable from user space 26 - Low Pass Filter (LPF) access from user space 27 - Synchronization of the Linux system time via the PPS subsystem 65 ancillary feature, then the driver should just return -EOPNOTSUPP [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | gen_cmd.py | 53 if the shell command returns non-zero. 100 line = line.decode("utf-8") 109 line = line.decode("utf-8") 167 Parse a bash command-line command string and return the result as a dictionary of parms. 173 - Short parameters: 174 -<parm name><space><arg value> 175 - Long parameters: 176 --<parm name>=<arg value> 180 …name, they will be put into a list (see illustration below where "-v" is specified multiple times). 187 …robot_cmd_buf: robot -v OPENBMC_HOST:dummy1 -v keyword_string:'… [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm85.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm85.c - Part of lm_sensors, Linux kernel modules for hardware 7 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de> 9 * Copyright (C) 2007--2014 Jean Delvare <jdelvare@suse.de> 21 #include <linux/hwmon-vid.h> 22 #include <linux/hwmon-sysfs.h> 59 ((data)->type == adt7468 && !((data)->cfg5 & ADT7468_OFF64)) 61 ((data)->type == adt7468 && !((data)->cfg5 & ADT7468_HFPWM)) 105 #define EMC6D100_REG_IN(nr) (0x70 + ((nr) - 5)) 106 #define EMC6D100_REG_IN_MIN(nr) (0x73 + ((nr) - 5) * 2) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/ |
H A D | nspr_4.36.bb | 3 LICENSE = "GPL-2.0-only | MPL-2.0 | LGPL-2.1-only" 8 SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \ 9 file://0001-remove-rpath-from-tests.patch \ 10 file://0002-Fix-build-failure-on-x86_64.patch \ 11 file://0003-Add-nios2-support.patch \ 12 file://0004-md-Fix-build-with-musl.patch \ 13 file://0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \ 14 file://0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch \ 18 CACHED_CONFIGUREVARS:append:libc-musl = " CFLAGS='${CFLAGS} -D_PR_POLL_AVAILABLE \ 19 -D_PR_HAVE_LARGE_OFF_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP \ [all …]
|
/openbmc/linux/drivers/iio/imu/ |
H A D | adis16400.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */ 32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */ 33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */ 34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */ 35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */ 36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */ 37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */ 38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */ 39 #define ADIS16400_ZMAGN_OUT 0x14 /* Z-axis magnetometer measurement */ [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | lm90.rst | 10 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 26 Prefix: 'lm89' (no auto-detection) 58 Addresses scanned: I2C 0x4c - 0x4e 66 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 74 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 152 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 162 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 172 Addresses scanned: I2C 0x4c - 0x4d 182 Addresses scanned: I2C 0x4c - 0x4d 192 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e [all …]
|
H A D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits 47 We offer GPIO features on the former VID pins. These are open-drain [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 118 corresponding high/low limit values. The LM85 will signal an ALARM if any 127 ---------------- [all …]
|
/openbmc/linux/drivers/iio/accel/ |
H A D | adis16201.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer 38 /* Alarm Register Definition */ 48 /* Operation, filter configuration */ 55 /* Data-ready enable: 1 = enabled, 0 = disabled */ 57 /* Data-ready polarity: 1 = active high, 0 = active low */ 59 /* Data-ready line selection: 1 = DIO1, 0 = DIO0 */ 113 switch (chan->type) { in adis16201_read_raw() 115 if (chan->channel == 0) { in adis16201_read_raw() 126 *val = -470; in adis16201_read_raw() [all …]
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 70 * osnoise_free_top - free runtime data 75 free(data->cpu_data); in osnoise_free_top() 80 * osnoise_alloc_histogram - alloc runtime data 90 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 93 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 94 if (!data->cpu_data) in osnoise_alloc_top() 105 * osnoise_top_handler - this is the handler for osnoise tracer events 116 int cpu = record->cpu; in osnoise_top_handler() 120 data = tool->data; in osnoise_top_handler() [all …]
|
H A D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 67 * osnoise_free_histogram - free runtime data 75 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 76 if (data->hist[cpu].samples) in osnoise_free_histogram() 77 free(data->hist[cpu].samples); in osnoise_free_histogram() 81 if (data->hist) in osnoise_free_histogram() 82 free(data->hist); in osnoise_free_histogram() 88 * osnoise_alloc_histogram - alloc runtime data 100 data->entries = entries; in osnoise_alloc_histogram() 101 data->bucket_size = bucket_size; in osnoise_alloc_histogram() [all …]
|
H A D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 78 * timerlat_free_top - free runtime data 83 free(data->cpu_data); in timerlat_free_top() 88 * timerlat_alloc_histogram - alloc runtime data 99 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 102 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 103 if (!data->cpu_data) in timerlat_alloc_top() 108 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top() 109 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top() 110 data->cpu_data[cpu].min_user = ~0; in timerlat_alloc_top() [all …]
|
H A D | timerlat_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 86 * timerlat_free_histogram - free runtime data 94 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in timerlat_free_histogram() 95 if (data->hist[cpu].irq) in timerlat_free_histogram() 96 free(data->hist[cpu].irq); in timerlat_free_histogram() 98 if (data->hist[cpu].thread) in timerlat_free_histogram() 99 free(data->hist[cpu].thread); in timerlat_free_histogram() 101 if (data->hist[cpu].user) in timerlat_free_histogram() 102 free(data->hist[cpu].user); in timerlat_free_histogram() 107 if (data->hist) in timerlat_free_histogram() [all …]
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | soctherm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved. 34 #include <dt-bindings/thermal/tegra124-soctherm.h> 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h 212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) 229 (ALARM_OFFSET * (throt - THROTTLE_OC1))) 232 (ALARM_OFFSET * (throt - THROTTLE_OC1))) [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_type.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 83 #define IXGBE_BY_MAC(_hw, r) ((_hw)->mvals[IXGBE_CAT(r, IDX)]) 273 (0x012300 + (((_i) - 24) * 4))) 277 #define IXGBE_IVAR(_i) (0x00900 + ((_i) * 4)) /* 24 at 0x900-0x960 */ 278 #define IXGBE_IVAR_MISC 0x00A00 /* misc MSI-X interrupt causes */ 280 #define IXGBE_MSIXT 0x00000 /* MSI-X Table. 0x0000 - 0x01C */ 281 #define IXGBE_MSIXPBA 0x02000 /* MSI-X Pending bit array */ 290 #define IXGBE_FCRTH_82599(_i) (0x03260 + ((_i) * 4)) /* 8 of these (0-7) */ 291 #define IXGBE_FCRTL_82599(_i) (0x03220 + ((_i) * 4)) /* 8 of these (0-7) */ [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | stats.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018, 2020 - 2021 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 98 __le32 dsp_false_alarms; /* DSP false alarm (both OFDM 257 * count the number of times we have to re-tune 286 * count the number of times we have to re-tune 308 u8 reserved[4 - (NUM_MAC_INDEX % 4)]; 315 u8 reserved[8 - MAC_INDEX_AUX]; 319 * struct mvm_statistics_load - RX statistics for multi-queue devices [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r9a06g032.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-a7"; 30 compatible = "arm,cortex-a7"; 33 enable-method = "renesas,r9a06g032-smp"; [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | Thresholds.cpp | 75 if (std::visit(VariantToStringVisitor(), labelFind->second) != in parseThresholdsFromConfig() 93 (std::visit(VariantToIntVisitor(), indexFind->second) != in parseThresholdsFromConfig() 105 std::visit(VariantToDoubleVisitor(), hysteresisFind->second); in parseThresholdsFromConfig() 119 std::visit(VariantToUnsignedIntVisitor(), severityFind->second); in parseThresholdsFromConfig() 122 std::visit(VariantToStringVisitor(), directionFind->second); in parseThresholdsFromConfig() 131 double val = std::visit(VariantToDoubleVisitor(), valueFind->second); in parseThresholdsFromConfig() 147 conn->async_method_call( in persistThreshold() 165 std::visit(VariantToStringVisitor(), labelFind->second); in persistThreshold() 182 VariantToUnsignedIntVisitor(), severityFind->second); in persistThreshold() 185 std::visit(VariantToStringVisitor(), directionFind->second); in persistThreshold() [all …]
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 9 * Copyright (C) 2003-2004 MontaVista, Software, Inc. 19 #include <linux/dma-mapping.h> 53 #define DRIVER_NAME "mpc52xx-fec" 85 static int debug = -1; /* the above default */ 94 dev_warn(&dev->dev, "transmit timed out\n"); in mpc52xx_fec_tx_timeout() 96 spin_lock_irqsave(&priv->lock, flags); in mpc52xx_fec_tx_timeout() 98 dev->stats.tx_errors++; in mpc52xx_fec_tx_timeout() 99 spin_unlock_irqrestore(&priv->lock, flags); in mpc52xx_fec_tx_timeout() 107 struct mpc52xx_fec __iomem *fec = priv->fec; in mpc52xx_fec_set_paddr() 109 out_be32(&fec->paddr1, *(const u32 *)(&mac[0])); in mpc52xx_fec_set_paddr() [all …]
|