/src/sys/arch/evbmips/loongson/ |
loongson_clock.c | 53 static int sc_step = 7; variable in typeref:typename:int 218 * - we need to use the previous sc_step in order to scale the 220 * we only change sc_step after doing that 222 if (sc_step_wanted != sc_step) { 231 sc_count += scale(diff, sc_step); 233 if (sc_step_wanted != sc_step) { 234 sc_step = sc_step_wanted; 235 curcpu()->ci_cycles_per_hz = cycles[sc_step]; 266 return sc_count + scale(diff, sc_step); 299 mhz = sc_scale[sc_step]; [all...] |
loongson_clock.c | 53 static int sc_step = 7; variable in typeref:typename:int 218 * - we need to use the previous sc_step in order to scale the 220 * we only change sc_step after doing that 222 if (sc_step_wanted != sc_step) { 231 sc_count += scale(diff, sc_step); 233 if (sc_step_wanted != sc_step) { 234 sc_step = sc_step_wanted; 235 curcpu()->ci_cycles_per_hz = cycles[sc_step]; 266 return sc_count + scale(diff, sc_step); 299 mhz = sc_scale[sc_step]; [all...] |
loongson_clock.c | 53 static int sc_step = 7; variable in typeref:typename:int 218 * - we need to use the previous sc_step in order to scale the 220 * we only change sc_step after doing that 222 if (sc_step_wanted != sc_step) { 231 sc_count += scale(diff, sc_step); 233 if (sc_step_wanted != sc_step) { 234 sc_step = sc_step_wanted; 235 curcpu()->ci_cycles_per_hz = cycles[sc_step]; 266 return sc_count + scale(diff, sc_step); 299 mhz = sc_scale[sc_step]; [all...] |
/src/sys/dev/pci/voyager/ |
pwmclock.c | 64 int sc_step; member in struct:pwmclock_softc 177 sc->sc_step = 7; 288 * - we need to use the previous sc_step in order to scale the 290 * we only change sc_step after doing that 292 if (sc->sc_step_wanted != sc->sc_step) { 301 sc->sc_count += scale(diff, sc->sc_step); 303 if (sc->sc_step_wanted != sc->sc_step) { 304 sc->sc_step = sc->sc_step_wanted; 331 return sc->sc_count + scale(diff, sc->sc_step); 366 mhz = sc->sc_scale[sc->sc_step]; [all...] |
pwmclock.c | 64 int sc_step; member in struct:pwmclock_softc 177 sc->sc_step = 7; 288 * - we need to use the previous sc_step in order to scale the 290 * we only change sc_step after doing that 292 if (sc->sc_step_wanted != sc->sc_step) { 301 sc->sc_count += scale(diff, sc->sc_step); 303 if (sc->sc_step_wanted != sc->sc_step) { 304 sc->sc_step = sc->sc_step_wanted; 331 return sc->sc_count + scale(diff, sc->sc_step); 366 mhz = sc->sc_scale[sc->sc_step]; [all...] |
pwmclock.c | 64 int sc_step; member in struct:pwmclock_softc 177 sc->sc_step = 7; 288 * - we need to use the previous sc_step in order to scale the 290 * we only change sc_step after doing that 292 if (sc->sc_step_wanted != sc->sc_step) { 301 sc->sc_count += scale(diff, sc->sc_step); 303 if (sc->sc_step_wanted != sc->sc_step) { 304 sc->sc_step = sc->sc_step_wanted; 331 return sc->sc_count + scale(diff, sc->sc_step); 366 mhz = sc->sc_scale[sc->sc_step]; [all...] |
/src/sys/arch/vax/vax/ |
ctu.c | 68 int sc_step; member in struct:tu_softc 172 tu_sc.sc_step = 0; 242 tu_sc.sc_step = 0; 437 switch (tu_sc.sc_step) { 449 tu_sc.sc_step++; 453 if (tu_sc.sc_step == 14) { 459 mtpr(tu_sc.sc_rsp[tu_sc.sc_step++], PR_CSTD);
|
ctu.c | 68 int sc_step; member in struct:tu_softc 172 tu_sc.sc_step = 0; 242 tu_sc.sc_step = 0; 437 switch (tu_sc.sc_step) { 449 tu_sc.sc_step++; 453 if (tu_sc.sc_step == 14) { 459 mtpr(tu_sc.sc_rsp[tu_sc.sc_step++], PR_CSTD);
|
ctu.c | 68 int sc_step; member in struct:tu_softc 172 tu_sc.sc_step = 0; 242 tu_sc.sc_step = 0; 437 switch (tu_sc.sc_step) { 449 tu_sc.sc_step++; 453 if (tu_sc.sc_step == 14) { 459 mtpr(tu_sc.sc_rsp[tu_sc.sc_step++], PR_CSTD);
|
/src/sys/dev/i2c/ |
fan53555.c | 73 u_int sc_step; member in struct:fan53555_softc 175 cur_uvol = __SHIFTOUT(oval, VSEL_NSEL) * sc->sc_step + sc->sc_base; 179 val |= __SHIFTIN((min_uvol - sc->sc_base) / sc->sc_step, VSEL_NSEL); 186 delay((abs(cur_uvol - min_uvol) / sc->sc_step) * sc->sc_ramp_delay); 201 *puvol = __SHIFTOUT(val, VSEL_NSEL) * sc->sc_step + sc->sc_base; 233 sc->sc_step = 12500; 238 sc->sc_step = 12500;
|
fan53555.c | 73 u_int sc_step; member in struct:fan53555_softc 175 cur_uvol = __SHIFTOUT(oval, VSEL_NSEL) * sc->sc_step + sc->sc_base; 179 val |= __SHIFTIN((min_uvol - sc->sc_base) / sc->sc_step, VSEL_NSEL); 186 delay((abs(cur_uvol - min_uvol) / sc->sc_step) * sc->sc_ramp_delay); 201 *puvol = __SHIFTOUT(val, VSEL_NSEL) * sc->sc_step + sc->sc_base; 233 sc->sc_step = 12500; 238 sc->sc_step = 12500;
|
fan53555.c | 73 u_int sc_step; member in struct:fan53555_softc 175 cur_uvol = __SHIFTOUT(oval, VSEL_NSEL) * sc->sc_step + sc->sc_base; 179 val |= __SHIFTIN((min_uvol - sc->sc_base) / sc->sc_step, VSEL_NSEL); 186 delay((abs(cur_uvol - min_uvol) / sc->sc_step) * sc->sc_ramp_delay); 201 *puvol = __SHIFTOUT(val, VSEL_NSEL) * sc->sc_step + sc->sc_base; 233 sc->sc_step = 12500; 238 sc->sc_step = 12500;
|