Searched refs:tx_desc_curr (Results 1 – 3 of 3) sorted by relevance
403 allwinner_sun8i_emac_get_desc(s, desc, s->tx_desc_curr); in allwinner_sun8i_emac_tx_desc()404 return s->tx_desc_curr; in allwinner_sun8i_emac_tx_desc()517 s->tx_desc_curr = allwinner_sun8i_emac_tx_desc(s, &desc); in allwinner_sun8i_emac_transmit()532 allwinner_sun8i_emac_flush_desc(s, &desc, s->tx_desc_curr); in allwinner_sun8i_emac_transmit()547 s->tx_desc_curr = allwinner_sun8i_emac_next_desc(s, &desc); in allwinner_sun8i_emac_transmit()579 s->tx_desc_curr = 0; in allwinner_sun8i_emac_reset()647 value = s->tx_desc_curr; in allwinner_sun8i_emac_read()650 if (s->tx_desc_curr != 0) { in allwinner_sun8i_emac_read()651 allwinner_sun8i_emac_get_desc(s, &desc, s->tx_desc_curr); in allwinner_sun8i_emac_read()726 s->tx_desc_curr = value; in allwinner_sun8i_emac_write()[all …]
94 uint32_t tx_desc_curr; /**< Current Transmit Descriptor Address */ member
1214 int tx_desc_curr; in eth_alloc_tx_desc_index() local1216 tx_desc_curr = pep->tx_curr_desc_q; in eth_alloc_tx_desc_index()1217 pep->tx_curr_desc_q = (tx_desc_curr + 1) % pep->tx_ring_size; in eth_alloc_tx_desc_index()1221 return tx_desc_curr; in eth_alloc_tx_desc_index()