Home
last modified time | relevance | path

Searched refs:fan_speed (Results 1 – 6 of 6) sorted by relevance

/openbmc/skeleton/fanctl/
H A Dfan_control.c169 static int fan_set_speed(sd_bus *bus, int fan_id, uint8_t fan_speed) in fan_set_speed() argument
179 rc = set_dbus_sensor(bus, obj_path, fan_speed); in fan_set_speed()
182 fan_id, fan_speed); in fan_set_speed()
215 int fan_speed; in fan_get_speed() local
225 fan_speed = 0; in fan_get_speed()
227 fan_speed = fan_tach_H << FAN_TACH_OFFSET | fan_tach_L; in fan_get_speed()
229 fprintf(stderr, "fan%d speed: %d\n", fan_id, fan_speed); in fan_get_speed()
230 return fan_speed; in fan_get_speed()
285 int fan_speed; in fan_update_present() local
291 fan_speed = fan_get_speed(info->bus, i); in fan_update_present()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dlineage-pem.c127 u8 fan_speed[FAN_SPEED_LEN]; member
183 data->fan_speed, in pem_update_device()
184 sizeof(data->fan_speed)); in pem_update_device()
328 value = pem_get_fan(data->fan_speed, sizeof(data->fan_speed), in pem_fan_show()
491 data->fan_speed, in pem_probe()
492 sizeof(data->fan_speed)); in pem_probe()
493 if (!ret && (data->fan_speed[0] || data->fan_speed[1] || in pem_probe()
494 data->fan_speed[2] || data->fan_speed[3])) { in pem_probe()
H A Dnzxt-smart2.c123 } __packed fan_speed; member
284 get_unaligned_le16(&report->fan_speed.fan_rpm[i]); in handle_fan_status_report()
286 report->fan_speed.duty_percent[i]; in handle_fan_status_report()
/openbmc/linux/drivers/macintosh/
H A Dtherm_adt746x.c55 static int fan_speed = -1; variable
67 module_param(fan_speed, int, 0644);
240 int step = (255 - fan_speed) / 7; in update_fans_speed()
249 new_speed = fan_speed + ((var-1)*step); in update_fans_speed()
251 if (new_speed < fan_speed) in update_fans_speed()
252 new_speed = fan_speed; in update_fans_speed()
293 if (fan_speed != -1) in monitor_task()
299 if (fan_speed != -1) in monitor_task()
517 if (fan_speed == -1) in probe_thermostat()
518 fan_speed = 64; in probe_thermostat()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dfan_utils.robot95 [Arguments] ${fan_name} ${fan_speed}
99 # fan_speed The target speed to set (e.g. "9000").
101 ${valueDict}= Create Dictionary data=${fan_speed}
271 ${target_speed} ${fan_speed}= Get Fan Target And Speed ${fan_name}
272 Rpvars fan_name target_speed fan_speed
279 ... ${fan_speed} < ${min_limit} or ${fan_speed} > ${max_limit}
280 ... Fail msg=${fan_name} speed of ${fan_speed} is out of range.
/openbmc/phosphor-hwmon/
H A Dmeson.build57 'fan_speed.cpp',