Lines Matching refs:pvid
1128 static int _mv88e6xxx_port_pvid_get(struct dsa_switch *ds, int port, u16 *pvid) in _mv88e6xxx_port_pvid_get() argument
1136 *pvid = ret & PORT_DEFAULT_VLAN_MASK; in _mv88e6xxx_port_pvid_get()
1141 int mv88e6xxx_port_pvid_get(struct dsa_switch *ds, int port, u16 *pvid) in mv88e6xxx_port_pvid_get() argument
1149 *pvid = ret & PORT_DEFAULT_VLAN_MASK; in mv88e6xxx_port_pvid_get()
1154 static int _mv88e6xxx_port_pvid_set(struct dsa_switch *ds, int port, u16 pvid) in _mv88e6xxx_port_pvid_set() argument
1157 pvid & PORT_DEFAULT_VLAN_MASK); in _mv88e6xxx_port_pvid_set()
1508 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in mv88e6xxx_port_vlan_add() local
1521 if (pvid) in mv88e6xxx_port_vlan_add()
1572 u16 pvid, vid; in mv88e6xxx_port_vlan_del() local
1577 err = _mv88e6xxx_port_pvid_get(ds, port, &pvid); in mv88e6xxx_port_vlan_del()
1586 if (vid == pvid) { in mv88e6xxx_port_vlan_del()
1880 const u16 pvid = 4000 + ds->index * DSA_MAX_PORTS + port; in mv88e6xxx_port_bridge_join() local
1885 err = _mv88e6xxx_port_vlan_del(ds, port, pvid); in mv88e6xxx_port_bridge_join()
1895 const u16 pvid = 4000 + ds->index * DSA_MAX_PORTS + port; in mv88e6xxx_port_bridge_leave() local
1900 err = _mv88e6xxx_port_vlan_add(ds, port, pvid, true); in mv88e6xxx_port_bridge_leave()
1902 err = _mv88e6xxx_port_pvid_set(ds, port, pvid); in mv88e6xxx_port_bridge_leave()