Searched refs:es_nports (Results 1 – 18 of 18) sorted by relevance
319 for (i = 0; i < sc->info.es_nports; i++) in felix_setup()362 sc->info.es_nports = 0; in felix_attach()417 sc->info.es_nports++; in felix_attach()446 sc->info.es_nports++; in felix_attach()500 for (i = 0; i < sc->info.es_nports; i++) { in felix_detach()571 for (i = 0; i < sc->info.es_nports; i++) { in felix_init_vlan()668 if (p->es_port >= sc->info.es_nports || p->es_port < 0) in felix_getport()748 if (p->es_port >= sc->info.es_nports || p->es_port < 0) in felix_setport()947 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()
437 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in mtkswitch_getport()480 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in mtkswitch_setport()
39 int es_nports; member
498 sc->sc_info.es_nports = AR40XX_NUM_PORTS; in ar40xx_attach()582 if (p->es_port < 0 || p->es_port > sc->sc_info.es_nports) in ar40xx_getport()634 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()
193 sc->info.es_nports = port + 1; in ip17x_attach_phys()
574 sc->info.es_nports = 5; /* XXX technically 6, but 6th not used */ in arswitch_attach()908 if (p->es_port < 0 || p->es_port > sc->info.es_nports) in arswitch_getport()1017 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()
196 sc->info.es_nports = port; in adm6996fc_attach_phys()201 ++sc->info.es_nports; in adm6996fc_attach_phys()
242 sc->info.es_nports = port; in ksz8995ma_attach_phys()247 ++sc->info.es_nports; in ksz8995ma_attach_phys()
237 sc->info.es_nports = port; in e6060sw_attach_phys()242 ++sc->info.es_nports; in e6060sw_attach_phys()
106 .es_nports = 0,635 etherswitch_info.es_nports = sc->num_ports;
147 sc->info.es_nports = port + 1; in ukswitch_attach_phys()
229 sc->info.es_nports = sc->numphys + 1; in rtl8366rb_attach()
2790 .es_nports = CPSW_PORTS + 1,