Lines Matching +full:gpio +full:- +full:config
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
16 namespace gpio namespace
20 * @brief Responsible for catching GPIO state change
35 * @param[in] line - GPIO line from libgpiod
36 * @param[in] config - configuration of line with event
37 * @param[in] io - io service
38 * @param[in] target - systemd unit to be started on GPIO
40 * @param[in] targets - systemd units to be started on GPIO
42 * @param[in] lineMsg - GPIO line message to be used for log
43 * @param[in] continueRun - Whether to continue after event occur
45 GpioMonitor(gpiod_line* line, gpiod_line_request_config& config, in GpioMonitor() argument
49 gpioLine(line), gpioConfig(config), gpioEventDescriptor(io), in GpioMonitor()
57 /** @brief GPIO line */
60 /** @brief GPIO line configuration */
63 /** @brief GPIO event descriptor */
72 /** @brief GPIO line name message */
78 /** @brief register handler for gpio event
80 * @return - 0 on success and -1 otherwise
84 /** @brief Schedule an event handler for GPIO event to trigger */
87 /** @brief Handle the GPIO event and starts configured target */
90 /** @brief handle current gpio value */
94 } // namespace gpio