Searched refs:sc_count (Results 1 - 21 of 21) sorted by relevance

/netbsd-current/sys/dev/mvme/
H A Dlpt_mvme.c211 sc->sc_count = 0;
248 if (sc->sc_count)
269 while (sc->sc_count > 0) {
291 sc->sc_count--;
298 while (sc->sc_count > 0) {
302 sc->sc_count));
332 sc->sc_count = n;
339 uio->uio_resid += sc->sc_count;
340 sc->sc_count = 0;
355 if (sc->sc_count) {
[all...]
H A Dlptvar.h49 size_t sc_count; member in struct:lpt_softc
/netbsd-current/sys/arch/atari/dev/
H A Dlpt.c98 size_t sc_count; member in struct:lpt_softc
230 sc->sc_count = 0;
265 if (sc->sc_count)
292 while (sc->sc_count > 0) {
315 sc->sc_count--;
323 while (sc->sc_count > 0) {
327 sc->sc_count);
351 sc->sc_count = n;
358 uio->uio_resid += sc->sc_count;
359 sc->sc_count
[all...]
/netbsd-current/sys/dev/ic/
H A Dlpt.c219 sc->sc_count = 0;
278 if (sc->sc_count)
304 while (sc->sc_count > 0) {
330 sc->sc_count--;
341 while (sc->sc_count > 0) {
346 (u_long)sc->sc_count));
374 sc->sc_count = n;
381 uio->uio_resid += sc->sc_count;
382 sc->sc_count = 0;
409 if (sc->sc_count) {
[all...]
H A Dlptvar.h65 size_t sc_count; member in struct:lpt_softc
/netbsd-current/sys/arch/macppc/dev/
H A Dobiofan.c57 int sc_count, sc_rpm; member in struct:obiofan_softc
131 sc->sc_count = obio_read_4(sc->sc_reg) >> sc->sc_shift;
159 spins = (spin - sc->sc_count) & 0xffff;
161 sc->sc_count = spin;
/netbsd-current/sys/dev/tprof/
H A Dtprof.h55 struct tprof_backend_softc_counter sc_count[TPROF_MAXCOUNTERS]; member in struct:tprof_backend_softc
H A Dtprof.c462 tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param;
471 tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param;
513 sc->sc_count[c].ctr_bitwidth =
516 sc_param = &sc->sc_count[c].ctr_param;
523 sc->sc_count[c].ctr_counter_val = freq / TPROF_HZ;
524 if (sc->sc_count[c].ctr_counter_val == 0) {
528 sc->sc_count[c].ctr_counter_val =
543 sc->sc_count[c].ctr_counter_val =
544 sc->sc_count[c].ctr_counter_val * inum +
545 (sc->sc_count[
[all...]
H A Dtprof_x86_amd.c207 sc->sc_count[bit].ctr_counter_reset_val);
209 sc->sc_count[bit].ctr_counter_val + ctr;
H A Dtprof_x86_intel.c200 sc->sc_count[bit].ctr_counter_reset_val);
202 sc->sc_count[bit].ctr_counter_val + ctr;
H A Dtprof_armv8.c212 sc->sc_count[bit].ctr_counter_reset_val);
214 sc->sc_count[bit].ctr_counter_val + ctr;
H A Dtprof_armv7.c240 sc->sc_count[bit].ctr_counter_reset_val);
242 sc->sc_count[bit].ctr_counter_val + ctr;
/netbsd-current/sys/arch/emips/ebus/
H A Dicap_ebus.c78 int sc_count; member in struct:icap_softc
136 sc->sc_count = 0;
300 sc->sc_count = bp->b_resid;
322 while (count < sc->sc_count) {
335 if (count > sc->sc_count)
336 count = sc->sc_count;
348 sc->sc_count -= count;
350 if (sc->sc_count <= 0)
/netbsd-current/sys/arch/x68k/dev/
H A Dpowsw.c85 int sc_count; member in struct:powsw_softc
207 sc->sc_count++;
210 sc->sc_count = 1;
213 if (sc->sc_count < POWSW_THRESHOLD) {
258 sc->sc_count = 0;
/netbsd-current/sys/arch/evbmips/loongson/
H A Dloongson_clock.c52 static uint32_t sc_count; /* should probably be 64 bit */ variable
150 sc_count = 0;
231 sc_count += scale(diff, sc_step);
266 return sc_count + scale(diff, sc_step);
/netbsd-current/sys/dev/pci/voyager/
H A Dpwmclock.c63 uint32_t sc_count; /* should probably be 64 bit */ member in struct:pwmclock_softc
301 sc->sc_count += scale(diff, sc->sc_step);
316 sc->sc_count = 0;
331 return sc->sc_count + scale(diff, sc->sc_step);
/netbsd-current/sys/arch/hp300/dev/
H A Dhpibvar.h203 int sc_count; member in struct:hpibbus_softc
H A Dnhpib.c419 hs->sc_count = count;
479 hs->sc_count -= cnt;
488 if (hs->sc_count == 1) {
495 else if (hs->sc_count)
H A Dfhpib.c377 hs->sc_count = count;
486 hs->sc_count -= cnt;
491 __func__, hs->sc_addr, hs->sc_count);
499 cnt = hs->sc_count;
/netbsd-current/sys/arch/sgimips/mace/
H A Dmavb.c145 int sc_count; member in struct:mavb_softc
742 if (++sc->sc_count >= sc->sc_blksize) {
745 sc->sc_count = 0;
772 sc->sc_count = 0;
/netbsd-current/sys/arch/newsmips/dev/
H A Dsc_wrap.c444 sc_param->sc_count = count;

Completed in 324 milliseconds