Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c360 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xlgmac_get_all_hw_features() local
364 mac_hfr2 = readl(pdata->mac_regs + MAC_HWF2R); in xlgmac_get_all_hw_features()
453 hw_feat->rx_q_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
456 hw_feat->tx_q_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
459 hw_feat->rx_ch_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
462 hw_feat->tx_ch_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
465 hw_feat->pps_out_num = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
468 hw_feat->aux_snap_num = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c746 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local
751 mac_hfr2 = XGMAC_IOREAD(pdata, MAC_HWF2R); in xgbe_get_all_hw_features()
794 hw_feat->rx_q_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, RXQCNT); in xgbe_get_all_hw_features()
795 hw_feat->tx_q_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, TXQCNT); in xgbe_get_all_hw_features()
796 hw_feat->rx_ch_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, RXCHCNT); in xgbe_get_all_hw_features()
797 hw_feat->tx_ch_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, TXCHCNT); in xgbe_get_all_hw_features()
798 hw_feat->pps_out_num = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, PPSOUTNUM); in xgbe_get_all_hw_features()
799 hw_feat->aux_snap_num = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, AUXSNAPNUM); in xgbe_get_all_hw_features()