Lines Matching refs:index
151 const char *dp_hist_tx_hw_delay_str(uint8_t index) in dp_hist_tx_hw_delay_str() argument
153 if (index > CDP_HIST_BUCKET_MAX) in dp_hist_tx_hw_delay_str()
155 return dp_hist_hw_tx_comp_dbucket_str[index]; in dp_hist_tx_hw_delay_str()
188 const char *dp_hist_delay_percentile_str(uint8_t index) in dp_hist_delay_percentile_str() argument
190 if (index > CDP_HIST_BUCKET_MAX) in dp_hist_delay_percentile_str()
192 return dp_hist_delay_percentile_dbucket_str[index]; in dp_hist_delay_percentile_str()
292 uint8_t index; in dp_copy_hist_stats() local
294 for (index = 0; index < CDP_HIST_BUCKET_MAX; index++) in dp_copy_hist_stats()
295 dst_hist_stats->hist.freq[index] = in dp_copy_hist_stats()
296 src_hist_stats->hist.freq[index]; in dp_copy_hist_stats()
305 uint8_t index, hist_stats_valid = 0; in dp_accumulate_hist_stats() local
307 for (index = 0; index < CDP_HIST_BUCKET_MAX; index++) { in dp_accumulate_hist_stats()
308 dst_hist_stats->hist.freq[index] += in dp_accumulate_hist_stats()
309 src_hist_stats->hist.freq[index]; in dp_accumulate_hist_stats()
310 if (src_hist_stats->hist.freq[index]) in dp_accumulate_hist_stats()