/Linux-v5.10/drivers/scsi/fnic/ |
D | vnic_cq_copy.h | 36 cq->ring.desc_size * cq->to_clean); in vnic_cq_copy_service() 44 cq->to_clean++; in vnic_cq_copy_service() 45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_copy_service() 46 cq->to_clean = 0; in vnic_cq_copy_service() 51 cq->ring.desc_size * cq->to_clean); in vnic_cq_copy_service()
|
D | vnic_cq.h | 66 unsigned int to_clean; member 82 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 92 cq->to_clean++; in vnic_cq_service() 93 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 94 cq->to_clean = 0; in vnic_cq_service() 99 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
|
D | vnic_rq.c | 59 rq->to_use = rq->to_clean = rq->bufs[0]; in vnic_rq_alloc_bufs() 129 rq->to_use = rq->to_clean = in vnic_rq_init() 173 buf = rq->to_clean; in vnic_rq_clean() 179 buf = rq->to_clean = buf->next; in vnic_rq_clean() 185 rq->to_use = rq->to_clean = in vnic_rq_clean()
|
D | vnic_wq.h | 94 struct vnic_wq_buf *to_clean; member 149 buf = wq->to_clean; in vnic_wq_service() 156 wq->to_clean = buf->next; in vnic_wq_service() 161 buf = wq->to_clean; in vnic_wq_service()
|
D | vnic_wq.c | 79 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs() 171 wq->to_use = wq->to_clean = in vnic_wq_init_start() 229 buf = wq->to_clean; in vnic_wq_clean() 235 buf = wq->to_clean = buf->next; in vnic_wq_clean() 239 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_clean()
|
D | vnic_rq.h | 99 struct vnic_rq_buf *to_clean; member 189 buf = rq->to_clean; in vnic_rq_service() 199 rq->to_clean = buf->next; in vnic_rq_service() 204 buf = rq->to_clean; in vnic_rq_service()
|
D | vnic_cq.c | 77 cq->to_clean = 0; in vnic_cq_clean()
|
/Linux-v5.10/drivers/scsi/snic/ |
D | vnic_cq_fw.h | 36 cq->ring.desc_size * cq->to_clean); in vnic_cq_fw_service() 44 cq->to_clean++; in vnic_cq_fw_service() 45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_fw_service() 46 cq->to_clean = 0; in vnic_cq_fw_service() 51 cq->ring.desc_size * cq->to_clean); in vnic_cq_fw_service()
|
D | vnic_cq.h | 56 unsigned int to_clean; member 72 cq->ring.desc_size * cq->to_clean); in svnic_cq_service() 82 cq->to_clean++; in svnic_cq_service() 83 if (cq->to_clean == cq->ring.desc_count) { in svnic_cq_service() 84 cq->to_clean = 0; in svnic_cq_service() 89 cq->ring.desc_size * cq->to_clean); in svnic_cq_service()
|
D | vnic_wq.h | 81 struct vnic_wq_buf *to_clean; member 136 buf = wq->to_clean; in svnic_wq_service() 143 wq->to_clean = buf->next; in svnic_wq_service() 148 buf = wq->to_clean; in svnic_wq_service()
|
D | vnic_wq.c | 76 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs() 172 wq->to_use = wq->to_clean = in vnic_wq_init_start() 220 buf = wq->to_clean; in svnic_wq_clean() 226 buf = wq->to_clean = buf->next; in svnic_wq_clean() 230 wq->to_use = wq->to_clean = wq->bufs[0]; in svnic_wq_clean()
|
D | vnic_cq.c | 72 cq->to_clean = 0; in svnic_cq_clean()
|
/Linux-v5.10/drivers/net/ethernet/cisco/enic/ |
D | vnic_cq.h | 63 unsigned int to_clean; member 84 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 94 cq->to_clean++; in vnic_cq_service() 95 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 96 cq->to_clean = 0; in vnic_cq_service() 101 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
|
D | vnic_wq.c | 64 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs() 152 wq->to_use = wq->to_clean = in enic_wq_init_start() 200 buf = wq->to_clean; in vnic_wq_clean() 206 buf = wq->to_clean = buf->next; in vnic_wq_clean() 210 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_clean()
|
D | vnic_rq.h | 92 struct vnic_rq_buf *to_clean; member 173 buf = rq->to_clean; in vnic_rq_service() 183 rq->to_clean = buf->next; in vnic_rq_service() 188 buf = rq->to_clean; in vnic_rq_service()
|
D | vnic_wq.h | 87 struct vnic_wq_buf *to_clean; member 162 buf = wq->to_clean; in vnic_wq_service() 169 wq->to_clean = buf->next; in vnic_wq_service() 174 buf = wq->to_clean; in vnic_wq_service()
|
D | vnic_rq.c | 61 rq->to_use = rq->to_clean = rq->bufs[0]; in vnic_rq_alloc_bufs() 133 rq->to_use = rq->to_clean = in vnic_rq_init_start() 192 buf = rq->to_clean; in vnic_rq_clean() 207 rq->to_use = rq->to_clean = in vnic_rq_clean()
|
D | vnic_cq.c | 84 cq->to_clean = 0; in vnic_cq_clean()
|
D | enic_main.c | 809 while (!buf->os_buf && (buf->next != wq->to_clean)) { in enic_queue_wq_skb()
|
/Linux-v5.10/drivers/net/ethernet/marvell/ |
D | skge.c | 930 ring->to_use = ring->to_clean = ring->start; in skge_ring_alloc() 1029 ring->to_clean = ring->start; in skge_rx_fill() 2600 skge_qset(skge, rxqaddr[port], skge->rx_ring.to_clean); in skge_up() 2602 BUG_ON(skge->tx_ring.to_use != skge->tx_ring.to_clean); in skge_up() 2729 return ((ring->to_clean > ring->to_use) ? 0 : ring->count) in skge_avail() 2730 + (ring->to_clean - ring->to_use) - 1; in skge_avail() 2871 for (e = skge->tx_ring.to_clean; e != skge->tx_ring.to_use; e = e->next) { in skge_tx_clean() 2882 skge->tx_ring.to_clean = e; in skge_tx_clean() 3152 for (e = ring->to_clean; e != ring->to_use; e = e->next) { in skge_tx_done() 3172 skge->tx_ring.to_clean = e; in skge_tx_done() [all …]
|
D | skge.h | 2397 struct skge_element *to_clean; member
|