Lines Matching refs:pvid
128 u32 pvid;
135 pvid = slave_read(cpsw->slaves + (priv->emac_port - 1), reg);
138 pvid = readl(port_vlan_reg);
141 pvid = pvid & 0xfff;
143 return pvid;
150 u32 pvid;
152 pvid = vid;
153 pvid |= cfi ? BIT(12) : 0;
154 pvid |= (cos & 0x7) << 13;
162 slave_write(cpsw->slaves + (priv->emac_port - 1), pvid, reg);
166 writel(pvid, port_vlan_reg);
170 static int cpsw_port_vlan_add(struct cpsw_priv *priv, bool untag, bool pvid,
207 if (!pvid)
262 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID;
277 err = cpsw_port_vlan_add(priv, untag, pvid, vid, orig_dev);