Home
last modified time | relevance | path

Searched refs:rxdes0 (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/faraday/
Dftmac100.c206 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_FRS); in ftmac100_rxdes_first_segment()
211 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_LRS); in ftmac100_rxdes_last_segment()
216 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_RXDMA_OWN); in ftmac100_rxdes_owned_by_dma()
222 rxdes->rxdes0 = cpu_to_le32(FTMAC100_RXDES0_RXDMA_OWN); in ftmac100_rxdes_set_dma_own()
227 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_RX_ERR); in ftmac100_rxdes_rx_error()
232 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_CRC_ERR); in ftmac100_rxdes_crc_error()
237 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_FTL); in ftmac100_rxdes_frame_too_long()
242 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_RUNT); in ftmac100_rxdes_runt()
247 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_RX_ODD_NB); in ftmac100_rxdes_odd_nibble()
252 return le32_to_cpu(rxdes->rxdes0) & FTMAC100_RXDES0_RFL; in ftmac100_rxdes_frame_length()
[all …]
Dftmac100.h159 unsigned int rxdes0; member
Dftgmac100.c432 rxdes->rxdes0 = cpu_to_le32(priv->rxdes0_edorr_mask); in ftgmac100_alloc_rx_buf()
434 rxdes->rxdes0 = 0; in ftgmac100_alloc_rx_buf()
475 status = le32_to_cpu(rxdes->rxdes0); in ftgmac100_rx_packet()
584 rxdes->rxdes0 = cpu_to_le32(status & priv->rxdes0_edorr_mask); in ftgmac100_rx_packet()
978 rxdes->rxdes0 = 0; in ftgmac100_init_rings()
982 rxdes->rxdes0 |= cpu_to_le32(priv->rxdes0_edorr_mask); in ftgmac100_init_rings()
1313 return !!(rxdes->rxdes0 & cpu_to_le32(FTGMAC100_RXDES0_RXPKT_RDY)); in ftgmac100_check_rx()
Dftgmac100.h237 __le32 rxdes0; /* Control & status bits */ member