Searched refs:to_use (Results 1 – 8 of 8) sorted by relevance
79 struct vnic_rq_buf *to_use; member100 return rq->to_use->desc; in vnic_rq_next_desc()105 return rq->to_use->index; in vnic_rq_next_index()117 struct vnic_rq_buf *buf = rq->to_use; in vnic_rq_post()125 rq->to_use = buf; in vnic_rq_post()
77 struct vnic_wq_buf *to_use; member96 return wq->to_use->desc; in vnic_wq_next_desc()103 struct vnic_wq_buf *buf = wq->to_use; in vnic_wq_post()120 wq->to_use = buf; in vnic_wq_post()
64 rq->to_use = rq->to_clean = rq->bufs[0]; in vnic_rq_alloc_bufs()134 rq->to_use = rq->to_clean = in vnic_rq_init()190 rq->to_use = rq->to_clean = in vnic_rq_clean()
64 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs()177 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_clean()
153 tx_ring->to_use = tx_ring->to_clean = tx_ring->start; in c2_tx_ring_alloc()205 rx_ring->to_use = rx_ring->to_clean = rx_ring->start; in c2_rx_ring_alloc()369 c2_port->c2dev->cur_tx = tx_ring->to_use - tx_ring->start; in c2_tx_clean()391 for (elem = tx_ring->to_clean; elem != tx_ring->to_use; in c2_tx_interrupt()644 c2_port->tx_ring.to_use = c2_port->tx_ring.to_clean = in c2_up()649 BUG_ON(c2_port->tx_ring.to_use != c2_port->tx_ring.to_clean); in c2_up()787 elem = tx_ring->to_use; in c2_xmit_frame()831 tx_ring->to_use = elem->next; in c2_xmit_frame()
282 struct c2_element *to_use; member
954 ring->to_use = ring->to_clean = ring->start; in skge_ring_alloc()2629 BUG_ON(skge->tx_ring.to_use != skge->tx_ring.to_clean); in skge_up()2631 skge_qset(skge, txqaddr[port], skge->tx_ring.to_use); in skge_up()2745 return ((ring->to_clean > ring->to_use) ? 0 : ring->count) in skge_avail()2746 + (ring->to_clean - ring->to_use) - 1; in skge_avail()2765 e = skge->tx_ring.to_use; in skge_xmit_frame()2832 skge->tx_ring.to_use = e->next; in skge_xmit_frame()2877 for (e = skge->tx_ring.to_clean; e != skge->tx_ring.to_use; e = e->next) { in skge_tx_clean()3152 for (e = ring->to_clean; e != ring->to_use; e = e->next) { in skge_tx_done()3685 for (e = skge->tx_ring.to_clean; e != skge->tx_ring.to_use; e = e->next) { in skge_debug_show()
2402 struct skge_element *to_use; member