Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c257 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()
312 u32 user_key, in vmw_view_add() argument
336 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_add()
354 view->view_id = user_key; in vmw_view_add()
366 vmw_view_key(user_key, view_type), in vmw_view_add()
393 u32 user_key, enum vmw_view_type view_type, in vmw_view_remove() argument
397 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_remove()
[all …]
Dvmwgfx_shader.c76 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type);
77 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type);
583 u32 user_key, in vmw_dx_shader_add() argument
592 if (!vmw_shader_id_ok(user_key, shader_type)) in vmw_dx_shader_add()
604 shader->id = user_key; in vmw_dx_shader_add()
617 vmw_shader_key(user_key, 0), in vmw_dx_shader_add()
822 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_id_ok() argument
824 return user_key <= ((1 << 20) - 1) && (unsigned) shader_type < 16; in vmw_shader_id_ok()
836 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_key() argument
838 return user_key | (shader_type << 20); in vmw_shader_key()
[all …]
Dvmwgfx_cmdbuf_res.c82 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 = vmwgfx_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
Dvmwgfx_streamoutput.c247 u32 user_key) in vmw_dx_streamoutput_lookup() argument
250 user_key); in vmw_dx_streamoutput_lookup()
277 struct vmw_resource *ctx, u32 user_key, in vmw_dx_streamoutput_add() argument
294 so->id = user_key; in vmw_dx_streamoutput_add()
303 ret = vmw_cmdbuf_res_add(man, vmw_cmdbuf_res_streamoutput, user_key, in vmw_dx_streamoutput_add()
338 u32 user_key, in vmw_dx_streamoutput_remove() argument
344 (u32)user_key, list, &r); in vmw_dx_streamoutput_remove()
Dvmwgfx_so.h152 u32 user_key,
158 u32 user_key, enum vmw_view_type view_type,
170 u32 user_key);
Dvmwgfx_drv.h1382 u32 user_key, const void *bytecode,
1387 u32 user_key, SVGA3dShaderType shader_type,
1391 u32 user_key,
1400 u32 user_key, SVGA3dShaderType shader_type);
1407 u32 user_key);
1410 SVGA3dStreamOutputId user_key,
1414 SVGA3dStreamOutputId user_key,
1430 u32 user_key);
1435 u32 user_key,
1440 u32 user_key,
/linux-5.19.10/net/ipv4/
Dsysctl_net_ipv4.c266 u32 user_key[4]; in sscanf_key() local
269 if (sscanf(buf, "%x-%x-%x-%x", user_key, user_key + 1, in sscanf_key()
270 user_key + 2, user_key + 3) != 4) { in sscanf_key()
273 for (i = 0; i < ARRAY_SIZE(user_key); i++) in sscanf_key()
274 key[i] = cpu_to_le32(user_key[i]); in sscanf_key()
277 user_key[0], user_key[1], user_key[2], user_key[3], buf, ret); in sscanf_key()
293 u32 user_key[TCP_FASTOPEN_KEY_BUF_LENGTH / sizeof(u32)]; in proc_tcp_fastopen_key() local
309 user_key[i] = le32_to_cpu(key[i]); in proc_tcp_fastopen_key()
314 user_key[i * 4], in proc_tcp_fastopen_key()
315 user_key[i * 4 + 1], in proc_tcp_fastopen_key()
[all …]
/linux-5.19.10/drivers/gpu/drm/via/
Dvia_mm.c118 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()
/linux-5.19.10/drivers/gpu/drm/sis/
Dsis_mm.c90 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()