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