Searched refs:txbd_dirty (Results 1 – 2 of 2) sorted by relevance
38 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail()160 unsigned int *txbd_dirty = &priv->txbd_dirty; in arc_emac_tx_clean() local161 struct arc_emac_bd *txbd = &priv->txbd[*txbd_dirty]; in arc_emac_tx_clean()162 struct buffer_state *tx_buff = &priv->tx_buff[*txbd_dirty]; in arc_emac_tx_clean()195 *txbd_dirty = (*txbd_dirty + 1) % TX_BD_NUM; in arc_emac_tx_clean()
149 unsigned int txbd_dirty; member