Searched refs:phystat (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 4271 ewma_thermal_read(&rtwdev->phystat.avg_thermal[0])); in rtw89_phy_cfo_track() 4608 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_thermal_update() local 4615 ewma_thermal_add(&phystat->avg_thermal[i], th); in rtw89_phy_stat_thermal_update() 4619 ewma_thermal_read(&phystat->avg_thermal[i])); in rtw89_phy_stat_thermal_update() 4669 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_init() local 4673 ewma_thermal_init(&phystat->avg_thermal[i]); in rtw89_phy_stat_init() 4677 memset(&phystat->cur_pkt_stat, 0, sizeof(phystat->cur_pkt_stat)); in rtw89_phy_stat_init() 4678 memset(&phystat->last_pkt_stat, 0, sizeof(phystat->last_pkt_stat)); in rtw89_phy_stat_init() 4683 struct rtw89_phy_stat *phystat = &rtwdev->phystat; in rtw89_phy_stat_track() local 4688 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 | 3652 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.last_pkt_stat; in rtw89_debug_priv_phy_info_get()
|
H A D | rtw8852b_rfk.c | 2621 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
|
H A D | core.h | 5549 struct rtw89_phy_stat phystat; member
|
H A D | rtw8852bt_rfk.c | 2707 cur_ther = ewma_thermal_read(&rtwdev->phystat.avg_thermal[path]); in _dpk_track()
|
H A D | core.c | 2006 struct rtw89_pkt_stat *pkt_stat = &rtwdev->phystat.cur_pkt_stat; in rtw89_vif_rx_stats_iter()
|
/linux/drivers/net/ethernet/marvell/ |
H A D | skge.c | 2350 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()
|
H A D | sky2.c | 2301 u16 istatus, phystat; in sky2_phy_intr() local 2308 phystat = gm_phy_read(hw, port, PHY_MARV_PHY_STAT); in sky2_phy_intr() 2311 istatus, phystat); in sky2_phy_intr() 2314 if (sky2_autoneg_done(sky2, phystat) == 0 && in sky2_phy_intr() 2321 sky2->speed = sky2_phy_speed(hw, phystat); in sky2_phy_intr() 2325 (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; in sky2_phy_intr() 2328 if (phystat & PHY_M_PS_LINK_UP) in sky2_phy_intr()
|