Searched refs:es_nports (Results 1 – 18 of 18) sorted by relevance
322 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()
370 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()
376 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()
336 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()
445 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()
39 int es_nports; member
497 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()
91 for (i = 0; i < sc->info.es_nports; i++) { in ip175c_port_vlan_setup()
199 sc->info.es_nports = port + 1; in ip17x_attach_phys()
580 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()
752 sc->info.es_nports = 7; in ar8327_hw_global_setup()
206 sc->info.es_nports = port; in adm6996fc_attach_phys()211 ++sc->info.es_nports; in adm6996fc_attach_phys()
252 sc->info.es_nports = port; in ksz8995ma_attach_phys()257 ++sc->info.es_nports; in ksz8995ma_attach_phys()
243 sc->info.es_nports = port; in e6060sw_attach_phys()248 ++sc->info.es_nports; in e6060sw_attach_phys()
106 .es_nports = 0,637 etherswitch_info.es_nports = sc->num_ports;
153 sc->info.es_nports = port + 1; in ukswitch_attach_phys()
229 sc->info.es_nports = sc->numphys + 1; in rtl8366rb_attach()
2799 .es_nports = CPSW_PORTS + 1,