Searched refs:txbd_curr (Results 1 – 2 of 2) sorted by relevance
36 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail()470 priv->txbd_curr = 0; in arc_emac_open()680 unsigned int len, *txbd_curr = &priv->txbd_curr; in arc_emac_tx() local682 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()705 dma_unmap_addr_set(&priv->tx_buff[*txbd_curr], addr, addr); in arc_emac_tx()706 dma_unmap_len_set(&priv->tx_buff[*txbd_curr], len, len); in arc_emac_tx()708 priv->txbd[*txbd_curr].data = cpu_to_le32(addr); in arc_emac_tx()720 priv->tx_buff[*txbd_curr].skb = skb; in arc_emac_tx()723 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()824 priv->txbd_curr = 0; in arc_emac_restart()
154 unsigned int txbd_curr; member