/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | phase_fault_detection_tests.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 65 * - Regulator Device 66 * - I/O expander Device 67 * - Chassis that contains the Devices 68 * - System that contains the Chassis 77 auto regI2CInterface = std::make_unique<i2c::MockedI2CInterface>(); 78 this->regI2CInterface = regI2CInterface.get(); 81 auto regulator = std::make_unique<Device>( 85 this->regulator = regulator.get(); 88 auto ioExpI2CInterface = std::make_unique<i2c::MockedI2CInterface>(); [all …]
|
H A D | presence_detection_tests.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 60 * @param detection PresenceDetection object to move into object hierarchy 66 std::unique_ptr<PresenceDetection> detection) in createParentObjects() argument 76 std::move(i2cInterface), std::move(detection)); in createParentObjects() 101 PresenceDetection detection{std::move(actions)}; in TEST() local 102 EXPECT_EQ(detection.getActions().size(), 1); in TEST() 103 EXPECT_FALSE(detection.getCachedPresence().has_value()); in TEST() 115 PresenceDetection* detection = new PresenceDetection(std::move(actions)); in TEST() local 118 auto [system, chassis, device] = in TEST() 119 createParentObjects(std::unique_ptr<PresenceDetection>{detection}); in TEST() [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | json_parser.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include <phosphor-logging/log.hpp> 52 const auto loggingPath = "/xyz/openbmc_project/logging"; 53 const auto loggingCreateIface = "xyz.openbmc_project.Logging.Create"; 67 for (auto& p : _policies) in start() 69 p->monitor(); in start() 91 for (auto& p : _policies) in sighupHandler() 93 p->monitor(); in sighupHandler() 112 for (auto& member : jsonConf) in process() 124 // Loop thru the configured methods of presence detection in process() [all …]
|
H A D | json_parser.hpp | 27 constexpr auto confFileName = "config.json"; 28 constexpr auto confAppName = "presence"; 32 constexpr auto fanPolicyFanPos = 0; 33 constexpr auto fanPolicySensorListPos = 1; 56 * @param[in] bus - sdbusplus bus object 63 * @return - The fan presence policies 71 * @param[in] sigSrc - sd_event_source signal wrapper 72 * @param[in] sigInfo - signal info on signal fd 117 * @param[in] jsonConf - parsed json configuration data 122 * @brief Get the redundancy policy of presence detection for a fan [all …]
|
/openbmc/linux/Documentation/sound/hd-audio/ |
H A D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 9 -------------- 12 This is an enum control to change the surround-channel setup, 16 jack-retasking of multi-I/O jacks. 18 Auto-Mute Mode 19 This is an enum control to change the auto-mute behavior of the 20 headphone and line-out jacks. If built-in speakers and headphone 21 and/or line-out jacks are available on a machine, this controls 23 When there are only either headphones or line-out jacks, it gives [all …]
|
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | pmbus-core.rst | 9 power-management protocol with a fully defined command language that facilitates 11 protocol is implemented over the industry-standard SMBus serial interface and 12 enables programming, control, and real-time monitoring of compliant power 18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters 22 commands, and manufacturers can add as many non-standard commands as they like. 23 Also, different PMBUs devices act differently if non-supported commands are 43 PMBus device capabilities auto-detection 46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported 47 PMBus commands. Auto-detection is somewhat limited, since there are simply too 50 pages (see the PMBus specification for details on multi-page PMBus devices). [all …]
|
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
H A D | suricata.yaml | 2 --- 13 # If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules 16 #max-pending-packets: 1024 18 # Runmode the engine should use. Please check --list-runmodes to get the available 19 # runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned 27 # round-robin - Flows assigned to threads in a round robin fashion. 28 # active-packets - Flows assigned to threads that have the lowest number of 30 # hash - Flow alloted usihng the address hash. More of a random 33 #autofp-scheduler: active-packets 36 # it is a pure sniffing setup, set it to 'sniffer-only'. [all …]
|
/openbmc/u-boot/board/bachmann/ot1200/ |
H A D | README | 1 U-Boot for the Bachmann electronic GmbH OT1200 devices 4 in the way ethernet is done. The variant detection is done during 7 - "mr" variant 9 port is always up and auto-negotiation is not possible. 11 - normal variant 12 FEC is connected to a normal phy and auto-negotiation is possible. 15 The variant name is part of the dtb file name loaded by u-boot. This 17 devicetree (fixed-phy link).
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_axp_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * Level 1: Provides the D-Unit setup (SPD/Static configuration) 35 * DDR_TARGET_FABRIC - Set desired fabric configuration 37 * DRAM_ECC - Set ECC support 1/0 38 * BUS_WIDTH - 64/32 bit 39 * CONFIG_SPD_EEPROM - Enables auto detection of DIMMs and their timing values 40 * DQS_CLK_ALIGNED - Set this if CLK and DQS signals are aligned on board 41 * MIXED_DIMM_STATIC - Mixed DIMM + On board devices support (ODT registers 43 * DDR3_TRAINING_DEBUG - Debug prints of internal code 79 * DRAM_2T - Set Desired 2T Mode - 0 - 1T, 0x1 - 2T, 0x2 - 3T [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-rt8973a.txt | 2 * Richtek RT8973A - Micro USB Switch device 7 speed USB operation. Also, RT8973A support 'auto-configuration' mode. 8 If auto-configuration mode is enabled, RT8973A would control internal h/w patch 9 for USB D-/D+ switching. 12 - compatible: Should be "richtek,rt8973a-muic" 13 - reg: Specifies the I2C slave address of the MUIC block. It should be 0x14 14 - interrupts: Interrupt specifiers for detection interrupt sources. 19 compatible = "richtek,rt8973a-muic"; 20 interrupt-parent = <&gpx1>;
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
/openbmc/qemu/hw/char/ |
H A D | stm32l4x5_usart.c | 4 * Copyright (c) 2023 Arnaud Minier <arnaud.minier@telecom-paris.fr> 5 * Copyright (c) 2023 Inès Varhol <ines.varhol@telecom-paris.fr> 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 * See the COPYING file in the top-level directory. 15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs. 22 #include "chardev/char-fe.h" 23 #include "chardev/char-serial.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/qdev-properties.h" 30 #include "hw/qdev-properties-system.h" [all …]
|
/openbmc/linux/Documentation/sound/ |
H A D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 22 too. "Debug detection" will add checks for the detection of cards. 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 63 Module snd-pcm-oss 64 ------------------ 86 regarding opening the device. When this option is non-zero, 90 Module snd-rawmidi [all …]
|
/openbmc/phosphor-debug-collector/ |
H A D | ramoops_manager.cpp | 7 #include <phosphor-logging/elog-errors.hpp> 8 #include <phosphor-logging/lg2.hpp> 50 auto bus = sdbusplus::bus::new_default(); in createError() 51 auto method = bus.new_method_call( in createError() 59 auto resp = bus.call(method); in createError() 64 "sdbusplus D-Bus call exception, error {ERROR} trying to create " in createError() 65 "an error for ramoops detection", in createError() 67 // This is a best-effort logging situation so don't throw anything in createError() 71 lg2::error("D-bus call exception: {ERROR}", "ERROR", e); in createError() 72 // This is a best-effort logging situation so don't throw anything in createError() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | everest,es8326.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Yang <yangxiaohua@everest-semi.com> 21 - description: clock for master clock (MCLK) 23 clock-names: 25 - const: mclk 27 "#sound-dai-cells": 30 everest,jack-pol: 35 Bit(1)/(0) decides the mic properity to be OMTP/CTIA or auto. [all …]
|
H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
/openbmc/linux/include/linux/ |
H A D | smscphy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #define MII_LAN83C185_ISF_INT1 (1<<1) /* Auto-Negotiation Page Received */ 11 #define MII_LAN83C185_ISF_INT2 (1<<2) /* Parallel Detection Fault */ 12 #define MII_LAN83C185_ISF_INT3 (1<<3) /* Auto-Negotiation LP Ack */ 15 #define MII_LAN83C185_ISF_INT6 (1<<6) /* Auto-Negotiation complete */
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/netdata/netdata/ |
H A D | netdata.conf | 5 # wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf 7 # curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf 110 # maximum number of k-means iterations = 1000 113 # anomaly detection grouping method = average 114 # anomaly detection grouping duration = 300 122 # stream anomaly detection charts = yes 133 script to execute on alarm = @@libexecdir/netdata/plugins.d/alarm-notify.sh 145 # mode = static-threaded 153 # x-frame-options response header = 180 registry log file = @@localstatedir/lib/netdata/registry/registry-log.db [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | nomadik-ske-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 22 #include <linux/platform_data/keypad-nomadik-ske.h> 44 /* keypad auto scan registers */ 54 * struct ske_keypad - data structure used by keypad driver 80 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() 82 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits() 85 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits() [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Generic BIOS auto-parser helper functions for HD-audio 16 /* table entry for multi-io paths */ 18 hda_nid_t pin; /* multi-io widget pin NID */ 20 unsigned int ctl_in; /* cached input-pin control value */ 25 * For output, stored in the order of DAC -> ... -> pin, 26 * for input, pin -> ... -> ADC. 30 * multi[] indicates whether it's a selector widget with multi-connectors 56 /* mic/line-in auto switching entry */ 62 int idx; /* imux index, -1 = invalid */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/openbmc/openbmc/meta-ibm/recipes-bsp/u-boot/u-boot-aspeed-sdk/p10bmc/ |
H A D | ibm.json | 59 "Disable Auto Boot from UART or VUART": false, 64 "Disable Auto Boot from UART": false, 65 "Disable Auto Boot from VUART2 over PCIE": true, 66 "Disable Auto Boot from VUART2 over LPC": true, 110 "Enable boot SPI 3B address mode auto-clear": { "value": false }, 111 "Enable SPI 3B/4B address mode auto detection": { "value": false },
|
/openbmc/linux/Documentation/devicetree/bindings/edac/ |
H A D | aspeed-sdram-edac.txt | 7 error detection) and single bit error auto scrubbing by reserving 8 bits for 14 - compatible: should be one of 15 - "aspeed,ast2400-sdram-edac" 16 - "aspeed,ast2500-sdram-edac" 17 - "aspeed,ast2600-sdram-edac" 18 - reg: sdram controller register set should be <0x1e6e0000 0x174> 19 - interrupts: should be AVIC interrupt #0 25 compatible = "aspeed,ast2500-sdram-edac";
|
/openbmc/u-boot/cmd/ |
H A D | otp_info.h | 7 #define OTP_REG_RESERVED -1 8 #define OTP_REG_VALUE -2 9 #define OTP_REG_VALID_BIT -3 74 { 22, 1, 1, "Disable dedicated BMC functions for non-BMC application" }, 103 { 41, 1, 0, "Disable boot SPI 3B address mode auto-clear" }, 104 { 41, 1, 1, "Enable boot SPI 3B address mode auto-clear" }, 105 { 42, 1, 0, "Disable boot SPI 3B/4B address mode auto detection" }, 106 { 42, 1, 1, "Enable boot SPI 3B/4B address mode auto detection" }, 198 { 22, 1, 1, "Disable dedicated BMC functions for non-BMC application" }, 232 { 41, 1, 0, "Disable boot SPI 3B address mode auto-clear" }, [all …]
|