/openbmc/phosphor-pid-control/test/ |
H A D | pid_thermalcontroller_unittest.cpp | 30 double setpoint = 10.0; in TEST() local 34 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 46 double setpoint = 10.0; in TEST() local 52 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 65 double setpoint = 10.0; in TEST() local 69 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 84 double setpoint = 10.0; in TEST() local 88 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST() 91 EXPECT_EQ(setpoint, p->setptProc()); in TEST() 101 double setpoint = 10.0; in TEST() local [all …]
|
H A D | pid_json_unittest.cpp | 49 "setpoint": 90.0, in TEST() 100 "setpoint": 10.0, in TEST() 159 "setpoint": 90.0, in TEST() 209 "setpoint": 30.0, in TEST() 296 "setpoint": 90.0, in TEST()
|
H A D | json_parse_unittest.cpp | 30 "setpoint": 90.0, in TEST() 65 "setpoint": 90.0, in TEST() 117 "setpoint": 90.0, in TEST()
|
H A D | pid_zone_unittest.cpp | 138 double setpoint = 50.0; 187 zone->addPidControlProcess(sensorname, sensorType, setpoint, 244 zone->addPidControlProcess(sensorname, sensorType, setpoint, in TEST_F() 247 // At least one value must be above the minimum thermal setpoint used in in TEST_F() 256 // This will pull the maximum RPM setpoint request. in TEST_F() 260 // Clear the values, so it'll choose the minimum thermal setpoint. in TEST_F() 271 // configured minimal thermal setpoint RPM value. in TEST_F() 288 zone->addPidControlProcess(sensorname, sensorType, setpoint, in TEST_F() 298 // This will pull the maximum RPM setpoint request. in TEST_F() 134 double setpoint = 50.0; global() member in pid_control::__anon416c5d230111::PidZoneTest
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/ |
H A D | config.json.in | 327 "setpoint": 0.0, number 348 "setpoint": 0.0, number 369 "setpoint": 80.0, number 397 "setpoint": 90.0, number 420 "setpoint": 10.0, number 443 "setpoint": 10.0, number 466 "setpoint": 10.0, number 496 "setpoint": 0.0, number 517 "setpoint": 0.0, number 538 "setpoint": 0.0, number [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | thermalcontroller.cpp | 58 const std::vector<pid_control::conf::SensorInput>& inputs, double setpoint, in createThermalPid() argument 70 thermal->setSetpoint(setpoint); in createThermalPid() 182 double setpoint = getSetpoint(); in setptProc() local 186 if (-1 == setpoint) in setptProc() 192 return setpoint; in setptProc() 195 return setpoint; in setptProc()
|
H A D | README | 6 generate a setpoint RPM to reach its thermal setpoint. The maximum output
|
H A D | pidcontroller.hpp | 62 void setSetpoint(double setpoint) in setSetpoint() argument 64 _setpoint = setpoint; in setSetpoint()
|
H A D | builder.cpp | 117 zone.get(), name, inputs, info.setpoint, info.pidInfo, in buildZones() 122 name, info.type, info.setpoint, modeControlBus, in buildZones() 138 name, info.type, info.setpoint, modeControlBus, in buildZones()
|
H A D | zone_interface.hpp | 70 virtual void addSetPoint(double setpoint, const std::string& name) = 0;
|
H A D | zone.cpp | 278 // Updates desired RPM setpoint from optional text file in fileParseRpm() 376 * If the maximum RPM setpoint output is below the minimum RPM in determineMaxSetPointRequest() 377 * setpoint, set it to the minimum. in determineMaxSetPointRequest() 406 static constexpr auto setpointpath = "/etc/thermal.d/setpoint"; in determineMaxSetPointRequest() 410 // Allow per-zone setpoint files to override overall setpoint file in determineMaxSetPointRequest() 587 double setpoint, sdbusplus::bus_t& bus, in addPidControlProcess() 596 _pidsControlProcess[name]->setpoint(setpoint); in addPidControlProcess() 579 addPidControlProcess(std::string name,std::string type,double setpoint,sdbusplus::bus_t & bus,std::string objPath,bool defer) addPidControlProcess() argument
|
H A D | thermalcontroller.hpp | 51 double setpoint, const ec::pidinfo& initial, const ThermalType& type);
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 433 s32 setpoint; member 450 s32 setpoint; member 479 static s32 pm121_connect(unsigned int control_id, s32 setpoint) in pm121_connect() argument 489 new_setpoint = max(setpoint, (new_min >> 16)); in pm121_connect() 490 if (new_setpoint != setpoint) { in pm121_connect() 495 (int) setpoint, (int) new_setpoint); in pm121_connect() 498 new_setpoint = setpoint; in pm121_connect() 502 new_setpoint = setpoint; in pm121_connect() 623 if (new_setpoint == st->setpoint) in pm121_sys_fans_tick() 625 st->setpoint = new_setpoint; in pm121_sys_fans_tick() [all …]
|
H A D | windfarm_pm91.c | 118 s32 setpoint; member 131 s32 setpoint; member 358 if (st->setpoint == new_setpoint) in wf_smu_drive_fans_tick() 360 st->setpoint = new_setpoint; in wf_smu_drive_fans_tick() 363 rc = wf_control_set(fan_hd, st->setpoint); in wf_smu_drive_fans_tick() 441 if (st->setpoint == new_setpoint) in wf_smu_slots_fans_tick() 443 st->setpoint = new_setpoint; in wf_smu_slots_fans_tick() 446 rc = wf_control_set(fan_slots, st->setpoint); in wf_smu_slots_fans_tick()
|
/openbmc/phosphor-pid-control/pid/ec/ |
H A D | pid.cpp | 48 double pid(pid_info_t* pidinfoptr, double input, double setpoint, in pid() argument 70 coreContext.setpoint = setpoint; in pid() 84 error = setpoint - input; in pid() 112 feedFwdTerm = (setpoint + pidinfoptr->feedFwdOffset) * in pid()
|
H A D | pid.hpp | 45 double pid(pid_info_t* pidinfoptr, double input, double setpoint,
|
H A D | logging.hpp | 20 double setpoint; member
|
/openbmc/phosphor-pid-control/ |
H A D | tuning.md | 12 Flag `"-t"` can be specified to enabled the daemon to read the fan RPM setpoint 13 from a file `/etc/thermal.d/setpoint` instead from D-Bus. 15 The value in the setpoint file is expected to be a normal decimal integer, such 69 2. (Option 1) If using a fixed setpoint, write the value to 70 `/etc/thermal.d/setpoint`, run swampd manually with `swampd -l ${LOG_PATH}&`, 72 3. (Option 2) If sweeping fan setpoint, using the tuning helper script 73 `fan_rpm_loop_test.sh` to configure fan setpoint in steps and collect logs
|
H A D | configure.md | 186 attached to it, selects the maximum setpoint, clamps it by the minimum ceiling 195 get the setpoint value from the owning zone and then drive the fans to that 198 A `temp` PID is meant to drive the setpoint given an absolute temperature value 201 A `margin` PID is meant to drive the setpoint given a margin value (lower value 205 The setpoint output from the thermal controllers is called `RPMSetpoint()` 243 If the PID is a `margin` controller and its `setpoint` is in centigrade and 261 "setpoint": 90.0, 275 | `setpoint` | `double` | Presently UNUSED … 285 "setpoint": 10, 299 | `setpoint` | `double` | The setpoint value for the thermal PID. The setpoint for the mar… [all …]
|
H A D | conf.hpp | 57 double setpoint; // initial setpoint for thermal. member
|
/openbmc/linux/Documentation/hwmon/ |
H A D | adt7410.rst | 85 temp#_min temperature minimum setpoint 86 temp#_max temperature maximum setpoint 87 temp#_crit critical temperature setpoint
|
H A D | intel-m10-bmc-hwmon.rst | 42 tempX_max Temperature maximum setpoint of the component 43 tempX_crit Temperature critical setpoint of the component
|
/openbmc/linux/mm/ |
H A D | page-writeback.c | 931 static long long pos_ratio_polynom(unsigned long setpoint, in pos_ratio_polynom() argument 938 x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, in pos_ratio_polynom() 939 (limit - setpoint) | 1); in pos_ratio_polynom() 1031 unsigned long setpoint; /* dirty pages' target balance point */ in wb_position_ratio() local 1047 setpoint = (freerun + limit) / 2; in wb_position_ratio() 1048 pos_ratio = pos_ratio_polynom(setpoint, dtc->dirty, limit); in wb_position_ratio() 1167 wb_setpoint = setpoint * (u64)x >> 16; in wb_position_ratio() 1314 unsigned long setpoint = (freerun + limit) / 2; in wb_update_dirty_ratelimit() local 1425 setpoint = dtc->wb_dirty + 1; in wb_update_dirty_ratelimit() 1427 setpoint = (dtc->wb_thresh + dtc->wb_bg_thresh) / 2; in wb_update_dirty_ratelimit() [all …]
|
/openbmc/phosphor-pid-control/examples/ |
H A D | README | 65 …"setpoint": 90.0, /* For temp/margin PIDs this is the setpoint, ignored otherwise (doubl…
|
/openbmc/linux/include/trace/events/ |
H A D | writeback.h | 643 __field(unsigned long, setpoint) 663 __entry->setpoint = (global_wb_domain.dirty_limit + 666 __entry->bdi_setpoint = __entry->setpoint * 690 __entry->setpoint,
|