Lines Matching refs:vlan
62 bool vlan;
86 priv->vlan = !!val->value.i;
95 val->value.i = priv->vlan;
99 static int psb6970_set_pvid(struct switch_dev *dev, int port, int vlan)
104 if (vlan >= dev->vlans)
107 priv->pvid[port] = vlan;
111 static int psb6970_get_pvid(struct switch_dev *dev, int port, int *vlan)
114 *vlan = priv->pvid[port];
220 if (priv->vlan) {
221 /* into the vlan translation unit */
242 if (priv->vlan) {
270 memset(&priv->vlan, 0, sizeof(struct psb6970_priv) -
271 offsetof(struct psb6970_priv, vlan));