Home
last modified time | relevance | path

Searched refs:untag (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/net/dsa/realtek/
H A Drtl8366-core.c87 vlanmc->untag = vlan4k.untag; in rtl8366_obtain_mc()
118 vlanmc->untag = vlan4k.untag; in rtl8366_obtain_mc()
137 u32 untag, u32 fid) in rtl8366_set_vlan() argument
149 vid, member, untag); in rtl8366_set_vlan()
157 vlan4k.untag |= untag; in rtl8366_set_vlan()
165 vid, vlan4k.member, vlan4k.untag); in rtl8366_set_vlan()
175 vlanmc.untag |= untag; in rtl8366_set_vlan()
283 vlanmc.untag = 0; in rtl8366_reset_vlan()
303 u32 untag = 0; in rtl8366_vlan_add() local
328 untag |= BIT(port); in rtl8366_vlan_add()
[all …]
H A Drealtek.h38 u16 untag; member
46 u16 untag; member
131 u32 untag, u32 fid);
H A Drtl8366rb.c1468 vlan4k->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_4k()
1485 vlan4k->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_4k()
1491 ((vlan4k->untag & RTL8366RB_VLAN_UNTAG_MASK) << in rtl8366rb_set_vlan_4k()
1533 vlanmc->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_mc()
1552 vlanmc->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_mc()
1560 ((vlanmc->untag & RTL8366RB_VLAN_UNTAG_MASK) << in rtl8366rb_set_vlan_mc()
/linux-6.15/drivers/net/ethernet/ti/icssg/
H A Dicssg_switchdev.c230 static int prueth_switchdev_vlan_add(struct prueth_emac *emac, bool untag, bool pvid, in prueth_switchdev_vlan_add() argument
243 if (untag) in prueth_switchdev_vlan_add()
289 bool untag = vlan->flags & BRIDGE_VLAN_INFO_UNTAGGED; in prueth_switchdev_vlans_add() local
303 return prueth_switchdev_vlan_add(emac, untag, pvid, vlan->vid, in prueth_switchdev_vlans_add()
/linux-6.15/drivers/net/ethernet/ti/
H A Dcpsw_switchdev.c165 static int cpsw_port_vlan_add(struct cpsw_priv *priv, bool untag, bool pvid, in cpsw_port_vlan_add() argument
189 if (untag) in cpsw_port_vlan_add()
253 bool untag = vlan->flags & BRIDGE_VLAN_INFO_UNTAGGED; in cpsw_port_vlans_add() local
260 return cpsw_port_vlan_add(priv, untag, pvid, vlan->vid, orig_dev); in cpsw_port_vlans_add()
H A Dam65-cpsw-switchdev.c149 static int am65_cpsw_port_vlan_add(struct am65_cpsw_port *port, bool untag, bool pvid, in am65_cpsw_port_vlan_add() argument
173 if (untag) in am65_cpsw_port_vlan_add()
238 bool untag = vlan->flags & BRIDGE_VLAN_INFO_UNTAGGED; in am65_cpsw_port_vlans_add() local
245 return am65_cpsw_port_vlan_add(port, untag, pvid, vlan->vid, orig_dev); in am65_cpsw_port_vlans_add()
H A Dcpsw_ale.c646 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, in cpsw_ale_add_vlan() argument
658 cpsw_ale_set_vlan_untag(ale, ale_entry, vid, untag); in cpsw_ale_add_vlan()
690 int members, untag; in cpsw_ale_vlan_del_modify_int() local
701 untag = cpsw_ale_vlan_get_fld(ale, ale_entry, in cpsw_ale_vlan_del_modify_int()
707 untag &= members; in cpsw_ale_vlan_del_modify_int()
711 cpsw_ale_set_vlan_untag(ale, ale_entry, vid, untag); in cpsw_ale_vlan_del_modify_int()
H A Dcpsw_ale.h173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
/linux-6.15/drivers/net/dsa/b53/
H A Db53_common.c257 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry()
272 entry = ((vlan->untag & VA_UNTAG_MASK_65) << in b53_set_vlan_entry()
281 (vlan->untag << VTE_UNTAG_S) | vlan->members); in b53_set_vlan_entry()
287 vid, vlan->members, vlan->untag); in b53_set_vlan_entry()
846 vl.untag = vl.members; in b53_configure_vlan()
1217 vl->untag |= BIT(port); in b53_setup()
1640 vl->untag |= BIT(port); in b53_vlan_add()
1642 vl->untag &= ~BIT(port); in b53_vlan_add()
1682 vl->untag &= ~(BIT(port)); in b53_vlan_del()
2051 vl->untag = vl->members; in b53_br_join()
[all …]
H A Db53_priv.h105 u16 untag; member
/linux-6.15/Documentation/networking/dsa/
H A Ddsa.rst940 this packet in. It is the responsibility of the hardware to untag the VID on