Home
last modified time | relevance | path

Searched refs:SysfsLed (Results 1 – 7 of 7) sorted by relevance

/openbmc/phosphor-led-sysfs/
H A Dsysfs.hpp38 class SysfsLed class
41 explicit SysfsLed(std::filesystem::path&& root) : root(std::move(root)) {} in SysfsLed() function in phosphor::led::SysfsLed
42 SysfsLed() = delete;
43 SysfsLed(const SysfsLed& other) = delete;
44 SysfsLed(const SysfsLed&& other) = delete;
45 SysfsLed& operator=(const SysfsLed& other) = delete;
46 SysfsLed&& operator=(const SysfsLed&& other) = delete;
48 virtual ~SysfsLed() = default;
H A Dsysfs.cpp59 unsigned long SysfsLed::getBrightness() in getBrightness()
64 void SysfsLed::setBrightness(unsigned long brightness) in setBrightness()
69 unsigned long SysfsLed::getMaxBrightness() in getMaxBrightness()
74 std::string SysfsLed::getTrigger() in getTrigger()
102 void SysfsLed::setTrigger(const std::string& trigger) in setTrigger()
107 unsigned long SysfsLed::getDelayOn() in getDelayOn()
112 void SysfsLed::setDelayOn(unsigned long ms) in setDelayOn()
117 unsigned long SysfsLed::getDelayOff() in getDelayOff()
122 void SysfsLed::setDelayOff(unsigned long ms) in setDelayOff()
143 LedDescr SysfsLed::getLedDescr() in getLedDescr()
H A Dphysical.hpp49 std::unique_ptr<phosphor::led::SysfsLed> led, in Physical()
82 std::unique_ptr<phosphor::led::SysfsLed> led;
/openbmc/phosphor-led-sysfs/test/
H A Dsysfs.cpp31 class FakeSysfsLed : public phosphor::led::SysfsLed
60 explicit FakeSysfsLed(fs::path&& path) : SysfsLed(std::move(path)) in FakeSysfsLed()
H A Dtest_led_description.cpp27 SysfsLed led(path); in runtest()
H A Dphysical.cpp44 class MockLed : public phosphor::led::SysfsLed
48 MockLed() : SysfsLed(createSandbox()) {} in MockLed()
/openbmc/phosphor-led-sysfs/interfaces/
H A Dinternal_interface.cpp79 auto sled = std::make_unique<phosphor::led::SysfsLed>(fs::path(path)); in createLEDPath()