Lines Matching refs:dtr

323 static inline void vxge_re_pre_post(void *dtr, struct vxge_ring *ring,  in vxge_re_pre_post()  argument
329 vxge_hw_ring_rxd_1b_set(dtr, rx_priv->data_dma, rx_priv->data_size); in vxge_re_pre_post()
330 vxge_hw_ring_rxd_pre_post(ring->handle, dtr); in vxge_re_pre_post()
354 vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, in vxge_rx_1b_compl() argument
375 prefetch((char *)dtr + L1_CACHE_BYTES); in vxge_rx_1b_compl()
376 rx_priv = vxge_hw_ring_rxd_private_get(dtr); in vxge_rx_1b_compl()
386 vxge_hw_ring_rxd_1b_get(ringh, dtr, &dma_sizes); in vxge_rx_1b_compl()
395 vxge_hw_ring_rxd_1b_info_get(ringh, dtr, &ext_info); in vxge_rx_1b_compl()
402 if (vxge_hw_ring_handle_tcode(ringh, dtr, t_code) != in vxge_rx_1b_compl()
415 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
417 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
424 if (vxge_rx_alloc(dtr, ring, data_size) != NULL) { in vxge_rx_1b_compl()
425 if (!vxge_rx_map(dtr, ring)) { in vxge_rx_1b_compl()
431 vxge_hw_ring_rxd_pre_post(ringh, dtr); in vxge_rx_1b_compl()
432 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
438 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
440 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
446 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
448 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
471 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
473 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
479 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
481 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
524 } while (vxge_hw_ring_rxd_next_completed(ringh, &dtr, in vxge_rx_1b_compl()
546 vxge_xmit_compl(struct __vxge_hw_fifo *fifo_hw, void *dtr, in vxge_xmit_compl() argument
562 vxge_hw_fifo_txdl_private_get(dtr); in vxge_xmit_compl()
571 __LINE__, fifo_hw, dtr, t_code); in vxge_xmit_compl()
583 dtr, t_code); in vxge_xmit_compl()
584 vxge_hw_fifo_handle_tcode(fifo_hw, dtr, t_code); in vxge_xmit_compl()
598 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit_compl()
618 &dtr, &t_code) == VXGE_HW_OK); in vxge_xmit_compl()
807 void *dtr = NULL; in vxge_xmit() local
880 status = vxge_hw_fifo_txdl_reserve(fifo_hw, &dtr, &dtr_priv); in vxge_xmit()
891 fifo_hw, dtr, dtr_priv); in vxge_xmit()
895 vxge_hw_fifo_txdl_vlan_set(dtr, vlan_tag); in vxge_xmit()
904 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit()
909 txdl_priv = vxge_hw_fifo_txdl_private_get(dtr); in vxge_xmit()
920 vxge_hw_fifo_txdl_buffer_set(fifo_hw, dtr, j++, dma_pointer, in vxge_xmit()
941 vxge_hw_fifo_txdl_buffer_set(fifo_hw, dtr, j++, dma_pointer, in vxge_xmit()
953 vxge_hw_fifo_txdl_mss_set(dtr, mss); in vxge_xmit()
963 vxge_hw_fifo_txdl_cksum_set_bits(dtr, in vxge_xmit()
968 vxge_hw_fifo_txdl_post(fifo_hw, dtr); in vxge_xmit()
989 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit()