Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c362 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xlgmac_get_all_hw_features() local
364 mac_hfr0 = readl(pdata->mac_regs + MAC_HWF0R); in xlgmac_get_all_hw_features()
373 hw_feat->phyifsel = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
376 hw_feat->vlhash = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
379 hw_feat->sma = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
382 hw_feat->rwk = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
385 hw_feat->mgk = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
388 hw_feat->mmc = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
391 hw_feat->aoe = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
394 hw_feat->ts = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
[all …]
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c732 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local
735 mac_hfr0 = XGMAC_IOREAD(pdata, MAC_HWF0R); in xgbe_get_all_hw_features()
744 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL); in xgbe_get_all_hw_features()
745 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH); in xgbe_get_all_hw_features()
746 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features()
747 hw_feat->rwk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, RWKSEL); in xgbe_get_all_hw_features()
748 hw_feat->mgk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MGKSEL); in xgbe_get_all_hw_features()
749 hw_feat->mmc = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MMCSEL); in xgbe_get_all_hw_features()
750 hw_feat->aoe = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, ARPOFFSEL); in xgbe_get_all_hw_features()
751 hw_feat->ts = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, TSSEL); in xgbe_get_all_hw_features()
[all …]