Home
last modified time | relevance | path

Searched refs:noise_data (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dodm_NoiseMonitor.c31 struct noise_level noise_data; in odm_InbandNoise_Monitor_NSeries() local
44 memset(&noise_data, 0, sizeof(struct noise_level)); in odm_InbandNoise_Monitor_NSeries()
77 noise_data.value[ODM_RF_PATH_A] = (u8)(tmp4b&0xff); in odm_InbandNoise_Monitor_NSeries()
78 noise_data.value[ODM_RF_PATH_B] = (u8)((tmp4b&0xff00)>>8); in odm_InbandNoise_Monitor_NSeries()
81noise_data.value[ODM_RF_PATH_A], noise_data.value[ODM_RF_PATH_A], noise_data.value[ODM_RF_PATH_B],… in odm_InbandNoise_Monitor_NSeries()
84 noise_data.sval[rf_path] = (s8)noise_data.value[rf_path]; in odm_InbandNoise_Monitor_NSeries()
85 noise_data.sval[rf_path] /= 2; in odm_InbandNoise_Monitor_NSeries()
90 noise_data.sval[ODM_RF_PATH_A], noise_data.sval[ODM_RF_PATH_B])); in odm_InbandNoise_Monitor_NSeries()
95 …if ((noise_data.valid_cnt[rf_path] < ValidCnt) && (noise_data.sval[rf_path] < Valid_Max && noise_d… in odm_InbandNoise_Monitor_NSeries()
96 noise_data.valid_cnt[rf_path]++; in odm_InbandNoise_Monitor_NSeries()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_noisemonitor.c36 static inline void phydm_set_noise_data_sum(struct noise_level *noise_data, in phydm_set_noise_data_sum() argument
42 if (noise_data->valid_cnt[rf_path]) in phydm_set_noise_data_sum()
43 noise_data->sum[rf_path] /= in phydm_set_noise_data_sum()
44 noise_data->valid_cnt[rf_path]; in phydm_set_noise_data_sum()
46 noise_data->sum[rf_path] = 0; in phydm_set_noise_data_sum()
57 struct noise_level noise_data; in odm_inband_noise_monitor_n_series() local
70 odm_memory_set(dm, &noise_data, 0, sizeof(struct noise_level)); in odm_inband_noise_monitor_n_series()
99 noise_data.value[ODM_RF_PATH_A] = (u8)(tmp4b & 0xff); in odm_inband_noise_monitor_n_series()
100 noise_data.value[ODM_RF_PATH_B] = (u8)((tmp4b & 0xff00) >> 8); in odm_inband_noise_monitor_n_series()
104 noise_data.value[ODM_RF_PATH_A], in odm_inband_noise_monitor_n_series()
[all …]