Home
last modified time | relevance | path

Searched refs:descs_used (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/virtio/
H A Dvirtio_ring.c21 unsigned int i, n, avail, descs_used, uninitialized_var(prev); in virtqueue_add() local
30 descs_used = total_sg; in virtqueue_add()
32 if (vq->num_free < descs_used) { in virtqueue_add()
34 descs_used, vq->num_free); in virtqueue_add()
71 vq->num_free -= descs_used; in virtqueue_add()
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.c1356 int mss, int *descs_used) in wil_tx_tso_gen_desc() argument
1397 (*descs_used)++; in wil_tx_tso_gen_desc()
1465 mss, &descs_used); in __wil_tx_ring_tso_edma()
1473 (swhead + descs_used) % ring->size, in __wil_tx_ring_tso_edma()
1477 mss, &descs_used); in __wil_tx_ring_tso_edma()
1487 len, descs_used); in __wil_tx_ring_tso_edma()
1490 (swhead + descs_used) % ring->size, in __wil_tx_ring_tso_edma()
1495 mss, &descs_used); in __wil_tx_ring_tso_edma()
1503 used, used + descs_used)) { in __wil_tx_ring_tso_edma()
1528 while (descs_used > 0) { in __wil_tx_ring_tso_edma()
[all …]
H A Dtxrx.c1835 descs_used++; in __wil_tx_vring_tso()
1852 len, rem_data, descs_used); in __wil_tx_vring_tso()
1854 if (descs_used == avail) { in __wil_tx_vring_tso()
1861 i = (swhead + descs_used) % vring->size; in __wil_tx_vring_tso()
1903 descs_used++; /* desc used so far */ in __wil_tx_vring_tso()
1978 used, used + descs_used)) { in __wil_tx_vring_tso()
1981 vring_index, used, used + descs_used); in __wil_tx_vring_tso()
1992 wil_ring_advance_head(vring, descs_used); in __wil_tx_vring_tso()
2009 while (descs_used > 0) { in __wil_tx_vring_tso()
2012 i = (swhead + descs_used - 1) % vring->size; in __wil_tx_vring_tso()
[all …]
/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.c588 descs_used = 1; in virtqueue_add_split()
593 descs_used = total_sg; in virtqueue_add_split()
596 if (unlikely(vq->vq.num_free < descs_used)) { in virtqueue_add_split()
598 descs_used, vq->vq.num_free); in virtqueue_add_split()
670 vq->vq.num_free -= descs_used; in virtqueue_add_split()
1413 unsigned int i, n, c, descs_used, err_idx; in virtqueue_add_packed() local
1450 descs_used = total_sg; in virtqueue_add_packed()
1454 descs_used, vq->vq.num_free); in virtqueue_add_packed()
1506 vq->vq.num_free -= descs_used; in virtqueue_add_packed()
1513 vq->packed.desc_state[id].num = descs_used; in virtqueue_add_packed()
[all …]