Home
last modified time | relevance | path

Searched refs:sc_numports (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/sys/dev/isa/
Dif_ntwoc_isa.c404 sca->sc_numports = (flags & NTWOC_FLAGS_NPORT_MASK) + 1; in ntwoc_isa_attach()
546 pgs * (sca->scu_pagesize / 1024), sca->sc_numports, in ntwoc_isa_attach()
547 (sca->sc_numports > 1 ? "s" : "")); in ntwoc_isa_attach()
551 sca->sc_numports, (sca->sc_numports > 1 ? "s" : "")); in ntwoc_isa_attach()
571 if (pgs < 2 * sca->sc_numports) { in ntwoc_isa_attach()
574 pgs, 2 * sca->sc_numports); in ntwoc_isa_attach()
594 if (sca->sc_numports > 1) in ntwoc_isa_attach()
605 if (sca->sc_numports == 2) in ntwoc_isa_attach()
779 if (sc->sc_numports == 2) { in ntwoc_isa_setup_memory()
785 for (i = 0; i < sc->sc_numports; i++) { in ntwoc_isa_setup_memory()
/netbsd/src/sys/dev/usb/
Dumcs.c101 uint8_t sc_numports; /* number of ports (subunits) */ member
231 sc->sc_numports = 4; in umcs7840_attach()
235 sc->sc_numports = 1; in umcs7840_attach()
237 sc->sc_numports = 2; in umcs7840_attach()
244 aprint_verbose_dev(self, "found %d active ports\n", sc->sc_numports); in umcs7840_attach()
314 for (i = 0; i < sc->sc_numports; i++) { in umcs7840_attach()
323 int phyport = i * (sc->sc_numports == 2 ? 2 : 1); in umcs7840_attach()
541 for (i = 0; i < sc->sc_numports; i++) { in umcs7840_detach()
560 for (i = 0; i < sc->sc_numports; i++) { in umcs7840_childdet()
887 for (subunit = 0; subunit < sc->sc_numports; subunit++) { in umcs7840_intr()
[all …]
/netbsd/src/sys/dev/pci/
Dif_ntwoc_pci.c346 sca->sc_numports = numports; in ntwoc_pci_attach()
362 if (sca->sc_numports > 1) in ntwoc_pci_attach()
563 if (sc->sc_numports == 2) { in ntwoc_pci_alloc_dma()
570 bpp = sc->sc_numports * (NTWOC_NtxBUFS + NTWOC_NrxBUFS); in ntwoc_pci_alloc_dma()
680 if (sc->sc_numports == 2) { in ntwoc_pci_setup_dma()
706 if (sc->sc_numports == 2) { in ntwoc_pci_setup_dma()
/netbsd/src/sys/dev/ic/
Dhd64570var.h141 int sc_numports; /* number of ports present */ member
Dhd64570.c344 if (sc->sc_numports < 1 || sc->sc_numports > 2) in sca_init()
2083 for (i = 0; i < sc->sc_numports; i++) { in sca_print_clock_info()