/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-toshiba_acpi | 8 * 0x1 -> FN-Z 9 * 0x2 -> AUTO (also called TIMER) 10 * 0x8 -> ON 11 * 0x10 -> OFF 14 parameters, kernel 3.15 only accepts the first two (FN-Z and 15 AUTO). 25 whenever the operation mode is set to AUTO (or TIMER), 26 valid values range from 0-60. 29 type and the range accepted for type 2 is 1-60. 37 Description: This file shows the absolute position of the built-in [all …]
|
H A D | sysfs-devices-power | 15 from sleep states, such as the memory sleep state (suspend to 20 used to activate the system from a sleep state. Such devices 25 + "disabled\n" not to do so; 29 "disabled" to it. 33 be enabled to wake up the system from sleep states. 40 space to control the run-time power management of the device. 45 + "auto\n" to allow the device to be power managed at run time; 48 The default for all devices is "auto", which means that they may 61 with the main suspend/resume thread) during system-wide power 68 + "disabled\n" to forbid it; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | motorcomm,yt8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Sae <frank.sae@motor-comm.com> 13 - $ref: ethernet-phy.yaml# 18 - ethernet-phy-id4f51.e91a 19 - ethernet-phy-id4f51.e91b 21 rx-internal-delay-ps: 24 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. 30 tx-internal-delay-ps: [all …]
|
/openbmc/intel-ipmi-oem/src/ |
H A D | chassiscommands.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 21 #include <phosphor-logging/elog-errors.hpp> 22 #include <phosphor-logging/log.hpp> 78 auto bus = getSdBus(); in enclosureIdentifyLed() 95 auto bus = getSdBus(); in getIDState() 129 for (const auto& t : props) in idButtonPropChanged() 131 auto key = t.first; in idButtonPropChanged() 132 auto value = t.second; in idButtonPropChanged() 143 if (identifyTimer->isRunning()) in idButtonPropChanged() 149 identifyTimer->stop(); in idButtonPropChanged() [all …]
|
/openbmc/phosphor-watchdog/test/ |
H A D | watchdog.cpp | 21 constexpr auto TEST_MIN_INTERVAL = duration<uint64_t, std::deci>(2); 42 wdog->interval(milliseconds(defaultInterval).count()); in WdogTest() 43 // Initially the watchdog would be disabled in WdogTest() 44 EXPECT_FALSE(wdog->enabled()); in WdogTest() 63 static constexpr auto TEST_PATH = "/test/path"; 66 // disabled or have its timeRemaining reset. 69 auto previousTimeRemaining = wdog->timeRemaining(); in waitForWatchdog() 70 auto ret = Quantum(0); in waitForWatchdog() 72 previousTimeRemaining >= wdog->timeRemaining() && in waitForWatchdog() 73 wdog->timerEnabled()) in waitForWatchdog() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3328-nanopi-r2c.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com> 9 /dts-v1/; 10 #include "rk3328-nanopi-r2s.dts" 14 compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328"; 18 phy-handle = <&yt8521s>; 23 /delete-node/ ethernet-phy@1; 25 yt8521s: ethernet-phy@3 { 26 compatible = "ethernet-phy-ieee802.3-c22"; 29 motorcomm,clk-out-frequency-hz = <125000000>; [all …]
|
H A D | rk3328-orangepi-r1-plus-lts.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com> 9 /dts-v1/; 10 #include "rk3328-orangepi-r1-plus.dts" 14 compatible = "xunlong,orangepi-r1-plus-lts", "rockchip,rk3328"; 18 phy-handle = <&yt8531c>; 23 /delete-node/ ethernet-phy@1; 25 yt8531c: ethernet-phy@0 { 26 compatible = "ethernet-phy-ieee802.3-c22"; 29 motorcomm,auto-sleep-disabled; [all …]
|
/openbmc/openbmc-test-automation/lib/ras/ |
H A D | host_utils.robot | 20 # input_cmd -l|--list-chips 21 # -c|--chip <chip-id> <addr> 27 [Documentation] Executes opal-gard command on OS with the given 33 ${output} ${stderr} ${rc}= OS Execute Command opal-gard ${input_cmd} 45 ${cmd}= Catenate putscom -c 0x${proc_chip_id} 0x${fir_address} 0x${value} 55 ${cmd}= Catenate -l | grep -i ${chip_type} | cut -c1-8 58 # getscom -l | grep processor | cut -c1-8 59 # 00000008 - False 60 # 00000000 - True 77 ${cmd}= Catenate set -o pipefail ; ${probe_cpu_file_path} [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | icount-common.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 29 #include "qemu/error-report.h" 32 #include "qemu/main-loop.h" 38 #include "sysemu/cpu-timers.h" 39 #include "sysemu/cpu-timers-internal.h" 44 * this module is split off from cpu-timers because the icount part 45 * is TCG-specific, and does not need to be built for other accels. 73 return (cpu->icount_budget - in icount_get_executed() 74 (cpu->neg.icount_decr.u16.low + cpu->icount_extra)); in icount_get_executed() 80 * thread so the main-loop can see time has moved forward. [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | clockdomain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2011 Texas Instruments, Inc. 6 * Copyright (C) 2008-2011 Nokia Corporation 22 #include <linux/clk-provider.h> 56 if (!strcmp(name, temp_clkdm->name)) { in _clkdm_lookup() 66 * _clkdm_register - register a clockdomain 70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is 77 if (!clkdm || !clkdm->name) in _clkdm_register() 78 return -EINVAL; in _clkdm_register() 80 pwrdm = pwrdm_lookup(clkdm->pwrdm.name); in _clkdm_register() [all …]
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 34 System Sleep model: 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). [all …]
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 41 MSRs are read as 64-bits, u32 truncates the displayed value to 32-bits. 51 Any string that does not match a key-word above is used [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = &uart2; 22 u-boot,dm-pre-reloc; 23 u-boot,boot0 = &spi_flash; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&fw_wp_ap>; 30 write-protect-gpio = <&gpio7 6 GPIO_ACTIVE_LOW>; 35 compatible = "pwm-backlight"; [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tc_tunnel.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # In-place tunneling 10 readonly ns_prefix="ns-$$-" 35 ip netns exec "${ns1}" ethtool -K veth1 tso off 37 ip -netns "${ns1}" link set veth1 up 38 ip -netns "${ns2}" link set veth2 up 40 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1 41 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2 42 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad 43 ip -netns "${ns2}" -6 addr add "${ns2_v6}/64" dev veth2 nodad [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | utils.robot | 128 Sleep ${sleep_time} 148 Initiate Auto Reboot 149 [Documentation] Initiate an auto reboot. 155 # Set the auto reboot policy. 156 Set Auto Reboot ${1} 174 ... Set Variable echo ${os_password} | sudo -S reboot 197 ... Set Variable echo ${os_password} | sudo -S shutdown${time_string} 273 # prior call to this function or via a -v parm), this keyword will simply 281 # -v boot_prog_method:Old to force old behavior on such builds. 382 Get Auto Reboot [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 constexpr auto busName = "xyz.openbmc_project.Power.Regulators"; 43 constexpr auto managerObjPath = "/xyz/openbmc_project/power/regulators/manager"; 44 constexpr auto chassisStatePath = "/xyz/openbmc_project/state/chassis0"; 45 constexpr auto chassisStateIntf = "xyz.openbmc_project.State.Chassis"; 46 constexpr auto chassisStateProp = "CurrentPowerState"; 54 * implement the D-Bus compatible interface. 56 constexpr auto defaultConfigFileName = "config.json"; 62 const fs::path standardConfigFileDir{"/usr/share/phosphor-regulators"}; 68 const fs::path testConfigFileDir{"/etc/phosphor-regulators"}; [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | cmdevt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 32 cmd_node->priv = priv; in mwifiex_init_cmd_node() 33 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node() 36 cmd_node->wait_q_enabled = true; in mwifiex_init_cmd_node() 37 cmd_node->cmd_wait_q_woken = false; in mwifiex_init_cmd_node() 38 cmd_node->condition = &cmd_node->cmd_wait_q_woken; in mwifiex_init_cmd_node() 40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 41 cmd_node->cmd_skb = cmd_node->skb; in mwifiex_init_cmd_node() 53 spin_lock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node() [all …]
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sdr.robot | 50 # Get SDR OEM record count from "sdr elist -vvv" command output. 51 ${sdr_data}= Run IPMI Standard Command sdr elist -vvv 53 ${sdr_info_record_count}= Evaluate ${sdr_info['record_count']} - ${sdr_oem} 116 Test Auto Reboot SDR Info 117 [Documentation] Verify auto reboot SDR info via IPMI and Redfish. 127 Run Keyword If '${state_ipmi}' == 'Disabled' 134 [Documentation] Verify auto reboot SDR info via IPMI and Redfish. 144 Run Keyword If '${state_ipmi}' == 'Disabled' 207 Sleep 10s 258 # occ0 | 08h | ok | 210.1 | Device Disabled [all …]
|
/openbmc/linux/drivers/base/power/ |
H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * control - Report/change current runtime PM setting of the device 21 * + "auto\n" to allow the device to be power managed at run time; 24 * The default for all devices is "auto", which means that devices may be 30 * wakeup - Report/change current wakeup option for device 37 * + "disabled\n" not to do so; or 44 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events 57 * active, or which may have wakeup disabled. Some drivers rely on 58 * wakeup events internally (unless they are disabled), keeping 60 * saves runtime power, without requiring system-wide sleep states. [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 91 By default, this is disabled due to x86 early mapping [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy-c45.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "mdio-open-alliance.h" 14 * genphy_c45_baset1_able - checks if the PMA has BASE-T1 extended abilities 21 if (phydev->pma_extable == -ENODATA) { in genphy_c45_baset1_able() 26 phydev->pma_extable = val; in genphy_c45_baset1_able() 29 return !!(phydev->pma_extable & MDIO_PMA_EXTABLE_BT1); in genphy_c45_baset1_able() 33 * genphy_c45_pma_can_sleep - checks if the PMA have sleep support 48 * genphy_c45_pma_resume - wakes up the PMA module 54 return -EOPNOTSUPP; in genphy_c45_pma_resume() 62 * genphy_c45_pma_suspend - suspends the PMA module [all …]
|
H A D | motorcomm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Author: Frank <Frank.Sae@motor-comm.com> 22 * ------------------------------------------------------------ 26 * ------------------------------------------------------------ 28 * ------------------------------------------------------------ 86 /* Speed Auto Downgrade Control Register */ 104 /* FIBER Auto-Negotiation link partner ability */ 125 /* TX Gig-E Delay is bits 7:4, default 0x5 126 * TX Fast-E Delay is bits 15:12, default 0xf 127 * Delay = 150ps * N - 250ps [all …]
|
/openbmc/u-boot/Documentation/devicetree/bindings/ram/ |
H A D | fsl,mpc83xx-mem-controller.txt | 3 This driver supplies support for the embedded RAM controller on MCP83xx-series 13 - compatible: Must be "fsl,mpc83xx-mem-controller" 14 - reg: The address of the RAM controller's register space 15 - #address-cells: Must be 2 16 - #size-cells: Must be 1 17 - driver_software_override: DDR driver software override is enabled (1) or 18 disabled (0) 19 - p_impedance_override: DDR driver software p-impedance override; possible 26 - n_impedance_override: DDR driver software n-impedance override; possible 33 - odt_termination_value: ODT termination value for I/Os; possible values: [all …]
|
/openbmc/linux/include/linux/ |
H A D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 16 * In-kernel definitions. 27 * struct input_value - input value representation 46 * struct input_dev - represents an input device 73 * not sleep 104 * by @event_lock and must not sleep 116 * to make sure that dev->open() is only called when the first 117 * user opens device and dev->close() is called when the very 120 * causes input_open_device*() fail with -ENODEV. [all …]
|