Lines Matching full:vlan
141 val |= 0 << 10; /* enable 802.1q VLAN Tag support */ in rlswitch_attach()
142 val |= 0 << 9; /* enable VLAN ingress filtering */ in rlswitch_attach()
143 val |= 1 << 8; /* disable VLAN tag admit control */ in rlswitch_attach()
157 val |= 1 << 11; /* disable forwarding unicast frames to other VLAN's */ in rlswitch_attach()
158 val |= 1 << 10; /* disable forwarding ARP broadcasts to other VLAN's */ in rlswitch_attach()
160 val |= 0 << 8; /* enable VLAN */ in rlswitch_attach()
173 val |= 1 << 11; /* drop received packets with wrong VLAN tag */ in rlswitch_attach()
180 val |= 1 << 0; /* remove VLAN tags on output */ in rlswitch_attach()
186 val |= 1 << 11; /* drop received packets with wrong VLAN tag */ in rlswitch_attach()
193 val |= 1 << 0; /* remove VLAN tags on output */ in rlswitch_attach()
199 val |= 1 << 11; /* drop received packets with wrong VLAN tag */ in rlswitch_attach()
206 val |= 1 << 0; /* remove VLAN tags on output */ in rlswitch_attach()
212 val |= 1 << 11; /* drop received packets with wrong VLAN tag */ in rlswitch_attach()
219 val |= 1 << 0; /* remove VLAN tags on output */ in rlswitch_attach()
225 val |= 0 << 11; /* don't drop received packets with wrong VLAN tag */ in rlswitch_attach()
232 val |= 2 << 0; /* add VLAN tags for untagged packets on output */ in rlswitch_attach()
235 /* Port 0 Control Register 1 and VLAN A */ in rlswitch_attach()
237 val |= 0x0 << 12; /* Port 0 VLAN Index */ in rlswitch_attach()
243 val |= 0x11 << 0; /* VLAN A membership */ in rlswitch_attach()
246 /* Port 0 Control Register 2 and VLAN A */ in rlswitch_attach()
252 val |= 0x100 << 0; /* VLAN A ID */ in rlswitch_attach()
255 /* Port 1 Control Register 1 and VLAN B */ in rlswitch_attach()
257 val |= 0x1 << 12; /* Port 1 VLAN Index */ in rlswitch_attach()
263 val |= 0x12 << 0; /* VLAN B membership */ in rlswitch_attach()
266 /* Port 1 Control Register 2 and VLAN B */ in rlswitch_attach()
272 val |= 0x101 << 0; /* VLAN B ID */ in rlswitch_attach()
275 /* Port 2 Control Register 1 and VLAN C */ in rlswitch_attach()
277 val |= 0x2 << 12; /* Port 2 VLAN Index */ in rlswitch_attach()
283 val |= 0x14 << 0; /* VLAN C membership */ in rlswitch_attach()
286 /* Port 2 Control Register 2 and VLAN C */ in rlswitch_attach()
292 val |= 0x102 << 0; /* VLAN C ID */ in rlswitch_attach()
295 /* Port 3 Control Register 1 and VLAN D */ in rlswitch_attach()
297 val |= 0x3 << 12; /* Port 3 VLAN Index */ in rlswitch_attach()
303 val |= 0x18 << 0; /* VLAN D membership */ in rlswitch_attach()
306 /* Port 3 Control Register 2 and VLAN D */ in rlswitch_attach()
312 val |= 0x103 << 0; /* VLAN D ID */ in rlswitch_attach()
315 /* Port 4 Control Register 1 and VLAN E */ in rlswitch_attach()
317 val |= 0x0 << 12; /* Port 4 VLAN Index */ in rlswitch_attach()
323 val |= 0 << 0; /* VLAN E membership */ in rlswitch_attach()
326 /* Port 4 Control Register 2 and VLAN E */ in rlswitch_attach()
332 val |= 0x104 << 0; /* VLAN E ID */ in rlswitch_attach()