Lines Matching refs:vmdq
1826 int ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, in ixgbe_set_rar_generic() argument
1839 hw->mac.ops.set_vmdq(hw, index, vmdq); in ixgbe_set_rar_generic()
2945 int ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_clear_vmdq_generic() argument
2965 if (vmdq == IXGBE_CLEAR_VMDQ_ALL) { in ixgbe_clear_vmdq_generic()
2974 } else if (vmdq < 32) { in ixgbe_clear_vmdq_generic()
2975 mpsar_lo &= ~BIT(vmdq); in ixgbe_clear_vmdq_generic()
2978 mpsar_hi &= ~BIT(vmdq - 32); in ixgbe_clear_vmdq_generic()
2996 int ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_set_vmdq_generic() argument
3007 if (vmdq < 32) { in ixgbe_set_vmdq_generic()
3009 mpsar |= BIT(vmdq); in ixgbe_set_vmdq_generic()
3013 mpsar |= BIT(vmdq - 32); in ixgbe_set_vmdq_generic()
3029 int ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq) in ixgbe_set_vmdq_san_mac_generic() argument
3033 if (vmdq < 32) { in ixgbe_set_vmdq_san_mac_generic()
3034 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_LO(rar), BIT(vmdq)); in ixgbe_set_vmdq_san_mac_generic()
3038 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_HI(rar), BIT(vmdq - 32)); in ixgbe_set_vmdq_san_mac_generic()