Lines Matching refs:dpr
6732 struct tg3_rx_prodring_set *dpr, in tg3_recycle_rx() argument
6745 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
6746 dest_map = &dpr->rx_std_buffers[dest_idx]; in tg3_recycle_rx()
6753 dest_desc = &dpr->rx_jmb[dest_idx].std; in tg3_recycle_rx()
6754 dest_map = &dpr->rx_jmb_buffers[dest_idx]; in tg3_recycle_rx()
7033 struct tg3_rx_prodring_set *dpr, in tg3_rx_prodring_xfer() argument
7057 tp->rx_std_ring_mask + 1 - dpr->rx_std_prod_idx); in tg3_rx_prodring_xfer()
7060 di = dpr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7063 if (dpr->rx_std_buffers[i].data) { in tg3_rx_prodring_xfer()
7079 memcpy(&dpr->rx_std_buffers[di], in tg3_rx_prodring_xfer()
7086 dbd = &dpr->rx_std[di]; in tg3_rx_prodring_xfer()
7093 dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7115 tp->rx_jmb_ring_mask + 1 - dpr->rx_jmb_prod_idx); in tg3_rx_prodring_xfer()
7118 di = dpr->rx_jmb_prod_idx; in tg3_rx_prodring_xfer()
7121 if (dpr->rx_jmb_buffers[i].data) { in tg3_rx_prodring_xfer()
7137 memcpy(&dpr->rx_jmb_buffers[di], in tg3_rx_prodring_xfer()
7144 dbd = &dpr->rx_jmb[di].std; in tg3_rx_prodring_xfer()
7151 dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & in tg3_rx_prodring_xfer()
7180 struct tg3_rx_prodring_set *dpr = &tp->napi[0].prodring; in tg3_poll_work() local
7182 u32 std_prod_idx = dpr->rx_std_prod_idx; in tg3_poll_work()
7183 u32 jmb_prod_idx = dpr->rx_jmb_prod_idx; in tg3_poll_work()
7187 err |= tg3_rx_prodring_xfer(tp, dpr, in tg3_poll_work()
7192 if (std_prod_idx != dpr->rx_std_prod_idx) in tg3_poll_work()
7194 dpr->rx_std_prod_idx); in tg3_poll_work()
7196 if (jmb_prod_idx != dpr->rx_jmb_prod_idx) in tg3_poll_work()
7198 dpr->rx_jmb_prod_idx); in tg3_poll_work()