Home
last modified time | relevance | path

Searched +full:auto +full:- +full:mode (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/openbmc/qemu/tests/qemu-iotests/
H A D172.out11 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 …]
H A D157.out7 Cache mode: writeback
8 Testing: cache='writeback' wce=',write-cache=auto'
9 Cache mode: writeback
10 Testing: cache='writeback' wce=',write-cache=on'
11 Cache mode: writeback
12 Testing: cache='writeback' wce=',write-cache=off'
13 Cache mode: writethrough
15 Cache mode: writethrough
16 Testing: cache='writethrough' wce=',write-cache=auto'
17 Cache mode: writethrough
[all …]
/openbmc/phosphor-time-manager/
H A Dmanager.cpp5 #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 Dutils.hpp5 #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 …]
H A Dbmc_epoch.cpp8 #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 …]
/openbmc/phosphor-ipmi-flash/bmc/
H A Dbuildjson.cpp8 * 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 Dgeneral_systemd.cpp8 * 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()
60 auto obj_path = in trigger()
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dmanager.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
26 #include <phosphor-logging/elog-errors.hpp>
27 #include <phosphor-logging/elog.hpp>
43 constexpr auto SYSTEMD_SERVICE = "org.freedesktop.systemd1";
44 constexpr auto SYSTEMD_OBJ_PATH = "/org/freedesktop/systemd1";
45 constexpr auto SYSTEMD_INTERFACE = "org.freedesktop.systemd1.Manager";
46 constexpr auto FAN_CONTROL_READY_TARGET = "obmc-fan-control-ready@0.target";
52 * @param[in] bus - The D-Bus bus object
53 * @param[in] condition - The condition to check if true
54 * @return result - True if the condition is true
[all …]
H A Dzone.cpp8 * 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/lg2.hpp>
49 Zone::Zone(Mode mode, sdbusplus::bus_t& bus, const std::string& path, in Zone() argument
63 auto& fanDefs = std::get<fanListPos>(def);
65 for (auto& fanDef : fanDefs)
70 // Do not enable set speed events when in init mode
71 if (mode == Mode::control)
74 for (auto& hand : std::get<handlerPos>(def))
[all …]
/openbmc/openpower-occ-control/
H A Dpowermode.cpp10 #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 Dpowermode.hpp15 #include <xyz/openbmc_project/Control/Power/Mode/server.hpp>
29 using ModeInterface = sdbusplus::server::object_t<Base::Mode>;
33 constexpr auto PMODE_PATH = "/xyz/openbmc_project/control/host0/power_mode";
34 constexpr auto PMODE_INTERFACE = "xyz.openbmc_project.Control.Power.Mode";
35 constexpr auto POWER_MODE_PROP = "PowerMode";
36 constexpr auto POWER_SAFE_MODE_PROP = "SafeMode";
38 constexpr auto PIPS_PATH = "/xyz/openbmc_project/control/host0/power_ips";
39 constexpr auto PIPS_INTERFACE =
41 constexpr auto IPS_ACTIVE_PROP = "Active";
42 constexpr auto IPS_ENABLED_PROP = "Enabled";
[all …]
/openbmc/openbmc/meta-ibm/recipes-bsp/u-boot/u-boot-aspeed-sdk/p10bmc/
H A Dibm.json39 "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 Dips.json46 "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/u-boot/cmd/
H A Dotp_info.h7 #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/phosphor-hwmon/
H A Dtargets.hpp8 #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/phosphor-fan-presence/monitor/
H A Dtach_sensor.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
22 #include <phosphor-logging/elog.hpp>
23 #include <phosphor-logging/lg2.hpp>
37 constexpr auto FAN_TARGET_PROPERTY = "Target";
38 constexpr auto FAN_VALUE_PROPERTY = "Value";
39 constexpr auto MAX_PREV_TACHS = 8;
40 constexpr auto MAX_PREV_TARGETS = 8;
49 * @param[in] interface - the interface the property is on
50 * @param[in] propertName - the name of the property
51 * @param[in] path - the dbus path
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Dcommon_utility.hpp22 * | Commmon Utility | - - - - - - -
32 * | Vpd specific Utility | - - - - - - -
44 * @param[in] i_errCode - error code.
61 * @param [in] i_aByte - The input byte.
65 constexpr auto toHex(const size_t& i_aByte) noexcept in toHex()
67 constexpr auto l_map = "0123456789abcdef"; in toHex()
102 * @param[out] o_errCode - To set error code in case of error.
124 Logger::getLoggerInstance()->logMessage( in executeCmd()
138 Logger::getLoggerInstance()->logMessage( in executeCmd()
148 * @param [in] i_string - Input string.
[all …]
/openbmc/phosphor-modbus/tests/
H A Dtest_port.cpp25 std::string mode = {}; member
43 static constexpr auto clientDevicePath = "/tmp/ttyPortV0";
44 static constexpr auto serverDevicePath = "/tmp/ttyPortV1";
45 static constexpr auto serviceName = "xyz.openbmc_project.TestModbusPort";
56 auto TestHoldingRegisters(PortConfigIntf::Config& config, MockPort& port, in TestHoldingRegisters()
58 -> sdbusplus::async::task<void> in TestHoldingRegisters()
63 auto ret = co_await port.readHoldingRegisters( in TestHoldingRegisters()
74 for (auto i = 0; i < TestIntf::testSuccessReadHoldingRegisterCount; i++) in TestHoldingRegisters()
90 auto TestGetUSBPortConfig( in TestGetUSBPortConfig()
92 -> sdbusplus::async::task<void> in TestGetUSBPortConfig()
[all …]
/openbmc/phosphor-time-manager/test/
H A DTestBmcEpoch.cpp45 bmcEpoch->onModeChanged(Mode::NTP); in TEST_F()
46 EXPECT_EQ(Mode::NTP, manager.getTimeMode()); in TEST_F()
48 bmcEpoch->onModeChanged(Mode::Manual); in TEST_F()
49 EXPECT_EQ(Mode::Manual, manager.getTimeMode()); in TEST_F()
54 // Default mode is MANUAL in TEST_F()
55 EXPECT_EQ(Mode::Manual, manager.getTimeMode()); in TEST_F()
60 auto t1 = bmcEpoch->elapsed(); in TEST_F()
62 auto t2 = bmcEpoch->elapsed(); in TEST_F()
68 // TODO: setting time will call sd-bus functions and it will fail on host in TEST_F()
/openbmc/phosphor-pid-control/pid/
H A Dfancontroller.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2017 Google Inc
37 auto fan = std::make_unique<FanController>(id, inputs, owner); in createFanPid()
38 ec::pid_info_t* info = fan->getPIDInfo(); in createFanPid()
53 for (const auto& name : _inputs) in inputProc()
56 value = _owner->getCachedValues(name).unscaled; in inputProc()
63 * sort of have to guess -- all the other fans are reporting, why in inputProc()
90 * in the configuration, and it's a nice-to-have.. in inputProc()
101 double maxRPM = _owner->getMaxSetPointRequest(); in setptProc()
128 /* If doing tuning, don't go into failsafe mode. */ in outputProc()
[all …]
/openbmc/phosphor-host-ipmid/
H A Dwhitelist-filter.cpp4 #include <phosphor-logging/elog-errors.hpp>
5 #include <phosphor-logging/lg2.hpp>
26 * on incoming interface and a restriction mode setting
65 // wait until io->run is going to fetch RestrictionMode in AllowlistFilter()
71 * @param[in] devices - vector of devices object path
82 for (auto& dev : devices) in cacheRestrictedMode()
88 objects->service(restrictionModeSetting, restrictionModeIntf); in cacheRestrictedMode()
93 "Could not look up restriction mode interface from cache"); in cacheRestrictedMode()
97 std::string mode; in cacheRestrictedMode() local
100 auto propValue = ipmi::getDbusProperty( in cacheRestrictedMode()
[all …]
/openbmc/phosphor-pid-control/ipmi/
H A Ddbus_mode.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2017 Google Inc
6 #include <ipmid/api-types.hpp>
10 #include <xyz/openbmc_project/Control/Mode/client.hpp>
17 using ControlMode = sdbusplus::common::xyz::openbmc_project::control::Mode;
22 static constexpr auto objectPath = "/xyz/openbmc_project/settings/fanctrl/zone";
23 static constexpr auto busName = "xyz.openbmc_project.State.FanCtrl";
24 static constexpr auto propertiesintf = "org.freedesktop.DBus.Properties";
41 auto propertyReadBus = sdbusplus::bus::new_system(); in getFanCtrlProperty()
42 auto pimMsg = propertyReadBus.new_method_call(busName, path.c_str(), in getFanCtrlProperty()
[all …]
/openbmc/openbmc/meta-yadro/recipes-phosphor/ipmi/phosphor-ipmi-host/
H A D0001-Add-support-for-persistent-only-settings.patch4 Subject: [PATCH] Add support for persistent-only settings
7 one-time setting mode (as per IPMI 2.0 specification).
9 This commit adds support for such persistent-only settings.
13 Change-Id: Iec8e2f5bddbc50d270916567effe334f10db2987
14 Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
15 Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
16 ---
17 settings.cpp | 35 +++++++++++++++++++++++++++++++----
18 1 file changed, 31 insertions(+), 4 deletions(-)
20 diff --git a/settings.cpp b/settings.cpp
[all …]
/openbmc/phosphor-fan-presence/control/json/
H A Ddbus_zone.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
32 static constexpr auto thermalModeIntf =
34 static constexpr auto supportedProp = "Supported";
35 static constexpr auto currentProp = "Current";
48 * @param[in] zone - Zone object
55 * @param[in] value - Value to set 'Current' to
57 * @return - The updated value of the 'Current' property
62 * @brief Restore persisted thermalmode `Current` mode property value,
63 * setting the mode to "Default" otherwise
72 * @brief Save the thermalmode `Current` mode property to persisted storage
/openbmc/openbmc/poky/meta/recipes-core/base-files/base-files/
H A Dfstab1 # stock fstab - you probably want to override this with a machine specific one
3 /dev/root / auto defaults 1 1
5 devpts /dev/pts devpts mode=0620,ptmxmode=0666,gid=5 0 0
6 tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
10 #/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0

12345678910>>...26