Lines Matching refs:phist_data
682 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_add() local
684 if (atomic_read(&phist_data->num_samples) > MWIFIEX_HIST_MAX_SAMPLES) in mwifiex_hist_data_add()
693 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_set() local
697 atomic_inc(&phist_data->num_samples); in mwifiex_hist_data_set()
698 atomic_inc(&phist_data->rx_rate[rx_rate]); in mwifiex_hist_data_set()
699 atomic_inc(&phist_data->snr[snr + 128]); in mwifiex_hist_data_set()
700 atomic_inc(&phist_data->noise_flr[nf + 128]); in mwifiex_hist_data_set()
701 atomic_inc(&phist_data->sig_str[rssi + 128]); in mwifiex_hist_data_set()
708 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_reset() local
710 atomic_set(&phist_data->num_samples, 0); in mwifiex_hist_data_reset()
712 atomic_set(&phist_data->rx_rate[ix], 0); in mwifiex_hist_data_reset()
714 atomic_set(&phist_data->snr[ix], 0); in mwifiex_hist_data_reset()
716 atomic_set(&phist_data->noise_flr[ix], 0); in mwifiex_hist_data_reset()
718 atomic_set(&phist_data->sig_str[ix], 0); in mwifiex_hist_data_reset()