Searched refs:txdes (Results 1 – 2 of 2) sorted by relevance
59 struct ftmac100_txdes txdes[TX_QUEUE_ENTRIES]; member185 offsetof(struct ftmac100_descs, txdes)); in ftmac100_start_hw()471 static void ftmac100_txdes_reset(struct ftmac100_txdes *txdes) in ftmac100_txdes_reset() argument474 txdes->txdes0 = 0; in ftmac100_txdes_reset()475 txdes->txdes1 &= cpu_to_le32(FTMAC100_TXDES1_EDOTR); in ftmac100_txdes_reset()476 txdes->txdes2 = 0; in ftmac100_txdes_reset()477 txdes->txdes3 = 0; in ftmac100_txdes_reset()480 static bool ftmac100_txdes_owned_by_dma(struct ftmac100_txdes *txdes) in ftmac100_txdes_owned_by_dma() argument482 return txdes->txdes0 & cpu_to_le32(FTMAC100_TXDES0_TXDMA_OWN); in ftmac100_txdes_owned_by_dma()485 static void ftmac100_txdes_set_dma_own(struct ftmac100_txdes *txdes) in ftmac100_txdes_set_dma_own() argument[all …]
51 struct ftgmac100_txdes txdes[TX_QUEUE_ENTRIES]; member154 offsetof(struct ftgmac100_descs, txdes)); in ftgmac100_init_hw()504 static void ftgmac100_txdes_reset(struct ftgmac100_txdes *txdes) in ftgmac100_txdes_reset() argument507 txdes->txdes0 &= cpu_to_le32(FTGMAC100_TXDES0_EDOTR); in ftgmac100_txdes_reset()508 txdes->txdes1 = 0; in ftgmac100_txdes_reset()509 txdes->txdes2 = 0; in ftgmac100_txdes_reset()510 txdes->txdes3 = 0; in ftgmac100_txdes_reset()513 static bool ftgmac100_txdes_owned_by_dma(struct ftgmac100_txdes *txdes) in ftgmac100_txdes_owned_by_dma() argument515 return txdes->txdes0 & cpu_to_le32(FTGMAC100_TXDES0_TXDMA_OWN); in ftgmac100_txdes_owned_by_dma()518 static void ftgmac100_txdes_set_dma_own(struct ftgmac100_txdes *txdes) in ftgmac100_txdes_set_dma_own() argument[all …]