| /netbsd/src/sys/dev/mvme/ |
| D | lpt_mvme.c | 211 sc->sc_count = 0; in lptopen() 248 if (sc->sc_count) in lptclose() 269 while (sc->sc_count > 0) { in pushbytes() 291 sc->sc_count--; in pushbytes() 298 while (sc->sc_count > 0) { in pushbytes() 302 sc->sc_count)); in pushbytes() 332 sc->sc_count = n; in lptwrite() 339 uio->uio_resid += sc->sc_count; in lptwrite() 340 sc->sc_count = 0; in lptwrite() 355 if (sc->sc_count) { in lpt_intr() [all …]
|
| D | lptvar.h | 49 size_t sc_count; member
|
| /netbsd/src/sys/arch/atari/dev/ |
| D | lpt.c | 98 size_t sc_count; member 230 sc->sc_count = 0; in lpopen() 265 if (sc->sc_count) in lpclose() 292 while (sc->sc_count > 0) { in pushbytes() 315 sc->sc_count--; in pushbytes() 323 while (sc->sc_count > 0) { in pushbytes() 327 sc->sc_count); in pushbytes() 351 sc->sc_count = n; in lpwrite() 358 uio->uio_resid += sc->sc_count; in lpwrite() 359 sc->sc_count = 0; in lpwrite() [all …]
|
| /netbsd/src/sys/dev/ic/ |
| D | lpt.c | 219 sc->sc_count = 0; in lptopen() 278 if (sc->sc_count) in lptclose() 304 while (sc->sc_count > 0) { in lptpushbytes() 330 sc->sc_count--; in lptpushbytes() 341 while (sc->sc_count > 0) { in lptpushbytes() 346 (u_long)sc->sc_count)); in lptpushbytes() 374 sc->sc_count = n; in lptwrite() 381 uio->uio_resid += sc->sc_count; in lptwrite() 382 sc->sc_count = 0; in lptwrite() 409 if (sc->sc_count) { in lptintr() [all …]
|
| D | lptvar.h | 65 size_t sc_count; member
|
| /netbsd/src/sys/dev/tprof/ |
| D | tprof.c | 462 tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param; in tprof_init_percpu_counters_offset() 471 tprof_param_t *param = &tb->tb_softc.sc_count[counter].ctr_param; in tprof_configure_event_cpu() 513 sc->sc_count[c].ctr_bitwidth = in tprof_configure_event() 516 sc_param = &sc->sc_count[c].ctr_param; in tprof_configure_event() 523 sc->sc_count[c].ctr_counter_val = freq / TPROF_HZ; in tprof_configure_event() 524 if (sc->sc_count[c].ctr_counter_val == 0) { in tprof_configure_event() 528 sc->sc_count[c].ctr_counter_val = in tprof_configure_event() 543 sc->sc_count[c].ctr_counter_val = in tprof_configure_event() 544 sc->sc_count[c].ctr_counter_val * inum + in tprof_configure_event() 545 (sc->sc_count[c].ctr_counter_val * dnum >> 32); in tprof_configure_event() [all …]
|
| D | tprof_x86_amd.c | 207 sc->sc_count[bit].ctr_counter_reset_val); in tprof_amd_nmi() 209 sc->sc_count[bit].ctr_counter_val + ctr; in tprof_amd_nmi()
|
| D | tprof_armv7.c | 240 sc->sc_count[bit].ctr_counter_reset_val); in armv7_pmu_intr() 242 sc->sc_count[bit].ctr_counter_val + ctr; in armv7_pmu_intr()
|
| D | tprof_armv8.c | 212 sc->sc_count[bit].ctr_counter_reset_val); in armv8_pmu_intr() 214 sc->sc_count[bit].ctr_counter_val + ctr; in armv8_pmu_intr()
|
| D | tprof_x86_intel.c | 200 sc->sc_count[bit].ctr_counter_reset_val); in tprof_intel_nmi() 202 sc->sc_count[bit].ctr_counter_val + ctr; in tprof_intel_nmi()
|
| D | tprof.h | 55 struct tprof_backend_softc_counter sc_count[TPROF_MAXCOUNTERS]; member
|
| /netbsd/src/sys/arch/emips/ebus/ |
| D | icap_ebus.c | 78 int sc_count; member 136 sc->sc_count = 0; in icap_ebus_attach() 300 sc->sc_count = bp->b_resid; in icapstart() 322 while (count < sc->sc_count) { in icapstart() 335 if (count > sc->sc_count) in icapstart() 336 count = sc->sc_count; in icapstart() 348 sc->sc_count -= count; in icapstart() 350 if (sc->sc_count <= 0) in icapstart()
|
| /netbsd/src/sys/arch/x68k/dev/ |
| D | powsw.c | 85 int sc_count; member 207 sc->sc_count++; in powsw_softintr() 210 sc->sc_count = 1; in powsw_softintr() 213 if (sc->sc_count < POWSW_THRESHOLD) { in powsw_softintr() 258 sc->sc_count = 0; in powsw_reset_counter()
|
| /netbsd/src/sys/arch/macppc/dev/ |
| D | obiofan.c | 57 int sc_count, sc_rpm; member 131 sc->sc_count = obio_read_4(sc->sc_reg) >> sc->sc_shift; in obiofan_attach() 159 spins = (spin - sc->sc_count) & 0xffff; in obiofan_update() 161 sc->sc_count = spin; in obiofan_update()
|
| /netbsd/src/sys/arch/evbmips/loongson/ |
| D | loongson_clock.c | 52 static uint32_t sc_count; /* should probably be 64 bit */ variable 150 sc_count = 0; in loongson_initclocks() 231 sc_count += scale(diff, sc_step); in mips3_clockintr() 266 return sc_count + scale(diff, sc_step); in get_loongson_timecount()
|
| /netbsd/src/sys/dev/pci/voyager/ |
| D | pwmclock.c | 63 uint32_t sc_count; /* should probably be 64 bit */ member 301 sc->sc_count += scale(diff, sc->sc_step); in pwmclock_intr() 316 sc->sc_count = 0; in pwmclock_start() 331 return sc->sc_count + scale(diff, sc->sc_step); in get_pwmclock_timecount()
|
| /netbsd/src/sys/arch/hp300/dev/ |
| D | nhpib.c | 419 hs->sc_count = count; in nhpibgo() 479 hs->sc_count -= cnt; in nhpibdone() 488 if (hs->sc_count == 1) { in nhpibdone() 495 else if (hs->sc_count) in nhpibdone()
|
| D | fhpib.c | 377 hs->sc_count = count; in fhpibgo() 486 hs->sc_count -= cnt; in fhpibdone() 491 __func__, hs->sc_addr, hs->sc_count); in fhpibdone() 499 cnt = hs->sc_count; in fhpibdone()
|
| D | hpibvar.h | 203 int sc_count; member
|
| /netbsd/src/sys/arch/sgimips/mace/ |
| D | mavb.c | 145 int sc_count; member 742 if (++sc->sc_count >= sc->sc_blksize) { in mavb_dma_output() 745 sc->sc_count = 0; in mavb_dma_output() 772 sc->sc_count = 0; in mavb_trigger_output()
|
| /netbsd/src/sys/arch/newsmips/dev/ |
| D | sc_wrap.c | 444 sc_param->sc_count = count;
|