Home
last modified time | relevance | path

Searched refs:tx_head (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/net/
H A Dmacb.c91 unsigned int tx_head; member
298 unsigned int tx_head = macb->tx_head; in _macb_send() local
305 if (tx_head == (MACB_TX_RING_SIZE - 1)) { in _macb_send()
307 macb->tx_head = 0; in _macb_send()
309 macb->tx_head++; in _macb_send()
312 macb->tx_ring[tx_head].ctrl = ctrl; in _macb_send()
313 macb->tx_ring[tx_head].addr = paddr; in _macb_send()
327 ctrl = macb->tx_ring[tx_head].ctrl; in _macb_send()
648 macb->tx_head = 0; in _macb_init()
H A Dpch_gbe.c247 struct pch_gbe_tx_desc *tx_head, *tx_desc; in pch_gbe_send() local
254 tx_head = &priv->tx_desc[0]; in pch_gbe_send()
273 writel(dm_pci_virt_to_mem(priv->dev, tx_head + priv->tx_idx), in pch_gbe_send()