Searched refs:q_fifo_size (Results 1 – 2 of 2) sorted by relevance
2275 unsigned int q_fifo_size) in xgbe_queue_flow_control_threshold() argument2282 if (pdata->pfcq[queue] && (q_fifo_size > pdata->pfc_rfa)) { in xgbe_queue_flow_control_threshold()2296 if (q_fifo_size <= 2048) { in xgbe_queue_flow_control_threshold()2303 if (q_fifo_size <= 4096) { in xgbe_queue_flow_control_threshold()2310 if (q_fifo_size <= frame_fifo_size) { in xgbe_queue_flow_control_threshold()2317 if (q_fifo_size <= (frame_fifo_size * 3)) { in xgbe_queue_flow_control_threshold()2322 rfa = q_fifo_size - frame_fifo_size; in xgbe_queue_flow_control_threshold()2341 unsigned int q_fifo_size; in xgbe_calculate_flow_control_threshold() local2345 q_fifo_size = (fifo[i] + 1) * XGMAC_FIFO_UNIT; in xgbe_calculate_flow_control_threshold()2347 xgbe_queue_flow_control_threshold(pdata, i, q_fifo_size); in xgbe_calculate_flow_control_threshold()[all …]
1608 unsigned int q_fifo_size; in xlgmac_calculate_per_queue_fifo() local1612 q_fifo_size = 1 << (fifo_size + 7); in xlgmac_calculate_per_queue_fifo()1615 q_fifo_size = min_t(unsigned int, XLGMAC_MAX_FIFO, q_fifo_size); in xlgmac_calculate_per_queue_fifo()1617 q_fifo_size = q_fifo_size / queue_count; in xlgmac_calculate_per_queue_fifo()1623 p_fifo = q_fifo_size / 256; in xlgmac_calculate_per_queue_fifo()