Searched refs:mac_hfr1 (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 360 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xlgmac_get_all_hw_features() local 363 mac_hfr1 = readl(pdata->mac_regs + MAC_HWF1R); in xlgmac_get_all_hw_features() 415 hw_feat->rx_fifo_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 418 hw_feat->tx_fifo_size = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 421 hw_feat->adv_ts_hi = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 424 hw_feat->dma_width = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 427 hw_feat->dcb = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 430 hw_feat->sph = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 433 hw_feat->tso = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 436 hw_feat->dma_debug = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() [all …]
|
/linux-6.12.1/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 …]
|