Searched refs:sc_nports (Results 1 – 10 of 10) sorted by relevance
221 sc->sc_ports = kmem_zalloc(sizeof(*sc->sc_ports) * sc->sc_nports, in octgmx_attach()224 for (i = 0; i < sc->sc_nports; i++) { in octgmx_attach()297 sc->sc_nports = 0; in octgmx_init()312 sc->sc_nports = 3; in octgmx_init()318 sc->sc_nports = 2; in octgmx_init()335 sc->sc_nports = 3; in octgmx_init()341 sc->sc_nports = 2; in octgmx_init()348 if (sc->sc_nports == 3) in octgmx_init()349 sc->sc_nports = 2; in octgmx_init()355 sc->sc_nports = 4; in octgmx_init()[all …]
82 int sc_nports; member
364 if (sc->sc_nports == 0)366 hash %= sc->sc_nports;471 apl.apl_nports = sc->sc_nports; in agr_getportlist()573 if (sc->sc_nports == 0) { in agr_addport()629 sc->sc_nports++; in agr_addport()669 if (sc->sc_nports == 0) { in agr_addport()700 KASSERT(sc->sc_nports > 0); in agr_remport()730 if (sc->sc_nports == 0) { in agr_remport()792 sc->sc_nports--; in agrport_cleanup()920 if (sc->sc_nports == 0) { in agr_pause()[all …]
119 int sc_nports; member
57 int sc_nports; /* number of serial ports */ member62 int sc_nports; /* number of parallel ports */ member
327 ssc->sc_nports = port; in stty_attach()347 if (port >= sc->sc_nports) in stty_open()903 for (i = 0; i < stc->sc_nports; i++) { in spif_softintr()1009 psc->sc_nports = port; in sbpp_attach()
260 size_t sc_nports; member519 if (index < 1 || index >= sc->sc_nports) { in vhci_roothub_ctrl()536 if (index < 1 || index >= sc->sc_nports) { in vhci_roothub_ctrl()555 hubd.bNbrPorts = sc->sc_nports - 1; in vhci_roothub_ctrl()570 if (index < 1 || index >= sc->sc_nports) { in vhci_roothub_ctrl()936 if (args->port == 0 || args->port >= sc->sc_nports) in vhci_set_port()1280 sc->sc_nports = VHCI_NPORTS; in vhci_attach()1281 for (i = 0; i < sc->sc_nports; i++) { in vhci_attach()
165 size_t sc_nports; member
668 nports = sc->sc_nports; in lagg_ioctl()2253 if (sc->sc_nports > LAGG_MAX_PORTS) in lagg_port_setup()2350 sc->sc_nports++; in lagg_port_setup()2444 sc->sc_nports--; in lagg_port_teardown()
266 int sc_nports; member