Lines Matching refs:portmask
191 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_untagged_vlans()
207 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_tagged_vlans()
232 if (vlan->portmask & BIT(port) && vlan->untagged & BIT(port)) in ocelot_port_find_native_vlan()
330 unsigned long portmask; in ocelot_vlan_member_add() local
334 portmask = vlan->portmask | BIT(port); in ocelot_vlan_member_add()
336 err = ocelot_vlant_set_mask(ocelot, vid, portmask); in ocelot_vlan_member_add()
340 vlan->portmask = portmask; in ocelot_vlan_member_add()
357 portmask = BIT(port); in ocelot_vlan_member_add()
359 err = ocelot_vlant_set_mask(ocelot, vid, portmask); in ocelot_vlan_member_add()
366 vlan->portmask = portmask; in ocelot_vlan_member_add()
378 unsigned long portmask; in ocelot_vlan_member_del() local
384 portmask = vlan->portmask & ~BIT(port); in ocelot_vlan_member_del()
386 err = ocelot_vlant_set_mask(ocelot, vid, portmask); in ocelot_vlan_member_del()
390 vlan->portmask = portmask; in ocelot_vlan_member_del()
391 if (vlan->portmask) in ocelot_vlan_member_del()