Searched refs:last_head (Results 1 – 5 of 5) sorted by relevance
1337 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() local1376 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 …]
665 int last_head; member695 u32 last_head; member
626 struct page *last_head = NULL; in __zerocopy_sg_from_iter() local671 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()
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()