Searched refs:mac_hfr2 (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/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 366 mac_hfr2 = readl(pdata->mac_regs + MAC_HWF2R); in xlgmac_get_all_hw_features() 455 hw_feat->rx_q_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features() 458 hw_feat->tx_q_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features() 461 hw_feat->rx_ch_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features() 464 hw_feat->tx_ch_cnt = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features() 467 hw_feat->pps_out_num = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features() 470 hw_feat->aux_snap_num = XLGMAC_GET_REG_BITS(mac_hfr2, in xlgmac_get_all_hw_features()
|
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 732 unsigned int mac_hfr0, mac_hfr1, mac_hfr2; in xgbe_get_all_hw_features() local 737 mac_hfr2 = XGMAC_IOREAD(pdata, MAC_HWF2R); in xgbe_get_all_hw_features() 780 hw_feat->rx_q_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, RXQCNT); in xgbe_get_all_hw_features() 781 hw_feat->tx_q_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, TXQCNT); in xgbe_get_all_hw_features() 782 hw_feat->rx_ch_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, RXCHCNT); in xgbe_get_all_hw_features() 783 hw_feat->tx_ch_cnt = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, TXCHCNT); in xgbe_get_all_hw_features() 784 hw_feat->pps_out_num = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, PPSOUTNUM); in xgbe_get_all_hw_features() 785 hw_feat->aux_snap_num = XGMAC_GET_BITS(mac_hfr2, MAC_HWF2R, AUXSNAPNUM); in xgbe_get_all_hw_features()
|