Home
last modified time | relevance | path

Searched refs:total_num (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_rxdesc.c18 signal_stat->total_num = 0; in process_rssi()
23 signal_stat->total_num++; in process_rssi()
25 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_rssi()
42 signal_stat->total_num = 0; in process_link_qual()
47 signal_stat->total_num++; in process_link_qual()
49 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_link_qual()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_rxdesc.c16 signal_stat->total_num = 0; in process_rssi()
21 signal_stat->total_num++; in process_rssi()
23 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_rssi()
38 signal_stat->total_num = 0; in process_link_qual()
43 signal_stat->total_num++; in process_link_qual()
45 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_link_qual()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dstats.c83 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in rtl_process_ui_rssi()
84 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX; in rtl_process_ui_rssi()
95 rtlpriv->stats.ui_rssi.total_num; in rtl_process_ui_rssi()
202 if (rtlpriv->stats.ui_link_quality.total_num++ >= in rtl_process_ui_link_quality()
204 rtlpriv->stats.ui_link_quality.total_num = in rtl_process_ui_link_quality()
218 rtlpriv->stats.ui_link_quality.total_num; in rtl_process_ui_link_quality()
Dwifi.h1098 u32 total_num; /*num of valid elements */ member
/linux-6.1.9/arch/x86/power/
Dcpu.c413 int total_num; in msr_build_context() local
416 total_num = saved_msrs->num + num; in msr_build_context()
418 msr_array = kmalloc_array(total_num, sizeof(struct saved_msr), GFP_KERNEL); in msr_build_context()
435 for (i = saved_msrs->num, j = 0; i < total_num; i++, j++) { in msr_build_context()
442 saved_msrs->num = total_num; in msr_build_context()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c863 u32 total_num; in hns_ae_get_regs_len() local
866 total_num = hns_ppe_get_regs_count(); in hns_ae_get_regs_len()
867 total_num += hns_rcb_get_common_regs_count(); in hns_ae_get_regs_len()
868 total_num += hns_rcb_get_ring_regs_count() * handle->q_num; in hns_ae_get_regs_len()
869 total_num += hns_mac_get_regs_count(vf_cb->mac_cb); in hns_ae_get_regs_len()
872 total_num += hns_dsaf_get_regs_count(); in hns_ae_get_regs_len()
874 return total_num; in hns_ae_get_regs_len()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c226 if (rtlpriv->stats.ui_rssi.total_num++ >= in _rtl92de_process_ui_rssi()
228 rtlpriv->stats.ui_rssi.total_num = in _rtl92de_process_ui_rssi()
241 rtlpriv->stats.ui_rssi.total_num; in _rtl92de_process_ui_rssi()
327 if (rtlpriv->stats.ui_link_quality.total_num++ >= in _rtl92de_process_ui_link_quality()
329 rtlpriv->stats.ui_link_quality.total_num = in _rtl92de_process_ui_link_quality()
344 rtlpriv->stats.ui_link_quality.total_num; in _rtl92de_process_ui_link_quality()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_recv.c875 if (sqd->total_num++ >= PHY_LINKQUALITY_SLID_WIN_MAX) { in process_link_qual()
876 sqd->total_num = PHY_LINKQUALITY_SLID_WIN_MAX; in process_link_qual()
886 tmpVal = sqd->total_val / sqd->total_num; in process_link_qual()
897 if (ssd->total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in process_rssi()
898 ssd->total_num = PHY_RSSI_SLID_WIN_MAX; in process_rssi()
906 tmp_val = ssd->total_val / ssd->total_num; in process_rssi()
Drtl871x_recv.h35 u32 total_num; /* num of valid elements */ member
Drtl871x_mlme.c289 if (padapter->recvpriv.signal_qual_data.total_num++ >= in update_network()
291 padapter->recvpriv.signal_qual_data.total_num = in update_network()
305 padapter->recvpriv.signal_qual_data.total_num; in update_network()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_recv.h61 u32 total_num; /* num of valid elements */ member
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dar9002_calib.c797 u_int32_t total_num = 0; in ar9285_hw_clc() local
827 total_num = i0_num + q0_num; in ar9285_hw_clc()
828 if (total_num > AR9285_CLCAL_REDO_THRESH) { in ar9285_hw_clc()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_recv.h77 u32 total_num; /* num of valid elements */ member
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_recv.c2112 num_signal_strength = recvpriv->signal_strength_data.total_num; in rtw_signal_stat_timer_hdl()
2119 num_signal_qual = recvpriv->signal_qual_data.total_num; in rtw_signal_stat_timer_hdl()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c12256 u32 total_num; in hclge_get_regs_num() local
12270 total_num = *regs_num_32_bit + *regs_num_64_bit; in hclge_get_regs_num()
12271 if (!total_num) in hclge_get_regs_num()