Home
last modified time | relevance | path

Searched refs:getEnv (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-hwmon/
H A Denv.hpp41 inline std::string getEnv(const char* key, const Env* env = &env_impl) in getEnv() function
58 inline std::string getEnv(const char* prefix, const SensorSet::key_type& sensor, in getEnv() function
68 return getEnv(key.c_str(), env); in getEnv()
80 inline std::string getEnv(const char* prefix, const std::string& type, in getEnv() function
84 return getEnv(prefix, sensor, env); in getEnv()
H A Dsensor.cpp37 auto chip = env::getEnv("GPIOCHIP", sensor); in Sensor()
38 auto access = env::getEnv("GPIO", sensor); in Sensor()
50 auto gain = env::getEnv("GAIN", sensor); in Sensor()
56 auto offset = env::getEnv("OFFSET", sensor); in Sensor()
61 auto senRmRCs = env::getEnv("REMOVERCS", sensor); in Sensor()
148 auto asyncReadTimeout = env::getEnv("ASYNC_READ_TIMEOUT", _sensor); in addValue()
194 auto maxValue = env::getEnv("MAXVALUE", _sensor); in addValue()
199 auto minValue = env::getEnv("MINVALUE", _sensor); in addValue()
H A Dmainloop.cpp153 auto mode = env::getEnv("MODE", sensor.first); in getID()
183 label = env::getEnv("LABEL", sensor.first.first, id); in getIdentifiers()
184 accuracy = env::getEnv("ACCURACY", sensor.first.first, id); in getIdentifiers()
185 priority = env::getEnv("PRIORITY", sensor.first.first, id); in getIdentifiers()
225 auto devRmRCs = env::getEnv("REMOVERCS"); in getObject()
448 auto interval = env::getEnv("INTERVAL"); in init()
518 env::getEnv("ASYNC_READ_TIMEOUT", sensorSetKey); in read()
H A Dtargets.hpp93 auto id = env::getEnv("PWM_TARGET", sensor); in addTarget()
106 auto tmEnv = env::getEnv("TARGET_MODE"); in addTarget()
H A Dutil.hpp31 return env::getEnv("AVERAGE", sensor.first, sensor.second) == "true"; in isAverageEnvSet()
H A Dthresholds.hpp128 auto tLo = env::getEnv(Thresholds<T>::envLo, sensorType, sensorID); in addThreshold()
129 auto tHi = env::getEnv(Thresholds<T>::envHi, sensorType, sensorID); in addThreshold()
H A Dfan_speed.cpp50 auto enable = env::getEnv("ENABLE", _type, _id); in enable()
/openbmc/phosphor-hwmon/test/
H A Denv_unittest.cpp28 EXPECT_EQ(std::string(), env::getEnv("NonExistingKey")); in TEST()