Lines Matching refs:vid
6478 u16 vid = 0; in stmmac_vlan_update() local
6480 for_each_set_bit(vid, priv->active_vlans, VLAN_N_VID) { in stmmac_vlan_update()
6481 __le16 vid_le = cpu_to_le16(vid); in stmmac_vlan_update()
6491 pmatch = vid; in stmmac_vlan_update()
6498 static int stmmac_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in stmmac_vlan_rx_add_vid() argument
6511 set_bit(vid, priv->active_vlans); in stmmac_vlan_rx_add_vid()
6514 clear_bit(vid, priv->active_vlans); in stmmac_vlan_rx_add_vid()
6519 ret = stmmac_add_hw_vlan_rx_fltr(priv, ndev, priv->hw, proto, vid); in stmmac_vlan_rx_add_vid()
6529 static int stmmac_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) in stmmac_vlan_rx_kill_vid() argument
6542 clear_bit(vid, priv->active_vlans); in stmmac_vlan_rx_kill_vid()
6545 ret = stmmac_del_hw_vlan_rx_fltr(priv, ndev, priv->hw, proto, vid); in stmmac_vlan_rx_kill_vid()