Searched refs:fqw_pos (Results 1 – 1 of 1) sorted by relevance
160 int fqw_pos, fqr_pos, bqw_pos, bqr_pos; in higmac_recv() local166 fqw_pos = DESC_CNT(readl(priv->base + RX_FQ_WR_ADDR)); in higmac_recv()169 if (fqw_pos >= fqr_pos) in higmac_recv()170 space = RX_DESC_NUM - (fqw_pos - fqr_pos); in higmac_recv()172 space = fqr_pos - fqw_pos; in higmac_recv()176 fqd = priv->rxfq + fqw_pos; in higmac_recv()180 if (++fqw_pos >= RX_DESC_NUM) in higmac_recv()181 fqw_pos = 0; in higmac_recv()183 writel(DESC_BYTE(fqw_pos), priv->base + RX_FQ_WR_ADDR); in higmac_recv()
Completed in 3 milliseconds