/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 256 static u32 vmw_view_key(u32 user_key, enum vmw_view_type view_type) in vmw_view_key() argument 258 return user_key | (view_type << 20); in vmw_view_key() 270 static bool vmw_view_id_ok(u32 user_key, enum vmw_view_type view_type) in vmw_view_id_ok() argument 272 return (user_key < SVGA_COTABLE_MAX_IDS && in vmw_view_id_ok() 314 u32 user_key, in vmw_view_add() argument 342 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_add() 368 view->view_id = user_key; in vmw_view_add() 380 vmw_view_key(user_key, view_type), in vmw_view_add() 407 u32 user_key, enum vmw_view_type view_type, in vmw_view_remove() argument 411 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() 903 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_id_ok() argument 905 return user_key <= ((1 << 20) - 1) && (unsigned) shader_type < 16; in vmw_shader_id_ok() 917 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_key() argument 919 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() 199 u32 user_key, in vmw_cmdbuf_res_add() argument 210 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add() 244 u32 user_key, in vmw_cmdbuf_res_remove() argument 252 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 | 1332 u32 user_key, const void *bytecode, 1337 u32 user_key, SVGA3dShaderType shader_type, 1341 u32 user_key, 1350 u32 user_key, SVGA3dShaderType shader_type); 1357 u32 user_key); 1360 SVGA3dStreamOutputId user_key, 1364 SVGA3dStreamOutputId user_key, 1381 u32 user_key); 1386 u32 user_key, 1391 u32 user_key,
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | sysctl_net_ipv4.c | 277 u32 user_key[4]; in sscanf_key() local 280 if (sscanf(buf, "%x-%x-%x-%x", user_key, user_key + 1, in sscanf_key() 281 user_key + 2, user_key + 3) != 4) { in sscanf_key() 284 for (i = 0; i < ARRAY_SIZE(user_key); i++) in sscanf_key() 285 key[i] = cpu_to_le32(user_key[i]); in sscanf_key() 288 user_key[0], user_key[1], user_key[2], user_key[3], buf, ret); in sscanf_key() 304 u32 user_key[TCP_FASTOPEN_KEY_BUF_LENGTH / sizeof(u32)]; in proc_tcp_fastopen_key() local 320 user_key[i] = le32_to_cpu(key[i]); in proc_tcp_fastopen_key() 325 user_key[i * 4], in proc_tcp_fastopen_key() 326 user_key[i * 4 + 1], in proc_tcp_fastopen_key() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
D | via_mm.c | 119 int retval = 0, user_key; in via_mem_alloc() local 159 user_key = retval; in via_mem_alloc() 167 mem->index = user_key; in via_mem_alloc()
|
/kernel/linux/linux-5.10/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()
|