Lines Matching refs:vid
2695 __always_unused __be16 proto, u16 vid) in e1000_vlan_rx_add_vid() argument
2704 (vid == adapter->mng_vlan_id)) in e1000_vlan_rx_add_vid()
2709 index = (vid >> 5) & 0x7F; in e1000_vlan_rx_add_vid()
2711 vfta |= BIT((vid & 0x1F)); in e1000_vlan_rx_add_vid()
2715 set_bit(vid, adapter->active_vlans); in e1000_vlan_rx_add_vid()
2721 __always_unused __be16 proto, u16 vid) in e1000_vlan_rx_kill_vid() argument
2729 (vid == adapter->mng_vlan_id)) { in e1000_vlan_rx_kill_vid()
2737 index = (vid >> 5) & 0x7F; in e1000_vlan_rx_kill_vid()
2739 vfta &= ~BIT((vid & 0x1F)); in e1000_vlan_rx_kill_vid()
2743 clear_bit(vid, adapter->active_vlans); in e1000_vlan_rx_kill_vid()
2823 u16 vid = adapter->hw.mng_cookie.vlan_id; in e1000_update_mng_vlan() local
2827 e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid); in e1000_update_mng_vlan()
2828 adapter->mng_vlan_id = vid; in e1000_update_mng_vlan()
2831 if ((old_vid != (u16)E1000_MNG_VLAN_NONE) && (vid != old_vid)) in e1000_update_mng_vlan()
2837 u16 vid; in e1000_restore_vlan() local
2841 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
2842 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in e1000_restore_vlan()