Home
last modified time | relevance | path

Searched refs:vlan4k (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/dsa/realtek/
H A Drtl8366-core.c50 struct rtl8366_vlan_4k vlan4k; in rtl8366_obtain_mc() local
78 ret = priv->ops->get_vlan_4k(priv, vid, &vlan4k); in rtl8366_obtain_mc()
86 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
87 vlanmc->untag = vlan4k.untag; in rtl8366_obtain_mc()
88 vlanmc->fid = vlan4k.fid; in rtl8366_obtain_mc()
112 ret = priv->ops->get_vlan_4k(priv, vid, &vlan4k); in rtl8366_obtain_mc()
117 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
118 vlanmc->untag = vlan4k.untag; in rtl8366_obtain_mc()
119 vlanmc->fid = vlan4k.fid; in rtl8366_obtain_mc()
140 struct rtl8366_vlan_4k vlan4k; in rtl8366_set_vlan() local
[all …]
H A Drtl8366rb.c1681 struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_get_vlan_4k() argument
1687 memset(vlan4k, '\0', sizeof(struct rtl8366_vlan_4k)); in rtl8366rb_get_vlan_4k()
1712 vlan4k->vid = vid; in rtl8366rb_get_vlan_4k()
1713 vlan4k->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_4k()
1715 vlan4k->member = data[1] & RTL8366RB_VLAN_MEMBER_MASK; in rtl8366rb_get_vlan_4k()
1716 vlan4k->fid = data[2] & RTL8366RB_VLAN_FID_MASK; in rtl8366rb_get_vlan_4k()
1722 const struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_set_vlan_4k() argument
1728 if (vlan4k->vid >= RTL8366RB_NUM_VIDS || in rtl8366rb_set_vlan_4k()
1729 vlan4k->member > RTL8366RB_VLAN_MEMBER_MASK || in rtl8366rb_set_vlan_4k()
1730 vlan4k->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_4k()
[all …]
H A Drealtek.h104 struct rtl8366_vlan_4k *vlan4k);
106 const struct rtl8366_vlan_4k *vlan4k);