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

/freebsd-13-stable/sys/dev/etherswitch/arswitch/
H A Darswitch_9340.c180 sc->info.es_nports = 5;
183 sc->info.es_nports = 6;
H A Darswitch.c611 sc->info.es_nports = 5; /* XXX technically 6, but 6th not used */
949 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
1058 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
H A Darswitch_8327.c754 sc->info.es_nports = 7;
/freebsd-13-stable/sys/dev/etherswitch/
H A Detherswitch.h41 int es_nports; member in struct:etherswitch_info
/freebsd-13-stable/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.c447 if (p->es_port < 0 || p->es_port > sc->info.es_nports)
490 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++) {
503 sc->info.es_nports = 7;
/freebsd-13-stable/sbin/etherswitchcfg/
H A Detherswitchcfg.c372 if (v < 0 || v >= cfg->info.es_nports)
373 errx(EX_USAGE, "Member port must be between 0 and %d", cfg->info.es_nports-1);
637 for (i=0; i<cfg->info.es_nports; i++) {
665 cfg->info.es_name, cfg->info.es_nports,
673 for (i=0; i<cfg->info.es_nports; i++) {
778 if (cfg.unit < 0 || cfg.unit >= cfg.info.es_nports)
779 errx(EX_USAGE, "port unit must be between 0 and %d", cfg.info.es_nports - 1);
/freebsd-13-stable/sys/dev/etherswitch/ip17x/
H A Dip175c.c93 for (i = 0; i < sc->info.es_nports; i++) {
H A Dip17x.c201 sc->info.es_nports = port + 1;
/freebsd-13-stable/sys/dev/etherswitch/e6000sw/
H A De6060sw.c247 sc->info.es_nports = port;
252 ++sc->info.es_nports;
H A De6000sw.c97 .es_nports = 0,
534 etherswitch_info.es_nports = sc->num_ports;
/freebsd-13-stable/sys/dev/etherswitch/infineon/
H A Dadm6996fc.c208 sc->info.es_nports = port;
213 ++sc->info.es_nports;
/freebsd-13-stable/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c254 sc->info.es_nports = port;
259 ++sc->info.es_nports;
/freebsd-13-stable/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c155 sc->info.es_nports = port + 1;
/freebsd-13-stable/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c231 sc->info.es_nports = sc->numphys + 1;
/freebsd-13-stable/sys/arm/ti/cpsw/
H A Dif_cpsw.c2806 .es_nports = CPSW_PORTS + 1,

Completed in 266 milliseconds