Home
last modified time | relevance | path

Searched refs:AC_SPM_NUM_COUNTER_PER_MUXSEL (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/amd/common/
H A Dac_spm.c257 DIV_ROUND_UP(num_even_counters, AC_SPM_NUM_COUNTER_PER_MUXSEL); in ac_init_spm()
259 DIV_ROUND_UP(num_odd_counters, AC_SPM_NUM_COUNTER_PER_MUXSEL); in ac_init_spm()
285 AC_SPM_NUM_COUNTER_PER_MUXSEL; in ac_init_spm()
313 AC_SPM_NUM_COUNTER_PER_MUXSEL + even_counter_idx; in ac_init_spm()
316 if (++even_counter_idx == AC_SPM_NUM_COUNTER_PER_MUXSEL) { in ac_init_spm()
322 AC_SPM_NUM_COUNTER_PER_MUXSEL + odd_counter_idx; in ac_init_spm()
325 if (++odd_counter_idx == AC_SPM_NUM_COUNTER_PER_MUXSEL) { in ac_init_spm()
367 num_lines_written = data_size / (2 * AC_SPM_NUM_COUNTER_PER_MUXSEL); in ac_spm_get_num_samples()
H A Dac_spm.h34 #define AC_SPM_NUM_COUNTER_PER_MUXSEL 16 /* 16 16-bit counters per muxsel */ macro
35 #define AC_SPM_MUXSEL_LINE_SIZE ((AC_SPM_NUM_COUNTER_PER_MUXSEL * 2) / 4) /* in dwords */
61 struct ac_spm_muxsel muxsel[AC_SPM_NUM_COUNTER_PER_MUXSEL];

Completed in 2 milliseconds