Home
last modified time | relevance | path

Searched refs:mhadd (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1221 u32 mhadd, max_frame; in wx_set_rx_buffer_len() local
1228 mhadd = rd32(wx, WX_PSR_MAX_SZ); in wx_set_rx_buffer_len()
1229 if (max_frame != mhadd) in wx_set_rx_buffer_len()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c4252 u32 mhadd, hlreg0; in ixgbe_set_rx_buffer_len() local
4266 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); in ixgbe_set_rx_buffer_len()
4267 if (max_frame != (mhadd >> IXGBE_MHADD_MFS_SHIFT)) { in ixgbe_set_rx_buffer_len()
4268 mhadd &= ~IXGBE_MHADD_MFS_MASK; in ixgbe_set_rx_buffer_len()
4269 mhadd |= max_frame << IXGBE_MHADD_MFS_SHIFT; in ixgbe_set_rx_buffer_len()
4271 IXGBE_WRITE_REG(hw, IXGBE_MHADD, mhadd); in ixgbe_set_rx_buffer_len()