Home
last modified time | relevance | path

Searched refs:gpioNum (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-buttons/src/
H A Dgpio.cpp152 auto gpioNum = gpioConfig.number; in configGpio() local
161 devPath += "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()
176 stream << gpioNum; in configGpio()
182 lg2::error("{NUM} error in writing {PATH}: {ERROR}", "NUM", gpioNum, in configGpio()
190 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()
211 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()
228 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()
245 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio()
267 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/edge"; in configGpio()
283 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()
/openbmc/phosphor-power/power-supply/
H A Dmain.cpp119 size_t gpioNum = 0; in main() local
122 gpioNum = stoul(syncGPIONum); in main()
129 psuDevice->enableHistory(basePath, numRecords, syncGPIOPath, gpioNum); in main()
/openbmc/witherspoon-pfault-analysis/power-supply/
H A Dmain.cpp117 size_t gpioNum = 0; in main() local
120 gpioNum = stoul(syncGPIONum); in main()
127 psuDevice->enableHistory(basePath, numRecords, syncGPIOPath, gpioNum); in main()
/openbmc/phosphor-gpio-monitor/
H A DgpioMonMain.cpp118 int gpioNum = obj["GpioNum"]; in main() local
120 lineMsg += std::to_string(gpioNum); in main()
123 line = gpiod_line_get(chipIdStr.c_str(), gpioNum); in main()
/openbmc/phosphor-gpio-monitor/multi-presence/
H A Dmain.cpp119 int gpioNum = obj["GpioNum"].get<int>(); in main() local
121 lineMsg += chipIdStr + " " + std::to_string(gpioNum); in main()
124 line = gpiod_line_get(chipIdStr.c_str(), gpioNum); in main()