Searched refs:last_head (Results 1 – 6 of 6) sorted by relevance
1803 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()1804 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()1805 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()1813 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()1815 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()1816 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()1817 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()1839 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local1842 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()1843 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()[all …]
954 int last_head; member984 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()
245 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring() local254 if (ring->head != last_head) { in i810_wait_ring()256 last_head = ring->head; in i810_wait_ring()
1506 u32 last_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring() local1517 if (dinfo->ring_head != last_head) { in wait_ring()1519 last_head = dinfo->ring_head; in wait_ring()
1074 struct mlx5e_dma_info *last_head = &rq->mpwqe.shampo->info[header_index]; in mlx5e_shampo_get_packet_hd() local1075 u16 head_offset = (last_head->addr & (PAGE_SIZE - 1)) + rq->buff.headroom; in mlx5e_shampo_get_packet_hd()1077 return page_address(last_head->page) + head_offset; in mlx5e_shampo_get_packet_hd()