HomeSort by: relevance | last modified time | path
    Searched refs:sc_current (Results 1 - 19 of 19) sorted by relevancy

  /src/sys/arch/macppc/dev/
lmu.c 66 int sc_thresh, sc_hyst, sc_level, sc_target, sc_current; member in struct:lmu_softc
221 sc->sc_current = 0;
330 if (sc->sc_target != sc->sc_current) {
331 offset = ((sc->sc_target - sc->sc_current) > 0) ? 2 : -2;
332 sc->sc_current += offset;
333 if (sc->sc_current > sc->sc_level) sc->sc_current = sc->sc_level;
334 if (sc->sc_current < 0) sc->sc_current = 0;
336 DPRINTF("[%d]", sc->sc_current);
    [all...]
battery.c 83 int sc_current; member in struct:battery_softc
186 sc->sc_current = 0;
196 sc->sc_current = buf[6];
198 if (sc->sc_current > 200)
199 vb += ((sc->sc_current - 200) * 15) / 100;
212 if (sc->sc_current > 0) {
213 sc->sc_time = (sc->sc_charge * 16440) / sc->sc_current;
297 edata->value_cur = sc->sc_current * 1000;
  /src/sys/dev/ic/
sunscpal.c 252 struct sunscpal_req *sr = sc->sc_current;
286 struct sunscpal_req *sr = sc->sc_current;
321 struct sunscpal_req *sr = sc->sc_current;
533 SUNSCPAL_TRACE("reset_scsibus, cur=0x%x\n", (long)sc->sc_current);
558 * Do not touch SBC regs here unless sc_current == NULL
568 * that sc_current == NULL at the beginning...
589 (long)sc->sc_current);
593 (long)sc->sc_current);
600 (long)sc->sc_current);
603 (long)sc->sc_current);
    [all...]
ncr5380sbc.c 399 (long) sc->sc_current);
413 sr = sc->sc_current;
430 * Do not touch SBC regs here unless sc_current == NULL
440 * that sc_current == NULL at the beginning...
462 (long) sc->sc_current);
466 (long) sc->sc_current);
473 (long) sc->sc_current);
476 (long) sc->sc_current);
507 (long) sc->sc_current);
510 (long) sc->sc_current);
    [all...]
ncr5380var.h 183 struct sci_req *sc_current; member in struct:ncr5380_softc
sunscpalvar.h 223 struct sunscpal_req *sc_current; member in struct:sunscpal_softc
  /src/sys/arch/x68k/dev/
vsvar.h 100 } sc_current; member in struct:vs_softc
vs.c 319 sc->sc_current.rate = rate;
341 rate = sc->sc_current.rate;
388 sc->sc_current.xfer = dmac_prepare_xfer(chan, sc->sc_dmat,
394 dmac_start_xfer_offset(chan->ch_softc, sc->sc_current.xfer,
434 sc->sc_current.xfer = dmac_prepare_xfer(chan, sc->sc_dmat,
440 dmac_start_xfer_offset(chan->ch_softc, sc->sc_current.xfer,
463 dmac_abort_xfer(sc->sc_dma_ch->ch_softc, sc->sc_current.xfer);
480 dmac_abort_xfer(sc->sc_dma_ch->ch_softc, sc->sc_current.xfer);
  /src/sys/arch/mac68k/dev/
sbc.c 253 (ncr_sc->sc_current != NULL &&
254 (ncr_sc->sc_current->sr_xs->xs_control & XS_CTL_POLL)))
327 (ncr_sc->sc_current != NULL &&
328 (ncr_sc->sc_current->sr_xs->xs_control & XS_CTL_POLL)))
440 struct sci_req *sr = ncr_sc->sc_current;
638 struct sci_req *sr = ncr_sc->sc_current;
684 struct sci_req *sr = ncr_sc->sc_current;
706 struct sci_req *sr = ncr_sc->sc_current;
732 struct sci_req *sr = ncr_sc->sc_current;
775 struct sci_req *sr = ncr_sc->sc_current;
    [all...]
  /src/sys/arch/sun3/dev/
si_sebuf.c 344 struct sci_req *sr = ncr_sc->sc_current;
390 struct sci_req *sr = ncr_sc->sc_current;
447 struct sci_req *sr = ncr_sc->sc_current;
564 struct sci_req *sr = ncr_sc->sc_current;
635 struct sci_req *sr = ncr_sc->sc_current;
670 struct sci_req *sr = ncr_sc->sc_current;
si.c 260 struct sci_req *sr = ncr_sc->sc_current;
345 struct sci_req *sr = ncr_sc->sc_current;
382 struct sci_req *sr = ncr_sc->sc_current;
si_obio.c 279 struct sci_req *sr = ncr_sc->sc_current;
378 struct sci_req *sr = ncr_sc->sc_current;
437 struct sci_req *sr = ncr_sc->sc_current;
si_vme.c 320 struct sci_req *sr = ncr_sc->sc_current;
383 struct sci_req *sr = ncr_sc->sc_current;
445 struct sci_req *sr = ncr_sc->sc_current;
  /src/sys/arch/news68k/dev/
si.c 211 struct sci_req *sr = ncr_sc->sc_current;
228 struct sci_req *sr = ncr_sc->sc_current;
244 struct sci_req *sr = ncr_sc->sc_current;
347 struct sci_req *sr = ncr_sc->sc_current;
  /src/sys/arch/vax/vsa/
ncr.c 253 struct sci_req *sr = ncr_sc->sc_current;
304 struct sci_req *sr = ncr_sc->sc_current;
341 struct sci_req *sr = ncr_sc->sc_current;
402 struct sci_req *sr = ncr_sc->sc_current;
  /src/sys/dev/vme/
si.c 451 struct sci_req *sr = ncr_sc->sc_current;
526 struct sci_req *sr = ncr_sc->sc_current;
560 struct sci_req *sr = ncr_sc->sc_current;
653 struct sci_req *sr = ncr_sc->sc_current;
725 struct sci_req *sr = ncr_sc->sc_current;
793 struct sci_req *sr = ncr_sc->sc_current;
  /src/sys/arch/x86/x86/
odcm.c 82 int sc_current; member in struct:odcm_softc
260 sc->sc_current = node->sysctl_num;
296 else if (rnode->sysctl_num == sc->sc_current)
  /src/sys/dev/pci/
gffb.c 98 int sc_put, sc_current, sc_free; member in struct:gffb_softc
352 * actually it might be enough to use atomic ops on sc_current, sc_free
809 if (sc->sc_current != sc->sc_put) {
810 sc->sc_put = sc->sc_current;
824 bus_space_write_stream_4(sc->sc_memt, sc->sc_fbh, sc->sc_current, data);
825 sc->sc_current += 4;
858 sc->sc_free = 0x2000 - sc->sc_current;
872 sc->sc_current = sc->sc_put = (SKIPS << 2);
876 sc->sc_free = get - sc->sc_current - 4;
913 sc->sc_current = 0
    [all...]
  /src/sys/arch/sparc/dev/
sw.c 478 struct sci_req *sr = ncr_sc->sc_current;
554 struct sci_req *sr = ncr_sc->sc_current;
588 struct sci_req *sr = ncr_sc->sc_current;
688 struct sci_req *sr = ncr_sc->sc_current;
822 struct sci_req *sr = ncr_sc->sc_current;

Completed in 23 milliseconds