Lines Matching refs:sw_head
223 self->sw_head = 0; in aq_ring_init()
281 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()
282 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_tx_clean()
288 (!aq_ring_dx_in_range(self->sw_head, in aq_ring_tx_clean()
312 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_tx_clean()
352 for (; (self->sw_head != self->hw_head) && budget; in aq_ring_rx_clean()
353 self->sw_head = aq_ring_next_dx(self, self->sw_head), in aq_ring_rx_clean()
355 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_rx_clean()
376 aq_ring_dx_in_range(self->sw_head, in aq_ring_rx_clean()
516 while (self->sw_head != self->hw_head) { in aq_ring_hwts_rx_clean()
521 (self->sw_head * self->dx_size), in aq_ring_hwts_rx_clean()
525 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_hwts_rx_clean()
565 for (; self->sw_head != self->sw_tail; in aq_ring_rx_deinit()
566 self->sw_head = aq_ring_next_dx(self, self->sw_head)) { in aq_ring_rx_deinit()
567 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_rx_deinit()