| /Linux-v5.4/drivers/staging/rtl8723bs/hal/ |
| D | rtl8723b_rxdesc.c | 20 signal_stat->total_num = 0; in process_rssi() 25 signal_stat->total_num++; in process_rssi() 27 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_rssi() 46 signal_stat->total_num = 0; in process_link_qual() 51 signal_stat->total_num++; in process_link_qual() 53 signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num; in process_link_qual()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
| D | rtl8188e_rxdesc.c | 19 signal_stat->total_num = 0; in process_rssi() 24 signal_stat->total_num++; in process_rssi() 26 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-v5.4/drivers/net/wireless/realtek/rtlwifi/ |
| D | stats.c | 83 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()
|
| D | wifi.h | 1099 u32 total_num; /*num of valid elements */ member
|
| /Linux-v5.4/arch/x86/power/ |
| D | cpu.c | 401 int total_num; in msr_build_context() local 404 total_num = saved_msrs->num + num; in msr_build_context() 406 msr_array = kmalloc_array(total_num, sizeof(struct saved_msr), GFP_KERNEL); in msr_build_context() 423 for (i = saved_msrs->num, j = 0; i < total_num; i++, j++) { in msr_build_context() 428 saved_msrs->num = total_num; in msr_build_context()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_ae_adapt.c | 886 u32 total_num; in hns_ae_get_regs_len() local 889 total_num = hns_ppe_get_regs_count(); in hns_ae_get_regs_len() 890 total_num += hns_rcb_get_common_regs_count(); in hns_ae_get_regs_len() 891 total_num += hns_rcb_get_ring_regs_count() * handle->q_num; in hns_ae_get_regs_len() 892 total_num += hns_mac_get_regs_count(vf_cb->mac_cb); in hns_ae_get_regs_len() 895 total_num += hns_dsaf_get_regs_count(); in hns_ae_get_regs_len() 897 return total_num; in hns_ae_get_regs_len()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| D | trx.c | 263 if (rtlpriv->stats.ui_rssi.total_num++ >= in _rtl92de_process_ui_rssi() 265 rtlpriv->stats.ui_rssi.total_num = in _rtl92de_process_ui_rssi() 278 rtlpriv->stats.ui_rssi.total_num; in _rtl92de_process_ui_rssi() 364 if (rtlpriv->stats.ui_link_quality.total_num++ >= in _rtl92de_process_ui_link_quality() 366 rtlpriv->stats.ui_link_quality.total_num = in _rtl92de_process_ui_link_quality() 381 rtlpriv->stats.ui_link_quality.total_num; in _rtl92de_process_ui_link_quality()
|
| /Linux-v5.4/drivers/staging/rtl8712/ |
| D | rtl8712_recv.c | 889 if (sqd->total_num++ >= PHY_LINKQUALITY_SLID_WIN_MAX) { in process_link_qual() 890 sqd->total_num = PHY_LINKQUALITY_SLID_WIN_MAX; in process_link_qual() 900 tmpVal = sqd->total_val / sqd->total_num; in process_link_qual() 911 if (ssd->total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in process_rssi() 912 ssd->total_num = PHY_RSSI_SLID_WIN_MAX; in process_rssi() 920 tmp_val = ssd->total_val / ssd->total_num; in process_rssi()
|
| D | rtl871x_recv.h | 38 u32 total_num; /* num of valid elements */ member
|
| D | rtl871x_mlme.c | 290 if (padapter->recvpriv.signal_qual_data.total_num++ >= in update_network() 292 padapter->recvpriv.signal_qual_data.total_num = in update_network() 306 padapter->recvpriv.signal_qual_data.total_num; in update_network()
|
| /Linux-v5.4/drivers/staging/rtl8723bs/include/ |
| D | rtw_recv.h | 82 u32 total_num; /* num of valid elements */ member 89 u32 total_num; /* num of valid elements */ member
|
| /Linux-v5.4/drivers/staging/rtl8188eu/include/ |
| D | rtw_recv.h | 63 u32 total_num; /* num of valid elements */ member
|
| /Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
| D | ar9002_calib.c | 765 u_int32_t total_num = 0; in ar9285_hw_clc() local 795 total_num = i0_num + q0_num; in ar9285_hw_clc() 796 if (total_num > AR9285_CLCAL_REDO_THRESH) { in ar9285_hw_clc()
|
| /Linux-v5.4/drivers/staging/rtl8723bs/core/ |
| D | rtw_recv.c | 2613 num_signal_strength = recvpriv->signal_strength_data.total_num; in rtw_signal_stat_timer_hdl() 2620 num_signal_qual = recvpriv->signal_qual_data.total_num; in rtw_signal_stat_timer_hdl()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.c | 9610 u32 total_num; in hclge_get_regs_num() local 9624 total_num = *regs_num_32_bit + *regs_num_64_bit; in hclge_get_regs_num() 9625 if (!total_num) in hclge_get_regs_num()
|