Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/
Dlan743x_main.c1816 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()
1817 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()
1818 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()
1826 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()
1828 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()
1829 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()
1830 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()
1852 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local
1855 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()
1856 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()
[all …]
Dlan743x_main.h954 int last_head; member
984 u32 last_head; member
/drivers/gpu/drm/i810/
Di810_dma.c245 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring() local
254 if (ring->head != last_head) { in i810_wait_ring()
256 last_head = ring->head; in i810_wait_ring()
/drivers/video/fbdev/intelfb/
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()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1074 struct mlx5e_dma_info *last_head = &rq->mpwqe.shampo->info[header_index]; in mlx5e_shampo_get_packet_hd() local
1075 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()