Lines Matching refs:vid
272 u16 vid; member
910 int fid, u16 vid) in gswip_vlan_active_create() argument
934 vlan_active.key[0] = vid; in gswip_vlan_active_create()
945 priv->vlans[idx].vid = vid; in gswip_vlan_active_create()
1029 u16 vid, bool untagged, in gswip_vlan_add_aware() argument
1047 if (priv->vlans[i].vid == vid) { in gswip_vlan_add_aware()
1058 idx = gswip_vlan_active_create(priv, bridge, fid, vid); in gswip_vlan_add_aware()
1066 vlan_mapping.val[0] = vid; in gswip_vlan_add_aware()
1079 vlan_mapping.val[0] = vid; in gswip_vlan_add_aware()
1105 u16 vid, bool pvid, bool vlan_aware) in gswip_vlan_remove() argument
1117 (!vlan_aware || priv->vlans[i].vid == vid)) { in gswip_vlan_remove()
1216 priv->vlans[i].vid == vlan->vid) { in gswip_port_vlan_prepare()
1267 return gswip_vlan_add_aware(priv, bridge, port, vlan->vid, in gswip_port_vlan_add()
1286 return gswip_vlan_remove(priv, bridge, port, vlan->vid, pvid, true); in gswip_port_vlan_del()
1358 const unsigned char *addr, u16 vid, bool add) in gswip_port_fdb() argument
1401 const unsigned char *addr, u16 vid, in gswip_port_fdb_add() argument
1404 return gswip_port_fdb(ds, port, addr, vid, true); in gswip_port_fdb_add()
1408 const unsigned char *addr, u16 vid, in gswip_port_fdb_del() argument
1411 return gswip_port_fdb(ds, port, addr, vid, false); in gswip_port_fdb_del()