Searched refs:hw_head (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.c | 232 self->hw_head = 0; in aq_ring_init() 291 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean() 300 self->hw_head))) in aq_ring_tx_clean() 587 for (; (self->sw_head != self->hw_head) && budget; in __aq_ring_rx_clean() 623 self->hw_head); in __aq_ring_rx_clean() 768 for (; (rx_ring->sw_head != rx_ring->hw_head) && budget; in __aq_ring_xdp_clean() 796 rx_ring->hw_head); in __aq_ring_xdp_clean() 908 while (self->sw_head != self->hw_head) { in aq_ring_hwts_rx_clean()
|
| H A D | aq_vec.c | 55 ring[AQ_VEC_TX_ID].hw_head) { in aq_vec_poll() 66 ring[AQ_VEC_RX_ID].hw_head) { in aq_vec_poll()
|
| H A D | aq_ring.h | 142 unsigned int hw_head; member
|
| /linux/drivers/iommu/riscv/ |
| H A D | iommu.c | 390 unsigned int hw_head; in riscv_iommu_queue_wait_for_space() local 394 ret = riscv_iommu_readl_timeout(queue->iommu, Q_HEAD(queue), hw_head, in riscv_iommu_queue_wait_for_space() 395 !(hw_head & ~queue->mask) && hw_head != last, in riscv_iommu_queue_wait_for_space() 412 hw_head = riscv_iommu_readl(queue->iommu, Q_HEAD(queue)); in riscv_iommu_queue_wait_for_space() 413 if (!(hw_head & ~queue->mask) && hw_head != last) in riscv_iommu_queue_wait_for_space() 414 atomic_add((hw_head - last) & queue->mask, &queue->head); in riscv_iommu_queue_wait_for_space()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 36 int hw_head; member 191 FBNIC_XMIT_CB(skb)->hw_head = -1; in fbnic_tx_tstamp() 571 unsigned int hw_head) in fbnic_clean_twq0() argument 578 clean_desc = (hw_head - head) & ring->size_mask; in fbnic_clean_twq0() 589 FBNIC_XMIT_CB(skb)->hw_head = hw_head; in fbnic_clean_twq0() 659 unsigned int hw_head) in fbnic_clean_twq1() argument 664 while (hw_head != head) { in fbnic_clean_twq1() 745 head = FBNIC_XMIT_CB(skb)->hw_head; in fbnic_clean_tsq() 880 static void fbnic_clean_bdq(struct fbnic_ring *ring, unsigned int hw_head, in fbnic_clean_bdq() argument 885 if (head == hw_head) in fbnic_clean_bdq() [all …]
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.c | 2210 __le16 hw_head; in idpf_tx_clean_complq() local 2236 hw_head = tx_desc->common.q_head_compl_tag.q_head; in idpf_tx_clean_complq() 2238 idpf_tx_splitq_clean(tx_q, le16_to_cpu(hw_head), in idpf_tx_clean_complq()
|