Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_tl_debugfs.c113 u64 *hist_vals; in tl_calc_count() local
117 hist_vals = kmalloc_array(tl_data->num_hbuff, sizeof(*hist_vals), in tl_calc_count()
119 if (!hist_vals) in tl_calc_count()
123 sample_cnt = tl_collect_values_u32(telemetry, ctr->offset1, hist_vals); in tl_calc_count()
127 vals->curr = hist_vals[sample_cnt - 1]; in tl_calc_count()
128 vals->min = min_array(hist_vals, sample_cnt); in tl_calc_count()
129 vals->max = max_array(hist_vals, sample_cnt); in tl_calc_count()
130 vals->avg = avg_array(hist_vals, sample_cnt); in tl_calc_count()
133 kfree(hist_vals); in tl_calc_count()
170 u64 *hist_vals; in tl_lat_acc_avg() local
[all …]