Home
last modified time | relevance | path

Searched refs:last_head (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_main.c1337 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()
1338 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()
1339 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()
1347 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()
1349 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()
1350 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()
1351 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()
1373 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local
1376 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()
1377 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()
[all …]
Dlan743x_main.h665 int last_head; member
695 u32 last_head; member
/kernel/linux/linux-5.10/net/core/
Ddatagram.c626 struct page *last_head = NULL; in __zerocopy_sg_from_iter() local
671 last_head = head; in __zerocopy_sg_from_iter()
677 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
683 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
/kernel/linux/linux-5.10/drivers/gpu/drm/i810/
Di810_dma.c247 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring() local
256 if (ring->head != last_head) { in i810_wait_ring()
258 last_head = ring->head; in i810_wait_ring()
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c1508 u32 last_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring() local
1519 if (dinfo->ring_head != last_head) { in wait_ring()
1521 last_head = dinfo->ring_head; in wait_ring()