/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172.out | 11 dev: isa-fdc, id "" 15 fdtypeA = "auto" 16 fdtypeB = "auto" 18 bus: floppy-bus.0 19 type floppy-bus 23 backend_defaults = "auto" 29 write-cache = "auto" 30 share-rw = false 31 account-invalid = "auto" 32 account-failed = "auto" [all …]
|
/openbmc/phosphor-time-manager/ |
H A D | manager.cpp | 5 #include <phosphor-logging/lg2.hpp> 14 constexpr auto systemdTimeService = "org.freedesktop.timedate1"; 15 constexpr auto systemdTimePath = "/org/freedesktop/timedate1"; 16 constexpr auto systemdTimeInterface = "org.freedesktop.timedate1"; 17 constexpr auto methodSetNtp = "SetNTP"; 18 constexpr auto propertyNtp = "NTP"; 39 auto mode = getSetting(settings.timeSyncMethod.c_str(), in Manager() local 42 onPropertyChanged(propertyTimeMode, mode, true); in Manager() 51 bool oldNtpMode = (Mode::NTP == getTimeMode()); in onPropertyChanged() 57 debug("NTP property changed in phosphor-settings, update to systemd" in onPropertyChanged() [all …]
|
H A D | bmc_epoch.cpp | 8 #include <phosphor-logging/elog-errors.hpp> 9 #include <phosphor-logging/elog.hpp> 10 #include <phosphor-logging/lg2.hpp> 28 constexpr auto systemdTimeService = "org.freedesktop.timedate1"; 29 constexpr auto systemdTimePath = "/org/freedesktop/timedate1"; 30 constexpr auto systemdTimeInterface = "org.freedesktop.timedate1"; 31 constexpr auto methodSetTime = "SetTime"; 54 if (timeFd == -1) in initialize() 60 auto r = timerfd_settime( in initialize() 92 Mode | Set BMC Time in elapsed() [all …]
|
H A D | utils.hpp | 5 #include <phosphor-logging/lg2.hpp> 29 * @param[in] bus - The Dbus bus object 30 * @param[in] service - The Dbus service name 31 * @param[in] path - The Dbus object path 32 * @param[in] interface - The Dbus interface 33 * @param[in] propertyName - The property name to get 41 auto method = bus.new_method_call(service, path, in getProperty() 47 auto reply = bus.call(method); in getProperty() 63 * @param[in] bus - The Dbus bus object 64 * @param[in] service - The Dbus service name [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include <phosphor-logging/elog-errors.hpp> 27 #include <phosphor-logging/elog.hpp> 28 #include <phosphor-logging/log.hpp> 45 constexpr auto SYSTEMD_SERVICE = "org.freedesktop.systemd1"; 46 constexpr auto SYSTEMD_OBJ_PATH = "/org/freedesktop/systemd1"; 47 constexpr auto SYSTEMD_INTERFACE = "org.freedesktop.systemd1.Manager"; 48 constexpr auto FAN_CONTROL_READY_TARGET = "obmc-fan-control-ready@0.target"; 54 * @param[in] bus - The D-Bus bus object 55 * @param[in] condition - The condition to check if true [all …]
|
H A D | zone.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 #include <phosphor-logging/elog-errors.hpp> 26 #include <phosphor-logging/elog.hpp> 27 #include <phosphor-logging/log.hpp> 50 Zone::Zone(Mode mode, sdbusplus::bus_t& bus, const std::string& path, in Zone() argument 64 auto& fanDefs = std::get<fanListPos>(def); 66 for (auto& fanDef : fanDefs) 71 // Do not enable set speed events when in init mode 72 if (mode == Mode::control) 75 for (auto& hand : std::get<handlerPos>(def)) [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-apalis-emc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Copyright 2016-2019 Toradex AG 7 #include <dt-bindings/clock/tegra124-car.h> 11 emc-timings-1 { 12 nvidia,ram-code = <1>; 14 timing-12750000 { 15 clock-frequency = <12750000>; 16 nvidia,parent-clock-frequency = <408000000>; 18 clock-names = "emc-parent"; 21 timing-20400000 { [all …]
|
H A D | tegra124-jetson-tk1-emc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/clock/tegra124-car.h> 7 emc-timings-3 { 8 nvidia,ram-code = <3>; 10 timing-12750000 { 11 clock-frequency = <12750000>; 12 nvidia,parent-clock-frequency = <408000000>; 14 clock-names = "emc-parent"; 17 timing-20400000 { 18 clock-frequency = <20400000>; [all …]
|
H A D | tegra124-nyan-blaze-emc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/clock/tegra124-car.h> 7 emc-timings-1 { 8 nvidia,ram-code = <1>; 10 timing-12750000 { 11 clock-frequency = <12750000>; 12 nvidia,parent-clock-frequency = <408000000>; 14 clock-names = "emc-parent"; 17 timing-20400000 { 18 clock-frequency = <20400000>; [all …]
|
H A D | tegra30-asus-tf300t.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-asus-transformer-common.dtsi" 5 #include "tegra30-asus-lvds-display.dtsi" 12 tf300t-init-hog { 13 gpio-hog; 15 output-low; 27 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 35 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 43 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
/openbmc/openpower-occ-control/ |
H A D | powermode.cpp | 10 #include <phosphor-logging/elog-errors.hpp> 11 #include <phosphor-logging/lg2.hpp> 13 #include <xyz/openbmc_project/Control/Power/Mode/server.hpp> 30 using Mode = sdbusplus::xyz::openbmc_project::Control::Power::server::Mode; typedef 35 #define VALID_POWER_MODE_SETTING(mode) \ argument 36 ((mode == SysPwrMode::STATIC) || (mode == SysPwrMode::POWER_SAVING) || \ 37 (mode == SysPwrMode::BALANCED_PERF) || (mode == SysPwrMode::MAX_PERF) || \ 38 (mode == SysPwrMode::EFF_FAVOR_POWER) || \ 39 (mode == SysPwrMode::EFF_FAVOR_PERF)) 41 #define VALID_OEM_POWER_MODE_SETTING(mode) \ argument [all …]
|
H A D | powermode.hpp | 16 #include <xyz/openbmc_project/Control/Power/Mode/server.hpp> 30 using ModeInterface = sdbusplus::server::object_t<Base::Mode>; 34 constexpr auto PMODE_PATH = "/xyz/openbmc_project/control/host0/power_mode"; 35 constexpr auto PMODE_INTERFACE = "xyz.openbmc_project.Control.Power.Mode"; 36 constexpr auto POWER_MODE_PROP = "PowerMode"; 37 constexpr auto POWER_SAFE_MODE_PROP = "SafeMode"; 39 constexpr auto PIPS_PATH = "/xyz/openbmc_project/control/host0/power_ips"; 40 constexpr auto PIPS_INTERFACE = 42 constexpr auto IPS_ACTIVE_PROP = "Active"; 43 constexpr auto IPS_ENABLED_PROP = "Enabled"; [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/ |
H A D | buildjson.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 /* This type of action requires a path and unit, and optionally a mode. */ in buildFileSystemd() 37 const auto& path = data.at("path"); in buildFileSystemd() 38 const auto& unit = data.at("unit"); in buildFileSystemd() 40 /* the mode parameter is optional. */ in buildFileSystemd() 42 const auto& mode = data.find("mode"); in buildFileSystemd() local 43 if (mode != data.end()) in buildFileSystemd() 45 systemdMode = data.at("mode").get<std::string>(); in buildFileSystemd() 55 /* This type of action requires a unit, and optionally a mode. */ in buildSystemd() 56 const auto& unit = data.at("unit"); in buildSystemd() [all …]
|
H A D | general_systemd.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 31 static constexpr auto systemdService = "org.freedesktop.systemd1"; 32 static constexpr auto systemdRoot = "/org/freedesktop/systemd1"; 33 static constexpr auto systemdInterface = "org.freedesktop.systemd1.Manager"; 34 static constexpr auto jobInterface = "org.freedesktop.systemd1.Job"; 41 triggerService.c_str(), job->c_str()); in trigger() 53 [&](sdbusplus::message_t& m) { this->match(m); }); in trigger() 55 auto method = bus.new_method_call(systemdService, systemdRoot, in trigger() 58 method.append(mode); in trigger() 63 std::fprintf(stderr, "Triggered %s mode %s: %s\n", in trigger() [all …]
|
/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 67 { 19, 1, 0, "Boot from eMMC speed mode : normal" }, 68 { 19, 1, 1, "Boot from eMMC speed mode : high" }, 73 { 22, 1, 0, "Normal BMC mode" }, 74 { 22, 1, 1, "Disable dedicated BMC functions for non-BMC application" }, 99 { 39, 1, 0, "Disable SAFS mode" }, 100 { 39, 1, 1, "Enable SAFS mode" }, 103 { 41, 1, 0, "Disable boot SPI 3B address mode auto-clear" }, [all …]
|
/openbmc/linux/drivers/platform/x86/amd/pmf/ |
H A D | auto-mode.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 23 pr_debug("Auto Mode Data - BEGIN\n"); in amd_pmf_dump_auto_mode_defaults() 27 data->transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 29 data->transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 31 data->transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 33 data->transition[AUTO_TRANSITION_TO_QUIET].time_constant); in amd_pmf_dump_auto_mode_defaults() 36 pr_debug("pfloor_perf: %u mW\n", data->mode_set[AUTO_PERFORMANCE].power_floor); in amd_pmf_dump_auto_mode_defaults() 37 pr_debug("pfloor_balanced: %u mW\n", data->mode_set[AUTO_BALANCE].power_floor); in amd_pmf_dump_auto_mode_defaults() 38 pr_debug("pfloor_quiet: %u mW\n", data->mode_set[AUTO_QUIET].power_floor); in amd_pmf_dump_auto_mode_defaults() [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | targets.hpp | 8 #include <phosphor-logging/elog-errors.hpp> 9 #include <phosphor-logging/log.hpp> 23 static constexpr auto RPM_TARGET = "RPM"; 24 static constexpr auto PWM_TARGET = "PWM"; 29 * @tparam T - The target type. 36 static_assert(sizeof(Targets) == -1, "Unsupported Target type"); in fail() 57 * @tparam T - The target type 59 * @param[in] sensor - A sensor type and name 60 * @param[in] ioAccess - hwmon sysfs access object 61 * @param[in] devPath - The /sys/devices sysfs path [all …]
|
/openbmc/openbmc/meta-ibm/recipes-bsp/u-boot/u-boot-aspeed-sdk/p10bmc/ |
H A D | ibm.json | 39 "Disable OTP Memory BIST Mode": true, 45 "Secure Boot Mode": "Mode_2", 48 "Hash mode": "SHA512", 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, 84 "MAC 1 RMII mode": { "value": "RMII/NCSI" }, 85 "MAC 2 RMII mode": { "value": "RMII/NCSI" }, 93 "Boot from eMMC speed mode": { "value": "normal" }, [all …]
|
H A D | ips.json | 46 "Disable OTP Memory BIST Mode": true, 52 "Secure Boot Mode": "Mode_2", 55 "Hash mode": "SHA512", 66 "Disable Auto Boot from UART or VUART": false, 71 "Disable Auto Boot from UART": false, 72 "Disable Auto Boot from VUART2 over PCIE": true, 73 "Disable Auto Boot from VUART2 over LPC": true, 91 "MAC 1 RMII mode": { "value": "RMII/NCSI" }, 92 "MAC 2 RMII mode": { "value": "RMII/NCSI" }, 100 "Boot from eMMC speed mode": { "value": "normal" }, [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 14 bit 8:0 -- Gap 15 bit 16:8 -- GPIO 18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface 35 These commands are used to enable/disable auto sleep mode 39 1 -- Enable auto sleep mode 40 0 -- Disable auto sleep mode 44 # Enable auto sleep mode 48 # Disable auto sleep mode 58 1 -- Enable host sleep 59 0 -- Wake up firmware [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | tach_sensor.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include <phosphor-logging/elog.hpp> 23 #include <phosphor-logging/log.hpp> 38 constexpr auto FAN_TARGET_PROPERTY = "Target"; 39 constexpr auto FAN_VALUE_PROPERTY = "Value"; 40 constexpr auto MAX_PREV_TACHS = 8; 41 constexpr auto MAX_PREV_TARGETS = 8; 50 * @param[in] interface - the interface the property is on 51 * @param[in] propertName - the name of the property 52 * @param[in] path - the dbus path [all …]
|
/openbmc/linux/Documentation/sound/hd-audio/ |
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 …]
|
H A D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 9 -------------- 11 Channel Mode 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 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nvidia,tegra124-emc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra124-emc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The EMC interfaces with the off-chip SDRAM to service the request stream 19 const: nvidia,tegra124-emc 26 - description: external memory clock 28 clock-names: [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | fancontroller.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 auto fan = std::make_unique<FanController>(id, inputs, owner); in createFanPid() 40 ec::pid_info_t* info = fan->getPIDInfo(); in createFanPid() 55 for (const auto& name : _inputs) in inputProc() 58 value = _owner->getCachedValues(name).unscaled; in inputProc() 65 * sort of have to guess -- all the other fans are reporting, why in inputProc() 92 * in the configuration, and it's a nice-to-have.. in inputProc() 103 double maxRPM = _owner->getMaxSetPointRequest(); in setptProc() 130 /* If doing tuning, don't go into failsafe mode. */ in outputProc() 133 bool failsafeCurrState = _owner->getFailSafeMode(); in outputProc() [all …]
|