Home
last modified time | relevance | path

Searched refs:sensor_cpu_power (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/macintosh/
Dwindfarm_pm91.c65 static struct wf_sensor *sensor_cpu_power; variable
238 rc = wf_sensor_get(sensor_cpu_power, &power); in wf_smu_cpu_fans_tick()
582 if (sensor_cpu_power == NULL && !strcmp(sr->name, "cpu-power")) { in wf_smu_new_sensor()
584 sensor_cpu_power = sr; in wf_smu_new_sensor()
602 if (sensor_cpu_power && sensor_cpu_temp && in wf_smu_new_sensor()
666 if (sensor_cpu_power) in wf_smu_remove()
667 wf_put_sensor(sensor_cpu_power); in wf_smu_remove()
Dwindfarm_pm81.c132 static struct wf_sensor *sensor_cpu_power; variable
492 rc = wf_sensor_get(sensor_cpu_power, &power); in wf_smu_cpu_fans_tick()
655 if (sensor_cpu_power == NULL && !strcmp(sr->name, "cpu-power")) { in wf_smu_new_sensor()
657 sensor_cpu_power = sr; in wf_smu_new_sensor()
670 if (sensor_cpu_power && sensor_cpu_temp && sensor_hd_temp) in wf_smu_new_sensor()
743 if (sensor_cpu_power) in wf_smu_remove()
744 wf_put_sensor(sensor_cpu_power); in wf_smu_remove()
Dwindfarm_pm121.c218 static struct wf_sensor *sensor_cpu_power; variable
741 rc = sensor_cpu_power->ops->get_value(sensor_cpu_power, &power); in pm121_cpu_fans_tick()
922 &sensor_cpu_power) && all; in pm121_new_sensor()