Home
last modified time | relevance | path

Searched refs:txdes0 (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dftgmac100.c323 priv->txdes[i].txdes0 = 0; in ftgmac100_start()
325 priv->txdes[PKTBUFSTX - 1].txdes0 = priv->txdes0_edotr_mask; in ftgmac100_start()
462 return txdes->txdes0; in ftgmac100_read_txdesc()
484 if (curr_des->txdes0 & FTGMAC100_TXDES0_TXDMA_OWN) { 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()
H A Dftgmac100.h183 unsigned int txdes0; member
190 unsigned int txdes0; member
H A Dftmac100.c190 if (curr_des->txdes0 & FTMAC100_TXDES0_TXDMA_OWN) { in _ftmac100_send()
209 curr_des->txdes0 = FTMAC100_TXDES0_TXDMA_OWN; in _ftmac100_send()
218 while (curr_des->txdes0 & FTMAC100_TXDES0_TXDMA_OWN) { in _ftmac100_send()
H A Dftmac100.h99 unsigned int txdes0; member
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c649 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_tx_complete_packet()
657 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_tx_complete_packet()
803 txdes->txdes0 = cpu_to_le32(ctl_stat); in ftgmac100_hard_start_xmit()
815 first->txdes0 = cpu_to_le32(f_ctl_stat); in ftgmac100_hard_start_xmit()
849 first->txdes0 = cpu_to_le32(f_ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_hard_start_xmit()
855 ctl_stat = le32_to_cpu(txdes->txdes0); in ftgmac100_hard_start_xmit()
857 txdes->txdes0 = cpu_to_le32(ctl_stat & priv->txdes0_edotr_mask); in ftgmac100_hard_start_xmit()
898 le32_to_cpu(txdes->txdes0)); in ftgmac100_free_buffers()
990 txdes->txdes0 = 0; in ftgmac100_init_rings()
992 txdes->txdes0 |= cpu_to_le32(priv->txdes0_edotr_mask); in ftgmac100_init_rings()
H A Dftmac100.h125 __le32 txdes0; member
H A Dftmac100.c500 txdes->txdes0 = 0; in ftmac100_txdes_reset()
508 return txdes->txdes0 & cpu_to_le32(FTMAC100_TXDES0_TXDMA_OWN); in ftmac100_txdes_owned_by_dma()
518 txdes->txdes0 |= cpu_to_le32(FTMAC100_TXDES0_TXDMA_OWN); in ftmac100_txdes_set_dma_own()
523 return txdes->txdes0 & cpu_to_le32(FTMAC100_TXDES0_TXPKT_EXSCOL); in ftmac100_txdes_excessive_collision()
528 return txdes->txdes0 & cpu_to_le32(FTMAC100_TXDES0_TXPKT_LATECOL); in ftmac100_txdes_late_collision()
H A Dftgmac100.h207 __le32 txdes0; /* Control & status bits */ member