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.c1826 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()
1837 tx->last_head = lan743x_tx_next_index(tx, tx->last_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()
2582 if (rx->last_head < 0 || rx->last_head >= rx->ring_size) in lan743x_rx_process_buffer()
2704 rx->last_tail = rx->last_head; in lan743x_rx_process_buffer()
2705 rx->last_head = lan743x_rx_next_index(rx, rx->last_head); in lan743x_rx_process_buffer()
2783 rx->last_head = 0; in lan743x_rx_ring_cleanup()
2847 rx->last_head = 0; in lan743x_rx_ring_init()
[all …]
H A Dlan743x_main.h982 int last_head; member
1012 u32 last_head; member
/openbmc/linux/net/core/
H A Ddatagram.c625 struct page *head, *last_head = NULL; in __zerocopy_sg_from_iter() local
679 last_head = head; in __zerocopy_sg_from_iter()
685 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
691 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()