Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dftmac100.c145 struct ftmac100_rxdes *curr_des; in _ftmac100_free_pkt() local
146 curr_des = &priv->rxdes[priv->rx_index]; in _ftmac100_free_pkt()
158 struct ftmac100_rxdes *curr_des; in __ftmac100_recv() local
161 curr_des = &priv->rxdes[priv->rx_index]; in __ftmac100_recv()
174 invalidate_dcache_range(curr_des->rxdes2,curr_des->rxdes2+rxlen); in __ftmac100_recv()
204 curr_des->txdes1 &= FTMAC100_TXDES1_EDOTR; in _ftmac100_send()
205 curr_des->txdes1 |= FTMAC100_TXDES1_FTS | in _ftmac100_send()
248 struct ftmac100_rxdes *curr_des; in _ftmac100_recv() local
250 curr_des = &priv->rxdes[priv->rx_index]; in _ftmac100_recv()
341 struct ftmac100_rxdes *curr_des; in ftmac100_recv() local
[all …]
H A Dftgmac100.c400 ulong des_start = (ulong)curr_des; in ftgmac100_free_pkt()
402 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_free_pkt()
422 ulong des_start = (ulong)curr_des; in ftgmac100_recv()
424 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_recv()
425 ulong data_start = curr_des->rxdes3; in ftgmac100_recv()
475 ulong des_start = (ulong)curr_des; in BUILD_WAIT_FOR_BIT()
493 curr_des->txdes3 = (unsigned int)packet; in BUILD_WAIT_FOR_BIT()
496 data_start = curr_des->txdes3; in BUILD_WAIT_FOR_BIT()
501 curr_des->txdes0 &= priv->txdes0_edotr_mask; in BUILD_WAIT_FOR_BIT()
502 curr_des->txdes0 |= FTGMAC100_TXDES0_FTS | in BUILD_WAIT_FOR_BIT()
[all …]