Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dftgmac100.c81 struct ftgmac100_txdes txdes[PKTBUFSTX] __aligned(ARCH_DMA_MINALIGN);
336 priv->txdes[i].txdes3 = 0; in ftgmac100_start()
337 priv->txdes[i].txdes0 = 0; in ftgmac100_start()
339 priv->txdes[PKTBUFSTX - 1].txdes0 = priv->txdes0_edotr_mask; in ftgmac100_start()
341 start = ((ulong)&priv->txdes[0]) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_start()
342 end = start + roundup(sizeof(priv->txdes), ARCH_DMA_MINALIGN); in ftgmac100_start()
356 writel((u32)priv->txdes, &ftgmac100->txr_badr); in ftgmac100_start()
457 const struct ftgmac100_txdes *txdes = desc; in ftgmac100_read_txdesc() local
458 ulong des_start = ((ulong)txdes) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_read_txdesc()
463 return txdes->txdes0; in ftgmac100_read_txdesc()
[all …]
A Dftmac100.c27 struct ftmac100_txdes txdes[1]; member
86 struct ftmac100_txdes *txdes = priv->txdes; in _ftmac100_init() local
106 txdes[0].txdes1 = FTMAC100_TXDES1_EDOTR; in _ftmac100_init()
118 writel ((unsigned long)txdes, &ftmac100->txr_badr); in _ftmac100_init()
191 struct ftmac100_txdes *curr_des = priv->txdes; in _ftmac100_send()

Completed in 5 milliseconds