Home
last modified time | relevance | path

Searched refs:gpioLine (Results 1 – 13 of 13) sorted by relevance

/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp31 gpioLine.release(); in ~PresenceGpio()
36 status = (gpioLine.get_value() != 0); in updateAndTracePresence()
52 gpioLine = gpiod::find_line(gpioName); in EventPresenceGpio()
53 if (!gpioLine) in EventPresenceGpio()
61 gpioLine.request( in EventPresenceGpio()
66 int gpioLineFd = gpioLine.event_get_fd(); in EventPresenceGpio()
116 gpioLine.event_read(); in read()
H A DPresenceGpio.hpp23 gpiod::line gpioLine; member in PresenceGpio
/openbmc/phosphor-gpio-monitor/multi-presence/
H A Dgpio_presence.hpp67 gpioLine(line), gpioConfig(config), gpioEventDescriptor(io), in GpioPresence()
75 gpioLine(old.gpioLine), gpioConfig(old.gpioConfig), in GpioPresence()
90 gpiod_line* gpioLine; member in phosphor::gpio::GpioPresence
H A Dgpio_presence.cpp172 if (gpiod_line_request(gpioLine, &gpioConfig, 0) < 0) in requestGPIOEvents()
179 int gpioLineFd = gpiod_line_event_get_fd(gpioLine); in requestGPIOEvents()
215 updateInventory(gpiod_line_get_value(gpioLine)); in requestGPIOEvents()
/openbmc/phosphor-host-postd/ipmisnoop/
H A Dipmisnoop.cpp41 gpiod::line gpioLine = gpiod::find_line(gpioStr); in configGPIODirOutput() local
43 if (!gpioLine) in configGPIODirOutput()
55 led_lines.push_back(gpioLine); in configGPIODirOutput()
59 gpioLine.request({__FUNCTION__, in configGPIODirOutput()
/openbmc/phosphor-gpio-monitor/
H A DgpioMon.hpp46 gpioLine(line), gpioConfig(config), gpioEventDescriptor(io), in GpioMonitor()
55 gpiod_line* gpioLine; member in phosphor::gpio::GpioMonitor
H A DgpioMon.cpp126 if (gpiod_line_request(gpioLine, &gpioConfig, 0) < 0) in requestGPIOEvents()
132 int gpioLineFd = gpiod_line_event_get_fd(gpioLine); in requestGPIOEvents()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp1173 gpiod::line& gpioLine, in requestGPIOEvents() argument
1177 gpioLine = gpiod::find_line(name); in requestGPIOEvents()
1178 if (!gpioLine) in requestGPIOEvents()
1195 int gpioLineFd = gpioLine.event_get_fd(); in requestGPIOEvents()
1209 gpiod::line& gpioLine) in setGPIOOutput() argument
1212 gpioLine = gpiod::find_line(name); in setGPIOOutput()
1213 if (!gpioLine) in setGPIOOutput()
1281 gpiod::line gpioLine; in setGPIOOutputForMs() local
1292 gpioLine.set_value(!value); in setGPIOOutputForMs()
2071 gpiod::line gpioLine; in powerButtonHandler() local
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Ducd90320_device_tests.cpp48 unsigned int gpioLine) in createRail() argument
56 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
H A Ducd90160_device_tests.cpp48 unsigned int gpioLine) in createRail() argument
56 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
H A Ducd90x_device_tests.cpp50 unsigned int gpioLine) in createRail() argument
58 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
H A Dstandard_device_tests.cpp112 const std::string& name, bool isPowerSupplyRail, unsigned int gpioLine) in createRailGPIO() argument
119 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRailGPIO()
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp2802 gpiod::line& gpioLine, in hsbpRequestAlertGpioEvents() argument
2806 gpioLine = gpiod::find_line(name); in hsbpRequestAlertGpioEvents()
2807 if (!gpioLine) in hsbpRequestAlertGpioEvents()
2816 gpioLine.request( in hsbpRequestAlertGpioEvents()
2826 int gpioLineFd = gpioLine.event_get_fd(); in hsbpRequestAlertGpioEvents()