Home
last modified time | relevance | path

Searched refs:es_untagged_ports (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.c274 vg->es_untagged_ports = 0; in ar8xxx_getvgroup()
292 &vg->es_untagged_ports, in ar8xxx_getvgroup()
298 vg->es_untagged_ports = vg->es_member_ports; in ar8xxx_getvgroup()
302 vg->es_untagged_ports = 0; in ar8xxx_getvgroup()
354 vg->es_untagged_ports, vid); in ar8xxx_setvgroup()
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_rt3050.c358 v->es_untagged_ports = 0; in mtkswitch_vlan_getvgroup()
375 v->es_member_ports = v->es_untagged_ports = in mtkswitch_vlan_getvgroup()
387 v->es_untagged_ports &= val; in mtkswitch_vlan_getvgroup()
419 tmp = v->es_untagged_ports & v->es_member_ports; in mtkswitch_vlan_setvgroup()
421 if (tmp != v->es_untagged_ports) { in mtkswitch_vlan_setvgroup()
446 val |= (((v->es_untagged_ports) & VUB_MASK) << in mtkswitch_vlan_setvgroup()
H A Dmtkswitch_mt7620.c403 v->es_untagged_ports = 0; in mtkswitch_vlan_getvgroup()
439 v->es_untagged_ports |= (1<<i); in mtkswitch_vlan_getvgroup()
482 if (((1<<i) & v->es_untagged_ports) == 0) in mtkswitch_vlan_setvgroup()
/freebsd/sys/dev/etherswitch/ar40xx/
H A Dar40xx_main.c677 vg->es_untagged_ports = 0; in ar40xx_getvgroup()
686 vg->es_untagged_ports = 0; in ar40xx_getvgroup()
701 &vg->es_untagged_ports); in ar40xx_getvgroup()
759 vg->es_untagged_ports); in ar40xx_setvgroup()
767 sc->sc_vlan.vlan_untagged[vg->es_vlangroup] = vg->es_untagged_ports; in ar40xx_setvgroup()
/freebsd/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c757 vg->es_untagged_ports = ((untagged & 0x20) >> 1) | (untagged & 0x0f); in rtl_getvgroup()
760 vg->es_untagged_ports = untagged; in rtl_getvgroup()
779 if (vg->es_member_ports == 0 && vg->es_untagged_ports == 0 && vg->es_vid == 0) in rtl_setvgroup()
788 untagged = (vg->es_untagged_ports & 0x0f) | in rtl_setvgroup()
789 ((vg->es_untagged_ports & 0x10) << 1); in rtl_setvgroup()
792 untagged = vg->es_untagged_ports; in rtl_setvgroup()
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6060sw.c560 vg->es_untagged_ports = vg->es_member_ports; in e6060sw_getvgroup()
570 vg->es_untagged_ports = 0; in e6060sw_getvgroup()
575 vg->es_untagged_ports |= 1 << i; in e6060sw_getvgroup()
584 vg->es_untagged_ports |= 1 << (i + 4); in e6060sw_getvgroup()
622 vg->es_untagged_ports & (1 << i)) { in e6060sw_setvgroup()
H A De6000sw.c1231 if (vg->es_member_ports != vg->es_untagged_ports) {
1236 e6000sw_port_vlan_assign(sc, port, 0, vg->es_untagged_ports);
1265 vg->es_untagged_ports & sc->ports_mask);
1301 vg->es_untagged_ports = vg->es_member_ports = reg & PORT_MASK(sc);
1318 vg->es_untagged_ports = vg->es_member_ports = 0;
1351 vg->es_untagged_ports |= (1 << i);
/freebsd/sys/dev/etherswitch/
H A Detherswitch.h101 int es_untagged_ports; member
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip17x_vlans.c133 vg->es_untagged_ports = vg->es_member_ports; in ip17x_getvgroup()
/freebsd/sys/dev/etherswitch/infineon/
H A Dadm6996fc.c556 vg->es_untagged_ports = vg->es_member_ports; in adm6996fc_getvgroup()
571 vg->es_untagged_ports = (~datalo >> 6) & 0x3f; in adm6996fc_getvgroup()
597 vg->es_member_ports | ((~vg->es_untagged_ports & 0x3f)<< 6)); in adm6996fc_setvgroup()
/freebsd/sbin/etherswitchcfg/
H A Detherswitchcfg.c389 vg.es_untagged_ports = untagged; in set_vlangroup_members()
640 if ((vg.es_untagged_ports & ETHERSWITCH_PORTMASK(i)) == 0) in print_vlangroup()
/freebsd/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c618 vg->es_untagged_ports = vg->es_member_ports; in ksz8995ma_getvgroup()
635 vg->es_untagged_ports = vg->es_member_ports; in ksz8995ma_getvgroup()
/freebsd/sys/dev/etherswitch/felix/
H A Dfelix.c817 if (vg->es_member_ports != vg->es_untagged_ports) in felix_set_dot1q_vlan()
912 vg->es_untagged_ports = vg->es_member_ports = reg; in felix_get_dot1q_vlan()
/freebsd/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c417 vg->es_untagged_ports = 0; in ukswitch_getvgroup()
/freebsd/sys/arm/ti/cpsw/
H A Dif_cpsw.c2917 vg->es_untagged_ports = ALE_VLAN_UNTAG(ale_entry); in cpsw_getvgroup()
2960 vg->es_untagged_ports = 0; in cpsw_setvgroup()
2968 vg->es_untagged_ports &= CPSW_PORTS_MASK; in cpsw_setvgroup()
2976 vg->es_untagged_ports, vg->es_member_ports, 0); in cpsw_setvgroup()