Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/arc/
H A Demac_main.c36 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail()
472 priv->txbd_curr = 0; in arc_emac_open()
684 unsigned int len, *txbd_curr = &priv->txbd_curr; in arc_emac_tx() local
686 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()
709 dma_unmap_addr_set(&priv->tx_buff[*txbd_curr], addr, addr); in arc_emac_tx()
710 dma_unmap_len_set(&priv->tx_buff[*txbd_curr], len, len); in arc_emac_tx()
712 priv->txbd[*txbd_curr].data = cpu_to_le32(addr); in arc_emac_tx()
724 priv->tx_buff[*txbd_curr].skb = skb; in arc_emac_tx()
727 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()
816 priv->txbd_curr = 0; in arc_emac_restart()
H A Demac.h153 unsigned int txbd_curr; member