Lines Matching refs:dpr

6762 			   struct tg3_rx_prodring_set *dpr,  in tg3_recycle_rx()  argument
6775 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
6776 dest_map = &dpr->rx_std_buffers[dest_idx]; in tg3_recycle_rx()
6783 dest_desc = &dpr->rx_jmb[dest_idx].std; in tg3_recycle_rx()
6784 dest_map = &dpr->rx_jmb_buffers[dest_idx]; in tg3_recycle_rx()
7066 struct tg3_rx_prodring_set *dpr, in tg3_rx_prodring_xfer() argument
7090 tp->rx_std_ring_mask + 1 - dpr->rx_std_prod_idx); in tg3_rx_prodring_xfer()
7093 di = dpr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7096 if (dpr->rx_std_buffers[i].data) { in tg3_rx_prodring_xfer()
7112 memcpy(&dpr->rx_std_buffers[di], in tg3_rx_prodring_xfer()
7119 dbd = &dpr->rx_std[di]; in tg3_rx_prodring_xfer()
7126 dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7148 tp->rx_jmb_ring_mask + 1 - dpr->rx_jmb_prod_idx); in tg3_rx_prodring_xfer()
7151 di = dpr->rx_jmb_prod_idx; in tg3_rx_prodring_xfer()
7154 if (dpr->rx_jmb_buffers[i].data) { in tg3_rx_prodring_xfer()
7170 memcpy(&dpr->rx_jmb_buffers[di], in tg3_rx_prodring_xfer()
7177 dbd = &dpr->rx_jmb[di].std; in tg3_rx_prodring_xfer()
7184 dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7213 struct tg3_rx_prodring_set *dpr = &tp->napi[0].prodring; in tg3_poll_work() local
7215 u32 std_prod_idx = dpr->rx_std_prod_idx; in tg3_poll_work()
7216 u32 jmb_prod_idx = dpr->rx_jmb_prod_idx; in tg3_poll_work()
7220 err |= tg3_rx_prodring_xfer(tp, dpr, in tg3_poll_work()
7225 if (std_prod_idx != dpr->rx_std_prod_idx) in tg3_poll_work()
7227 dpr->rx_std_prod_idx); in tg3_poll_work()
7229 if (jmb_prod_idx != dpr->rx_jmb_prod_idx) in tg3_poll_work()
7231 dpr->rx_jmb_prod_idx); in tg3_poll_work()