Home
last modified time | relevance | path

Searched +full:power +full:- +full:off +full:- +full:time +full:- +full:sec (Results 1 – 25 of 269) sorted by relevance

1234567891011

/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
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
31 # Time in seconds.
35 # - Red Hat Enterprise Linux
36 # - SUSE Linux Enterprise Server
40 # User can input -v HOST_TIMER_POWER_ON:h24 ( e.g. 24 hours )
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dutils.robot85 ... ${interval}=10 sec
88 # max_timeout Maximum time to wait.
89 # This should be expressed in Robot Framework's time format
92 # This should be expressed in Robot Framework's time format
109 # milliseconds The time watchdog timer value in milliseconds (e.g. 1000 =
111 # sleep_time Time delay for host watchdog error to get injected.
141 Redfish Power On stack_mode=skip quiet=1
174 ... Set Variable echo ${os_password} | sudo -S reboot
180 Initiate OS Host Power Off
189 # hard Indicates whether to do a hard vs. soft power off.
[all …]
H A Dbmc_date_and_time_utils.robot2 Documentation This module provides general keywords for date time and ntp.
30 # date_time New time to set for BMC (eg.
31 # "2019-06-30 09:21:28"). If this value is
33 # date time of the local system.
36 # this is when testing a bad date-time, the
40 # Assign default value of UTC current date time if date_time is empty.
45 # Change date format to 2024-03-07T07:58:50+00:00 from 2024-03-07 07:58:50.000.
47 Wait Until Keyword Succeeds 1min 5sec
51 ${date_time_formatted}= Convert Date ${date_time} result_format=%Y-%m-%dT%H:%M:%S+00:00
52 Wait Until Keyword Succeeds 1min 5sec
[all …]
H A Dipmi_client.robot4 ... command. IPMI raw command will use dbus-send command
16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1
22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT}
23 ${HOST}= -H
37 # (e.g. "power status").
40 # -C=3, -I=lanplus, etc.). Currently, only
64 # -C=3, -I=lanplus, etc.). Currently, only
93 ... ${IPMITOOL_PATH} -I dbus ${command} return_stdout=True
100 [Documentation] Run the raw IPMI command in-band.
123 [Documentation] Run the standard IPMI command in-band.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dinput.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 $ref: /schemas/types.yaml#/definitions/uint32-array
34 linux,input-type:
37 - 1 # EV_KEY
38 - 2 # EV_REL
39 - 3 # EV_ABS
40 - 5 # EV_SW
[all …]
H A Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6357-keys
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D137.out6 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14 32 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18 qemu-io: Parameter 'lazy-refcounts' expects 'on' or 'off'
19 qemu-io: cache-size, l2-cache-size and refcount-cache-size may not be set at the same time
20 qemu-io: l2-cache-size may not exceed cache-size
21 qemu-io: refcount-cache-size may not exceed cache-size
22 qemu-io: L2 cache entry size must be a power of two between 512 and the cluster size (65536)
[all …]
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_power_restore.robot2 Documentation This suite verifies the power restore policy supported by
5 ... https://github.com/openbmc/docs/blob/master/rest-api.md
26 Test Restore Policy ALWAYS_POWER_OFF With Host Off
40 AlwaysOff Off Off
53 Test Restore Policy ALWAYS_POWER_ON With Host Off
67 AlwaysOn Off Running
99 Test Restore Policy Restore Last State With Host Off
100 … [Documentation] Verify the RESTORE_LAST_STATE restore policy functionality while the Host is off.
105 LastState Off Off
122 Redfish Set Power Restore Policy ${policy}
[all …]
H A Dtest_basic_ci.robot18 ${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start|Found ordering cycle
23 # 3 minutes standby boot time.
36 # root@witherspoon:~# systemctl list-jobs --no-pager | cat
42 # root@witherspoon:~# systemctl list-jobs --no-pager | cat
45 Redfish Hard Power Off
47 ... systemctl list-jobs --no-pager | cat
52 [Documentation] Front and Rear LED should be off at standby.
55 Redfish Power Off stack_mode=skip quiet=1
63 …Check For Regex In Journald ${ERROR_REGEX} error_check=${0} boot=-b filter_string=${SKIP_ERROR}
67 [Documentation] Compare BMC average boot time to a constant threshold.
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/
H A Dtest_date_and_time_sub_menu.robot3 Documentation Test OpenBMC GUI "Date and time" sub-menu of "Settings".
9 Test Setup Navigate To Date and Time Page
15 ${xpath_date_time_heading} //h1[text()="Date and time"]
16 ${xpath_select_manual} //*[@data-test-id="dateTime-radio-configureManual"]
17 ${xpath_select_ntp} //*[@data-test-id="dateTime-radio-configureNTP"]
18 ${xpath_manual_date} //input[@data-test-id="dateTime-input-manualDate"]
19 ${xpath_manual_time} //input[@data-test-id="dateTime-input-manualTime"]
20 ${xpath_ntp_server1} //input[@data-test-id="dateTime-input-ntpServer1"]
21 ${xpath_ntp_server2} //input[@data-test-id="dateTime-input-ntpServer2"]
22 ${xpath_ntp_server3} //input[@data-test-id="dateTime-input-ntpServer3"]
[all …]
/openbmc/openbmc-test-automation/extended/
H A Dtest_bmc_reset_loop.robot2 Documentation Power cycle loop. This is to test where network service
3 ... becomes unavailable during AC-Cycle stress test.
22 ${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start|Found ordering cycle
26 Run Multiple Power Cycle
27 [Documentation] Execute multiple power cycles.
34 Repeat Keyword ${LOOP_COUNT} times Power Cycle System Via PDU
68 Power Cycle System Via PDU
69 [Documentation] Power cycle system and wait for BMC to reach Ready state.
71 PDU Power Cycle
72 Check If BMC Is Up 5 min 10 sec
[all …]
/openbmc/openbmc-test-automation/gui/lib/
H A Dgui_resource.robot2 Documentation This is a resource file containing user-defined keywords for new Vue based OpenBMC G…
13 ${xpath_power_page} //*[@data-test-id='appHeader-container-power']
14 ${xpath_power_shutdown} //*[@data-test-id='serverPowerOperations-button-shutDown']
15 ${xpath_power_power_on} //*[@data-test-id='serverPowerOperations-button-powerOn']
16 ${xpath_power_reboot} //*[@data-test-id='serverPowerOperations-button-reboot']
33 # (e.g. https://openbmc-test.mybluemix.net/#/login).
64 # (e.g. https://openbmc-test.mybluemix.net/#/login).
77 ... in 1 minute time.
79 Wait Until Keyword Succeeds 195 sec 65 sec Retry Browser Login Attempts
179 Wait Until Keyword Succeeds 30 sec 10 sec Click Button ${xpath_confirm_bmc_reboot}
[all …]
H A Dresource.robot3 ... user-defined keywords which are available to all gui modules
28 ${obmc_PowerOff_state} Off
88 # (e.g. https://openbmc-test.mybluemix.net/#/login).
143 ... Run Keywords Power On OpenBMC AND
144 ... Wait Until Keyword Succeeds 10 min 60 sec Is Host Running
146 ... Run Keywords Redfish.Login AND Redfish Power Off AND Redfish.Logout
149 Power On OpenBMC
150 [Documentation] Power on the OBMC system.
152 Log To Console Power On OpenBMC...
167 [Documentation] Power off the OBMC.
[all …]
/openbmc/linux/drivers/input/misc/
H A Dstpmic1_onkey.c1 // SPDX-License-Identifier: GPL-2.0
15 * struct stpmic1_onkey - OnKey data
29 struct input_dev *input_dev = onkey->input_dev; in onkey_falling_irq()
32 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_falling_irq()
41 struct input_dev *input_dev = onkey->input_dev; in onkey_rising_irq()
44 pm_wakeup_event(input_dev->dev.parent, 0); in onkey_rising_irq()
52 struct stpmic1 *pmic = dev_get_drvdata(pdev->dev.parent); in stpmic1_onkey_probe()
53 struct device *dev = &pdev->dev; in stpmic1_onkey_probe()
61 return -ENOMEM; in stpmic1_onkey_probe()
63 onkey->irq_falling = platform_get_irq_byname(pdev, "onkey-falling"); in stpmic1_onkey_probe()
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_managers_bmc.robot21 ${REBOOT_REGEX} ^\-- Boot | Startup finished
49 # "UUID": "xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxxx"
68 # 'channel_info': {'medium_type': 'lan-802.3',
69 # 'protocol_type': 'ipmb-1.0',
70 # 'session_supported': 'multi-session',
106 Redfish BMC Manager GracefulRestart When Host Off
107 [Documentation] BMC graceful restart when host is powered off.
122 Redfish Power Off stack_mode=skip
128 ${stdout} ${stderr} ${rc}= BMC Execute Command test ! -f ${test_file_path} print_out=1
129 Verify BMC RTC And UTC Time Drift
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics STPMIC1 Power Management IC
9 description: STMicroelectronics STPMIC1 Power Management IC
12 - pascal Paillet <p.paillet@foss.st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
[all …]
H A Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Actions Semi ATC260x Power Management IC
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
14 ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR
16 (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A
18 ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO
20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO
[all …]
/openbmc/openbmc-test-automation/systest/
H A Dtest_boot_acceptance.robot12 # HTX_INTERVAL The time delay between consecutive checks of HTX
38 # This configures the cron to reboot the system and re-run the HTX profile.
73 ... Wait Until Keyword Succeeds 15 min 30 sec Is OS Booted
81 ... Wait Until Keyword Succeeds 20 min 10 sec Is Host Off
82 Wait Until Keyword Succeeds 15 min 15 sec Is OS Booted
90 Redfish Power On stack_mode=normal
/openbmc/linux/Documentation/hwmon/
H A Dasc7621.rst20 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 …]
/openbmc/linux/Documentation/networking/device_drivers/hamradio/
H A Dz8530drv.rst1 .. SPDX-License-Identifier: GPL-2.0
5 SCC.C - Linux driver for Z8530 based HDLC cards for AX.25
14 1. ftp://ftp.ccac.rwth-aachen.de/pub/jr/z8530drv-utils_3.0-3.tar.gz
16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz
41 AX.25-HOWTO on how to emulate a KISS TNC on network device drivers.
54 please read 'man insmod' that comes with module-init-tools.
64 of your rc.*-files. This has to be done BEFORE you can
92 - this is just a delimiter to make sccinit a bit simpler to
96 - the address of the data port A of this Z8530 (needed)
98 - the address of the control port A (needed)
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dpower.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
10 /* Power Management Commands, Responses, Notifications */
13 * enum iwl_ltr_config_flags - masks for LTR config command flags
39 * struct iwl_ltr_config_cmd_v1 - configures the LTR
53 * struct iwl_ltr_config_cmd - configures the LTR
77 * enum iwl_power_flags - masks for power table command flags
78 * @POWER_FLAGS_POWER_SAVE_ENA_MSK: '1' Allow to save power by turning off
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_discovery.robot103 [Documentation] To check for avahi-tools package.
106 # avahi-tools-0.6.31-19.el7.x86_64
108 ${command}= Set Variable rpm -qa | grep avahi-tools
111 Should Contain ${resp_rpm} avahi-tools ignore_case=True msg=avahi-tools is not available.
136 … ${resp_service} ${stderr}= Execute Command avahi-browse -rt ${service_type} return_stderr=True
171 Redfish OBMC Reboot (off)
174 Wait Until Keyword Succeeds 2 min 30 sec
180 ... and apply time.
228 Redfish Power Off stack_mode=skip
229 Get Host Power State
[all …]
/openbmc/linux/drivers/staging/vt6655/
H A Dcard.c1 // SPDX-License-Identifier: GPL-2.0+
8 * s_vSafeResetTx - Rest Tx
9 * CARDvSetRSPINF - Set RSPINF
10 * CARDvUpdateBasicTopRate - Update BasicTopRate
11 * CARDbAddBasicRate - Add to BasicRateSet
12 * CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
13 * CARDqGetTSFOffset - Calculate TSFOffset
14 * vt6655_get_current_tsf - Read Current NIC TSF counter
15 * CARDqGetNextTBTT - Calculate Next Beacon TSF counter
16 * CARDvSetFirstNextTBTT - Set NIC Beacon time
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_pwrctrl.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
52 BIT[4] = sub-state
92 #define LPS_DELAY_TIME (1 * HZ) /* 1 sec */
101 rf_sleep, /* 802.11 Power Save mode */
102 rf_off, /* HW/SW Radio OFF or Inactive Power Save */
107 /* RF Off Level for IPS or HW/SW radio off */
111 #define RT_RF_OFF_LEVL_HALT_NIC BIT(3) /* NIC halt, re-initialize hw parameters */
112 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */
118 #define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false)
[all …]
/openbmc/linux/drivers/watchdog/
H A Dpcwd_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire PCI-PC Watchdog Card Driver
5 * (c) Copyright 2003-2007 Wim Van Sebroeck <wim@iguana.be>.
16 * provided "AS-IS" and at no charge.
36 #include <linux/errno.h> /* For the -ENODEV/... values */
46 #include <linux/ioport.h> /* For io-port access */
53 #define WATCHDOG_DRIVER_NAME "PCI-PC Watchdog"
68 * PCI-PC Watchdog card.
76 #define WD_PCI_R2DS 0x40 /* Relay 2 Disable Temperature-trip /
85 /* according to documentation max. time to process a command for the pci
[all …]

1234567891011