Lines Matching refs:vlans
204 ethsw->vlans[vid] = ETHSW_VLAN_MEMBER;
265 port_priv->vlans[port_priv->pvid] &= ~ETHSW_VLAN_PVID;
266 port_priv->vlans[pvid] |= ETHSW_VLAN_PVID;
291 if (port_priv->vlans[vid]) {
309 port_priv->vlans[vid] = ETHSW_VLAN_MEMBER;
320 port_priv->vlans[vid] |= ETHSW_VLAN_UNTAGGED;
361 if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) {
384 if (!ethsw->vlans[vid])
392 ethsw->vlans[vid] = 0;
397 ppriv_local->vlans[vid] = 0;
1778 if (port_priv->vlans[vlan->vid] & ETHSW_VLAN_MEMBER)
1801 if (!port_priv->ethsw_data->vlans[vlan->vid]) {
1807 port_priv->ethsw_data->vlans[vlan->vid] |= ETHSW_VLAN_GLOBAL;
1882 if (!port_priv->vlans[vid])
1885 if (port_priv->vlans[vid] & ETHSW_VLAN_PVID) {
1897 if (port_priv->vlans[vid] & ETHSW_VLAN_UNTAGGED) {
1906 port_priv->vlans[vid] &= ~ETHSW_VLAN_UNTAGGED;
1909 if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) {
1917 port_priv->vlans[vid] &= ~ETHSW_VLAN_MEMBER;
1924 ethsw->ports[i]->vlans[vid] & ETHSW_VLAN_MEMBER)
1928 ethsw->vlans[vid] &= ~ETHSW_VLAN_GLOBAL;