Home
last modified time | relevance | path

Searched +full:loop +full:- +full:powered (Results 1 – 25 of 156) sorted by relevance

1234567

/openbmc/openbmc-test-automation/redfish/update_service/
H A Dtest_bmc_image_switch.robot19 # User can input -v LOOP_COUNT:n to drive the switch back and forth for
26 [Documentation] Switch image at host powered off.
28 [Template] Firmware Switch Loop
37 [Template] Firmware Switch Loop
45 Firmware Switch Loop
58 Continue For Loop If '${power_on}' == 'NO'
64 # to be executed when Host is powered off.
87 # [version]: 2.12.0-dev-1440-g8dada0a1a
92 # [version]: 2.12.0-dev-1441-g8deadbeef
98 Continue For Loop If '${fw_inv_dict['${id}']['functional']}' == 'True'
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
33 spi-cpol: true
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ad5421.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lars-Peter Clausen <lars@metafoo.de>
11 - Jonathan Cameron <jic23@kernel.org>
14 AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter
15 applications. It provides a 16-bit DAC, current amplifier, voltage regulator
16 to drive the loop and a voltage reference.
30 - compatible
31 - reg
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dmanager.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
56 * @param bus the D-Bus bus
62 * Implements the D-Bus "configure" method.
66 * This method should be called when the system is being powered on. It
72 * Implements the D-Bus "monitor" method.
77 * - regulator sensors will be read and published on D-Bus
78 * - phase fault detection will be performed
80 * Regulator monitoring should be enabled when the system is being powered
84 * Regulator monitoring should be disabled when the system is being powered
88 * Regulator monitoring can also be temporarily disabled and then re-enabled
[all …]
H A Dmanager.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
54 * implement the D-Bus compatible interface.
62 const fs::path standardConfigFileDir{"/usr/share/phosphor-regulators"};
68 const fs::path testConfigFileDir{"/etc/phosphor-regulators"};
87 // Obtain D-Bus service name
90 // If system is already powered on, enable monitoring
109 system->configure(services); in configure()
122 // Throw InternalFailure to propogate error status to D-Bus client in configure()
164 // normally disabled because the system is being powered off. The in monitor()
166 // while the system is powered off. in monitor()
[all …]
H A Dsensors.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
145 * will loop through all voltage rails, reading all supported sensor types for
148 * - startCycle() // At the start of a sensor monitoring cycle
149 * - startRail() // Before reading all the sensors for one rail
150 * - setValue() // To set the value of one sensor for the current rail
151 * - endRail() // After reading all the sensors for one rail
152 * - endCycle() // At the end of a sensor monitoring cycle
155 * system is powered on and voltage regulators begin producing output. It is
156 * typically disabled when the system is powered off. It can also be
164 // Specify which compiler-generated methods we want
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/docs/
H A DREADME.md1 # phosphor-power-sequencer
5 The phosphor-power-sequencer application powers the chassis on/off and monitors
14 The application is a single-threaded C++ executable. It is a 'daemon' process
16 reaches the Ready state and before the chassis is powered on.
18 The application is driven by an optional, system-specific JSON configuration
30 - UCD90160
31 - UCD90320
33 Additional device types can be supported by creating a new sub-class within the
38 - A BMC application or script sets the `state` property to 1 on the
39 `org.openbmc.control.Power` D-Bus interface.
[all …]
/openbmc/smbios-mdr/include/
H A Dcpuinfo_utils.hpp7 // http://www.apache.org/licenses/LICENSE-2.0
30 /** Host CPU is powered off. */
32 /** Host CPU is powered on, but BIOS has not completed POST. */
38 /** Current host state - initialized to "off" */
42 * Register D-Bus match handlers to keep hostState current. The D-Bus logic is
44 * this function is called and the asio event loop is running.
46 * @param[in] conn D-Bus ASIO connection.
65 * @tparam Dest Destination type - mostly useful to avoid an extra static_cast
70 * @param loBit 0-based index of the least significant bit to return.
71 * @param hiBit 0-based index of the most significant bit to return.
[all …]
/openbmc/linux/drivers/usb/core/
H A Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/usb/core/generic.c - generic driver for USB devices (not interfaces)
5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de>
9 * (C) Copyright Johannes Erdfelt 1999-2001
14 * (C) Copyright David Brownell 2000-2004
17 * (C) Copyright Greg Kroah-Hartman 2002-2003
34 return desc->bInterfaceClass == USB_CLASS_COMM in is_rndis()
35 && desc->bInterfaceSubClass == 2 in is_rndis()
36 && desc->bInterfaceProtocol == 0xff; in is_rndis()
41 return desc->bInterfaceClass == USB_CLASS_MISC in is_activesync()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dmcpm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright: (C) 2012-2013 Linaro Limited
40 * branch once it is ready to re-enter the kernel using ptr, or NULL if it
41 * should be gated. A gated CPU is held in a WFE loop until its vector
59 * mcpm_is_available - returns whether MCPM is initialized and available
66 * mcpm_cpu_power_up - make given CPU in given cluster runable
71 * The identified CPU is brought out of reset. If the cluster was powered
87 * mcpm_cpu_power_down - power the calling CPU down
89 * The calling CPU is powered down.
92 * then the cluster is prepared for power-down too.
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dsmp-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include <asm/mips-cps.h>
21 #include <asm/pm-cps.h>
24 #include <asm/smp-cps.h>
64 for (v = 0; v < min_t(int, core_vpes, NR_CPUS - nvpes); v++) { in cps_smp_setup()
88 /* Core 0 is powered up (we're running on it) */ in cps_smp_setup()
103 /* If we have an FPU, enroll ourselves in the FPU-full mask */ in cps_smp_setup()
117 /* Detect whether the CCA is unsuited to multi-core SMP */ in cps_prepare_cpus()
122 /* The CCA is coherent, multi-core is fine */ in cps_prepare_cpus()
127 /* CCA is not coherent, multi-core is not usable */ in cps_prepare_cpus()
[all …]
H A Dpm-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <asm/asm-offsets.h>
17 #include <asm/mips-cps.h>
20 #include <asm/pm-cps.h>
21 #include <asm/smp-cps.h>
25 * cps_nc_entry_fn - type of a generated non-coherent state entry function
27 * @nc_ready_count: pointer to a non-coherent mapping of the core ready_count
29 * The code entering & exiting non-coherent states is generated at runtime
32 * core-specific code particularly for cache routines. If coupled_coherence
33 * is non-zero and this is the entry function for the CPS_PM_NC_WAIT state,
[all …]
/openbmc/phosphor-fan-presence/monitor/test/
H A Dpower_off_rule_test.cpp73 rules[0]->check(PowerRuleState::runtime, health); in TEST()
74 EXPECT_FALSE(rules[0]->active()); in TEST()
76 rules[0]->check(PowerRuleState::atPgood, health); in TEST()
77 EXPECT_TRUE(rules[0]->active()); in TEST()
79 // Run the event loop, since the timeout is 0 it should in TEST()
84 // powered off, but it should at least say it isn't active. in TEST()
85 rules[0]->cancel(); in TEST()
86 EXPECT_FALSE(rules[0]->active()); in TEST()
91 rules[1]->check(PowerRuleState::runtime, health); in TEST()
92 EXPECT_FALSE(rules[1]->active()); in TEST()
[all …]
/openbmc/linux/Documentation/w1/slaves/
H A Dw1_ds28e17.rst7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge
19 -----------
30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \
31 SYMLINK+="i2c-$attr{name}"
33 may be used to create stable /dev/i2c- entries based on the unique id of the
41 it is connected. The power-on default of the DS28E17 is 400kBaud, but
42 chips may come and go on the Onewire bus without being de-powered and
44 reconnected DS28E17 device on the Onewire bus, it will re-apply this
55 needed timeout cannot be pre-calculated correctly. As the w1_ds28e17
56 driver checks the DS28E17's busy flag in a loop after the precalculated
[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',
82 Continue For Loop If
107 [Documentation] BMC graceful restart when host is powered off.
128 ${stdout} ${stderr} ${rc}= BMC Execute Command test ! -f ${test_file_path} print_out=1
137 [Documentation] BMC force restart when host is powered off.
158 ${stdout} ${stderr} ${rc}= BMC Execute Command test ! -f ${test_file_path} print_out=1
/openbmc/linux/drivers/soundwire/
H A Dintel_bus_common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2 // Copyright(c) 2015-2023 Intel Corporation. All rights reserved.
14 struct device *dev = sdw->cdns.dev; in intel_start_bus()
15 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus()
16 struct sdw_bus *bus = &cdns->bus; in intel_start_bus()
23 if (bus->multi_link) in intel_start_bus()
34 if (bus->multi_link) { in intel_start_bus()
63 schedule_delayed_work(&cdns->attach_dwork, in intel_start_bus()
71 struct device *dev = sdw->cdns.dev; in intel_start_bus_after_reset()
72 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus_after_reset()
[all …]
/openbmc/u-boot/board/freescale/m54455evb/
H A DREADME4 TsiChung Liew(Tsi-Chung.Liew@freescale.com)
12 - board/freescale/m54455evb/m54455evb.c Dram setup, IDE pre init, and PCI init
13 - board/freescale/m54455evb/flash.c Atmel and INTEL flash support
14 - board/freescale/m54455evb/Makefile Makefile
15 - board/freescale/m54455evb/config.mk config make
16 - board/freescale/m54455evb/u-boot.lds Linker description
18 - common/cmd_bdinfo.c Clock frequencies output
19 - common/cmd_mii.c mii support
21 - arch/m68k/cpu/mcf5445x/cpu.c cpu specific code
22 - arch/m68k/cpu/mcf5445x/cpu_init.c Flexbus ChipSelect, Mux pins setup, icache and RTC extra regs
[all …]
/openbmc/qemu/target/arm/
H A Darm-powerctl.c2 * QEMU support -- ARM Power Control specific functions.
4 * Copyright (c) 2016 Jean-Christophe Dubois
7 * See the COPYING file in the top-level directory.
13 #include "cpu-qom.h"
15 #include "arm-powerctl.h"
17 #include "qemu/main-loop.h"
69 arm_emulate_firmware_reset(target_cpu_state, info->target_el); in arm_set_cpu_on_async_work()
70 target_cpu_state->halted = 0; in arm_set_cpu_on_async_work()
73 assert(info->target_el == arm_current_el(&target_cpu->env)); in arm_set_cpu_on_async_work()
75 if (info->target_aa64) { in arm_set_cpu_on_async_work()
[all …]
/openbmc/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas R-Car Gen3 for USB2.0 PHY driver
5 * Copyright (C) 2015-2017 Renesas Electronics Corporation
7 * This is based on the phy-rcar-gen2 driver:
12 #include <linux/extcon-provider.h>
105 bool powered; member
115 struct mutex lock; /* protects rphys[...].powered */
135 * ---------------------+---------------++--------------+------------
146 if (ch->extcon_host) { in rcar_gen3_phy_usb2_work()
147 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
[all …]
/openbmc/linux/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c1 // SPDX-License-Identifier: GPL-2.0-only
33 * onboard_hub_create_pdevs -- create platform devices for onboard USB hubs
40 * control whether the hub remains powered during system suspend or not.
53 * platform device for each physical onboard hub, hence for root hubs the loop
69 struct usb_hcd *hcd = bus_to_hcd(parent_hub->bus); in onboard_hub_create_pdevs()
74 if (!parent_hub->dev.of_node) in onboard_hub_create_pdevs()
77 if (!parent_hub->parent && !usb_hcd_is_primary_hcd(hcd)) in onboard_hub_create_pdevs()
80 for (i = 1; i <= parent_hub->maxchild; i++) { in onboard_hub_create_pdevs()
88 npc = of_parse_phandle(np, "peer-hub", 0); in onboard_hub_create_pdevs()
99 put_device(&pdev->dev); in onboard_hub_create_pdevs()
[all …]
/openbmc/linux/kernel/rcu/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # RCU-related configuration options
11 # Dynticks-idle tracking
26 thousands of CPUs, but for which real-time response
37 designed for UP systems from which real-time response
42 bool "Make expert-level adjustments to RCU configuration"
46 expert-level adjustments to RCU configuration. By default,
47 no such adjustments can be made, which has the often-beneficial
48 side-effect of preventing "make oldconfig" from asking you all
52 Say Y if you need to make expert-level adjustments to RCU.
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcsr.h8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
70 * low power states due to driver-invoked device resets
71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
77 * The MAC (uCode processor, etc.) does not need to be powered up for accessing
86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */
100 * 31-8: Reserved
101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions
102 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D
[all …]
/openbmc/linux/Documentation/power/
H A Dsuspend-and-cpuhotplug.rst5 (C) 2011 - 2014 Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
8 I. Differences between CPU hotplug and Suspend-to-RAM
11 How does the regular CPU hotplug code differ from how the Suspend-to-RAM
14 Well, a picture is worth a thousand words... So ASCII art follows :-)
21 What happens when regular CPU hotplug and Suspend-to-RAM race with each other
24 On a high level, the suspend-resume cycle goes like this::
26 |Freeze| -> |Disable nonboot| -> |Do suspend| -> |Enable nonboot| -> |Thaw |
33 -----------------
62 | ----------
76 frozen_cpus mask ----------
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_core.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001,2003 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2001-2003 IBM Corp.
58 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()
59 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()
61 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info()
67 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); in get_cur_bus_info()
68 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info()
69 slot_cur->bus_on->current_bus_mode = in get_cur_bus_info()
70 CURRENT_BUS_MODE(slot_cur->busstatus); in get_cur_bus_info()
[all …]
/openbmc/linux/Documentation/hwmon/
H A Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
23 -----------
35 available through debugfs are the serial number, firmware version and power-on
37 temperature curves directly from the pump. If it's not connected, the fan-related
59 and an estimation of the dissipated/absorbed power in the liquid cooling loop.
63 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations,
80 -----------
86 -------------
89 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius)
[all …]

1234567