Home
last modified time | relevance | path

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

/drivers/net/ethernet/arc/
Demac_main.c37 return (priv->txbd_dirty + TX_BD_NUM - priv->txbd_curr - 1) % TX_BD_NUM; in arc_emac_tx_avail()
418 priv->txbd_curr = 0; in arc_emac_open()
626 unsigned int len, *txbd_curr = &priv->txbd_curr; in arc_emac_tx() local
628 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()
651 dma_unmap_addr_set(&priv->tx_buff[*txbd_curr], addr, addr); in arc_emac_tx()
652 dma_unmap_len_set(&priv->tx_buff[*txbd_curr], len, len); in arc_emac_tx()
654 priv->txbd[*txbd_curr].data = cpu_to_le32(addr); in arc_emac_tx()
666 priv->tx_buff[*txbd_curr].skb = skb; in arc_emac_tx()
669 *txbd_curr = (*txbd_curr + 1) % TX_BD_NUM; in arc_emac_tx()
Demac.h153 unsigned int txbd_curr; member