/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_meta_clear.c | 31 get_hw_clear_color(struct v3dv_device *device, in get_hw_clear_color() argument 48 v3dv_X(device, get_hw_clear_color)(color, internal_type, internal_size, in get_hw_clear_color() 74 v3dv_X(cmd_buffer->device, get_internal_type_bpp_for_image_aspects) in clear_image_tlb() 80 get_hw_clear_color(cmd_buffer->device, &clear_value->color, fb_format, in clear_image_tlb() 127 v3dv_X(job->device, meta_framebuffer_init)(&framebuffer, fb_format, in clear_image_tlb() 131 v3dv_X(job->device, job_emit_binning_flush)(job); in clear_image_tlb() 138 v3dv_X(job->device, meta_emit_clear_image_rcl) in clear_image_tlb() 223 create_color_clear_pipeline_layout(struct v3dv_device *device, in create_color_clear_pipeline_layout() argument 242 return v3dv_CreatePipelineLayout(v3dv_device_to_handle(device), in create_color_clear_pipeline_layout() 243 &info, &device in create_color_clear_pipeline_layout() 247 create_depth_clear_pipeline_layout(struct v3dv_device *device, VkPipelineLayout *pipeline_layout) create_depth_clear_pipeline_layout() argument 271 v3dv_meta_clear_init(struct v3dv_device *device) v3dv_meta_clear_init() argument 287 v3dv_meta_clear_finish(struct v3dv_device *device) v3dv_meta_clear_finish() argument 438 create_pipeline(struct v3dv_device *device, struct v3dv_render_pass *pass, uint32_t subpass_idx, uint32_t samples, struct nir_shader *vs_nir, struct nir_shader *gs_nir, struct nir_shader *fs_nir, const VkPipelineVertexInputStateCreateInfo *vi_state, const VkPipelineDepthStencilStateCreateInfo *ds_state, const VkPipelineColorBlendStateCreateInfo *cb_state, const VkPipelineLayout layout, VkPipeline *pipeline) create_pipeline() argument 564 create_color_clear_pipeline(struct v3dv_device *device, struct v3dv_render_pass *pass, uint32_t subpass_idx, uint32_t rt_idx, VkFormat format, uint32_t samples, uint32_t components, bool is_layered, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_color_clear_pipeline() argument 624 create_depth_clear_pipeline(struct v3dv_device *device, VkImageAspectFlags aspects, struct v3dv_render_pass *pass, uint32_t subpass_idx, uint32_t samples, bool is_layered, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_depth_clear_pipeline() argument 683 create_color_clear_render_pass(struct v3dv_device *device, uint32_t rt_idx, VkFormat format, uint32_t samples, VkRenderPass *pass) create_color_clear_render_pass() argument 793 get_color_clear_pipeline(struct v3dv_device *device, struct v3dv_render_pass *pass, uint32_t subpass_idx, uint32_t rt_idx, uint32_t attachment_idx, VkFormat format, uint32_t samples, uint32_t components, bool is_layered, struct v3dv_meta_color_clear_pipeline **pipeline) get_color_clear_pipeline() argument 901 get_depth_clear_pipeline(struct v3dv_device *device, VkImageAspectFlags aspects, struct v3dv_render_pass *pass, uint32_t subpass_idx, uint32_t attachment_idx, bool is_layered, struct v3dv_meta_depth_clear_pipeline **pipeline) get_depth_clear_pipeline() argument [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_query.c | 42 PVR_FROM_HANDLE(pvr_device, device, _device); in pvr_CreateQueryPool() 43 const uint32_t core_count = device->pdevice->dev_runtime_info.core_count; in pvr_CreateQueryPool() 56 assert(!device->features.pipelineStatisticsQuery); in pvr_CreateQueryPool() 59 pool = vk_object_alloc(&device->vk, in pvr_CreateQueryPool() 64 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_CreateQueryPool() 74 result = pvr_bo_alloc(device, in pvr_CreateQueryPool() 75 device->heaps.vis_test_heap, in pvr_CreateQueryPool() 83 result = pvr_bo_alloc(device, in pvr_CreateQueryPool() 84 device->heaps.vis_test_heap, in pvr_CreateQueryPool() 97 pvr_bo_free(device, poo in pvr_CreateQueryPool() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | QuerySet.cpp | 30 ErrorQuerySet(DeviceBase* device) : QuerySetBase(device, ObjectBase::kError) { in ErrorQuerySet() argument 41 MaybeError ValidateQuerySetDescriptor(DeviceBase* device, in ValidateQuerySetDescriptor() argument 61 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor() 66 !device->IsFeatureEnabled(Feature::PipelineStatisticsQuery), in ValidateQuerySetDescriptor() 84 DAWN_INVALID_IF(device->IsToggleEnabled(Toggle::DisallowUnsafeAPIs), in ValidateQuerySetDescriptor() 88 DAWN_INVALID_IF(!device->IsFeatureEnabled(Feature::TimestampQuery), in ValidateQuerySetDescriptor() 103 QuerySetBase::QuerySetBase(DeviceBase* device, const QuerySetDescriptor* descriptor) in QuerySetBase() argument 104 : ApiObjectBase(device, descriptor->label), in QuerySetBase() 116 QuerySetBase::QuerySetBase(DeviceBase* device) argument 120 QuerySetBase(DeviceBase* device, ObjectBase::ErrorTag tag) QuerySetBase() argument 134 MakeError(DeviceBase* device) MakeError() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | BufferGL.cpp | 25 ResultOrError<Ref<Buffer>> Buffer::CreateInternalBuffer(Device* device, in CreateInternalBuffer() argument 28 Ref<Buffer> buffer = AcquireRef(new Buffer(device, descriptor, shouldLazyClear)); in CreateInternalBuffer() 36 Buffer::Buffer(Device* device, const BufferDescriptor* descriptor) in Buffer() argument 37 : BufferBase(device, descriptor) { in Buffer() 41 device->gl.GenBuffers(1, &mBuffer); in Buffer() 42 device->gl.BindBuffer(GL_ARRAY_BUFFER, mBuffer); in Buffer() 46 if (device->IsToggleEnabled(Toggle::NonzeroClearResourcesOnCreationForTesting) && in Buffer() 49 device->gl.BufferData(GL_ARRAY_BUFFER, mAllocatedSize, clearValues.data(), in Buffer() 53 device->gl.BufferData(GL_ARRAY_BUFFER, mAllocatedSize, nullptr, GL_STATIC_DRAW); in Buffer() 57 Buffer::Buffer(Device* device, cons argument 111 Device* device = ToBackend(GetDevice()); InitializeToZero() local [all...] |
/third_party/libinput/udev/ |
H A D | libinput-device-group.c | 37 wacom_handle_paired(struct udev_device *device, in wacom_handle_paired() argument 94 wacom_handle_ekr(struct udev_device *device, in wacom_handle_ekr() argument 104 udev = udev_device_get_udev(device); in wacom_handle_ekr() 116 /* Find and use the closest Wacom device on the system, in wacom_handle_ekr() 134 dist = find_tree_distance(device, d); in wacom_handle_ekr() 156 struct udev_device *device = NULL; in main() local 173 device = udev_device_new_from_syspath(udev, syspath); in main() 174 if (!device) in main() 179 * bit and use the remainder as device group identifier */ in main() 180 while (device ! in main() [all...] |
/drivers/hdf_core/adapter/platform/pwm/ |
H A D | pwm_stm32f4xx.c | 212 static uint32_t GetPwmDeviceResource(PwmDevice *device, const char *deviceMatchAttr)
in GetPwmDeviceResource() argument 216 if (device == NULL || deviceMatchAttr == NULL) {
in GetPwmDeviceResource() 217 HDF_LOGE("%s: device or deviceMatchAttr is NULL", __func__);
in GetPwmDeviceResource() 220 resource = &device->resource;
in GetPwmDeviceResource() 231 static int32_t GetPwmDeviceResource(PwmDevice *device, const struct DeviceResourceNode *resourceNode)
in GetPwmDeviceResource() argument 236 if (device == NULL || resourceNode == NULL) {
in GetPwmDeviceResource() 237 HDF_LOGE("resource or device is NULL\r\n");
in GetPwmDeviceResource() 241 resource = &device->resource;
in GetPwmDeviceResource() 277 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device)
argument 282 if (device 322 PwmDriverBind(struct HdfDeviceObject *device) global() argument 341 PwmDriverInit(struct HdfDeviceObject *device) global() argument 375 PwmDriverRelease(struct HdfDeviceObject *device) global() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiDescriptorSetTests.cpp | 53 const VkDevice device = context.getDevice(); in createPipelineLayoutDestroyDescriptorSetLayout() local 67 return createPipelineLayout(vk, device, &pipelineLayoutCreateInfo); in createPipelineLayoutDestroyDescriptorSetLayout() 73 const VkDevice device = context.getDevice(); in descriptorSetLayoutLifetimeGraphicsTest() local 79 const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, device, context.getBinaryCollection().get("vertex"), 0)); in descriptorSetLayoutLifetimeGraphicsTest() 156 Unique<VkRenderPass> renderPass (createRenderPass(vk, device, &renderPassCreateInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 181 Unique<VkPipeline> graphicsPipeline (createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineCreateInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 197 Move <VkFramebuffer> framebuffer = createFramebuffer(vk, device, &framebufferCreateInfo); in descriptorSetLayoutLifetimeGraphicsTest() 207 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, &cmdPoolInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 218 const Unique<VkCommandBuffer> cmdBuf(allocateCommandBuffer(vk, device, &cmdBufParams)); in descriptorSetLayoutLifetimeGraphicsTest() 240 submitCommandsAndWait(vk, device, queu in descriptorSetLayoutLifetimeGraphicsTest() 249 const VkDevice device = context.getDevice(); descriptorSetLayoutLifetimeComputeTest() local 331 const VkDevice device = context.getDevice(); emptyDescriptorSetLayoutTest() local 363 const VkDevice device = context.getDevice(); descriptorSetLayoutBindingOrderingTest() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiDescriptorSetTests.cpp | 53 const VkDevice device = context.getDevice(); in createPipelineLayoutDestroyDescriptorSetLayout() local 67 return createPipelineLayout(vk, device, &pipelineLayoutCreateInfo); in createPipelineLayoutDestroyDescriptorSetLayout() 73 const VkDevice device = context.getDevice(); in descriptorSetLayoutLifetimeGraphicsTest() local 79 const Unique<VkShaderModule> vertexShaderModule (createShaderModule(vk, device, context.getBinaryCollection().get("vertex"), 0)); in descriptorSetLayoutLifetimeGraphicsTest() 156 Unique<VkRenderPass> renderPass (createRenderPass(vk, device, &renderPassCreateInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 181 Unique<VkPipeline> graphicsPipeline (createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineCreateInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 197 Move <VkFramebuffer> framebuffer = createFramebuffer(vk, device, &framebufferCreateInfo); in descriptorSetLayoutLifetimeGraphicsTest() 207 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, &cmdPoolInfo)); in descriptorSetLayoutLifetimeGraphicsTest() 218 const Unique<VkCommandBuffer> cmdBuf(allocateCommandBuffer(vk, device, &cmdBufParams)); in descriptorSetLayoutLifetimeGraphicsTest() 240 submitCommandsAndWait(vk, device, queu in descriptorSetLayoutLifetimeGraphicsTest() 249 const VkDevice device = context.getDevice(); descriptorSetLayoutLifetimeComputeTest() local 331 const VkDevice device = context.getDevice(); emptyDescriptorSetLayoutTest() local 363 const VkDevice device = context.getDevice(); descriptorSetLayoutBindingOrderingTest() local [all...] |
/drivers/hdf_core/adapter/platform/gpio/ |
H A D | gpio_stm32f4xx.c | 115 static int32_t GpioDriverInit(struct HdfDeviceObject *device); 116 static void GpioDriverRelease(struct HdfDeviceObject *device); 187 static int32_t InitGpioDevice(const GpioDevice* device) in InitGpioDevice() argument 190 if (device == NULL) { in InitGpioDevice() 191 HDF_LOGE("%s: device is NULL", __func__); in InitGpioDevice() 194 uint32_t halGpio = g_stmRealPinMaps[device->resource.realPin]; in InitGpioDevice() 201 InitGpioClock(device->resource.group); in InitGpioDevice() 203 GPIO_TypeDef* goiox = g_gpioxMaps[device->resource.group]; in InitGpioDevice() 204 if (device->resource.mode & LL_GPIO_MODE_OUTPUT) { in InitGpioDevice() 209 gpioInitStruct.Mode = device in InitGpioDevice() 220 GpioParseHcs(const struct DeviceResourceIface *dri, GpioDevice *device, const struct DeviceResourceNode *resourceNode) GpioParseHcs() argument 284 GetGpioDeviceResource(GpioDevice *device) GetGpioDeviceResource() argument 327 GetGpioDeviceResource(GpioDevice *device, const struct DeviceResourceNode *resourceNode) GetGpioDeviceResource() argument 350 AttachGpioDevice(struct GpioCntlr *gpioCntlr, const struct HdfDeviceObject *device) global() argument 385 GpioDriverInit(struct HdfDeviceObject *device) global() argument 423 GpioDriverBind(struct HdfDeviceObject *device) global() argument 433 GpioDriverRelease(struct HdfDeviceObject *device) global() argument [all...] |
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
H A D | sample_hdi_service_stub.cpp | 29 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubPing() 35 int32_t ret = SampleHdiImplInstance()->ping(client->device, info, &outInfo); in SampleServiceStubPing() 47 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubSum() 60 int32_t ret = SampleHdiImplInstance()->sum(client->device, parm0, parm1, &result); in SampleServiceStubSum() 75 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubCallback() 88 return SampleHdiImplInstance()->callback(client->device, callback, code); in SampleServiceStubCallback() 95 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubStructTrans() 119 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubBufferTrans() 142 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceRegisterDevice() 151 return SampleHdiImplInstance()->registerDevice(client->device, deviceNam in SampleServiceRegisterDevice() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 74 const VkDevice device = m_context.getDevice(); in iterate() local 82 device, in iterate() 87 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate() 89 const Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, device)); in iterate() 91 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange)); in iterate() 92 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u)); in iterate() 93 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in iterate() 94 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); in iterate() 104 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vertex"), DE_NULL) in iterate() 105 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BI in iterate() 191 createPipelineLayout(const DeviceInterface& vk, const VkDevice device) createPipelineLayout() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 74 const VkDevice device = m_context.getDevice(); in iterate() local 82 device, in iterate() 87 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate() 89 const Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, device)); in iterate() 91 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange)); in iterate() 92 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u)); in iterate() 93 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in iterate() 94 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); in iterate() 104 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vertex"), DE_NULL) in iterate() 105 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BI in iterate() 191 createPipelineLayout(const DeviceInterface& vk, const VkDevice device) createPipelineLayout() argument [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline.c | 52 anv_shader_stage_to_nir(struct anv_device *device, in anv_shader_stage_to_nir() argument 56 const struct anv_physical_device *pdevice = device->physical; in anv_shader_stage_to_nir() 84 .image_read_without_format = instance->vk.app_info.api_version >= VK_API_VERSION_1_3 || device->vk.enabled_extensions.KHR_format_feature_flags2, in anv_shader_stage_to_nir() 122 anv_nir_ubo_addr_format(pdevice, device->robust_buffer_access), in anv_shader_stage_to_nir() 124 anv_nir_ssbo_addr_format(pdevice, device->robust_buffer_access), in anv_shader_stage_to_nir() 137 vk_pipeline_shader_stage_to_nir(&device->vk, stage_info, in anv_shader_stage_to_nir() 175 struct anv_device *device, in anv_pipeline_init() 184 vk_object_base_init(&device->vk, &pipeline->base, in anv_pipeline_init() 186 pipeline->device = device; in anv_pipeline_init() 174 anv_pipeline_init(struct anv_pipeline *pipeline, struct anv_device *device, enum anv_pipeline_type type, VkPipelineCreateFlags flags, const VkAllocationCallbacks *pAllocator) anv_pipeline_init() argument 211 anv_pipeline_finish(struct anv_pipeline *pipeline, struct anv_device *device, const VkAllocationCallbacks *pAllocator) anv_pipeline_finish() argument 304 populate_base_prog_key(const struct anv_device *device, bool robust_buffer_acccess, struct brw_base_prog_key *key) populate_base_prog_key() argument 316 populate_vs_prog_key(const struct anv_device *device, bool robust_buffer_acccess, struct brw_vs_prog_key *key) populate_vs_prog_key() argument 330 populate_tcs_prog_key(const struct anv_device *device, bool robust_buffer_acccess, unsigned input_vertices, struct brw_tcs_prog_key *key) populate_tcs_prog_key() argument 343 populate_tes_prog_key(const struct anv_device *device, bool robust_buffer_acccess, struct brw_tes_prog_key *key) populate_tes_prog_key() argument 353 populate_gs_prog_key(const struct anv_device *device, bool robust_buffer_acccess, struct brw_gs_prog_key *key) populate_gs_prog_key() argument 415 populate_task_prog_key(const struct anv_device *device, bool robust_buffer_access, struct brw_task_prog_key *key) populate_task_prog_key() argument 425 populate_mesh_prog_key(const struct anv_device *device, bool robust_buffer_access, struct brw_mesh_prog_key *key) populate_mesh_prog_key() argument 443 const struct anv_device *device = pipeline->base.device; populate_wm_prog_key() local 495 populate_cs_prog_key(const struct anv_device *device, bool robust_buffer_acccess, struct brw_cs_prog_key *key) populate_cs_prog_key() argument 505 populate_bs_prog_key(const struct anv_device *device, bool robust_buffer_access, struct brw_bs_prog_key *key) populate_bs_prog_key() argument 588 const struct anv_device *device = pipeline->base.device; anv_pipeline_hash_compute() local 904 anv_pipeline_compile_tcs(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *tcs_stage, struct anv_pipeline_stage *prev_stage) anv_pipeline_compile_tcs() argument 938 anv_pipeline_compile_tes(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *tes_stage, struct anv_pipeline_stage *tcs_stage) anv_pipeline_compile_tes() argument 973 anv_pipeline_compile_gs(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *gs_stage, struct anv_pipeline_stage *prev_stage) anv_pipeline_compile_gs() argument 1008 anv_pipeline_compile_task(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *task_stage) anv_pipeline_compile_task() argument 1037 anv_pipeline_compile_mesh(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *mesh_stage, struct anv_pipeline_stage *prev_stage) anv_pipeline_compile_mesh() argument 1124 anv_pipeline_compile_fs(const struct brw_compiler *compiler, void *mem_ctx, struct anv_device *device, struct anv_pipeline_stage *fs_stage, struct anv_pipeline_stage *prev_stage) anv_pipeline_compile_fs() argument 1327 const struct anv_device *device = pipeline->base.device; anv_graphics_pipeline_init_keys() local 1792 struct anv_device *device = pipeline->base.device; anv_pipeline_compile_cs() local 1949 anv_compute_pipeline_create(struct anv_device *device, struct vk_pipeline_cache *cache, const VkComputePipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipeline) anv_compute_pipeline_create() argument 2050 anv_graphics_pipeline_init(struct anv_graphics_pipeline *pipeline, struct anv_device *device, struct vk_pipeline_cache *cache, const struct VkGraphicsPipelineCreateInfo *pCreateInfo, const struct vk_graphics_pipeline_state *state, const VkAllocationCallbacks *alloc) anv_graphics_pipeline_init() argument 2153 anv_graphics_pipeline_create(struct anv_device *device, struct vk_pipeline_cache *cache, const VkGraphicsPipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipeline) anv_graphics_pipeline_create() argument 2686 anv_device_init_rt_shaders(struct anv_device *device) anv_device_init_rt_shaders() argument 2807 anv_device_finish_rt_shaders(struct anv_device *device) anv_device_finish_rt_shaders() argument 2814 anv_ray_tracing_pipeline_init(struct anv_ray_tracing_pipeline *pipeline, struct anv_device *device, struct vk_pipeline_cache *cache, const VkRayTracingPipelineCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *alloc) anv_ray_tracing_pipeline_init() argument 2992 anv_GetPipelineExecutablePropertiesKHR( VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties) anv_GetPipelineExecutablePropertiesKHR() argument 3040 anv_GetPipelineExecutableStatisticsKHR( VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics) anv_GetPipelineExecutableStatisticsKHR() argument 3181 anv_GetPipelineExecutableInternalRepresentationsKHR( VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations) anv_GetPipelineExecutableInternalRepresentationsKHR() argument 3262 anv_GetRayTracingShaderGroupStackSizeKHR( VkDevice device, VkPipeline _pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader) anv_GetRayTracingShaderGroupStackSizeKHR() argument [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_android.c | 102 tu_gralloc_info_other(struct tu_device *device, in tu_gralloc_info_other() argument 127 return vk_errorf(device, VK_ERROR_INVALID_EXTERNAL_HANDLE, in tu_gralloc_info_other() 135 return vk_errorf(device, VK_ERROR_INVALID_EXTERNAL_HANDLE, in tu_gralloc_info_other() 149 return vk_errorf(device, VK_ERROR_INVALID_EXTERNAL_HANDLE, in tu_gralloc_info_other() 175 tu_gralloc_info_cros(struct tu_device *device, in tu_gralloc_info_cros() argument 181 const gralloc_module_t *gralloc = device->gralloc; in tu_gralloc_info_cros() 197 tu_gralloc_info(struct tu_device *device, in tu_gralloc_info() argument 203 if (!device->gralloc) { in tu_gralloc_info() 206 (const hw_module_t **)&device->gralloc); in tu_gralloc_info() 213 return vk_startup_errorf(device in tu_gralloc_info() 353 setup_gralloc0_usage(struct tu_device *device, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) setup_gralloc0_usage() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_query.c | 65 build_occlusion_query_shader(struct radv_device *device) in build_occlusion_query_shader() argument 106 nir_builder b = radv_meta_init_shader(device, MESA_SHADER_COMPUTE, "occlusion_query"); in build_occlusion_query_shader() 115 unsigned enabled_rb_mask = device->physical_device->rad_info.enabled_rb_mask; in build_occlusion_query_shader() 116 unsigned db_count = device->physical_device->rad_info.max_render_backends; in build_occlusion_query_shader() 197 build_pipeline_statistics_query_shader(struct radv_device *device) in build_pipeline_statistics_query_shader() argument 241 nir_builder b = radv_meta_init_shader(device, MESA_SHADER_COMPUTE, "pipeline_statistics_query"); in build_pipeline_statistics_query_shader() 369 build_tfb_query_shader(struct radv_device *device) in build_tfb_query_shader() argument 406 nir_builder b = radv_meta_init_shader(device, MESA_SHADER_COMPUTE, "tfb_query"); in build_tfb_query_shader() 495 build_timestamp_query_shader(struct radv_device *device) in build_timestamp_query_shader() argument 527 nir_builder b = radv_meta_init_shader(device, MESA_SHADER_COMPUT in build_timestamp_query_shader() 600 build_pg_query_shader(struct radv_device *device) build_pg_query_shader() argument 748 radv_device_init_meta_query_state_internal(struct radv_device *device) radv_device_init_meta_query_state_internal() argument 920 radv_device_init_meta_query_state(struct radv_device *device, bool on_demand) radv_device_init_meta_query_state() argument 929 radv_device_finish_meta_query_state(struct radv_device *device) radv_device_finish_meta_query_state() argument 971 struct radv_device *device = cmd_buffer->device; radv_query_shader() local 1058 radv_destroy_query_pool(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_query_pool *pool) radv_destroy_query_pool() argument [all...] |
H A D | radv_meta_clear.c | 77 create_pipeline(struct radv_device *device, uint32_t samples, in create_pipeline() argument 87 VkDevice device_h = radv_device_to_handle(device); in create_pipeline() 91 device_h, radv_pipeline_cache_to_handle(&device->meta_state.cache), in create_pipeline() 173 create_color_pipeline(struct radv_device *device, uint32_t samples, uint32_t frag_output, in create_color_pipeline() argument 180 mtx_lock(&device->meta_state.mtx); in create_color_pipeline() 182 mtx_unlock(&device->meta_state.mtx); in create_color_pipeline() 186 build_color_shaders(device, &vs_nir, &fs_nir, frag_output); in create_color_pipeline() 231 create_pipeline(device, samples, vs_nir, fs_nir, &vi_state, &ds_state, &cb_state, in create_color_pipeline() 232 &rendering_create_info, device->meta_state.clear_color_p_layout, in create_color_pipeline() 233 &extra, &device in create_color_pipeline() 240 finish_meta_clear_htile_mask_state(struct radv_device *device) finish_meta_clear_htile_mask_state() argument 253 finish_meta_clear_dcc_comp_to_single_state(struct radv_device *device) finish_meta_clear_dcc_comp_to_single_state() argument 268 radv_device_finish_meta_clear_state(struct radv_device *device) radv_device_finish_meta_clear_state() argument 315 struct radv_device *device = cmd_buffer->device; emit_color_clear() local 438 create_depthstencil_pipeline(struct radv_device *device, VkImageAspectFlags aspects, uint32_t samples, int index, bool unrestricted, VkPipeline *pipeline) create_depthstencil_pipeline() argument 588 struct radv_device *device = cmd_buffer->device; emit_depthstencil_clear() local 681 struct radv_device *device = cmd_buffer->device; clear_htile_mask() local 728 radv_get_htile_fast_clear_value(const struct radv_device *device, const struct radv_image *image, VkClearDepthStencilValue value) radv_get_htile_fast_clear_value() argument 780 radv_get_htile_mask(const struct radv_device *device, const struct radv_image *image, VkImageAspectFlags aspects) radv_get_htile_mask() argument 934 init_meta_clear_htile_mask_state(struct radv_device *device) init_meta_clear_htile_mask_state() argument 1049 create_dcc_comp_to_single_pipeline(struct radv_device *device, bool is_msaa, VkPipeline *pipeline) create_dcc_comp_to_single_pipeline() argument 1079 init_meta_clear_dcc_comp_to_single_state(struct radv_device *device) init_meta_clear_dcc_comp_to_single_state() argument 1131 radv_device_init_meta_clear_state(struct radv_device *device, bool on_demand) radv_device_init_meta_clear_state() argument 1355 struct radv_device *device = cmd_buffer->device; radv_clear_dcc_comp_to_single() local 1535 radv_dcc_single_clear_value(const struct radv_device *device) radv_dcc_single_clear_value() argument 1542 gfx8_get_fast_clear_parameters(struct radv_device *device, const struct radv_image_view *iview, const VkClearColorValue *clear_value, uint32_t *reset_value, bool *can_avoid_fast_clear_elim) gfx8_get_fast_clear_parameters() argument 1640 gfx11_get_fast_clear_parameters(struct radv_device *device, const struct radv_image_view *iview, const VkClearColorValue *clear_value, uint32_t *reset_value) gfx11_get_fast_clear_parameters() argument [all...] |
/drivers/hdf_core/framework/model/audio/usb/src/ |
H A D | audio_usb_codec_adapter.c | 33 static int32_t AudioUsbCodecDriverBind(struct HdfDeviceObject *device) in AudioUsbCodecDriverBind() argument 38 if (device == NULL) { in AudioUsbCodecDriverBind() 39 ADM_LOG_ERR("device is NULL."); in AudioUsbCodecDriverBind() 49 audioUsbHost->device = device; in AudioUsbCodecDriverBind() 50 device->service = &audioUsbHost->service; in AudioUsbCodecDriverBind() 56 static int32_t AudioUsbCodecDriverInit(struct HdfDeviceObject *device) in AudioUsbCodecDriverInit() argument 61 if (device == NULL) { in AudioUsbCodecDriverInit() 62 ADM_LOG_ERR("device is NULL."); in AudioUsbCodecDriverInit() 70 ret = AudioRegisterCodec(device, in AudioUsbCodecDriverInit() 80 AudioUsbCodecDriverRelease(struct HdfDeviceObject *device) AudioUsbCodecDriverRelease() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingCaptureReplayTests.cpp | 138 const VkDevice device, 144 const VkDevice device, 215 const VkDevice device, in makeQueryPool() 228 return createQueryPool(vk, device, &queryPoolCreateInfo); in makeQueryPool() 232 const VkDevice device, in getAccelerationStructureDeviceAddress() 241 return vk.getAccelerationStructureDeviceAddressKHR(device, &addressInfo); in getAccelerationStructureDeviceAddress() 255 const VkDevice device, 261 const VkDevice device, 347 const VkDevice device, in initRayTracingShaders() 353 rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, contex in initRayTracingShaders() 214 makeQueryPool(const DeviceInterface& vk, const VkDevice device, const VkQueryType queryType, deUint32 queryCount) makeQueryPool() argument 231 getAccelerationStructureDeviceAddress(const DeviceInterface& vk, const VkDevice device, VkAccelerationStructureKHR accelerationStructure) getAccelerationStructureDeviceAddress() argument 344 initRayTracingShaders(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, bool replay) initRayTracingShaders() argument 363 initShaderBindingTables(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, PipelineData& pipelineData, bool replay) initShaderBindingTables() argument 667 initRayTracingShaders(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, bool replay) initRayTracingShaders() argument 684 initShaderBindingTables(de::MovePtr<RayTracingPipeline>& rayTracingPipeline, Context& context, const DeviceInterface& vkd, const VkDevice device, TestParams& testParams, deUint32 shaderGroupHandleSize, deUint32 shaderGroupBaseAlignment, PipelineData& pipelineData, bool replay) initShaderBindingTables() argument 1004 VkDevice device = *testDevice; runTest() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib.py | 85 This monitor connects to the Device Connector, gets device and 123 LOG.error("HdcMonitor can't find connector, init device " 203 "HdcMonitor Connected to hdc for device " 224 device = get_plugin(plugin_type=Plugin.DEVICE, plugin_id=os_type)[0] 225 device_instance = device.__class__() 231 LOG.debug("Dmlib get device instance {} {} {}, status: {}".format( 234 LOG.debug("Dmlib ignore device instance {} {} {}, status: {}".format( 362 LOG.debug("please check device actually.[%s]" % data_str.strip()) 392 def __init__(self, device, host=None, port=None): 393 self.device [all...] |
H A D | device_lite.py | 114 Class representing a device lite device. 116 Each object of this class represents one device lite device in xDevice. 119 device_connect_type: A string that's the type of lite device 129 self.device = None 151 def __set_serial__(self, device=None): 152 for item in device: 185 def _check_watchgt(device): 186 for item in device [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSampleDrawnCubeFaceTests.cpp | 99 Move<VkBuffer> makeVertexBuffer (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) in makeVertexBuffer() argument 113 Move<VkBuffer> vertexBuffer = createBuffer(vk, device, &vertexBufferParams);; in makeVertexBuffer() 143 Move<VkSampler> makeSampler (const DeviceInterface& vk, const VkDevice& device) in makeSampler() argument 167 return createSampler(vk, device, &samplerParams); in makeSampler() 245 const VkDevice device = m_context.getDevice(); in iterate() local 262 Move<VkBuffer> vertexBuffer = makeVertexBuffer(vk, device, queueFamilyIndex); in iterate() 263 MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible); in iterate() 267 flushAlloc(vk, device, *vertexBufferAlloc); in iterate() 272 const ImageWithMemory cubemapImage (vk, device, m_context.getDefaultAllocator(), cubemapCreateInfo, MemoryRequirement::Any); in iterate() 273 Move<VkImageView> cubemapImageView = makeImageView(vk, device, *cubemapImag in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageSampleDrawnCubeFaceTests.cpp | 99 Move<VkBuffer> makeVertexBuffer (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) in makeVertexBuffer() argument 113 Move<VkBuffer> vertexBuffer = createBuffer(vk, device, &vertexBufferParams);; in makeVertexBuffer() 143 Move<VkSampler> makeSampler (const DeviceInterface& vk, const VkDevice& device) in makeSampler() argument 167 return createSampler(vk, device, &samplerParams); in makeSampler() 245 const VkDevice device = m_context.getDevice(); in iterate() local 262 Move<VkBuffer> vertexBuffer = makeVertexBuffer(vk, device, queueFamilyIndex); in iterate() 263 MovePtr<Allocation> vertexBufferAlloc = bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible); in iterate() 267 flushAlloc(vk, device, *vertexBufferAlloc); in iterate() 272 const ImageWithMemory cubemapImage (vk, device, m_context.getDefaultAllocator(), cubemapCreateInfo, MemoryRequirement::Any); in iterate() 273 Move<VkImageView> cubemapImageView = makeImageView(vk, device, *cubemapImag in iterate() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_pipeline.c | 24 vn_CreateShaderModule(VkDevice device, in vn_CreateShaderModule() argument 29 struct vn_device *dev = vn_device_from_handle(device); in vn_CreateShaderModule() 42 vn_async_vkCreateShaderModule(dev->instance, device, pCreateInfo, NULL, in vn_CreateShaderModule() 51 vn_DestroyShaderModule(VkDevice device, in vn_DestroyShaderModule() argument 55 struct vn_device *dev = vn_device_from_handle(device); in vn_DestroyShaderModule() 63 vn_async_vkDestroyShaderModule(dev->instance, device, shaderModule, NULL); in vn_DestroyShaderModule() 72 vn_CreatePipelineLayout(VkDevice device, in vn_CreatePipelineLayout() argument 77 struct vn_device *dev = vn_device_from_handle(device); in vn_CreatePipelineLayout() 91 vn_async_vkCreatePipelineLayout(dev->instance, device, pCreateInfo, NULL, in vn_CreatePipelineLayout() 100 vn_DestroyPipelineLayout(VkDevice device, in vn_DestroyPipelineLayout() argument 123 vn_CreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineCache *pPipelineCache) vn_CreatePipelineCache() argument 163 vn_DestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks *pAllocator) vn_DestroyPipelineCache() argument 185 vn_GetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t *pDataSize, void *pData) vn_GetPipelineCacheData() argument 232 vn_MergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache *pSrcCaches) vn_MergePipelineCaches() argument 366 vn_CreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines) vn_CreateGraphicsPipelines() argument 417 vn_CreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines) vn_CreateComputePipelines() argument 455 vn_DestroyPipeline(VkDevice device, VkPipeline _pipeline, const VkAllocationCallbacks *pAllocator) vn_DestroyPipeline() argument [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-touchpad-pressure.py | 110 def __init__(self, device, tracking_id): 111 self.device = device 131 if touch.pressure < self.device.up: 133 elif touch.pressure > self.device.down: 137 self.is_palm = touch.pressure > self.device.palm 141 self.is_thumb = touch.pressure > self.device.thumb 247 for device in context.list_devices(subsystem="input"): 248 if not device.get("ID_INPUT_TOUCHPAD", 0): 251 if not device [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | kmdevices.cpp | 9 oyConfig_s * device = 0; in get_device() local 19 options, &device ); in get_device() 23 return device; in get_device() 29 oyConfig_s * device = 0; in kmIsPrinterCmOff() local 36 device = get_device(printer_name); in kmIsPrinterCmOff() 41 str = oyConfig_FindString(device, "CM_State", 0); in kmIsPrinterCmOff() 52 oyConfig_s * device = 0; in kmGetPrinterProfile() local 59 device = get_device(printer_name); in kmGetPrinterProfile() 61 if (device != NULL) in kmGetPrinterProfile() 62 profile_filepath = oyGetDeviceProfile( device, option in kmGetPrinterProfile() [all...] |