Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/dsa/
Drtl8366.c50 struct rtl8366_vlan_4k vlan4k; in rtl8366_obtain_mc() local
78 ret = smi->ops->get_vlan_4k(smi, 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 = smi->ops->get_vlan_4k(smi, 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.c1181 struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_get_vlan_4k() argument
1187 memset(vlan4k, '\0', sizeof(struct rtl8366_vlan_4k)); in rtl8366rb_get_vlan_4k()
1212 vlan4k->vid = vid; in rtl8366rb_get_vlan_4k()
1213 vlan4k->untag = (data[1] >> RTL8366RB_VLAN_UNTAG_SHIFT) & in rtl8366rb_get_vlan_4k()
1215 vlan4k->member = data[1] & RTL8366RB_VLAN_MEMBER_MASK; in rtl8366rb_get_vlan_4k()
1216 vlan4k->fid = data[2] & RTL8366RB_VLAN_FID_MASK; in rtl8366rb_get_vlan_4k()
1222 const struct rtl8366_vlan_4k *vlan4k) in rtl8366rb_set_vlan_4k() argument
1228 if (vlan4k->vid >= RTL8366RB_NUM_VIDS || in rtl8366rb_set_vlan_4k()
1229 vlan4k->member > RTL8366RB_VLAN_MEMBER_MASK || in rtl8366rb_set_vlan_4k()
1230 vlan4k->untag > RTL8366RB_VLAN_UNTAG_MASK || in rtl8366rb_set_vlan_4k()
[all …]
Drealtek-smi-core.h95 struct rtl8366_vlan_4k *vlan4k);
97 const struct rtl8366_vlan_4k *vlan4k);