Lines Matching refs:rfa
2335 unsigned int rfa, rfd; in xgbe_queue_flow_control_threshold() local
2341 rfa = pdata->pfc_rfa; in xgbe_queue_flow_control_threshold()
2342 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2345 if (rfa >= XGMAC_FLOW_CONTROL_MAX) in xgbe_queue_flow_control_threshold()
2346 rfa = XGMAC_FLOW_CONTROL_MAX - XGMAC_FLOW_CONTROL_UNIT; in xgbe_queue_flow_control_threshold()
2379 rfa = q_fifo_size - frame_fifo_size; in xgbe_queue_flow_control_threshold()
2380 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2385 rfa = frame_fifo_size * 2; in xgbe_queue_flow_control_threshold()
2386 rfa += XGMAC_FLOW_CONTROL_UNIT; in xgbe_queue_flow_control_threshold()
2387 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2391 pdata->rx_rfa[queue] = XGMAC_FLOW_CONTROL_VALUE(rfa); in xgbe_queue_flow_control_threshold()