Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1397 u32 mhadd, max_frame; in wx_set_rx_buffer_len() local
1404 mhadd = rd32(wx, WX_PSR_MAX_SZ); in wx_set_rx_buffer_len()
1405 if (max_frame != mhadd) in wx_set_rx_buffer_len()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c4279 u32 mhadd, hlreg0; in ixgbe_set_rx_buffer_len() local
4293 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()