Searched refs:mac_hfr1 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 362 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 …]
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 746 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local 750 mac_hfr1 = XGMAC_IOREAD(pdata, MAC_HWF1R); in xgbe_get_all_hw_features() 776 hw_feat->rx_fifo_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features() 778 hw_feat->tx_fifo_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features() 780 hw_feat->adv_ts_hi = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADVTHWORD); in xgbe_get_all_hw_features() 781 hw_feat->dma_width = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, ADDR64); in xgbe_get_all_hw_features() 782 hw_feat->dcb = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, DCBEN); in xgbe_get_all_hw_features() 783 hw_feat->sph = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, SPHEN); in xgbe_get_all_hw_features() 784 hw_feat->tso = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, TSOEN); in xgbe_get_all_hw_features() 785 hw_feat->dma_debug = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, DBGMEMA); in xgbe_get_all_hw_features() [all …]
|