Home
last modified time | relevance | path

Searched refs:mac_hfr1 (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c362 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xlgmac_get_all_hw_features() local
365 mac_hfr1 = readl(pdata->mac_regs + MAC_HWF1R); in xlgmac_get_all_hw_features()
417 hw_feat->rx_fifo_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
420 hw_feat->tx_fifo_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
423 hw_feat->adv_ts_hi = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
426 hw_feat->dma_width = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
429 hw_feat->dcb = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
432 hw_feat->sph = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
435 hw_feat->tso = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
438 hw_feat->dma_debug = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c732 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local
736 mac_hfr1 = XGMAC_IOREAD(pdata, MAC_HWF1R); in xgbe_get_all_hw_features()
762 hw_feat->rx_fifo_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
764 hw_feat->tx_fifo_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
766 hw_feat->adv_ts_hi = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADVTHWORD); in xgbe_get_all_hw_features()
767 hw_feat->dma_width = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADDR64); in xgbe_get_all_hw_features()
768 hw_feat->dcb = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, DCBEN); in xgbe_get_all_hw_features()
769 hw_feat->sph = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, SPHEN); in xgbe_get_all_hw_features()
770 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features()
771 hw_feat->dma_debug = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, DBGMEMA); in xgbe_get_all_hw_features()
[all …]