Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe.h244 #define XGMAC_FIFO_UNIT 256 macro
246 (((_x) + XGMAC_FIFO_UNIT - 1) & ~(XGMAC_FIFO_UNIT - 1))
Dxgbe-dev.c2345 q_fifo_size = (fifo[i] + 1) * XGMAC_FIFO_UNIT; in xgbe_calculate_flow_control_threshold()
2391 p_fifo = q_fifo_size / XGMAC_FIFO_UNIT; in xgbe_calculate_equal_fifo()
2416 fifo[i] = (XGMAC_FIFO_MIN_ALLOC / XGMAC_FIFO_UNIT) - 1; in xgbe_set_nonprio_fifos()
2512 fifo[i] = (q_fifo_size / XGMAC_FIFO_UNIT) - 1; in xgbe_calculate_dcb_fifo()
2526 fifo[i] += (addn_fifo / XGMAC_FIFO_UNIT); in xgbe_calculate_dcb_fifo()
2535 fifo[i] += (inc_fifo / XGMAC_FIFO_UNIT); in xgbe_calculate_dcb_fifo()
2554 pdata->tx_q_count, ((fifo[0] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_tx_fifo_size()
2591 ((fifo[i] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_rx_fifo_size()
2596 ((fifo[0] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_rx_fifo_size()