Lines Matching refs:system_fan_speed
113 int system_fan_speed; member
137 if (fp->system_fan_speed < FAN_SPEED_MIN) in set_fan_speeds()
138 fp->system_fan_speed = FAN_SPEED_MIN; in set_fan_speeds()
139 if (fp->system_fan_speed > FAN_SPEED_MAX) in set_fan_speeds()
140 fp->system_fan_speed = FAN_SPEED_MAX; in set_fan_speeds()
144 fp->cpu_fan_speed, fp->system_fan_speed); in set_fan_speeds()
148 bbc_i2c_writeb(fp->client, fp->system_fan_speed, SYS_FAN_REG); in set_fan_speeds()
368 if (fp->system_fan_speed >= FAN_SPEED_MAX) in maybe_new_ambient_fan_speed()
371 fp->system_fan_speed = FAN_SPEED_MAX; in maybe_new_ambient_fan_speed()
374 if (fp->system_fan_speed >= FAN_SPEED_MAX) in maybe_new_ambient_fan_speed()
377 fp->system_fan_speed += 2; in maybe_new_ambient_fan_speed()
379 int orig_speed = fp->system_fan_speed; in maybe_new_ambient_fan_speed()
385 fp->system_fan_speed -= 1; in maybe_new_ambient_fan_speed()
412 if (fp->system_fan_speed < in maybe_new_cpu_fan_speed()
414 fp->system_fan_speed = in maybe_new_cpu_fan_speed()
448 fp->system_fan_speed = FAN_SPEED_MAX; in fans_full_blast()
568 fp->system_fan_speed = (FAN_SPEED_MAX - FAN_SPEED_MIN) / 2; in attach_one_fan()
569 fp->system_fan_speed += FAN_SPEED_MIN; in attach_one_fan()