Home
last modified time | relevance | path

Searched refs:es_nports (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/etherswitch/felix/
H A Dfelix.c322 for (i = 0; i < sc->info.es_nports; i++) in felix_setup()
365 sc->info.es_nports = 0; in felix_attach()
420 sc->info.es_nports++; in felix_attach()
449 sc->info.es_nports++; in felix_attach()
502 for (i = 0; i < sc->info.es_nports; i++) { in felix_detach()
575 for (i = 0; i < sc->info.es_nports; i++) { in felix_init_vlan()
672 if (p->es_port >= sc->info.es_nports || p->es_port < 0) in felix_getport()
752 if (p->es_port >= sc->info.es_nports || p->es_port < 0) in felix_setport()
951 for (port = 0; port < sc->info.es_nports; port++) { in felix_tick()
/freebsd/sbin/etherswitchcfg/
H A Detherswitchcfg.c370 if (v < 0 || v >= cfg->info.es_nports) in set_vlangroup_members()
371 errx(EX_USAGE, "Member port must be between 0 and %d", cfg->info.es_nports-1); in set_vlangroup_members()
635 for (i=0; i<cfg->info.es_nports; i++) { in print_vlangroup()
663 cfg->info.es_name, cfg->info.es_nports, in print_info()
671 for (i=0; i<cfg->info.es_nports; i++) { in print_info()
776 if (cfg.unit < 0 || cfg.unit >= cfg.info.es_nports) in main()
777 errx(EX_USAGE, "port unit must be between 0 and %d", cfg.info.es_nports - 1); in main()
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_mt7620.c376 for (i = 0; i < sc->info.es_nports; i++) in mtkswitch_vlan_init_hw()
384 for (i = 0; i < sc->info.es_nports; i++) { in mtkswitch_vlan_init_hw()
437 for (i = 0; i < sc->info.es_nports; i++) { in mtkswitch_vlan_getvgroup()
481 for (i = 0; i < sc->info.es_nports; i++) in mtkswitch_vlan_setvgroup()
531 sc->info.es_nports = 7; in mtk_attach_switch_mt7620()
H A Dmtkswitch_rt3050.c336 for (i = 0; i < sc->info.es_nports; i++) { in mtkswitch_vlan_init_hw()
501 sc->info.es_nports = 7; in mtk_attach_switch_rt3050()
H A Dmtkswitch.c445 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in mtkswitch_getport()
488 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in mtkswitch_setport()
/freebsd/sys/dev/etherswitch/
H A Detherswitch.h39 int es_nports; member
/freebsd/sys/dev/etherswitch/ar40xx/
H A Dar40xx_main.c497 sc->sc_info.es_nports = AR40XX_NUM_PORTS; in ar40xx_attach()
581 if (p->es_port < 0 || p->es_port > sc->sc_info.es_nports) in ar40xx_getport()
633 if (p->es_port < 0 || p->es_port > sc->sc_info.es_nports) in ar40xx_setport()
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip175c.c91 for (i = 0; i < sc->info.es_nports; i++) { in ip175c_port_vlan_setup()
H A Dip17x.c199 sc->info.es_nports = port + 1; in ip17x_attach_phys()
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch.c580 sc->info.es_nports = 5; /* XXX technically 6, but 6th not used */ in arswitch_attach()
918 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in arswitch_getport()
1027 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in arswitch_setport()
H A Darswitch_8327.c752 sc->info.es_nports = 7; in ar8327_hw_global_setup()
/freebsd/sys/dev/etherswitch/infineon/
H A Dadm6996fc.c206 sc->info.es_nports = port; in adm6996fc_attach_phys()
211 ++sc->info.es_nports; in adm6996fc_attach_phys()
/freebsd/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c252 sc->info.es_nports = port; in ksz8995ma_attach_phys()
257 ++sc->info.es_nports; in ksz8995ma_attach_phys()
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6060sw.c243 sc->info.es_nports = port; in e6060sw_attach_phys()
248 ++sc->info.es_nports; in e6060sw_attach_phys()
H A De6000sw.c106 .es_nports = 0,
637 etherswitch_info.es_nports = sc->num_ports;
/freebsd/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c153 sc->info.es_nports = port + 1; in ukswitch_attach_phys()
/freebsd/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c229 sc->info.es_nports = sc->numphys + 1; in rtl8366rb_attach()
/freebsd/sys/arm/ti/cpsw/
H A Dif_cpsw.c2799 .es_nports = CPSW_PORTS + 1,