Lines Matching refs:pvid
1296 u16 pvid, new_pvid; in b53_vlan_filtering() local
1298 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), &pvid); in b53_vlan_filtering()
1299 new_pvid = pvid; in b53_vlan_filtering()
1304 dev->ports[port].pvid = pvid; in b53_vlan_filtering()
1308 new_pvid = dev->ports[port].pvid; in b53_vlan_filtering()
1311 if (pvid != new_pvid) in b53_vlan_filtering()
1343 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in b53_vlan_add() local
1362 if (pvid && !dsa_is_cpu_port(ds, port)) { in b53_vlan_add()
1377 u16 pvid; in b53_vlan_del() local
1379 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), &pvid); in b53_vlan_del()
1388 if (pvid == vid) in b53_vlan_del()
1389 pvid = b53_default_pvid(dev); in b53_vlan_del()
1398 b53_write16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), pvid); in b53_vlan_del()
1399 b53_fast_age_vlan(dev, pvid); in b53_vlan_del()
1680 u16 pvlan, reg, pvid; in b53_br_leave() local
1702 pvid = b53_default_pvid(dev); in b53_br_leave()
1712 b53_get_vlan_entry(dev, pvid, vl); in b53_br_leave()
1715 b53_set_vlan_entry(dev, pvid, vl); in b53_br_leave()