Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c1824 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()
1825 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()
1826 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()
1834 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()
1836 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()
1837 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()
1838 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()
1860 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local
1863 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()
1864 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()
[all …]
H A Dlan743x_main.h982 int last_head; member
1012 u32 last_head; member
/openbmc/linux/net/core/
H A Ddatagram.c633 struct page *head, *last_head = NULL; in __zerocopy_sg_from_iter() local
687 last_head = head; in __zerocopy_sg_from_iter()
693 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
699 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
/openbmc/linux/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c1506 u32 last_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring() local
1517 if (dinfo->ring_head != last_head) { in wait_ring()
1519 last_head = dinfo->ring_head; in wait_ring()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1218 struct mlx5e_dma_info *last_head = &rq->mpwqe.shampo->info[header_index]; in mlx5e_shampo_get_packet_hd() local
1219 u16 head_offset = (last_head->addr & (PAGE_SIZE - 1)) + rq->buff.headroom; in mlx5e_shampo_get_packet_hd()
1221 return page_address(last_head->frag_page->page) + head_offset; in mlx5e_shampo_get_packet_hd()