Home
last modified time | relevance | path

Searched +full:power +full:- +full:on +full:- +full:hours (Results 1 – 25 of 104) sorted by relevance

12345

/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_poh_counter.robot5 ... POH (Power-On Hours) counter is the incremental count of power ON
6 ... hours in the system.
10 ... Testcases added -
14 ... Verify POH Counter Reading With Host Power Off
15 ... Verify POH Counter Reading With Host Power On
21 ... Wait Time given - 1 hour, 1 hour 30minutes when Host power OFF, 1 hour
22 ... after Host Power ON
25 ... time / Power operation.
37 Test Teardown FFDC On Test Case Fail
80 ${difference}= Evaluate ${poh_counter_2} - ${poh_counter_1}
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DPowerOnHours.interface.yaml2 Implement to provide the POH(Power-On-Hours) counter.
4 - name: POHCounter
7 This counter shows how many hours the system has been running. The
8 value is a cumulative one and includes all working hours since
/openbmc/openbmc-test-automation/systest/
H A Dtest_boot_acceptance.robot11 # HTX_DURATION Duration of HTX run (e.g. "24 hours", "8 hours").
26 # Master device table is a collection of hardware devices on the system for
38 # This configures the cron to reboot the system and re-run the HTX profile.
50 Test Teardown FFDC On Test Case Fail
56 ${HTX_DURATION} 8 hours
90 Redfish Power On stack_mode=normal
/openbmc/linux/drivers/rtc/
H A Drtc-ds1685.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time
6 * Copyright (C) 2011-2014 Joshua Kinard <kumba@gentoo.org>.
7 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>.
10 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10.
11 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.
12 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.
33 /* ----------------------------------------------------------------------- */
40 * ds1685_read - read a value from an rtc register.
47 return readb((u8 __iomem *)rtc->regs + in ds1685_read()
[all …]
H A Drtc-fm3130.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rtc-fm3130.c - RTC driver for Ramtron FM3130 I2C chip.
6 * Based on ds1307 driver by James Chapman and David Brownell
36 #define FM3130_RTC_CONTROL_BIT_POR (1 << 4) /* Power on reset */
39 #define FM3130_RTC_CONTROL_BIT_WRITE (1 << 1) /* W=1 -> write mode W=0 normal */
40 #define FM3130_RTC_CONTROL_BIT_READ (1 << 0) /* R=1 -> read mode R=0 normal */
69 fm3130->regs[FM3130_RTC_CONTROL] = in fm3130_rtc_mode()
70 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_rtc_mode()
73 fm3130->regs[FM3130_RTC_CONTROL] &= in fm3130_rtc_mode()
78 fm3130->regs[FM3130_RTC_CONTROL] |= FM3130_RTC_CONTROL_BIT_WRITE; in fm3130_rtc_mode()
[all …]
H A Drtc-s35390a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Seiko Instruments S-35390A RTC Driver
73 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg()
76 .addr = client->addr, in s35390a_set_reg()
82 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_set_reg()
83 return -EIO; in s35390a_set_reg()
90 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg()
93 .addr = client->addr, in s35390a_get_reg()
100 if ((i2c_transfer(client->adapter, msg, 1)) != 1) in s35390a_get_reg()
101 return -EIO; in s35390a_get_reg()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
15 on a fuel gauge chip. The battery node should be used where there is
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_chassis.c22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
59 rsp = intf->sendrecv(intf, &req); in ipmi_chassis_power_status()
61 lprintf(LOG_ERR, "Unable to get Chassis Power Status"); in ipmi_chassis_power_status()
62 return -1; in ipmi_chassis_power_status()
64 if (rsp->ccode > 0) { in ipmi_chassis_power_status()
65 lprintf(LOG_ERR, "Get Chassis Power Status failed: %s", in ipmi_chassis_power_status()
66 val2str(rsp->ccode, completion_code_vals)); in ipmi_chassis_power_status()
67 return -1; in ipmi_chassis_power_status()
70 return rsp->data[0] & 1; in ipmi_chassis_power_status()
79 return -1; in ipmi_chassis_print_power_status()
[all …]
/openbmc/phosphor-state-manager/
H A Dchassis_state_manager.hpp45 * @param[in] bus - The Dbus bus object
46 * @param[in] objPath - The Dbus object path
47 * @param[in] id - Chassis id
61 std::chrono::hours{1}, std::chrono::minutes{1}) in __anonacea13680302()
69 // No default in PDI so start at Good, skip D-Bus signal for now
76 this->emit_object_added();
88 /** @brief Increment POHCounter if Chassis Power state is ON */
98 /** @brief Determine status of power into system by examining all the
99 * power-related interfaces of interest
103 /** @brief Determine status of power provided by an Uninterruptible Power
[all …]
H A DREADME.md6 phosphor-state-manager (PSM) software is its support for requests to power on
9 This software also enforces any restore policy (i.e. auto power on system after
10 a system power event or bmc reset) and ensures its states are updated correctly
12 on/running states.
15 basic command line support to query and control phosphor-state-manager
17 OpenBMC system and utilizes D-Bus APIs. These D-Bus APIs are used for
21 phosphor-state-manager are D-Bus interfaces. These interfaces are then used by
27 phosphor-state-manager makes extensive use of systemd. There is a writeup
30 phosphor-state-manager monitors for systemd targets to complete as a trigger to
31 updating the its corresponding D-Bus property. When using PSM, a user must
[all …]
/openbmc/webui-vue/src/locales/
H A Den-US.json32 …word": "Show password as plain text. Note: this will visually expose your password on the screen.",
67 "on": "On", string
95 "power": "Power", string
134 "power": "@:appPageTitle.power", string
139 "power": "Power", string
155 "powerRestorePolicy": "Power restore policy",
161 "serverPowerOperations": "Server power operations",
206 "label": "24-hour time",
221 "dumpsAvailableOnBmc": "Dumps available on BMC",
315 … "item4": "Currently active sessions on all network interfaces will be disconnected.",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DStorageControllerMetrics.v1_0_3.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
37 …"longDescription": "The object shall contain the NVMe-defined 'Endurance Group Critical Warning Su…
39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
54 …indication of whether namespaces in one or more Endurance Groups are in read-only mode not as a re…
55 …hall indicate whether namespaces in one or more Endurance Groups are in read-only mode not as a re…
63 …ability of one or more Endurance Groups is degraded due to significant media-related errors or any…
[all …]
H A DDriveMetrics.v1_2_1.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
54 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
[all …]
/openbmc/openbmc-test-automation/openpower/
H A Dtest_timed_power_on.robot2 Documentation This suite tests Timed Power On(TPO) feature via busctl command
3 ... and verify the power status of the system.
5 ... System can be scheduled to Power ON at a specified time by using this feature.
21 ${CMD_ENABLE_TPO} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition
23 ... ScheduledTransition s "xyz.openbmc_project.State.Host.Transition.On"
25 ${CMD_SET_TPO_TIME} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition
28 ${CMD_GET_TPO_TIME} busctl get-property xyz.openbmc_project.State.ScheduledHostTransition
35 # - Red Hat Enterprise Linux
36 # - SUSE Linux Enterprise Server
37 # Tested on RHEL 8.4.
[all …]
/openbmc/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Universal power supply monitor class
189 POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery Port */
202 POWER_SUPPLY_USB_TYPE_PD, /* Power Delivery Port */
204 POWER_SUPPLY_USB_TYPE_PD_PPS, /* PD Programmable Power Supply */
226 /* Run-time specific power supply configuration */
241 /* Description of power supply */
251 * Functions for drivers implementing power supply class.
253 * this power supply. Instead use power_supply_*() functions (for
264 * of power supply. If this happens during device probe then it must
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DStorageControllerMetrics_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################
4 <!--# Redfish Schema: StorageControllerMetrics v1.0.3
5 <!--#
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle,
7 <!--# available at http://www.dmtf.org/standards/redfish
8 <!--# Copyright 2014-2024 DMTF in cooperation with Storage Networking Industry Association (SNIA).
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
10 <!--################################################################################
[all …]
/openbmc/linux/tools/power/pm-graph/
H A Dsleepgraph.83 sleepgraph \- Suspend/Resume timing analysis
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
27 \fB-h\fR
30 \fB-v\fR
33 \fB-verbose\fR
36 \fB-config \fIfile\fR
39 \fB-m \fImode\fR
42 \fB-o \fIname\fR
46 e.g. suspend-{hostname}-{date}-{time}
48 \fB-rtcwake \fIt\fR | off
[all …]
/openbmc/linux/include/linux/mfd/
H A Dmax8998.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max8998.h - Voltage regulator driver for the Maxim 8998
5 * Copyright (C) 2009-2010 Samsung Electrnoics
46 * max8998_regulator_data - regulator data
49 * @reg_node: DT node of regulator (unused on non-DT platforms)
58 * struct max8998_board - packages regulator init data
62 * @ono: power onoff IRQ number for max8998
79 * @restart: Restart Level in mV: 100, 150, 200, and -1 for disable.
82 * @timeout: Full Timeout in hours: 5, 6, 7, and -1 for disable.
/openbmc/linux/drivers/power/supply/
H A Dmax14577_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577-private.h>
23 * Helper function for mapping values of STATUS2/CHGTYP register on max14577
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state()
56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state()
59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state()
60 * and the charger won't be charging although MBCHOSTEN is on) in max14577_get_charger_state()
61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state()
[all …]
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-laptop.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Based on documentation in the libsmbios package:
10 * Copyright (C) 2005-2014 Dell Inc.
31 #include "dell-rbtn.h"
32 #include "dell-smbios.h"
34 #include "dell-wmi-privacy.h"
45 * The list must end with -1
58 quirks = dmi->driver_data; in dmi_matched()
68 .kbd_timeouts = { 0, 5, 15, 60, 5 * 60, 15 * 60, -1 },
89 .name = "dell-laptop",
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Drockchip,rk817.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RK817 Power Management Integrated Circuit
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
15 that includes regulators, an RTC, a power button, an audio codec, and a
21 - rockchip,rk817
29 '#clock-cells':
31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
[all …]
/openbmc/openbmc-test-automation/lib/pdu/
H A Dcyber.robot2 Documentation Cyber Power Distribution Unit (PDU) library
36 Power Cycle
37 [Documentation] Perform PDU power cycle.
53 # +------- Information -------------------------------------------------------+
57 # Up Time : 178 days 22 hours 29 mins 11 secs.
58 # +------- Console -----------------------------------------------------------+
60 # 1- Device Manager
61 # 2- Network Settings
62 # 3- System
63 # 4- Logout
[all …]
/openbmc/linux/Documentation/admin-guide/laptops/
H A Dlaptop-mode.rst2 How to conserve battery power using laptop-mode
12 ------------
15 to conserve battery power on laptops. It has been reported to cause significant
16 power savings.
31 ------------
35 laptop mode will automatically be started when you're on battery. For
41 located in /etc/default/laptop-mode on Debian-based systems, or in
42 /etc/sysconfig/laptop-mode on other systems.
45 laptops that don't have ACPI. On those laptops, you need to start laptop
52 -------
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm8250-xiaomi-elish-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/phy/phy.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
17 * memory mappings which are different on this device.
19 /delete-node/ &adsp_mem;
20 /delete-node/ &cdsp_secure_heap;
21 /delete-node/ &slpi_mem;
22 /delete-node/ &spss_mem;
23 /delete-node/ &xbl_aop_mem;
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Drtc.rst7 works even with system power off. Such clocks will normally not track
8 the local time zone or daylight savings time -- unless they dual boot
9 with MS-Windows -- but will instead be set to Coordinated Universal Time
12 The newest non-PC hardware tends to just count seconds, like the time(2)
16 Linux has two largely-compatible userspace RTC API families you may
20 so it's not very portable to non-x86 systems.
23 supported by a wide variety of RTC chips on all systems.
31 only issue an alarm up to 24 hours in the future, other hardware may
35 Old PC/AT-Compatible driver: /dev/rtc
36 --------------------------------------
[all …]

12345