Searched refs:last_head (Results 1 – 4 of 4) sorted by relevance
1350 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()1351 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()1352 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()1360 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()1362 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()1363 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()1364 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()1386 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local1389 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()1390 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()[all …]
665 int last_head; member695 u32 last_head; member
247 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring() local256 if (ring->head != last_head) { in i810_wait_ring()258 last_head = ring->head; in i810_wait_ring()
1508 u32 last_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring() local1519 if (dinfo->ring_head != last_head) { in wait_ring()1521 last_head = dinfo->ring_head; in wait_ring()