Lines Matching refs:phist_data
693 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_add() local
695 if (atomic_read(&phist_data->num_samples) > MWIFIEX_HIST_MAX_SAMPLES) in mwifiex_hist_data_add()
704 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_set() local
708 atomic_inc(&phist_data->num_samples); in mwifiex_hist_data_set()
709 atomic_inc(&phist_data->rx_rate[rx_rate]); in mwifiex_hist_data_set()
710 atomic_inc(&phist_data->snr[snr + 128]); in mwifiex_hist_data_set()
711 atomic_inc(&phist_data->noise_flr[nf + 128]); in mwifiex_hist_data_set()
712 atomic_inc(&phist_data->sig_str[rssi + 128]); in mwifiex_hist_data_set()
719 struct mwifiex_histogram_data *phist_data = priv->hist_data; in mwifiex_hist_data_reset() local
721 atomic_set(&phist_data->num_samples, 0); in mwifiex_hist_data_reset()
723 atomic_set(&phist_data->rx_rate[ix], 0); in mwifiex_hist_data_reset()
725 atomic_set(&phist_data->snr[ix], 0); in mwifiex_hist_data_reset()
727 atomic_set(&phist_data->noise_flr[ix], 0); in mwifiex_hist_data_reset()
729 atomic_set(&phist_data->sig_str[ix], 0); in mwifiex_hist_data_reset()