Lines Matching refs:phist_data
790 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_add() local
792 if (atomic_read(&phist_data->num_samples) > MWIFIEX_HIST_MAX_SAMPLES) in mwifiex_hist_data_add()
801 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_set() local
805 atomic_inc(&phist_data->num_samples); in mwifiex_hist_data_set()
806 atomic_inc(&phist_data->rx_rate[rx_rate]); in mwifiex_hist_data_set()
807 atomic_inc(&phist_data->snr[snr + 128]); in mwifiex_hist_data_set()
808 atomic_inc(&phist_data->noise_flr[nf + 128]); in mwifiex_hist_data_set()
809 atomic_inc(&phist_data->sig_str[rssi + 128]); in mwifiex_hist_data_set()
816 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_reset() local
818 atomic_set(&phist_data->num_samples, 0); in mwifiex_hist_data_reset()
820 atomic_set(&phist_data->rx_rate[ix], 0); in mwifiex_hist_data_reset()
822 atomic_set(&phist_data->snr[ix], 0); in mwifiex_hist_data_reset()
824 atomic_set(&phist_data->noise_flr[ix], 0); in mwifiex_hist_data_reset()
826 atomic_set(&phist_data->sig_str[ix], 0); in mwifiex_hist_data_reset()