Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/realtek/
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()
186 vid, vlanmc.member, vlanmc.untag); in rtl8366_set_vlan()
283 vlanmc.untag = 0; in rtl8366_reset_vlan()
303 u32 untag = 0; in rtl8366_vlan_add() local
[all …]
Drealtek.h38 u16 untag; member
46 u16 untag; member
131 u32 untag, u32 fid);
Drtl8366rb.c1713 vlan4k->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_4k()
1730 vlan4k->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_4k()
1736 ((vlan4k->untag & RTL8366RB_VLAN_UNTAG_MASK) << in rtl8366rb_set_vlan_4k()
1778 vlanmc->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_mc()
1797 vlanmc->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_mc()
1805 ((vlanmc->untag & RTL8366RB_VLAN_UNTAG_MASK) << in rtl8366rb_set_vlan_mc()
/linux-6.12.1/drivers/net/ethernet/ti/icssg/
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.12.1/drivers/net/ethernet/ti/
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()
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()
Dcpsw_ale.c634 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, in cpsw_ale_add_vlan() argument
646 cpsw_ale_set_vlan_untag(ale, ale_entry, vid, untag); in cpsw_ale_add_vlan()
678 int members, untag; in cpsw_ale_vlan_del_modify_int() local
689 untag = cpsw_ale_vlan_get_fld(ale, ale_entry, in cpsw_ale_vlan_del_modify_int()
695 untag &= members; in cpsw_ale_vlan_del_modify_int()
699 cpsw_ale_set_vlan_untag(ale, ale_entry, vid, untag); in cpsw_ale_vlan_del_modify_int()
Dcpsw_ale.h173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
/linux-6.12.1/drivers/net/dsa/b53/
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()
305 vlan->untag = (entry >> VA_UNTAG_S_25) & VA_UNTAG_MASK_25; in b53_get_vlan_entry()
316 vlan->untag = (entry >> VA_UNTAG_S_65) & VA_UNTAG_MASK_65; in b53_get_vlan_entry()
324 vlan->untag = (entry >> VTE_UNTAG_S) & VTE_MEMBERS; in b53_get_vlan_entry()
785 v->untag = v->members; in b53_configure_vlan()
1539 vl->untag |= BIT(port); in b53_vlan_add()
1541 vl->untag &= ~BIT(port); in b53_vlan_add()
[all …]
Db53_priv.h103 u16 untag; member
/linux-6.12.1/Documentation/networking/dsa/
Ddsa.rst940 this packet in. It is the responsibility of the hardware to untag the VID on