Searched refs:user_key (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 257 static u32 vmw_view_key(u32 user_key, enum vmw_view_type view_type) in vmw_view_key() argument 259 return user_key | (view_type << 20); in vmw_view_key() 271 static bool vmw_view_id_ok(u32 user_key, enum vmw_view_type view_type) in vmw_view_id_ok() argument 273 return (user_key < SVGA_COTABLE_MAX_IDS && in vmw_view_id_ok() 315 u32 user_key, in vmw_view_add() argument 343 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_add() 369 view->view_id = user_key; in vmw_view_add() 381 vmw_view_key(user_key, view_type), in vmw_view_add() 408 u32 user_key, enum vmw_view_type view_type, in vmw_view_remove() argument 412 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_remove() [all …]
|
D | vmwgfx_shader.c | 80 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type); 81 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type); 590 u32 user_key, in vmw_dx_shader_add() argument 606 if (!vmw_shader_id_ok(user_key, shader_type)) in vmw_dx_shader_add() 628 shader->id = user_key; in vmw_dx_shader_add() 641 vmw_shader_key(user_key, 0), in vmw_dx_shader_add() 896 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_id_ok() argument 898 return user_key <= ((1 << 20) - 1) && (unsigned) shader_type < 16; in vmw_shader_id_ok() 910 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_key() argument 912 return user_key | (shader_type << 20); in vmw_shader_key() [all …]
|
D | vmwgfx_cmdbuf_res.c | 82 u32 user_key) in vmw_cmdbuf_res_lookup() argument 86 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup() 197 u32 user_key, in vmw_cmdbuf_res_add() argument 208 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add() 242 u32 user_key, in vmw_cmdbuf_res_remove() argument 250 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
|
D | vmwgfx_streamoutput.c | 249 u32 user_key) in vmw_dx_streamoutput_lookup() argument 252 user_key); in vmw_dx_streamoutput_lookup() 281 struct vmw_resource *ctx, u32 user_key, in vmw_dx_streamoutput_add() argument 315 so->id = user_key; in vmw_dx_streamoutput_add() 324 ret = vmw_cmdbuf_res_add(man, vmw_cmdbuf_res_streamoutput, user_key, in vmw_dx_streamoutput_add() 359 u32 user_key, in vmw_dx_streamoutput_remove() argument 365 (u32)user_key, list, &r); in vmw_dx_streamoutput_remove()
|
D | vmwgfx_so.h | 148 u32 user_key, 154 u32 user_key, enum vmw_view_type view_type, 166 u32 user_key);
|
D | vmwgfx_drv.h | 1363 u32 user_key, const void *bytecode, 1368 u32 user_key, SVGA3dShaderType shader_type, 1372 u32 user_key, 1381 u32 user_key, SVGA3dShaderType shader_type); 1388 u32 user_key); 1391 SVGA3dStreamOutputId user_key, 1395 SVGA3dStreamOutputId user_key, 1412 u32 user_key); 1417 u32 user_key, 1422 u32 user_key,
|
/drivers/gpu/drm/via/ |
D | via_mm.c | 118 int retval = 0, user_key; in via_mem_alloc() local 158 user_key = retval; in via_mem_alloc() 166 mem->index = user_key; in via_mem_alloc()
|
/drivers/gpu/drm/sis/ |
D | sis_mm.c | 90 int retval = 0, user_key; in sis_drm_alloc() local 137 user_key = retval; in sis_drm_alloc() 145 mem->free = user_key; in sis_drm_alloc()
|