Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dphy.c2872 ewma_thermal_read(&rtwdev->phystat.avg_thermal[0])); in rtw89_phy_cfo_track()
3140 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_thermal_update() local
3147 ewma_thermal_add(&phystat->avg_thermal[i], th); in rtw89_phy_stat_thermal_update()
3151 ewma_thermal_read(&phystat->avg_thermal[i])); in rtw89_phy_stat_thermal_update()
3201 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_init() local
3205 ewma_thermal_init(&phystat->avg_thermal[i]); in rtw89_phy_stat_init()
3209 memset(&phystat->cur_pkt_stat, 0, sizeof(phystat->cur_pkt_stat)); in rtw89_phy_stat_init()
3210 memset(&phystat->last_pkt_stat, 0, sizeof(phystat->last_pkt_stat)); in rtw89_phy_stat_init()
3215 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_track() local
3220 phystat->last_pkt_stat = phystat->cur_pkt_stat; in rtw89_phy_stat_track()
[all …]
Drtw8852c_rfk.c1265 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path])); in _iqk_info_iqk()
2857 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
3240 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable()
3975 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _lck_keep_thermal()
4012 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_lck_track()
4149 rx_dck->thermal[path] = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _rx_dck()
4185 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_rx_dck_track()
Drtw8852a_rfk.c1288 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path])); in _iqk_info_iqk()
2019 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_get_thermal()
2731 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
3123 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable()
Drtw8851b_rfk.c3195 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in _lck_keep_thermal()
3230 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in rtw8851b_lck_track()
Ddebug.c3365 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.last_pkt_stat; in rtw89_debug_priv_phy_info_get()
Dcore.h4417 struct rtw89_phy_stat phystat; member
Dcore.c1628 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.cur_pkt_stat; in rtw89_vif_rx_stats_iter()
Drtw8852b_rfk.c2610 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
/Linux-v6.6/drivers/net/ethernet/marvell/
Dskge.c2350 u16 istatus, phystat; in yukon_phy_intr() local
2353 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in yukon_phy_intr()
2356 "phy interrupt status 0x%x 0x%x\n", istatus, phystat); in yukon_phy_intr()
2370 if (!(phystat & PHY_M_PS_SPDUP_RES)) { in yukon_phy_intr()
2375 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) in yukon_phy_intr()
2377 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2380 switch (phystat & PHY_M_PS_PAUSE_MSK) { in yukon_phy_intr()
2404 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr()
2407 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in yukon_phy_intr()
2409 if (phystat & PHY_M_PS_LINK_UP) in yukon_phy_intr()
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()