Lines Matching defs:nduty
956 unsigned int nduty = sc->sc_duty[which];
962 DPRINTF("d %d s %d t %d diff %d ", nduty, current_speed, speed, diff);
965 nduty += 2;
966 if (nduty > 200) nduty = 200;
970 nduty -= 2;
971 if (nduty < 50) nduty = 50;
973 if (nduty != sc->sc_duty[which]) {
974 sc->sc_duty[which] = nduty;
975 obio_set_pwm(which, nduty);