Searched refs:txdes (Results 1 – 2 of 2) sorted by relevance
33 struct ftgmac100_txdes *txdes; member369 struct ftgmac100_txdes *txdes; in ftgmac100_init() local377 if (!priv->txdes) { in ftgmac100_init()378 txdes = dma_alloc_coherent( in ftgmac100_init()379 sizeof(*txdes) * PKTBUFSTX, &priv->txdes_dma); in ftgmac100_init()380 if (!txdes) in ftgmac100_init()382 memset(txdes, 0, sizeof(*txdes) * PKTBUFSTX); in ftgmac100_init()383 priv->txdes = txdes; in ftgmac100_init()385 txdes = priv->txdes; in ftgmac100_init()407 txdes[PKTBUFSTX - 1].txdes0 = FTGMAC100_TXDES0_EDOTR; in ftgmac100_init()[all …]
23 struct ftmac100_txdes txdes[1]; member82 struct ftmac100_txdes *txdes = priv->txdes; in _ftmac100_init() local102 txdes[0].txdes1 = FTMAC100_TXDES1_EDOTR; in _ftmac100_init()114 writel ((unsigned long)txdes, &ftmac100->txr_badr); in _ftmac100_init()187 struct ftmac100_txdes *curr_des = priv->txdes; in _ftmac100_send()