Searched refs:wb_size (Results 1 – 2 of 2) sorted by relevance
/drivers/media/platform/mediatek/vcodec/venc/ |
D | venc_h264_if.c | 321 u32 vpua, wb_size; in h264_enc_alloc_work_buf() local 351 wb_size = wb_34[i].size; in h264_enc_alloc_work_buf() 355 wb_size = wb[i].size; in h264_enc_alloc_work_buf() 386 memcpy(inst->work_bufs[i].va, tmp_va, wb_size); in h264_enc_alloc_work_buf()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v9_4_2.c | 493 int wb_size = adev->gfx.config.max_shader_engines * in gfx_v9_4_2_do_sgprs_init() local 507 r = amdgpu_ib_get(adev, NULL, (1 + wb_size) * sizeof(uint32_t), in gfx_v9_4_2_do_sgprs_init() 513 memset(wb_ib.ptr, 0, (1 + wb_size) * sizeof(uint32_t)); in gfx_v9_4_2_do_sgprs_init() 579 memset(wb_ib.ptr, 0, (1 + wb_size) * sizeof(uint32_t)); in gfx_v9_4_2_do_sgprs_init() 637 int wb_size = adev->gfx.config.max_shader_engines * in gfx_v9_4_2_do_vgprs_init() local 650 r = amdgpu_ib_get(adev, NULL, (1 + wb_size) * sizeof(uint32_t), in gfx_v9_4_2_do_vgprs_init() 656 memset(wb_ib.ptr, 0, (1 + wb_size) * sizeof(uint32_t)); in gfx_v9_4_2_do_vgprs_init()
|