Home
last modified time | relevance | path

Searched refs:sw_tail (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/crypto/cavium/zip/
Dzip_device.c59 return ((zip_dev->iq[queue].sw_head - zip_dev->iq[queue].sw_tail) * in zip_cmd_queue_consumed()
110 zip_dbg("sw_tail : %lx", zip_dev->iq[queue].sw_tail); in zip_load_instr()
128 zip_dev->iq[queue].sw_head = zip_dev->iq[queue].sw_tail; in zip_load_instr()
151 zip_dev->iq[queue].sw_head, zip_dev->iq[queue].sw_tail, in zip_load_instr()
197 zip_dev->iq[queue].sw_head, zip_dev->iq[queue].sw_tail, in zip_update_cmd_bufs()
Dzip_mem.c78 zip_dbg("Freeing cmd_qbuf 0x%lx\n", zip->iq[q].sw_tail); in zip_cmd_qbuf_free()
80 free_pages((u64)zip->iq[q].sw_tail, get_order(ZIP_CMD_QBUF_SIZE)); in zip_cmd_qbuf_free()
Dzip_main.h87 u64 *sw_tail; member
Dzip_main.c180 zip->iq[q].sw_tail = zip->iq[q].sw_head; in zip_init_hw()
198 zip->iq[q].sw_head, zip->iq[q].sw_tail, in zip_init_hw()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h115 unsigned int sw_tail; member
137 return (((self->sw_tail >= self->sw_head)) ? in aq_ring_avail_dx()
138 (self->size - 1) - self->sw_tail + self->sw_head : in aq_ring_avail_dx()
139 self->sw_head - self->sw_tail - 1); in aq_ring_avail_dx()
Daq_ring.c103 self->sw_tail = 0; in aq_ring_init()
308 self->sw_tail = aq_ring_next_dx(self, self->sw_tail)) { in aq_ring_rx_fill()
309 buff = &self->buff_ring[self->sw_tail]; in aq_ring_rx_fill()
346 for (; self->sw_head != self->sw_tail; in aq_ring_rx_deinit()
Daq_vec.c78 sw_tail_old = ring[AQ_VEC_RX_ID].sw_tail; in aq_vec_poll()
Daq_nic.c373 unsigned int dx = ring->sw_tail; in aq_nic_map_skb()
479 for (dx = ring->sw_tail; in aq_nic_map_skb()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c459 hw_atl_reg_tx_dma_desc_tail_ptr_set(self, ring->sw_tail, ring->idx); in hw_atl_b0_hw_tx_ring_tail_update()
474 buff = &ring->buff_ring[ring->sw_tail]; in hw_atl_b0_hw_ring_tx_xmit()
478 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_b0_hw_ring_tx_xmit()
484 buff = &ring->buff_ring[ring->sw_tail]; in hw_atl_b0_hw_ring_tx_xmit()
531 ring->sw_tail = aq_ring_next_dx(ring, ring->sw_tail); in hw_atl_b0_hw_ring_tx_xmit()
613 for (; sw_tail_old != ring->sw_tail; in hw_atl_b0_hw_ring_rx_fill()
652 for (; ring->hw_head != ring->sw_tail; in hw_atl_b0_hw_ring_rx_receive()
Dhw_atl_a0.c421 hw_atl_reg_tx_dma_desc_tail_ptr_set(self, ring->sw_tail, ring->idx); in hw_atl_a0_hw_tx_ring_tail_update()
436 buff = &ring->buff_ring[ring->sw_tail]; in hw_atl_a0_hw_ring_tx_xmit()
440 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_a0_hw_ring_tx_xmit()
446 buff = &ring->buff_ring[ring->sw_tail]; in hw_atl_a0_hw_ring_tx_xmit()
493 ring->sw_tail = aq_ring_next_dx(ring, ring->sw_tail); in hw_atl_a0_hw_ring_tx_xmit()
576 for (; sw_tail_old != ring->sw_tail; in hw_atl_a0_hw_ring_rx_fill()
615 for (; ring->hw_head != ring->sw_tail; in hw_atl_a0_hw_ring_rx_receive()