/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/ |
H A D | config.json.in | 8 …"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/@Fan_0_To_4_Hwmo… string 16 …"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/@Fan_0_To_4_Hwmo… string 24 …"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/@Fan_0_To_4_Hwmo… string 32 …"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/@Fan_0_To_4_Hwmo… string 40 …"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/@Fan_0_To_4_Hwmo… string 48 "writePath": "", string 58 "writePath": "", string 68 "writePath": "", string 78 "writePath": "", string 88 "writePath": "", string [all …]
|
/openbmc/phosphor-pid-control/sysfs/ |
H A D | sysfswrite.hpp | 18 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 D | builder.cpp | 62 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 D | buildjson.cpp | 38 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 D | dump_offload.cpp | 139 std::string writePath) in requestOffload() argument 149 CustomFd unixSocket = socketInit(writePath); in requestOffload() 215 std::remove(writePath.c_str()); in requestOffload() 224 std::remove(writePath.c_str()); in requestOffload() 228 "ERROR", e, "DUMP_FILE", writePath, "DUMP_ID", dumpId); in requestOffload() 229 elog<Write>(ErrnoWrite(err), PathWrite(writePath.c_str())); in requestOffload() 231 std::remove(writePath.c_str()); in requestOffload()
|
H A D | dump_offload.hpp | 22 std::string writePath);
|
/openbmc/phosphor-pid-control/test/ |
H A D | sensors_json_unittest.cpp | 36 … "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 D | README | 9 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 D | conf.hpp | 26 std::string writePath; member
|
H A D | configure.md | 49 … "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 D | util.cpp | 44 std::cout << pair.second.writePath << ", "; in debugPrint()
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbusconfiguration.cpp | 886 fanConfig.writePath = pwmPath; in init()
|