Home
last modified time | relevance | path

Searched +full:auto +full:- +full:detected (Results 1 – 25 of 713) 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/phosphor-bmc-code-mgmt/common/src/
H A Dsoftware_manager.cpp4 #include <phosphor-logging/lg2.hpp>
24 static constexpr auto serviceNameEM = "xyz.openbmc_project.EntityManager";
26 const auto matchRuleSender = RulesIntf::sender(serviceNameEM);
27 const auto matchRulePath = RulesIntf::path("/xyz/openbmc_project/inventory");
52 auto client = sdbusplus::async::proxy() in getConfig()
67 auto propVendorIANA = co_await client.call<std::variant<uint64_t>>( in getConfig()
73 auto propCompatible = in getConfig()
80 auto propConfigType = in getConfig()
87 auto propConfigName = in getConfig()
110 auto client = sdbusplus::client::xyz::openbmc_project::ObjectMapper<>(ctx) in initDevices()
[all …]
/openbmc/entity-manager/src/gpio-presence/
H A Ddevice_presence.hpp2 * SPDX-FileCopyrightText: Copyright (c) 2022-2024. All rights
3 * reserved. SPDX-License-Identifier: Apache-2.0
35 auto updateGPIOPresence(const std::string& gpioLine) -> void;
37 // @returns the object path of the 'detected' interface
38 auto getObjPath() const -> sdbusplus::message::object_path;
41 auto isPresent() -> bool;
56 auto updateDbusInterfaces() -> void;
58 // property added when the hw is detected
H A Dconfig_provider.cpp2 * SPDX-FileCopyrightText: Copyright (c) 2022-2024. All rights
3 * reserved. SPDX-License-Identifier: Apache-2.0
8 #include <phosphor-logging/lg2.hpp>
32 auto ConfigProvider::initialize(AddedCallback addConfig, in initialize()
34 -> sdbusplus::async::task<void> in initialize()
42 auto ConfigProvider::getConfig(AddedCallback addConfig) in getConfig()
43 -> sdbusplus::async::task<void> in getConfig()
45 auto client = sdbusplus::client::xyz::openbmc_project::ObjectMapper<>(ctx) in getConfig()
74 for (auto& [path, serviceInterfaceMap] : res) in getConfig()
76 for (const auto& service : in getConfig()
[all …]
H A Ddevice_presence.cpp2 * SPDX-FileCopyrightText: Copyright (c) 2022-2024. All rights
3 * reserved. SPDX-License-Identifier: Apache-2.0
8 #include <phosphor-logging/lg2.hpp>
39 auto DevicePresence::updateGPIOPresence(const std::string& gpioLine) -> void in updateGPIOPresence()
49 auto DevicePresence::getObjPath() const -> sdbusplus::message::object_path in getObjPath()
57 auto DevicePresence::isPresent() -> bool in isPresent()
59 for (auto& [name, polarity] : gpioPolarity) in isPresent()
82 auto DevicePresence::updateDbusInterfaces() -> void in updateDbusInterfaces()
92 info("Detected {NAME} as present, adding dbus interface", "NAME", in updateDbusInterfaces()
98 detectedIface->emit_added(); in updateDbusInterfaces()
[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/dbus-sensors/src/leakdetector/
H A DLeakEvents.cpp5 #include <phosphor-logging/commit.hpp>
6 #include <phosphor-logging/lg2.hpp>
18 auto Events::generateLeakEvent(sdbusplus::message::object_path detectorPath, in generateLeakEvent()
21 -> sdbusplus::async::task<> in generateLeakEvent()
23 auto eventName = std::make_tuple(detectorPath.str, level); in generateLeakEvent()
25 // NOLINTNEXTLINE(clang-analyzer-core.uninitialized.Branch) in generateLeakEvent()
28 auto pendingEvent = pendingEvents.find(eventName); in generateLeakEvent()
31 co_await lg2::resolve(ctx, pendingEvent->second); in generateLeakEvent()
52 error("Critical leak detected for {PATH}", "PATH", detectorPath); in generateLeakEvent()
59 warning("Warning leak detected for {PATH}", "PATH", detectorPath); in generateLeakEvent()
/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.
135 [Documentation] Verify auto reboot SDR info via IPMI and Redfish.
263 # cpu0_core0 | 12h | ok | 208.1 | Presence detected
265 # cpu0_core1 | 15h | ok | 208.2 | Presence detected
301 ... regexp=^.*[0-9a-z_].${component_name}\[_0-9a-z]*$
315 # 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/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/phosphor-fan-presence/presence/
H A Danyof.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
32 static const auto powerOnDelayTime = 5s;
43 for (auto& sensor : s) in AnyOf()
48 _powerState->addCallback( in AnyOf()
49 std::get<1>(fan) + "-anyOf", in AnyOf()
54 if (_powerState->isPowerOn()) in AnyOf()
63 auto sit = in stateChanged()
64 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged()
69 auto origState = in stateChanged()
71 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged()
[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 …]

12345678910>>...29