Lines Matching refs:dpr
6724 struct tg3_rx_prodring_set *dpr, in tg3_recycle_rx() argument
6737 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
6738 dest_map = &dpr->rx_std_buffers[dest_idx]; in tg3_recycle_rx()
6745 dest_desc = &dpr->rx_jmb[dest_idx].std; in tg3_recycle_rx()
6746 dest_map = &dpr->rx_jmb_buffers[dest_idx]; in tg3_recycle_rx()
7025 struct tg3_rx_prodring_set *dpr, in tg3_rx_prodring_xfer() argument
7049 tp->rx_std_ring_mask + 1 - dpr->rx_std_prod_idx); in tg3_rx_prodring_xfer()
7052 di = dpr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7055 if (dpr->rx_std_buffers[i].data) { in tg3_rx_prodring_xfer()
7071 memcpy(&dpr->rx_std_buffers[di], in tg3_rx_prodring_xfer()
7078 dbd = &dpr->rx_std[di]; in tg3_rx_prodring_xfer()
7085 dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7107 tp->rx_jmb_ring_mask + 1 - dpr->rx_jmb_prod_idx); in tg3_rx_prodring_xfer()
7110 di = dpr->rx_jmb_prod_idx; in tg3_rx_prodring_xfer()
7113 if (dpr->rx_jmb_buffers[i].data) { in tg3_rx_prodring_xfer()
7129 memcpy(&dpr->rx_jmb_buffers[di], in tg3_rx_prodring_xfer()
7136 dbd = &dpr->rx_jmb[di].std; in tg3_rx_prodring_xfer()
7143 dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7172 struct tg3_rx_prodring_set *dpr = &tp->napi[0].prodring; in tg3_poll_work() local
7174 u32 std_prod_idx = dpr->rx_std_prod_idx; in tg3_poll_work()
7175 u32 jmb_prod_idx = dpr->rx_jmb_prod_idx; in tg3_poll_work()
7179 err |= tg3_rx_prodring_xfer(tp, dpr, in tg3_poll_work()
7184 if (std_prod_idx != dpr->rx_std_prod_idx) in tg3_poll_work()
7186 dpr->rx_std_prod_idx); in tg3_poll_work()
7188 if (jmb_prod_idx != dpr->rx_jmb_prod_idx) in tg3_poll_work()
7190 dpr->rx_jmb_prod_idx); in tg3_poll_work()