Home
last modified time | relevance | path

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

12345678910>>...29

/openbmc/phosphor-power/phosphor-regulators/test/
H A Dphase_fault_detection_tests.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
65 * - Regulator Device
66 * - I/O expander Device
67 * - Chassis that contains the Devices
68 * - System that contains the Chassis
77 auto regI2CInterface = std::make_unique<i2c::MockedI2CInterface>();
78 this->regI2CInterface = regI2CInterface.get();
81 auto regulator = std::make_unique<Device>(
85 this->regulator = regulator.get();
88 auto ioExpI2CInterface = std::make_unique<i2c::MockedI2CInterface>();
[all …]
H A Dchassis_tests.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
151 auto presenceDetection = in TEST_F()
156 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST_F()
157 auto device = std::make_unique<Device>( in TEST_F()
170 presenceDetectionPtr->execute(services, *system, chassis, *devicePtr); in TEST_F()
171 EXPECT_TRUE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
177 EXPECT_FALSE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
183 auto action = std::make_unique<MockAction>(); in TEST_F()
188 auto sensorMonitoring = in TEST_F()
193 auto rail = std::make_unique<Rail>("vddr1", std::move(configuration), in TEST_F()
[all …]
H A Dsystem_tests.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
77 EXPECT_EQ(system.getChassis()[0]->getNumber(), 1); in TEST()
83 EXPECT_EQ(system.getRules()[0]->getID(), "set_voltage_rule"); in TEST()
90 auto presenceDetection = in TEST()
95 auto i2cInterface = std::make_unique<i2c::MockedI2CInterface>(); in TEST()
96 auto device = std::make_unique<Device>( in TEST()
105 auto chassis = in TEST()
117 presenceDetectionPtr->execute(services, system, *chassisPtr, *devicePtr); in TEST()
118 EXPECT_TRUE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST()
124 EXPECT_FALSE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST()
[all …]
H A Ddevice_tests.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
70 auto chassis = std::make_unique<Chassis>(1, chassisInvPath);
71 this->chassis = chassis.get();
77 this->system =
120 auto presenceDetection = in TEST_F()
128 auto configuration = in TEST_F()
136 auto phaseFaultDetection = in TEST_F()
158 EXPECT_EQ(device.getPresenceDetection()->getActions().size(), 1); in TEST_F()
160 EXPECT_EQ(device.getConfiguration()->getVolts().has_value(), false); in TEST_F()
161 EXPECT_EQ(device.getConfiguration()->getActions().size(), 2); in TEST_F()
[all …]
/openbmc/linux/drivers/message/fusion/lsi/
H A Dmpi_log_fc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2000-2008 LSI Corporation. All rights reserved.
41 …O_FC_INIT_ERROR_OUT_OF_ORDER_FRAME = 0x20000001, /* received an out of order frame - unsupported */
46 …INIT_ERROR_SUBPROC_DEAD = 0x20000006, /* Main processor could not initialize sub-processor */
48 …MPI_IOCLOGINFO_FC_INIT_ERROR_RX_BAD_STATUS = 0x20000008, /* Receiver detected context mismatc…
49 …MPI_IOCLOGINFO_FC_INIT_ERROR_RX_UNEXPECTED_FRAME= 0x20000009, /* CtxMgr detected unsupported frame…
56 …MPI_IOCLOGINFO_FC_TARGET_DOAR_KILLED_BY_LIP = 0x21000003, /* Data Out, Auto Response, not sent…
57 …MPI_IOCLOGINFO_FC_TARGET_DIAR_KILLED_BY_LIP = 0x21000004, /* Data In, Auto Response, not sent …
58 …MPI_IOCLOGINFO_FC_TARGET_DIAR_MISSING_DATA = 0x21000005, /* Data In, Auto Response, missing d…
60 …MPI_IOCLOGINFO_FC_TARGET_WRSP_KILLED_BY_LIP = 0x21000007, /* Auto-response after a write not s…
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dparport.rst4 The ``parport`` code provides parallel-port support under Linux. This
16 port-sharing) and architecture-dependent (which deals with actually
28 architecture-dependent code with (for example)::
30 # insmod parport_pc io=0x3bc,0x378,0x278 irq=none,7,auto
32 to tell the ``parport`` code that you want three PC-style ports, one at
34 auto-detected IRQ. Currently, PC-style (``parport_pc``), Sun ``bpp``,
39 are automatically detected.
43 --------
49 options parport_pc io=0x378,0x278 irq=7,auto
51 modprobe will load ``parport_pc`` (with the options ``io=0x378,0x278 irq=7,auto``)
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-power-twl40309 "auto" draw power as appropriate for detected
19 be taken that battery is not over-charged.
30 "auto" draw power as appropriate for detected
/openbmc/linux/include/uapi/linux/
H A Dmii.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * linux/mii.h: definitions for MII-compatible transceivers
23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */
24 #define MII_STAT1000 0x0a /* 1000BASE-T status */
30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */
45 #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */
48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */
55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */
56 #define BMSR_JCD 0x0002 /* Jabber detected */
58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
[all …]
/openbmc/u-boot/include/linux/
H A Dmii.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * linux/mii.h: definitions for MII-compatible transceivers
20 #define MII_CTRL1000 0x09 /* 1000BASE-T control */
21 #define MII_STAT1000 0x0a /* 1000BASE-T status */
27 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */
42 #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */
45 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */
52 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */
53 #define BMSR_JCD 0x0002 /* Jabber detected */
55 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
[all …]
/openbmc/linux/drivers/scsi/
H A Dsense_codes.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817]
8 SENSE_CODE(0x0001, "Filemark detected")
9 SENSE_CODE(0x0002, "End-of-partition/medium detected")
10 SENSE_CODE(0x0003, "Setmark detected")
11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected")
12 SENSE_CODE(0x0005, "End-of-data detected")
14 SENSE_CODE(0x0007, "Programmable early warning detected")
51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress")
87 SENSE_CODE(0x0801, "Logical unit communication time-out")
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_sdr.robot50 # 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.
134 [Documentation] Verify auto reboot SDR info via IPMI and Redfish.
261 # cpu0_core0 | 12h | ok | 208.1 | Presence detected
263 # cpu0_core1 | 15h | ok | 208.2 | Presence detected
299 ... regexp=^.*[0-9a-z_].${component_name}\[_0-9a-z]*$
313 # OperatingSystemS | 05h | ok | 35.1 | boot completed - device not specified
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dspeedstep-lib.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
17 SPEEDSTEP_CPU_P4M = 0x00000004, /* P4-M */
18 /* the following processors are not speedstep-capable and are not auto-detected
19 * in speedstep_detect_processor(). However, their speed can be detected using
26 /* speedstep states -- only two of them */
32 /* detect a speedstep-capable processor */
/openbmc/phosphor-debug-collector/
H A Dramoops_manager.cpp7 #include <phosphor-logging/elog-errors.hpp>
8 #include <phosphor-logging/lg2.hpp>
32 // Create error to notify user that a ramoops has been detected in Manager()
50 auto bus = sdbusplus::bus::new_default(); in createError()
51 auto method = bus.new_method_call( in createError()
59 auto resp = bus.call(method); in createError()
64 "sdbusplus D-Bus call exception, error {ERROR} trying to create " in createError()
67 // This is a best-effort logging situation so don't throw anything in createError()
71 lg2::error("D-bus call exception: {ERROR}", "ERROR", e); in createError()
72 // This is a best-effort logging situation so don't throw anything in createError()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/bus/
H A Dbrcm,bus-axi.txt5 - compatible : brcm,bus-axi
7 - reg : iomem address range of chipcommon core
9 The cores on the AXI bus are automatically detected by bcma with the
13 them manually through device tree. Use an interrupt-map to specify the
17 The top-level axi bus may contain children representing attached cores
18 (devices). This is needed since some hardware details can't be auto
19 detected (e.g. IRQ numbers). Also some of the cores may be responsible
25 compatible = "brcm,bus-axi";
28 #address-cells = <1>;
29 #size-cells = <1>;
[all …]
/openbmc/u-boot/arch/arm/mach-imx/
H A Dvideo.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <asm/mach-imx/video.h>
16 if (dev->detect && dev->detect(dev)) { in board_video_skip()
17 panel = dev->mode.name; in board_video_skip()
18 printf("auto-detected panel %s\n", panel); in board_video_skip()
24 printf("No panel detected: default to %s\n", panel); in board_video_skip()
50 return -EINVAL; in board_video_skip()
62 return readb(&hdmi->phy_stat0) & HDMI_DVI_STAT; in detect_hdmi()
/openbmc/linux/include/linux/
H A Dsmscphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define MII_LAN83C185_ISF_INT1 (1<<1) /* Auto-Negotiation Page Received */
12 #define MII_LAN83C185_ISF_INT3 (1<<3) /* Auto-Negotiation LP Ack */
14 #define MII_LAN83C185_ISF_INT5 (1<<5) /* Remote Fault Detected */
15 #define MII_LAN83C185_ISF_INT6 (1<<6) /* Auto-Negotiation complete */
/openbmc/linux/Documentation/hwmon/
H A Dpmbus-core.rst9 power-management protocol with a fully defined command language that facilitates
11 protocol is implemented over the industry-standard SMBus serial interface and
12 enables programming, control, and real-time monitoring of compliant power
18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters
22 commands, and manufacturers can add as many non-standard commands as they like.
23 Also, different PMBUs devices act differently if non-supported commands are
43 PMBus device capabilities auto-detection
46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported
47 PMBus commands. Auto-detection is somewhat limited, since there are simply too
50 pages (see the PMBus specification for details on multi-page PMBus devices).
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Danyof.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
22 #include <phosphor-logging/log.hpp>
34 static const auto powerOnDelayTime = 5s;
45 for (auto& sensor : s) in AnyOf()
50 _powerState->addCallback( in AnyOf()
51 std::get<1>(fan) + "-anyOf", in AnyOf()
56 if (_powerState->isPowerOn()) in AnyOf()
65 auto sit = in stateChanged()
66 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged()
71 auto origState = in stateChanged()
[all …]
/openbmc/u-boot/drivers/net/
H A Dsmc91111.h1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*------------------------------------------------------------------------
3 . smc91111.h - macros for the LAN91C111 Ethernet Driver
6 . Sysgo Real-Time Solutions, GmbH <www.elinos.com>
27 ---------------------------------------------------------------------------*/
71 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1))))
72 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
74 unsigned int __p = (unsigned int)((a)->iobase + ((p)<<1)); \
80 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
81 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r))))
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/3com/
H A D3c509.rst1 .. SPDX-License-Identifier: GPL-2.0
21 ethercards in Linux. These cards are commonly known by the most widely-used
22 card's 3Com model number, 3c509. They are all 10mb/s ISA-bus cards and shouldn't
23 be (but sometimes are) confused with the similarly-numbered PCI-bus "3c905"
28 - 3c509 (original ISA card)
29 - 3c509B (later revision of the ISA card; supports full-duplex)
30 - 3c589 (PCMCIA)
31 - 3c589B (later revision of the 3c589; supports full-duplex)
32 - 3c579 (EISA)
45 The driver allows boot- or load-time overriding of the card's detected IOADDR,
[all …]
/openbmc/bmcweb/redfish-core/include/registries/
H A Dstorage_device_message_registry.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
6 * This is an auto-generated header which contains definitions
18 // clang-format off
23 "Copyright 2020-2023 DMTF. All rights reserved.",
42 "A battery charging condition was detected.",
43 "A charging condition for the battery located in '%1' was detected.",
54 "A battery failure condition was detected.",
55 "A failure condition for the battery located in '%1' was detected.",
66 "A battery missing condition was detected.",
[all …]
/openbmc/linux/arch/mips/bcm63xx/
H A Ddev-flash.c50 .name = "physmap-flash",
72 /* no way to auto detect so assume parallel */ in bcm63xx_detect_flash_type()
99 return -EINVAL; in bcm63xx_detect_flash_type()
121 pr_warn("unsupported serial flash detected\n"); in bcm63xx_flash_register()
122 return -ENODEV; in bcm63xx_flash_register()
124 pr_warn("unsupported NAND flash detected\n"); in bcm63xx_flash_register()
125 return -ENODEV; in bcm63xx_flash_register()
129 return -ENODEV; in bcm63xx_flash_register()
/openbmc/phosphor-state-manager/
H A Dhost_state_manager.hpp10 #include <phosphor-logging/lg2.hpp>
52 * @param[in] bus - The Dbus bus object
53 * @param[in] objPath - The Dbus object path
54 * @param[in] id - The Host id
84 // Sets auto-reboot attempts to max-allowed
89 this->emit_object_added();
105 * @brief Set value for allowable auto-reboot count
111 * @param[in] value - desired Reboot count value
135 * this function and set to the number of the allowed auto-reboot
142 * @param[in] value - Reboot count value
[all …]
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensorMain.cpp10 #include <phosphor-logging/lg2.hpp>
41 auto findBus = values.find("Bus"); in sdrHandler()
49 auto& sdrsen = sdrsensor[busIndex]; in sdrHandler()
52 sdrsen->getSDRRepositoryInfo(); in sdrHandler()
62 auto findStatus = values.find(power::property); in reinitSensors()
66 std::get<std::string>(findStatus->second).ends_with(".Running"); in reinitSensors()
76 initCmdTimer->expires_after( in reinitSensors()
79 initCmdTimer->async_wait([](const boost::system::error_code ec) { in reinitSensors()
85 for (const auto& [name, sensor] : sensors) in reinitSensors()
89 sensor->runInitCm in reinitSensors()
[all...]
/openbmc/openpower-occ-control/
H A Docc_status.hpp55 const std::string sysfsName = "occ-hwmon";
79 * @param[in] event - sd_event unique pointer reference
80 * @param[in] path - DBus object path
81 * @param[in] manager - OCC manager instance
82 * @param[in] callBack - Callback handler to invoke during
84 * @param[in] resetCallBack - callback handler to invoke for resetting the
144 this->emit_object_added(); in Status()
147 /** @brief Since we are overriding the setter-occActive but not the
148 * getter-occActive, we need to have this using in order to
149 * allow passthrough usage of the getter-occActive
[all …]

12345678910>>...29