Searched refs:mhadd (Results 1 – 2 of 2) sorted by relevance
1397 u32 mhadd, max_frame; in wx_set_rx_buffer_len() local1404 mhadd = rd32(wx, WX_PSR_MAX_SZ); in wx_set_rx_buffer_len()1405 if (max_frame != mhadd) in wx_set_rx_buffer_len()
4279 u32 mhadd, hlreg0; in ixgbe_set_rx_buffer_len() local4293 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); in ixgbe_set_rx_buffer_len()4294 if (max_frame != (mhadd >> IXGBE_MHADD_MFS_SHIFT)) { in ixgbe_set_rx_buffer_len()4295 mhadd &= ~IXGBE_MHADD_MFS_MASK; in ixgbe_set_rx_buffer_len()4296 mhadd |= max_frame << IXGBE_MHADD_MFS_SHIFT; in ixgbe_set_rx_buffer_len()4298 IXGBE_WRITE_REG(hw, IXGBE_MHADD, mhadd); in ixgbe_set_rx_buffer_len()