Home
last modified time | relevance | path

Searched refs:gpioPath (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/
H A Dfan-table-init.sh23 gpioPath="/sys/class/gpio/gpio"
36 if [[ -d "${gpioPath}${presentGpio[i]}" ]] &&
37 [[ "$(cat "${gpioPath}${presentGpio[i]}/value")" == "0" ]]; then
/openbmc/phosphor-fan-presence/cooling-type/
H A Dcooling_type.cpp59 void CoolingType::readGpio(const std::string& gpioPath, unsigned int keycode) in readGpio() argument
63 gpioFd.open(gpioPath.c_str(), O_RDONLY); in readGpio()