Lines Matching refs:cpycnt
7069 u32 si, di, cpycnt, src_prod_idx; in tg3_rx_prodring_xfer() local
7084 cpycnt = src_prod_idx - spr->rx_std_cons_idx; in tg3_rx_prodring_xfer()
7086 cpycnt = tp->rx_std_ring_mask + 1 - in tg3_rx_prodring_xfer()
7089 cpycnt = min(cpycnt, in tg3_rx_prodring_xfer()
7095 for (i = di; i < di + cpycnt; i++) { in tg3_rx_prodring_xfer()
7097 cpycnt = i - di; in tg3_rx_prodring_xfer()
7103 if (!cpycnt) in tg3_rx_prodring_xfer()
7114 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
7116 for (i = 0; i < cpycnt; i++, di++, si++) { in tg3_rx_prodring_xfer()
7124 spr->rx_std_cons_idx = (spr->rx_std_cons_idx + cpycnt) & in tg3_rx_prodring_xfer()
7126 dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7142 cpycnt = src_prod_idx - spr->rx_jmb_cons_idx; in tg3_rx_prodring_xfer()
7144 cpycnt = tp->rx_jmb_ring_mask + 1 - in tg3_rx_prodring_xfer()
7147 cpycnt = min(cpycnt, in tg3_rx_prodring_xfer()
7153 for (i = di; i < di + cpycnt; i++) { in tg3_rx_prodring_xfer()
7155 cpycnt = i - di; in tg3_rx_prodring_xfer()
7161 if (!cpycnt) in tg3_rx_prodring_xfer()
7172 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
7174 for (i = 0; i < cpycnt; i++, di++, si++) { in tg3_rx_prodring_xfer()
7182 spr->rx_jmb_cons_idx = (spr->rx_jmb_cons_idx + cpycnt) & in tg3_rx_prodring_xfer()
7184 dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()