Searched refs:XGMAC_FIFO_UNIT (Results 1 – 2 of 2) sorted by relevance
244 #define XGMAC_FIFO_UNIT 256 macro246 (((_x) + XGMAC_FIFO_UNIT - 1) & ~(XGMAC_FIFO_UNIT - 1))
2402 q_fifo_size = (fifo[i] + 1) * XGMAC_FIFO_UNIT; in xgbe_calculate_flow_control_threshold()2448 p_fifo = q_fifo_size / XGMAC_FIFO_UNIT; in xgbe_calculate_equal_fifo()2473 fifo[i] = (XGMAC_FIFO_MIN_ALLOC / XGMAC_FIFO_UNIT) - 1; in xgbe_set_nonprio_fifos()2569 fifo[i] = (q_fifo_size / XGMAC_FIFO_UNIT) - 1; in xgbe_calculate_dcb_fifo()2583 fifo[i] += (addn_fifo / XGMAC_FIFO_UNIT); in xgbe_calculate_dcb_fifo()2592 fifo[i] += (inc_fifo / XGMAC_FIFO_UNIT); in xgbe_calculate_dcb_fifo()2611 pdata->tx_q_count, ((fifo[0] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_tx_fifo_size()2648 ((fifo[i] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_rx_fifo_size()2653 ((fifo[0] + 1) * XGMAC_FIFO_UNIT)); in xgbe_config_rx_fifo_size()