Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/
Dlan743x_main.c1323 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()
1324 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()
1325 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()
1333 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()
1335 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()
1336 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()
1337 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()
1359 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local
1362 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()
1363 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()
[all …]
Dlan743x_main.h666 int last_head; member
696 u32 last_head; member
/drivers/gpu/drm/i810/
Di810_dma.c245 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring() local
254 if (ring->head != last_head) { in i810_wait_ring()
256 last_head = ring->head; in i810_wait_ring()
/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()