Searched refs:pfvfspoof (Results 1 – 2 of 2) sorted by relevance
268 u32 pfvfspoof; in wx_set_vlan_anti_spoofing() local270 pfvfspoof = rd32(wx, WX_TDM_VLAN_AS(index)); in wx_set_vlan_anti_spoofing()272 pfvfspoof |= BIT(vf_bit); in wx_set_vlan_anti_spoofing()274 pfvfspoof &= ~BIT(vf_bit); in wx_set_vlan_anti_spoofing()275 wr32(wx, WX_TDM_VLAN_AS(index), pfvfspoof); in wx_set_vlan_anti_spoofing()
1451 u32 pfvfspoof, reg_offset, vf_shift; in wx_set_ethertype_anti_spoofing() local1456 pfvfspoof = rd32(wx, WX_TDM_ETYPE_AS(reg_offset)); in wx_set_ethertype_anti_spoofing()1458 pfvfspoof |= BIT(vf_shift); in wx_set_ethertype_anti_spoofing()1460 pfvfspoof &= ~BIT(vf_shift); in wx_set_ethertype_anti_spoofing()1461 wr32(wx, WX_TDM_ETYPE_AS(reg_offset), pfvfspoof); in wx_set_ethertype_anti_spoofing()