Searched refs:phystat (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | phy.c | 5110 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_thermal_protect() local 5112 u8 th_max = phystat->last_thermal_max; in rtw89_phy_thermal_protect() 5135 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_thermal_update() local 5151 phystat->last_thermal_max = th_max; in rtw89_phy_stat_thermal_update() 5218 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_init() local 5226 memset(&phystat->cur_pkt_stat, 0, sizeof(phystat->cur_pkt_stat)); in rtw89_phy_stat_init() 5227 memset(&phystat->last_pkt_stat, 0, sizeof(phystat->last_pkt_stat)); in rtw89_phy_stat_init() 5229 ewma_rssi_init(&phystat->bcn_rssi); in rtw89_phy_stat_init() 5236 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_track() local 5242 phystat->last_pkt_stat = phystat->cur_pkt_stat; in rtw89_phy_stat_track() [all …]
|
| H A D | rtw8852c_rfk.c | 1268 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() 3298 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable() 4031 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _lck_keep_thermal() 4068 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_lck_track() 4224 rx_dck->thermal[path] = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _rx_dck() 4261 ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in rtw8852c_rx_dck_track()
|
| H A D | rtw8852a_rfk.c | 1295 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() 3149 ewma_thermal_read(&rtwdev->phystat.avg_thermal[i]); in _tssi_enable()
|
| H A D | rtw8851b_rfk.c | 3196 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in _lck_keep_thermal() 3231 ewma_thermal_read(&rtwdev->phystat.avg_thermal[RF_PATH_A]); in rtw8851b_lck_track()
|
| H A D | debug.c | 3879 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.last_pkt_stat; in rtw89_debug_priv_phy_info_get() 3889 rssi = ewma_rssi_read(&rtwdev->phystat.bcn_rssi); in rtw89_debug_priv_phy_info_get()
|
| H A D | core.c | 2152 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.cur_pkt_stat; in rtw89_vif_rx_stats_iter() 2196 ewma_rssi_add(&rtwdev->phystat.bcn_rssi, phy_ppdu->rssi_avg); in rtw89_vif_rx_stats_iter()
|
| H A D | rtw8852b_rfk.c | 2621 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
|
| H A D | rtw8852bt_rfk.c | 2707 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
|
| H A D | core.h | 5714 struct rtw89_phy_stat phystat; member
|
| H A D | fw.c | 2910 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.cur_pkt_stat; in rtw89_fw_h2c_lps_ml_cmn_info()
|
| /linux-6.15/drivers/net/ethernet/marvell/ |
| H A D | skge.c | 2349 u16 istatus, phystat; in yukon_phy_intr() local 2352 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in yukon_phy_intr() 2355 "phy interrupt status 0x%x 0x%x\n", istatus, phystat); in yukon_phy_intr() 2369 if (!(phystat & PHY_M_PS_SPDUP_RES)) { in yukon_phy_intr() 2374 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) in yukon_phy_intr() 2376 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr() 2379 switch (phystat & PHY_M_PS_PAUSE_MSK) { in yukon_phy_intr() 2403 skge->speed = yukon_speed(hw, phystat); in yukon_phy_intr() 2406 skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in yukon_phy_intr() 2408 if (phystat & PHY_M_PS_LINK_UP) in yukon_phy_intr()
|
| H A D | sky2.c | 2302 u16 istatus, phystat; in sky2_phy_intr() local 2309 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in sky2_phy_intr() 2312 istatus, phystat); in sky2_phy_intr() 2315 if (sky2_autoneg_done(sky2, phystat) == 0 && in sky2_phy_intr() 2322 sky2->speed = sky2_phy_speed(hw, phystat); in sky2_phy_intr() 2326 (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in sky2_phy_intr() 2329 if (phystat & PHY_M_PS_LINK_UP) in sky2_phy_intr()
|