Home
last modified time | relevance | path

Searched refs:writePath (Results 1 – 12 of 12) sorted by relevance

/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/
H A Dconfig.json.in48 "writePath": "", string
58 "writePath": "", string
68 "writePath": "", string
78 "writePath": "", string
88 "writePath": "", string
98 "writePath": "", string
108 "writePath": "", string
118 "writePath": "", string
128 "writePath": "", string
138 "writePath": "", string
[all …]
/openbmc/phosphor-pid-control/sysfs/
H A Dsysfswrite.hpp18 SysFsWritePercent(const std::string& writePath, int64_t min, int64_t max) : in SysFsWritePercent() argument
19 WriteInterface(min, max), _writePath(FixupPath(writePath)) in SysFsWritePercent()
31 SysFsWrite(const std::string& writePath, int64_t min, int64_t max) : in SysFsWrite() argument
32 WriteInterface(min, max), _writePath(FixupPath(writePath)) in SysFsWrite()
/openbmc/phosphor-pid-control/sensors/
H A Dbuilder.cpp62 std::cerr << info->readPath << " " << info->writePath << "\n"; in buildSensors()
65 IOInterfaceType wtype = getWriteInterfaceType(info->writePath); in buildSensors()
123 info->writePath, info->min, info->max); in buildSensors()
127 wi = std::make_unique<SysFsWrite>(info->writePath, in buildSensors()
136 info->writePath, info->min, info->max, in buildSensors()
143 info->writePath, info->min, info->max, in buildSensors()
152 info->writePath); in buildSensors()
H A Dbuildjson.cpp38 auto writePath = j.find("writePath"); in from_json() local
39 if (writePath == j.end()) in from_json()
41 s.writePath = ""; in from_json()
45 j.at("writePath").get_to(s.writePath); in from_json()
/openbmc/phosphor-debug-collector/
H A Ddump_offload.cpp134 std::string writePath) in requestOffload() argument
144 CustomFd unixSocket = socketInit(writePath); in requestOffload()
210 std::remove(writePath.c_str()); in requestOffload()
219 std::remove(writePath.c_str()); in requestOffload()
223 "ERROR", e, "DUMP_FILE", writePath, "DUMP_ID", dumpId); in requestOffload()
224 elog<Write>(ErrnoWrite(err), PathWrite(writePath.c_str())); in requestOffload()
226 std::remove(writePath.c_str()); in requestOffload()
H A Ddump_offload.hpp22 std::string writePath);
/openbmc/phosphor-pid-control/test/
H A Dsensors_json_unittest.cpp36 … "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm1", in TEST()
48 EXPECT_EQ(output["fan1"].writePath, in TEST()
76 EXPECT_EQ(output["fan1"].writePath, ""); in TEST()
102 EXPECT_EQ(output["CPU_DTS"].writePath, ""); in TEST()
130 EXPECT_EQ(output["fan1"].writePath, ""); in TEST()
/openbmc/phosphor-pid-control/examples/
H A DREADME9 access. If a writePath for a sensor is a dbus path, then the system will need
18 expected to have a writePath set, and in this current version non-fan sensors
28 "writePath": "", /* How the sensor can be set[2] */
/openbmc/phosphor-pid-control/
H A Dconf.hpp26 std::string writePath; member
H A Dconfigure.md49 … "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm1",
59 … "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm2",
67 A sensor has a `name`, a `type`, a `readPath`, a `writePath`, a `minimum` value,
97 The `writePath` is the path to set the value for the sensor. This is only valid
101 If the `writePath` value contains: `/sys/` this is treated as a directory
107 If the `writePath` value contains:
110 `writePath` should be the full object path.
H A Dutil.cpp44 std::cout << pair.second.writePath << ", "; in debugPrint()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp886 fanConfig.writePath = pwmPath; in init()