Searched refs:mhadd (Results 1 – 2 of 2) sorted by relevance
1221 u32 mhadd, max_frame; in wx_set_rx_buffer_len() local1228 mhadd = rd32(wx, WX_PSR_MAX_SZ); in wx_set_rx_buffer_len()1229 if (max_frame != mhadd) in wx_set_rx_buffer_len()
4250 u32 mhadd, hlreg0; in ixgbe_set_rx_buffer_len() local4264 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); in ixgbe_set_rx_buffer_len()4265 if (max_frame != (mhadd >> IXGBE_MHADD_MFS_SHIFT)) { in ixgbe_set_rx_buffer_len()4266 mhadd &= ~IXGBE_MHADD_MFS_MASK; in ixgbe_set_rx_buffer_len()4267 mhadd |= max_frame << IXGBE_MHADD_MFS_SHIFT; in ixgbe_set_rx_buffer_len()4269 IXGBE_WRITE_REG(hw, IXGBE_MHADD, mhadd); in ixgbe_set_rx_buffer_len()