Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/
H A Dmali_kbase_hwcnt_gpu_narrow.c123 size_t clk_cnt_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_alloc() local
130 clk_cnt_buf_bytes = sizeof(*dump_buf->clk_cnt_buf) * md_narrow->metadata->clk_cnt; in kbase_hwcnt_dump_buffer_narrow_alloc()
133 buf = kmalloc(dump_buf_bytes + clk_cnt_buf_bytes, GFP_KERNEL); in kbase_hwcnt_dump_buffer_narrow_alloc()
166 size_t clk_cnt_buf_bytes; in kbase_hwcnt_dump_buffer_narrow_array_alloc() local
173 clk_cnt_buf_bytes = sizeof(*dump_bufs->bufs->clk_cnt_buf) * md_narrow->metadata->clk_cnt; in kbase_hwcnt_dump_buffer_narrow_array_alloc()
183 order = get_order((dump_buf_bytes + clk_cnt_buf_bytes) * n); in kbase_hwcnt_dump_buffer_narrow_array_alloc()
203 total_dump_buf_size + (clk_cnt_buf_bytes * buf_idx); in kbase_hwcnt_dump_buffer_narrow_array_alloc()
H A Dmali_kbase_hwcnt_types.c191 size_t clk_cnt_buf_bytes; in kbase_hwcnt_dump_buffer_alloc() local
198 clk_cnt_buf_bytes = sizeof(*dump_buf->clk_cnt_buf) * metadata->clk_cnt; in kbase_hwcnt_dump_buffer_alloc()
201 buf = kmalloc(dump_buf_bytes + clk_cnt_buf_bytes, GFP_KERNEL); in kbase_hwcnt_dump_buffer_alloc()
229 size_t clk_cnt_buf_bytes; in kbase_hwcnt_dump_buffer_array_alloc() local
235 clk_cnt_buf_bytes = sizeof(*dump_bufs->bufs->clk_cnt_buf) * metadata->clk_cnt; in kbase_hwcnt_dump_buffer_array_alloc()
245 order = get_order((dump_buf_bytes + clk_cnt_buf_bytes) * n); in kbase_hwcnt_dump_buffer_array_alloc()
262 (dump_buf_bytes * n) + (clk_cnt_buf_bytes * buf_idx); in kbase_hwcnt_dump_buffer_array_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_kinstr_prfcnt.c1136 size_t clk_cnt_buf_bytes; in kbasep_kinstr_prfcnt_get_sample_size() local
1146 clk_cnt_buf_bytes = sizeof(*dump_buf->clk_cnt_buf) * metadata->clk_cnt; in kbasep_kinstr_prfcnt_get_sample_size()
1148 return (sample_meta_bytes + dump_buf_bytes + clk_cnt_buf_bytes); in kbasep_kinstr_prfcnt_get_sample_size()
1330 size_t clk_cnt_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc() local
1342 clk_cnt_buf_bytes = in kbasep_kinstr_prfcnt_sample_array_alloc()
1344 sample_size = sample_meta_bytes + dump_buf_bytes + clk_cnt_buf_bytes; in kbasep_kinstr_prfcnt_sample_array_alloc()