Home
last modified time | relevance | path

Searched refs:gpioName (Results 1 – 10 of 10) sorted by relevance

/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh15 for gpioName in "${output_high_gpios_in_ac[@]}"; do
16 gpioset $(gpiofind "$gpioName")=1
19 for gpioName in "${output_low_gpios_in_ac[@]}"; do
20 gpioset $(gpiofind "$gpioName")=0
23 for gpioName in "${input_gpios_in_ac[@]}"; do
24 gpioget $(gpiofind "$gpioName")
32 gpioset $(gpiofind "$gpioName")=1
35 for gpioName in "${output_low_gpios_in_bmc_reboot[@]}"; do
36 gpioset $(gpiofind "$gpioName")=0
39 for gpioName in "${input_gpios_in_bmc_reboot[@]}"; do
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh81 for gpioName in "${output_high_gpios_in_ac[@]}"; do
82 gpioset $(gpiofind "$gpioName")=1
85 for gpioName in "${output_low_gpios_in_ac[@]}"; do
86 gpioset $(gpiofind "$gpioName")=0
93 for gpioName in "${output_high_gpios_in_bmc_reboot[@]}"; do
94 gpioset $(gpiofind "$gpioName")=1
97 for gpioName in "${output_low_gpios_in_bmc_reboot[@]}"; do
98 gpioset $(gpiofind "$gpioName")=0
/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp49 const std::string& gpioName, bool inverted, boost::asio::io_context& io) : in EventPresenceGpio() argument
52 gpioLine = gpiod::find_line(gpioName); in EventPresenceGpio()
55 std::cerr << "Error requesting gpio: " << gpioName << "\n"; in EventPresenceGpio()
69 std::cerr << "Failed to get " << gpioName << " fd\n"; in EventPresenceGpio()
70 throw std::runtime_error("Failed to get GPIO fd " + gpioName); in EventPresenceGpio()
77 std::cerr << "Error reading gpio " << gpioName << ": " << e.what() in EventPresenceGpio()
H A DPresenceGpio.hpp56 const std::string& gpioName, bool inverted,
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.hpp73 std::string gpioName = in cpuIsPresent() local
76 auto findIndex = cpuPresence.find(gpioName); in cpuIsPresent()
93 auto line = gpiod::find_line(gpioName); in cpuIsPresent()
96 std::cerr << "Error requesting gpio: " << gpioName << "\n"; in cpuIsPresent()
109 std::cerr << "Error reading gpio: " << gpioName << "\n"; in cpuIsPresent()
113 cpuPresence[gpioName] = resp; in cpuIsPresent()
/openbmc/phosphor-state-manager/
H A Dutils.cpp145 int getGpioValue(const std::string& gpioName) in getGpioValue() argument
148 gpiod_line* line = gpiod_line_find(gpioName.c_str()); in getGpioValue()
155 error("Failed request for {GPIO_NAME} GPIO", "GPIO_NAME", gpioName); in getGpioValue()
H A Dutils.hpp65 int getGpioValue(const std::string& gpioName);
/openbmc/phosphor-host-postd/ipmisnoop/
H A Dipmisnoop.cpp35 std::string gpioName = "LED_POST_CODE_"; in configGPIODirOutput() local
40 gpioStr = gpioName + std::to_string(iteration); in configGPIODirOutput()
/openbmc/dbus-sensors/src/adc/
H A DADCSensorMain.cpp277 std::string gpioName = std::visit( in createSensors() local
301 BridgeGpio(gpioName, polarity, setupTime); in createSensors()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp2370 std::string gpioName = gpioConfig["Name"]; in loadConfigValues() local
2371 auto signalMapIter = powerSignalMap.find(gpioName); in loadConfigValues()
2376 "GPIO_NAME", gpioName); in loadConfigValues()
2384 tempGpioData->name = gpioName; in loadConfigValues()
2482 gpioName, "ERR", e.what()); in loadConfigValues()