Searched refs:es_nports (Results 1 - 13 of 13) sorted by relevance

/freebsd-11.0-release/sys/dev/etherswitch/
H A Detherswitch.h40 int es_nports; member in struct:etherswitch_info
/freebsd-11.0-release/sys/dev/etherswitch/arswitch/
H A Darswitch_9340.c157 sc->info.es_nports = 5;
160 sc->info.es_nports = 6;
H A Darswitch.c347 sc->info.es_nports = 5; /* XXX technically 6, but 6th not used */
660 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
737 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
H A Darswitch_8327.c712 sc->info.es_nports = 7;
/freebsd-11.0-release/sbin/etherswitchcfg/
H A Detherswitchcfg.c303 if (v < 0 || v >= cfg->info.es_nports)
304 errx(EX_USAGE, "Member port must be between 0 and %d", cfg->info.es_nports-1);
487 for (i=0; i<cfg->info.es_nports; i++) {
515 cfg->info.es_name, cfg->info.es_nports,
523 for (i=0; i<cfg->info.es_nports; i++) {
627 if (cfg.unit < 0 || cfg.unit >= cfg.info.es_nports)
628 errx(EX_USAGE, "port unit must be between 0 and %d", cfg.info.es_nports - 1);
/freebsd-11.0-release/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_mt7620.c378 for (i = 0; i < sc->info.es_nports; i++)
386 for (i = 0; i < sc->info.es_nports; i++) {
439 for (i = 0; i < sc->info.es_nports; i++) {
483 for (i = 0; i < sc->info.es_nports; i++)
533 sc->info.es_nports = 7;
H A Dmtkswitch.c440 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
483 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
H A Dmtkswitch_rt3050.c338 for (i = 0; i < sc->info.es_nports; i++) {
476 sc->info.es_nports = 7;
/freebsd-11.0-release/sys/dev/etherswitch/ip17x/
H A Dip175c.c91 for (i = 0; i < sc->info.es_nports; i++) {
H A Dip17x.c159 sc->info.es_nports = port + 1;
/freebsd-11.0-release/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c146 sc->info.es_nports = port + 1;
/freebsd-11.0-release/sys/dev/etherswitch/e6000sw/
H A De6000sw.c97 .es_nports = E6000SW_NUM_PORTS,
/freebsd-11.0-release/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c76 .es_nports = RTL8366RB_NUM_PORTS,

Completed in 182 milliseconds