Home
last modified time | relevance | path

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

/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 …]
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c746 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local
749 mac_hfr0 = XGMAC_IOREAD(pdata, MAC_HWF0R); in xgbe_get_all_hw_features()
758 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL); in xgbe_get_all_hw_features()
759 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH); in xgbe_get_all_hw_features()
760 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features()
761 hw_feat->rwk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, RWKSEL); in xgbe_get_all_hw_features()
762 hw_feat->mgk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MGKSEL); in xgbe_get_all_hw_features()
763 hw_feat->mmc = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MMCSEL); in xgbe_get_all_hw_features()
764 hw_feat->aoe = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, ARPOFFSEL); in xgbe_get_all_hw_features()
765 hw_feat->ts = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, TSSEL); in xgbe_get_all_hw_features()
[all …]