Lines Matching refs:rfa
2268 unsigned int rfa, rfd; in xgbe_queue_flow_control_threshold() local
2274 rfa = pdata->pfc_rfa; in xgbe_queue_flow_control_threshold()
2275 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2278 if (rfa >= XGMAC_FLOW_CONTROL_MAX) in xgbe_queue_flow_control_threshold()
2279 rfa = XGMAC_FLOW_CONTROL_MAX - XGMAC_FLOW_CONTROL_UNIT; in xgbe_queue_flow_control_threshold()
2312 rfa = q_fifo_size - frame_fifo_size; in xgbe_queue_flow_control_threshold()
2313 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2318 rfa = frame_fifo_size * 2; in xgbe_queue_flow_control_threshold()
2319 rfa += XGMAC_FLOW_CONTROL_UNIT; in xgbe_queue_flow_control_threshold()
2320 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2324 pdata->rx_rfa[queue] = XGMAC_FLOW_CONTROL_VALUE(rfa); in xgbe_queue_flow_control_threshold()