Lines Matching full:duty
39 int duty; in nvkm_fan_update() local
52 /* check that we're not already at the target duty cycle */ in nvkm_fan_update()
53 duty = fan->get(therm); in nvkm_fan_update()
54 if (duty == target) { in nvkm_fan_update()
60 if (!immediate && duty >= 0) { in nvkm_fan_update()
65 if (duty < target) in nvkm_fan_update()
66 duty = min(duty + 3, target); in nvkm_fan_update()
67 else if (duty > target) in nvkm_fan_update()
68 duty = max(duty - 3, target); in nvkm_fan_update()
70 duty = target; in nvkm_fan_update()
73 nvkm_debug(subdev, "FAN update: %d\n", duty); in nvkm_fan_update()
74 ret = fan->set(therm, duty); in nvkm_fan_update()
86 if (target != duty) { in nvkm_fan_update()
91 if (duty > target) in nvkm_fan_update()
93 else if (duty == target) in nvkm_fan_update()