Lines Matching refs:cpycnt
7045 u32 si, di, cpycnt, src_prod_idx; in tg3_rx_prodring_xfer() local
7060 cpycnt = src_prod_idx - spr->rx_std_cons_idx; in tg3_rx_prodring_xfer()
7062 cpycnt = tp->rx_std_ring_mask + 1 - in tg3_rx_prodring_xfer()
7065 cpycnt = min(cpycnt, in tg3_rx_prodring_xfer()
7071 for (i = di; i < di + cpycnt; i++) { in tg3_rx_prodring_xfer()
7073 cpycnt = i - di; in tg3_rx_prodring_xfer()
7079 if (!cpycnt) in tg3_rx_prodring_xfer()
7090 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
7092 for (i = 0; i < cpycnt; i++, di++, si++) { in tg3_rx_prodring_xfer()
7100 spr->rx_std_cons_idx = (spr->rx_std_cons_idx + cpycnt) & in tg3_rx_prodring_xfer()
7102 dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7118 cpycnt = src_prod_idx - spr->rx_jmb_cons_idx; in tg3_rx_prodring_xfer()
7120 cpycnt = tp->rx_jmb_ring_mask + 1 - in tg3_rx_prodring_xfer()
7123 cpycnt = min(cpycnt, in tg3_rx_prodring_xfer()
7129 for (i = di; i < di + cpycnt; i++) { in tg3_rx_prodring_xfer()
7131 cpycnt = i - di; in tg3_rx_prodring_xfer()
7137 if (!cpycnt) in tg3_rx_prodring_xfer()
7148 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
7150 for (i = 0; i < cpycnt; i++, di++, si++) { in tg3_rx_prodring_xfer()
7158 spr->rx_jmb_cons_idx = (spr->rx_jmb_cons_idx + cpycnt) & in tg3_rx_prodring_xfer()
7160 dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()