/openbmc/dbus-sensors/src/fan/ |
H A D | PresenceGpio.cpp | 31 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 D | PresenceGpio.hpp | 23 gpiod::line gpioLine; member in PresenceGpio
|
/openbmc/phosphor-gpio-monitor/multi-presence/ |
H A D | gpio_presence.hpp | 67 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 D | gpio_presence.cpp | 172 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 D | ipmisnoop.cpp | 41 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 D | gpioMon.hpp | 46 gpioLine(line), gpioConfig(config), gpioEventDescriptor(io), in GpioMonitor() 55 gpiod_line* gpioLine; member in phosphor::gpio::GpioMonitor
|
H A D | gpioMon.cpp | 126 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 D | power_control.cpp | 1173 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 D | ucd90320_device_tests.cpp | 48 unsigned int gpioLine) in createRail() argument 56 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
|
H A D | ucd90160_device_tests.cpp | 48 unsigned int gpioLine) in createRail() argument 56 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
|
H A D | ucd90x_device_tests.cpp | 50 unsigned int gpioLine) in createRail() argument 58 std::optional<GPIO> gpio{GPIO{gpioLine, activeLow}}; in createRail()
|
H A D | standard_device_tests.cpp | 112 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 D | hsbp_manager.cpp | 2802 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()
|