/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_gpu.c | 30 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param() function 60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new() 61 gpu->revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new() 95 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_0); in etna_gpu_get_param() 98 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_1); in etna_gpu_get_param() 101 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_2); in etna_gpu_get_param() 104 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_3); in etna_gpu_get_param() 107 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_4); in etna_gpu_get_param() 110 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_5); in etna_gpu_get_param() 113 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_6); in etna_gpu_get_param() [all …]
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_gpu.c | 30 static uint64_t get_param(struct etna_device *dev, uint32_t core, uint32_t param) in get_param() function 60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new() 61 gpu->revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new() 95 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_0); in etna_gpu_get_param() 98 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_1); in etna_gpu_get_param() 101 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_2); in etna_gpu_get_param() 104 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_3); in etna_gpu_get_param() 107 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_4); in etna_gpu_get_param() 110 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_5); in etna_gpu_get_param() 113 *value = get_param(dev, core, ETNAVIV_PARAM_GPU_FEATURES_6); in etna_gpu_get_param() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_extensions.c | 89 c->MaxTextureSize = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in st_init_limits() 92 screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_MB)); in st_init_limits() 95 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS), in st_init_limits() 100 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS), in st_init_limits() 106 = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in st_init_limits() 117 screen->get_param(screen, PIPE_CAP_RASTERIZER_SUBPIXEL_BITS); in st_init_limits() 119 screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS); in st_init_limits() 122 _clamp(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits() 126 _clamp(screen->get_param(screen, in st_init_limits() 156 screen->get_param(screen, in st_init_limits() [all …]
|
D | st_context.c | 497 screen->get_param(screen, PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX); in st_create_context_priv() 525 … enum pipe_texture_transfer_mode val = screen->get_param(screen, PIPE_CAP_TEXTURE_TRANSFER_MODES); in st_create_context_priv() 532 if (screen->get_param(screen, PIPE_CAP_NPOT_TEXTURES)) in st_create_context_priv() 555 screen->get_param(screen, PIPE_CAP_PACKED_UNIFORMS); in st_create_context_priv() 563 screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT); in st_create_context_priv() 588 screen->get_param(screen, PIPE_CAP_SAMPLE_SHADING) && in st_create_context_priv() 589 !screen->get_param(screen, PIPE_CAP_FORCE_PERSAMPLE_INTERP); in st_create_context_priv() 590 st->has_shareable_shaders = screen->get_param(screen, in st_create_context_priv() 593 screen->get_param(screen, PIPE_CAP_TGSI_TEXCOORD); in st_create_context_priv() 595 !!(screen->get_param(screen, PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK) & in st_create_context_priv() [all …]
|
D | st_pbo.c | 417 screen->get_param(screen, PIPE_CAP_FS_POSITION_IS_SYSVAL); in create_fs() 628 bool formatless_store = screen->get_param(screen, PIPE_CAP_IMAGE_STORE_FORMATTED); in st_pbo_get_download_fs() 654 screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OBJECTS) && in st_init_pbo_helpers() 655 screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT) >= 1 && in st_init_pbo_helpers() 662 screen->get_param(screen, PIPE_CAP_SAMPLER_VIEW_TARGET) && in st_init_pbo_helpers() 663 screen->get_param(screen, PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT) && in st_init_pbo_helpers() 668 screen->get_param(screen, PIPE_CAP_BUFFER_SAMPLER_VIEW_RGBA_ONLY); in st_init_pbo_helpers() 670 if (screen->get_param(screen, PIPE_CAP_VS_INSTANCEID)) { in st_init_pbo_helpers() 671 if (screen->get_param(screen, PIPE_CAP_VS_LAYER_VIEWPORT)) { in st_init_pbo_helpers() 673 } else if (screen->get_param(screen, PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES) >= 3 && in st_init_pbo_helpers() [all …]
|
D | st_glsl_to_nir.cpp | 394 !screen->get_param(screen, PIPE_CAP_SHADER_CAN_READ_OUTPUTS)) { in st_nir_preprocess() 515 if (!screen->get_param(screen, PIPE_CAP_NIR_ATOMICS_AS_DEREF)) in st_glsl_to_nir_post_opts() 552 if (!st->has_hw_atomics && !screen->get_param(screen, PIPE_CAP_NIR_ATOMICS_AS_DEREF)) { in st_glsl_to_nir_post_opts() 658 pscreen->get_param(pscreen, in st_nir_lower_wpos_ytransform() 661 pscreen->get_param(pscreen, in st_nir_lower_wpos_ytransform() 664 pscreen->get_param(pscreen, in st_nir_lower_wpos_ytransform() 667 pscreen->get_param(pscreen, in st_nir_lower_wpos_ytransform() 827 if (!st->screen->get_param(st->screen, PIPE_CAP_CULL_DISTANCE_NOCOMBINE)) in st_link_nir() 972 if (screen->get_param(screen, PIPE_CAP_NIR_SAMPLERS_AS_DEREF)) in st_nir_lower_samplers() 1033 !st->screen->get_param(screen, PIPE_CAP_TEXTURE_GATHER_OFFSETS); in st_finalize_nir() [all …]
|
D | st_glsl_to_ir.cpp | 74 if (!pscreen->get_param(pscreen, PIPE_CAP_INT64_DIVMOD)) in link_shader() 99 if (stage == MESA_SHADER_FRAGMENT && pscreen->get_param(pscreen, PIPE_CAP_FBFETCH)) in link_shader()
|
D | st_vdpau.c | 219 if (screen->get_param(screen, PIPE_CAP_DMABUF) && in st_vdpau_map_surface() 220 res->screen->get_param(res->screen, PIPE_CAP_DMABUF) && in st_vdpau_map_surface()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_query_renderer.c | 91 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 96 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 101 (unsigned int)!!screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 108 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 117 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 123 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 136 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 143 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 150 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | device.cpp | 142 if (pipe && pipe->get_param(pipe, PIPE_CAP_COMPUTE)) { in device() 230 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXEL_BUFFER_ELEMENTS_UINT); in max_image_buffer_size() 235 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in max_image_size() 240 return 1 << (pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_3D_LEVELS) - 1); in max_image_size_3d() 245 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in max_image_array_number() 336 return pipe->get_param(pipe, PIPE_CAP_DOUBLES); in has_doubles() 353 return pipe->get_param(pipe, PIPE_CAP_UMA); in has_unified_memory() 380 if (allows_user_pointers() && pipe->get_param(pipe, PIPE_CAP_SYSTEM_SVM)) in svm_support() 390 return pipe->get_param(pipe, PIPE_CAP_RESOURCE_FROM_USER_MEMORY) || in allows_user_pointers() 391 pipe->get_param(pipe, PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY); in allows_user_pointers() [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_device.c | 261 …const uint64_t max_render_targets = device->pscreen->get_param(device->pscreen, PIPE_CAP_MAX_RENDE… in lvp_physical_device_init() 263 ….maxImageDimension1D = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 264 ….maxImageDimension2D = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 265 ….maxImageDimension3D = (1 << device->pscreen->get_param(device->pscreen, PIPE… in lvp_physical_device_init() 266 ….maxImageDimensionCube = (1 << device->pscreen->get_param(device->pscreen, PIPE… in lvp_physical_device_init() 267 ….maxImageArrayLayers = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 268 ….maxTexelBufferElements = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 270 ….maxStorageBufferRange = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 305 ….maxGeometryShaderInvocations = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() 308 ….maxGeometryOutputVertices = device->pscreen->get_param(device->pscreen, PIPE_CAP_M… in lvp_physical_device_init() [all …]
|
D | lvp_formats.c | 117 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_LOAD_FORMATTED)) in lvp_physical_device_get_format_properties() 119 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_STORE_FORMATTED)) in lvp_physical_device_get_format_properties() 145 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_LOAD_FORMATTED)) in lvp_physical_device_get_format_properties() 147 … if (physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_IMAGE_STORE_FORMATTED)) in lvp_physical_device_get_format_properties() 223 …uint32_t max_2d_ext = physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_MAX_T… in lvp_get_image_format_properties() 224 …uint32_t max_layers = physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_MAX_T… in lvp_get_image_format_properties() 253 …maxExtent.depth = (1 << physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_MAX… in lvp_get_image_format_properties()
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
D | msm_pipe.c | 209 .get_param = msm_pipe_get_param, 218 .get_param = msm_pipe_get_param, 225 get_param(struct fd_pipe *pipe, uint32_t param) in get_param() function 265 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new() 266 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new() 267 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new() 270 msm_pipe->gmem_base = get_param(pipe, MSM_PARAM_GMEM_BASE); in msm_pipe_new()
|
/third_party/libdrm/freedreno/msm/ |
D | msm_pipe.c | 152 .get_param = msm_pipe_get_param, 157 static uint64_t get_param(struct fd_pipe *pipe, uint32_t param) in get_param() function 192 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new() 193 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new() 194 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_props.c | 103 struct drm_panfrost_get_param get_param = {0,}; in panfrost_query_raw() local 106 get_param.param = param; in panfrost_query_raw() 107 ret = drmIoctl(fd, DRM_IOCTL_PANFROST_GET_PARAM, &get_param); in panfrost_query_raw() 114 return get_param.value; in panfrost_query_raw()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | adapter9.c | 40 return hal->get_param(hal, PIPE_CAP_FRAGMENT_SHADER_TEXTURE_LOD) && in has_sm3() 41 hal->get_param(hal, PIPE_CAP_FRAGMENT_SHADER_DERIVATIVES); in has_sm3() 57 if (!hal->get_param(hal, PIPE_CAP_CLIP_HALFZ)) { in NineAdapter9_ctor() 62 !This->ctx->ref->get_param(This->ctx->ref, PIPE_CAP_CLIP_HALFZ)) { in NineAdapter9_ctor() 354 return screen->get_param(screen, PIPE_CAP_MULTISAMPLE_Z_RESOLVE) ? in NineAdapter9_CheckDeviceFormat() 580 (screen->get_param(screen, PIPE_CAP_##pcap) ? (d3dcap) : 0) in NineAdapter9_GetDeviceCaps() 583 (screen->get_param(screen, PIPE_CAP_##pcap) ? 0 : (d3dcap)) in NineAdapter9_GetDeviceCaps() 652 if (!screen->get_param(screen, PIPE_CAP_VS_WINDOW_SPACE_POSITION)) in NineAdapter9_GetDeviceCaps() 770 pCaps->MaxTextureWidth =screen->get_param(screen, in NineAdapter9_GetDeviceCaps() 774 1 << (screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS) - 1); in NineAdapter9_GetDeviceCaps() [all …]
|
D | query9.c | 41 return screen->get_param(screen, PIPE_CAP_OCCLUSION_QUERY) ? in d3dquerytype_to_pipe_query() 44 return screen->get_param(screen, PIPE_CAP_QUERY_TIMESTAMP) ? in d3dquerytype_to_pipe_query() 48 return screen->get_param(screen, PIPE_CAP_QUERY_TIMESTAMP) ? in d3dquerytype_to_pipe_query() 51 return screen->get_param(screen, in d3dquerytype_to_pipe_query()
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 70 eq(msg.get_param('charset'), 'iso-8859-1') 372 self.assertEqual(msg.get_param('baz'), '') 407 self.assertEqual(msg.get_param('boundary'), 'CPIMSSMTPC06p5f3tG') 413 eq(msg.get_param('bar', header='x-header'), 'two') 414 eq(msg.get_param('quuz', header='x-header'), None) 415 eq(msg.get_param('quuz'), None) 418 eq(msg.get_param('foo', header='x-header'), '') 419 eq(msg.get_param('bar', header='x-header'), 'one') 420 eq(msg.get_param('baz', header='x-header'), 'two') 429 self.assertEqual(msg.get_payload(1).get_param('name'), 'wibble.JPG') [all …]
|
/third_party/python/Lib/email/ |
D | message.py | 267 payload = bpayload.decode(self.get_param('charset', 'ascii'), 'replace') 667 def get_param(self, param, failobj=None, header='content-type', member in Message 726 if not self.get_param(param, header=header): 815 filename = self.get_param('filename', missing, 'content-disposition') 817 filename = self.get_param('name', missing, 'content-type') 829 boundary = self.get_param('boundary', missing) 889 charset = self.get_param('charset', missing) 994 start = part.get_param('start') 1058 start = self.get_param('start')
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_device.c | 100 stw_dev->max_2d_length = screen->get_param(screen, in init_screen() 142 stw_dev->smapi->get_param = stw_get_param; in stw_init()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 302 !screen->get_param(screen, in u_vbuf_get_caps() 305 !screen->get_param(screen, in u_vbuf_get_caps() 308 !screen->get_param(screen, in u_vbuf_get_caps() 311 !screen->get_param(screen, in u_vbuf_get_caps() 316 screen->get_param(screen, PIPE_CAP_USER_VERTEX_BUFFERS); in u_vbuf_get_caps() 318 screen->get_param(screen, PIPE_CAP_MAX_VERTEX_BUFFERS); in u_vbuf_get_caps() 320 if (screen->get_param(screen, PIPE_CAP_PRIMITIVE_RESTART) || in u_vbuf_get_caps() 321 screen->get_param(screen, PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX)) { in u_vbuf_get_caps() 322 …caps->rewrite_restart_index = screen->get_param(screen, PIPE_CAP_EMULATE_NONFIXED_PRIMITIVE_RESTAR… in u_vbuf_get_caps() 323 …caps->supported_restart_modes = screen->get_param(screen, PIPE_CAP_SUPPORTED_PRIM_MODES_WITH_RESTA… in u_vbuf_get_caps() [all …]
|
/third_party/ltp/testcases/kernel/containers/share/ |
D | ns_common.h | 42 struct param *get_param(const char *name) in get_param() function
|
D | ns_create.c | 90 struct param *p = get_param(token); in main()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | query.c | 91 max_2d_texture_size = pscreen->get_param(pscreen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in vlVdpVideoSurfaceQueryCapabilities() 258 uint32_t max_2d_texture_size = pscreen->get_param( in vlVdpOutputSurfaceQueryCapabilities() 458 uint32_t max_2d_texture_size = pscreen->get_param( in vlVdpBitmapSurfaceQueryCapabilities()
|
/third_party/libdrm/freedreno/ |
D | freedreno_pipe.c | 90 return pipe->funcs->get_param(pipe, param, value); in fd_pipe_get_param()
|