Lines Matching +full:bus +full:- +full:powered
8 * 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"};
70 Manager::Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event) : in Manager() argument
71 ManagerObject{bus, managerObjPath}, bus{bus}, eventLoop{event}, in Manager()
72 services{bus},
79 bus, std::bind_front(&Manager::compatibleSystemTypesFound, this));
87 // Obtain D-Bus service name
88 bus.request_name(busName);
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()
167 system->closeDevices(services); in monitor()
195 system->detectPhaseFaults(services); in phaseFaultTimerExpired()
208 system->monitorSensors(services); in sensorTimerExpired()
232 system->clearCache(); in clearHardwareData()
235 system->clearErrorHistory(); in clearHardwareData()
254 if ((pos != std::string::npos) && ((systemType.size() - pos) > 1)) in findConfigFile()
291 // Get D-Bus property that contains the current power state for in isSystemPoweredOn()
294 auto service = getService(chassisStatePath, chassisStateIntf, bus); in isSystemPoweredOn()
299 service, bus, currentPowerState); in isSystemPoweredOn()
309 // application can start before the power state is published on D-Bus. in isSystemPoweredOn()
362 // to re-find system types on D-Bus because we are not receiving in waitUntilConfigFileLoaded()
364 compatSysTypesFinder->refind(); in waitUntilConfigFileLoaded()
371 timeWaited = std::chrono::system_clock::now() - start; in waitUntilConfigFileLoaded()