Home
last modified time | relevance | path

Searched refs:phystat (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/marvell/
H A Dskge.c2348 u16 istatus, phystat; in yukon_phy_intr() local
2351 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in yukon_phy_intr()
2354 "phy interrupt status 0x%x 0x%x\n", istatus, phystat); in yukon_phy_intr()
2368 if (!(phystat & PHY_M_PS_SPDUP_RES)) { in yukon_phy_intr()
2373 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) in yukon_phy_intr()
2375 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2378 switch (phystat & PHY_M_PS_PAUSE_MSK) { in yukon_phy_intr()
2402 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2405 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in yukon_phy_intr()
2407 if (phystat & PHY_M_PS_LINK_UP) in yukon_phy_intr()
H A Dsky2.c2300 u16 istatus, phystat; in sky2_phy_intr() local
2307 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in sky2_phy_intr()
2310 istatus, phystat); in sky2_phy_intr()
2313 if (sky2_autoneg_done(sky2, phystat) == 0 && in sky2_phy_intr()
2320 sky2->speed = sky2_phy_speed(hw, phystat); in sky2_phy_intr()
2324 (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in sky2_phy_intr()
2327 if (phystat & PHY_M_PS_LINK_UP) in sky2_phy_intr()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c3389 u32 *tx_rate_cnt = rtwdev->phystat.tx_rate_cnt; in rtw89_phy_c2h_tx_history()
5423 ewma_thermal_read(&rtwdev->phystat.avg_thermal[0])); in rtw89_phy_cfo_track()
5763 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_thermal_protect_vcore() local
5766 u8 th_max = phystat->last_thermal_max; in rtw89_phy_thermal_protect_vcore()
5789 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_thermal_protect() local
5791 u8 th_max = phystat->last_thermal_max; in rtw89_phy_thermal_protect()
5814 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_thermal_update() local
5821 ewma_thermal_add(&phystat->avg_thermal[i], th); in rtw89_phy_stat_thermal_update()
5825 ewma_thermal_read(&phystat->avg_thermal[i])); in rtw89_phy_stat_thermal_update()
5830 phystat->last_thermal_max = th_max; in rtw89_phy_stat_thermal_update()
[all …]
H A Drtw8852c_rfk.c1268 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path])); in _iqk_info_iqk()
2867 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
3269 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable()
4021 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _lck_keep_thermal()
4058 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_lck_track()
4214 rx_dck->thermal[path] = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _rx_dck()
4251 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_rx_dck_track()
H A Dcore.c2667 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_update_tbtt_offset()
2698 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_calc_drift()
2720 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_calc_distribution()
2775 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_get_coverage()
2799 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_get_histogram_bound()
2860 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_bcn_calc_timeout()
3005 memset(&rtwdev->phystat.bcn_stat, 0, sizeof(rtwdev->phystat.bcn_stat)); in rtw89_core_bcn_track_reset()
3033 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_vif_rx_bcn_stat()
H A Drtw8852a_rfk.c1295 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path])); in _iqk_info_iqk()
2039 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_get_thermal()
2760 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
3153 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable()
H A Drtw8851b_rfk.c3355 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in _lck_keep_thermal()
3390 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in rtw8851b_lck_track()
H A Ddebug.c4500 rtwdev->phystat.tx_rate_cnt, in rtw89_debug_priv_bb_info_get()
5011 struct rtw89_beacon_stat *bcn_stat = &rtwdev->phystat.bcn_stat; in rtw89_debug_priv_beacon_info_get()
H A Drtw8852b_rfk.c2606 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
H A Dcore.h7620 struct rtw89_phy_stat phystat; member