Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/sgi/
Dmeth.c82 unsigned long tx_read, tx_write, tx_count; member
219 priv->tx_count = priv->tx_read = priv->tx_write = 0; in meth_init_tx_ring()
490 while (priv->tx_read != rptr) { in meth_tx_cleanup()
491 skb = priv->tx_skbs[priv->tx_read]; in meth_tx_cleanup()
492 status = priv->tx_ring[priv->tx_read].header.raw; in meth_tx_cleanup()
494 if (priv->tx_read == priv->tx_write) in meth_tx_cleanup()
495 DPRINTK("Auchi! tx_read=%d,tx_write=%d,rptr=%d?\n", priv->tx_read, priv->tx_write,rptr); in meth_tx_cleanup()
525 priv->tx_skbs[priv->tx_read] = NULL; in meth_tx_cleanup()
526 priv->tx_ring[priv->tx_read].header.raw = 0; in meth_tx_cleanup()
527 priv->tx_read = (priv->tx_read+1)&(TX_RING_ENTRIES-1); in meth_tx_cleanup()
/Linux-v4.19/drivers/media/i2c/adv748x/
Dadv748x.h382 #define tx_read(t, r) adv748x_read(t->state, t->page, r) macro