Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/dsa/realtek/
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 …]
Drtl8366rb.c1428 struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_get_vlan_4k() argument
1434 memset(vlan4k, '\0', sizeof(struct rtl8366_vlan_4k)); in rtl8366rb_get_vlan_4k()
1459 vlan4k->vid = vid; in rtl8366rb_get_vlan_4k()
1460 vlan4k->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_4k()
1462 vlan4k->member = data[1] & RTL8366RB_VLAN_MEMBER_MASK; in rtl8366rb_get_vlan_4k()
1463 vlan4k->fid = data[2] & RTL8366RB_VLAN_FID_MASK; in rtl8366rb_get_vlan_4k()
1469 const struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_set_vlan_4k() argument
1475 if (vlan4k->vid >= RTL8366RB_NUM_VIDS || in rtl8366rb_set_vlan_4k()
1476 vlan4k->member > RTL8366RB_VLAN_MEMBER_MASK || in rtl8366rb_set_vlan_4k()
1477 vlan4k->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_4k()
[all …]
Drealtek.h104 struct rtl8366_vlan_4k *vlan4k);
106 const struct rtl8366_vlan_4k *vlan4k);