Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dmacb.c106 unsigned int tx_head; member
313 unsigned int tx_head = macb->tx_head; in _macb_send() local
320 if (tx_head == (MACB_TX_RING_SIZE - 1)) { in _macb_send()
322 macb->tx_head = 0; in _macb_send()
324 macb->tx_head++; in _macb_send()
327 macb->tx_ring[tx_head].ctrl = ctrl; in _macb_send()
328 macb->tx_ring[tx_head].addr = paddr; in _macb_send()
342 ctrl = macb->tx_ring[tx_head].ctrl; in _macb_send()
690 macb->tx_head = 0; in _macb_init()
Dpch_gbe.c246 struct pch_gbe_tx_desc *tx_head, *tx_desc; in pch_gbe_send() local
253 tx_head = &priv->tx_desc[0]; in pch_gbe_send()
272 writel(dm_pci_virt_to_mem(priv->dev, tx_head + priv->tx_idx), in pch_gbe_send()