Home
last modified time | relevance | path

Searched refs:XGMAC_GET_BITS (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c231 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, TI) || in xgbe_isr()
232 XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, RI)) { in xgbe_isr()
243 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, FBE)) in xgbe_isr()
250 if (XGMAC_GET_BITS(dma_isr, DMA_ISR, MACIS)) { in xgbe_isr()
253 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, MMCTXIS)) in xgbe_isr()
256 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, MMCRXIS)) in xgbe_isr()
259 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, TSIS)) { in xgbe_isr()
262 if (XGMAC_GET_BITS(mac_tssr, MAC_TSSR, TXTSC)) { in xgbe_isr()
366 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL); in xgbe_get_all_hw_features()
367 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH); in xgbe_get_all_hw_features()
[all …]
Dxgbe-dev.c1069 if (XGMAC_GET_BITS(tx_snr, MAC_TXSNR, TXTSSTSMIS)) in xgbe_get_tx_tstamp()
1112 if (!XGMAC_GET_BITS(mac_tscr, MAC_TSCR, TSENA)) in xgbe_config_tstamp()
1216 csum = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1218 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1220 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_pre_xmit()
1300 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_pre_xmit()
1635 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues()
1987 if (XGMAC_GET_BITS(mmc_isr, MMC_TISR, TXOCTETCOUNT_GB)) in xgbe_tx_mmc_int()
1991 if (XGMAC_GET_BITS(mmc_isr, MMC_TISR, TXFRAMECOUNT_GB)) in xgbe_tx_mmc_int()
1995 if (XGMAC_GET_BITS(mmc_isr, MMC_TISR, TXBROADCASTFRAMES_G)) in xgbe_tx_mmc_int()
[all …]
Dxgbe-ethtool.c371 XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER), in xgbe_get_drvinfo()
372 XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID), in xgbe_get_drvinfo()
373 XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER)); in xgbe_get_drvinfo()
Dxgbe-desc.c394 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
396 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
Dxgbe-common.h963 #define XGMAC_GET_BITS(_var, _prefix, _field) \ macro