/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/cipher/ |
H A D | g84.c | 37 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in g84_cipher_oclass_bind() 59 return nvkm_gpuobj_new(object->engine->subdev.device, 256, in g84_cipher_cclass_bind() 83 struct nvkm_device *device = subdev->device; in g84_cipher_intr() local 85 u32 stat = nvkm_rd32(device, 0x102130); in g84_cipher_intr() 86 u32 mthd = nvkm_rd32(device, 0x102190); in g84_cipher_intr() 87 u32 data = nvkm_rd32(device, 0x102194); in g84_cipher_intr() 88 u32 inst = nvkm_rd32(device, 0x102188) & 0x7fffffff; in g84_cipher_intr() 103 nvkm_wr32(device, 0x102130, stat); in g84_cipher_intr() 104 nvkm_wr32(device, in g84_cipher_intr() 110 struct nvkm_device *device = cipher->subdev.device; g84_cipher_init() local 129 g84_cipher_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_engine **pengine) g84_cipher_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv17.c | 40 struct nvkm_memory *ramfc = chan->cgrp->runl->fifo->engine.subdev.device->imem->ramfc; in nv17_chan_ramfc_write() 95 struct nvkm_device *device = fifo->engine.subdev.device; in nv17_fifo_init() local 96 struct nvkm_instmem *imem = device->imem; in nv17_fifo_init() 101 nvkm_wr32(device, NV04_PFIFO_DELAY_0, 0x000000ff); in nv17_fifo_init() 102 nvkm_wr32(device, NV04_PFIFO_DMA_TIMESLICE, 0x0101ffff); in nv17_fifo_init() 104 nvkm_wr32(device, NV03_PFIFO_RAMHT, (0x03 << 24) /* search 128 */ | in nv17_fifo_init() 107 nvkm_wr32(device, NV03_PFIFO_RAMRO, nvkm_memory_addr(ramro) >> 8); in nv17_fifo_init() 108 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8 | in nv17_fifo_init() 111 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH in nv17_fifo_init() 138 nv17_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fifo **pfifo) nv17_fifo_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | nv04.c | 36 nvkm_mask(mc->subdev.device, 0x000200, mask, 0x00000000); in nv04_mc_device_disable() 42 struct nvkm_device *device = mc->subdev.device; in nv04_mc_device_enable() local 44 nvkm_mask(device, 0x000200, mask, mask); in nv04_mc_device_enable() 45 nvkm_rd32(device, 0x000200); in nv04_mc_device_enable() 51 return (nvkm_rd32(mc->subdev.device, 0x000200) & mask) == mask; in nv04_mc_device_enabled() 78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001); in nv04_mc_intr_rearm() 88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000); in nv04_mc_intr_unarm() 90 nvkm_rd32(mc->subdev.device, 0x000140); in nv04_mc_intr_unarm() 101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, in nv04_mc_intr_pending() 119 struct nvkm_device *device = mc->subdev.device; nv04_mc_init() local 134 nv04_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) nv04_mc_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk104.c | 42 struct nvkm_device *device = base->subdev.device; in gk104_volt_get() local 45 div = nvkm_rd32(device, 0x20340); in gk104_volt_get() 46 duty = nvkm_rd32(device, 0x20344); in gk104_volt_get() 55 struct nvkm_device *device = base->subdev.device; in gk104_volt_set() local 62 nvkm_wr32(device, 0x20340, div); in gk104_volt_set() 63 nvkm_wr32(device, 0x20344, 0x80000000 | duty); in gk104_volt_set() 71 struct nvkm_device *device = volt->subdev.device; in gk104_volt_speedo_read() local 98 gk104_volt_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_volt **pvolt) gk104_volt_new() argument [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_gem_stubs.c | 31 anv_gem_create(struct anv_device *device, uint64_t size) in anv_gem_create() argument 43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close() argument 49 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, in anv_gem_create_regions() argument 57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap() argument 71 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) in anv_gem_munmap() argument 77 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) in anv_gem_userptr() argument 89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) in anv_gem_busy() argument 95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument 101 anv_gem_execbuffer(struct anv_device *device, in anv_gem_execbuffer() argument 108 anv_gem_set_tiling(struct anv_device *device, in anv_gem_set_tiling() argument 115 anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle) anv_gem_get_tiling() argument 121 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, uint32_t caching) anv_gem_set_caching() argument 128 anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, uint32_t read_domains, uint32_t write_domain) anv_gem_set_domain() argument 141 anv_gem_create_context(struct anv_device *device) anv_gem_create_context() argument 147 anv_gem_destroy_context(struct anv_device *device, int context) anv_gem_destroy_context() argument 172 anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle) anv_gem_handle_to_fd() argument 178 anv_gem_fd_to_handle(struct anv_device *device, int fd) anv_gem_fd_to_handle() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | SamplerValidationTests.cpp | 27 { device.CreateSampler(); } in TEST_F() 31 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F() 36 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F() 41 device.CreateSampler(&samplerDesc); in TEST_F() 47 device.CreateSampler(&samplerDesc); in TEST_F() 59 device.CreateSampler(&kValidAnisoSamplerDesc); in TEST_F() 64 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F() 71 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F() 76 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F() 81 ASSERT_DEVICE_ERROR(device in TEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_pad.c | 264 static ssize_t rrtime_store(struct device *dev, in rrtime_store() 278 static ssize_t rrtime_show(struct device *dev, in rrtime_show() 285 static ssize_t idlepct_store(struct device *dev, in idlepct_store() 299 static ssize_t idlepct_show(struct device *dev, in idlepct_show() 306 static ssize_t idlecpus_store(struct device *dev, in idlecpus_store() 318 static ssize_t idlecpus_show(struct device *dev, in idlecpus_show() 327 static int acpi_pad_add_sysfs(struct acpi_device *device) in acpi_pad_add_sysfs() argument 331 result = device_create_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs() 334 result = device_create_file(&device->dev, &dev_attr_idlepct); in acpi_pad_add_sysfs() 336 device_remove_file(&device in acpi_pad_add_sysfs() 348 acpi_pad_remove_sysfs(struct acpi_device *device) acpi_pad_remove_sysfs() argument 407 struct acpi_device *device = data; acpi_pad_notify() local 421 acpi_pad_add(struct acpi_device *device) acpi_pad_add() argument 441 acpi_pad_remove(struct acpi_device *device) acpi_pad_remove() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gk20a.c | 194 struct nvkm_device *device = subdev->device; in gk20a_gr_wait_mem_scrubbing() local 196 if (nvkm_msec(device, 2000, in gk20a_gr_wait_mem_scrubbing() 197 if (!(nvkm_rd32(device, 0x40910c) & 0x00000006)) in gk20a_gr_wait_mem_scrubbing() 204 if (nvkm_msec(device, 2000, in gk20a_gr_wait_mem_scrubbing() 205 if (!(nvkm_rd32(device, 0x41a10c) & 0x00000006)) in gk20a_gr_wait_mem_scrubbing() 218 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_set_hww_esr_report_mask() local 219 nvkm_wr32(device, 0x419e44, 0x1ffffe); in gk20a_gr_set_hww_esr_report_mask() 220 nvkm_wr32(device, in gk20a_gr_set_hww_esr_report_mask() 226 struct nvkm_device *device = gr->base.engine.subdev.device; gk20a_gr_init() local 360 gk20a_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) gk20a_gr_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_proc.c | 38 struct dasd_device *device; in dasd_devices_show() local 42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show() 43 if (IS_ERR(device)) in dasd_devices_show() 45 if (device->block) in dasd_devices_show() 46 block = device->block; in dasd_devices_show() 48 dasd_put_device(device); in dasd_devices_show() 51 /* Print device number. */ in dasd_devices_show() 52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show() 54 if (device->discipline != NULL) in dasd_devices_show() 55 seq_printf(m, "(%s)", device in dasd_devices_show() 138 struct dasd_device *device; dasd_stats_all_block_on() local 157 struct dasd_device *device; dasd_stats_all_block_off() local 172 struct dasd_device *device; dasd_stats_all_block_reset() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_proc.c | 38 struct dasd_device *device; in dasd_devices_show() local 42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show() 43 if (IS_ERR(device)) in dasd_devices_show() 45 if (device->block) in dasd_devices_show() 46 block = device->block; in dasd_devices_show() 48 dasd_put_device(device); in dasd_devices_show() 51 /* Print device number. */ in dasd_devices_show() 52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show() 54 if (device->discipline != NULL) in dasd_devices_show() 55 seq_printf(m, "(%s)", device in dasd_devices_show() 138 struct dasd_device *device; dasd_stats_all_block_on() local 157 struct dasd_device *device; dasd_stats_all_block_off() local 172 struct dasd_device *device; dasd_stats_all_block_reset() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gm200.c | 94 return nvkm_rd32(gr->base.engine.subdev.device, 0x12006c); in gm200_gr_rops() 100 struct nvkm_device *device = gr->base.engine.subdev.device; in gm200_gr_init_ds_hww_esr_2() local 101 nvkm_wr32(device, 0x405848, 0xc0000000); in gm200_gr_init_ds_hww_esr_2() 102 nvkm_mask(device, 0x40584c, 0x00000001, 0x00000001); in gm200_gr_init_ds_hww_esr_2() 108 struct nvkm_device *device = gr->base.engine.subdev.device; in gm200_gr_init_num_active_ltcs() local 109 nvkm_wr32(device, GPC_BCAST(0x08ac), nvkm_rd32(device, 0x100800)); in gm200_gr_init_num_active_ltcs() 110 nvkm_wr32(device, GPC_BCAS in gm200_gr_init_num_active_ltcs() 116 struct nvkm_device *device = gr->base.engine.subdev.device; gm200_gr_init_gpc_mmu() local 130 struct nvkm_device *device = gr->base.engine.subdev.device; gm200_gr_init_rop_active_fbps() local 293 gm200_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) gm200_gr_new() argument [all...] |
H A D | gk20a.c | 159 struct nvkm_device *device = subdev->device; in gk20a_gr_wait_mem_scrubbing() local 161 if (nvkm_msec(device, 2000, in gk20a_gr_wait_mem_scrubbing() 162 if (!(nvkm_rd32(device, 0x40910c) & 0x00000006)) in gk20a_gr_wait_mem_scrubbing() 169 if (nvkm_msec(device, 2000, in gk20a_gr_wait_mem_scrubbing() 170 if (!(nvkm_rd32(device, 0x41a10c) & 0x00000006)) in gk20a_gr_wait_mem_scrubbing() 183 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_set_hww_esr_report_mask() local 184 nvkm_wr32(device, 0x419e44, 0x1ffffe); in gk20a_gr_set_hww_esr_report_mask() 185 nvkm_wr32(device, in gk20a_gr_set_hww_esr_report_mask() 191 struct nvkm_device *device = gr->base.engine.subdev.device; gk20a_gr_init() local 343 gk20a_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) gk20a_gr_new() argument [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_sampler_ycbcr_conversion.h | 81 static inline size_t vn_sizeof_vkCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) in vn_sizeof_vkCreateSamplerYcbcrConversion() argument 87 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreateSamplerYcbcrConversion() 101 static inline void vn_encode_vkCreateSamplerYcbcrConversion(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) in vn_encode_vkCreateSamplerYcbcrConversion() argument 108 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreateSamplerYcbcrConversion() 117 static inline size_t vn_sizeof_vkCreateSamplerYcbcrConversion_reply(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) in vn_sizeof_vkCreateSamplerYcbcrConversion_reply() argument 124 /* skip device */ in vn_sizeof_vkCreateSamplerYcbcrConversion_reply() 134 static inline VkResult vn_decode_vkCreateSamplerYcbcrConversion_reply(struct vn_cs_decoder *dec, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) in vn_decode_vkCreateSamplerYcbcrConversion_reply() argument 142 /* skip device */ in vn_decode_vkCreateSamplerYcbcrConversion_reply() 154 static inline size_t vn_sizeof_vkDestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroySamplerYcbcrConversion() argument 160 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroySamplerYcbcrConversion() 169 vn_encode_vkDestroySamplerYcbcrConversion(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroySamplerYcbcrConversion() argument 182 vn_sizeof_vkDestroySamplerYcbcrConversion_reply(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroySamplerYcbcrConversion_reply() argument 194 vn_decode_vkDestroySamplerYcbcrConversion_reply(struct vn_cs_decoder *dec, VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroySamplerYcbcrConversion_reply() argument 205 vn_submit_vkCreateSamplerYcbcrConversion(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion, struct vn_instance_submit_command *submit) vn_submit_vkCreateSamplerYcbcrConversion() argument 226 vn_submit_vkDestroySamplerYcbcrConversion(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroySamplerYcbcrConversion() argument 247 vn_call_vkCreateSamplerYcbcrConversion(struct vn_instance *vn_instance, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) vn_call_vkCreateSamplerYcbcrConversion() argument 263 vn_async_vkCreateSamplerYcbcrConversion(struct vn_instance *vn_instance, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) vn_async_vkCreateSamplerYcbcrConversion() argument 269 vn_call_vkDestroySamplerYcbcrConversion(struct vn_instance *vn_instance, VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroySamplerYcbcrConversion() argument 282 vn_async_vkDestroySamplerYcbcrConversion(struct vn_instance *vn_instance, VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroySamplerYcbcrConversion() argument [all...] |
H A D | vn_protocol_driver_shader_module.h | 81 static inline size_t vn_sizeof_vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) in vn_sizeof_vkCreateShaderModule() argument 87 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreateShaderModule() 101 static inline void vn_encode_vkCreateShaderModule(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) in vn_encode_vkCreateShaderModule() argument 108 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreateShaderModule() 117 static inline size_t vn_sizeof_vkCreateShaderModule_reply(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) in vn_sizeof_vkCreateShaderModule_reply() argument 124 /* skip device */ in vn_sizeof_vkCreateShaderModule_reply() 134 static inline VkResult vn_decode_vkCreateShaderModule_reply(struct vn_cs_decoder *dec, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) in vn_decode_vkCreateShaderModule_reply() argument 142 /* skip device */ in vn_decode_vkCreateShaderModule_reply() 154 static inline size_t vn_sizeof_vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyShaderModule() argument 160 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyShaderModule() 169 vn_encode_vkDestroyShaderModule(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyShaderModule() argument 182 vn_sizeof_vkDestroyShaderModule_reply(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyShaderModule_reply() argument 194 vn_decode_vkDestroyShaderModule_reply(struct vn_cs_decoder *dec, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyShaderModule_reply() argument 205 vn_submit_vkCreateShaderModule(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule, struct vn_instance_submit_command *submit) vn_submit_vkCreateShaderModule() argument 226 vn_submit_vkDestroyShaderModule(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyShaderModule() argument 247 vn_call_vkCreateShaderModule(struct vn_instance *vn_instance, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) vn_call_vkCreateShaderModule() argument 263 vn_async_vkCreateShaderModule(struct vn_instance *vn_instance, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) vn_async_vkCreateShaderModule() argument 269 vn_call_vkDestroyShaderModule(struct vn_instance *vn_instance, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyShaderModule() argument 282 vn_async_vkDestroyShaderModule(struct vn_instance *vn_instance, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyShaderModule() argument [all...] |
H A D | vn_protocol_driver_buffer_view.h | 75 static inline size_t vn_sizeof_vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) in vn_sizeof_vkCreateBufferView() argument 81 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreateBufferView() 95 static inline void vn_encode_vkCreateBufferView(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) in vn_encode_vkCreateBufferView() argument 102 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreateBufferView() 111 static inline size_t vn_sizeof_vkCreateBufferView_reply(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) in vn_sizeof_vkCreateBufferView_reply() argument 118 /* skip device */ in vn_sizeof_vkCreateBufferView_reply() 128 static inline VkResult vn_decode_vkCreateBufferView_reply(struct vn_cs_decoder *dec, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) in vn_decode_vkCreateBufferView_reply() argument 136 /* skip device */ in vn_decode_vkCreateBufferView_reply() 148 static inline size_t vn_sizeof_vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyBufferView() argument 154 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyBufferView() 163 vn_encode_vkDestroyBufferView(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyBufferView() argument 176 vn_sizeof_vkDestroyBufferView_reply(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyBufferView_reply() argument 188 vn_decode_vkDestroyBufferView_reply(struct vn_cs_decoder *dec, VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyBufferView_reply() argument 199 vn_submit_vkCreateBufferView(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView, struct vn_instance_submit_command *submit) vn_submit_vkCreateBufferView() argument 220 vn_submit_vkDestroyBufferView(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyBufferView() argument 241 vn_call_vkCreateBufferView(struct vn_instance *vn_instance, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) vn_call_vkCreateBufferView() argument 257 vn_async_vkCreateBufferView(struct vn_instance *vn_instance, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) vn_async_vkCreateBufferView() argument 263 vn_call_vkDestroyBufferView(struct vn_instance *vn_instance, VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyBufferView() argument 276 vn_async_vkDestroyBufferView(struct vn_instance *vn_instance, VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyBufferView() argument [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-fuzz.py | 94 for device in context.list_devices(subsystem="input"): 95 if not device.get("ID_INPUT_TOUCHPAD", 0): 98 if not device.device_node or not device.device_node.startswith( 103 return device.device_node 105 print("Unable to find a touch device.", file=sys.stderr) 150 Returns a tuple of (xfuzz, yfuzz) with the fuzz as set on the device 154 raise InvalidDeviceError("device does not have x/y axes") 159 raise InvalidDeviceError("device does not have both multitouch axes") 186 def handle_existing_entry(device, fuz [all...] |
/third_party/libinput/src/ |
H A D | udev-seat.c | 48 struct libinput_device *device; in filter_duplicates() local 55 list_for_each(device, &udev_seat->base.devices_list, link) { in filter_duplicates() 59 ud = libinput_device_get_udev_device(device); in filter_duplicates() 80 struct evdev_device *device; in device_added() local 106 /* There is a race at startup: a device added between setting in device_added() 121 device = evdev_device_create(&seat->base, udev_device); in device_added() 124 if (device == EVDEV_UNHANDLED_DEVICE) { in device_added() 126 "%-7s - not using input device '%s'\n", in device_added() 132 if (device == NULL) { in device_added() 134 "%-7s - failed to create input device ' in device_added() 151 struct evdev_device *device; device_removed() local 173 struct udev_device *device; udev_input_add_devices() local 245 struct evdev_device *device; udev_input_remove_devices() local 372 udev_device_change_seat(struct libinput_device *device, const char *seat_name) udev_device_change_seat() argument [all...] |
H A D | evdev-wheel.c | 69 evdev_log_bug_libinput(dispatch->device, in log_wheel_bug() 173 evdev_log_debug(dispatch->device, in wheel_handle_event() 183 struct evdev_device *device, in wheel_flush_scroll() 193 if (device->model_flags & EVDEV_MODEL_LENOVO_SCROLLPOINT) { in wheel_flush_scroll() 199 filter_dispatch_scroll(device->pointer.filter, in wheel_flush_scroll() 201 device, in wheel_flush_scroll() 203 evdev_post_scroll(device, in wheel_flush_scroll() 219 wheel_degrees.y = -1 * value/120.0 * device->scroll.wheel_click_angle.y; in wheel_flush_scroll() 221 device, in wheel_flush_scroll() 232 wheel_degrees.y = -1 * value * device in wheel_flush_scroll() 182 wheel_flush_scroll(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_flush_scroll() argument 273 wheel_handle_state_none(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_none() argument 281 wheel_handle_state_accumulating_scroll(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_accumulating_scroll() argument 295 wheel_handle_state_scrolling(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_scrolling() argument 327 fallback_rotate_wheel(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e) fallback_rotate_wheel() argument 342 fallback_wheel_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_wheel_process_relative() argument 383 fallback_wheel_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_wheel_handle_state() argument 418 struct evdev_device *device = data; wheel_init_scroll_timer() local 426 fallback_init_wheel(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_wheel() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | SwapChainD3D12.cpp | 78 Ref<OldSwapChain> OldSwapChain::Create(Device* device, const SwapChainDescriptor* descriptor) { in Create() argument 79 return AcquireRef(new OldSwapChain(device, descriptor)); in Create() 82 OldSwapChain::OldSwapChain(Device* device, const SwapChainDescriptor* descriptor) in OldSwapChain() argument 83 : OldSwapChainBase(device, descriptor) { in OldSwapChain() 86 wsiContext.device = ToAPI(GetDevice()); in OldSwapChain() 96 DeviceBase* device = GetDevice(); in GetNextTextureImpl() local 101 device->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl() 107 if (device->ConsumedError( in GetNextTextureImpl() 117 Device* device = ToBackend(GetDevice()); in OnBeforePresent() local 120 DAWN_TRY_ASSIGN(commandContext, device in OnBeforePresent() 135 Create(Device* device, Surface* surface, NewSwapChainBase* previousSwapChain, const SwapChainDescriptor* descriptor) Create() argument 230 Device* device = ToBackend(GetDevice()); InitializeSwapChainFromScratch() local 306 Device* device = ToBackend(GetDevice()); PresentImpl() local 336 Device* device = ToBackend(GetDevice()); GetCurrentTextureViewImpl() local 361 Device* device = ToBackend(GetDevice()); DetachAndWaitForDeallocation() local [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hfp_hf_proxy.cpp | 21 bool BluetoothHfpHfProxy::ConnectSco(const BluetoothRawAddress &device) in ConnectSco() argument 26 CHECK_AND_RETURN_LOG_RET(data.WriteParcelable(&device), false, "write device error"); in ConnectSco() 37 bool BluetoothHfpHfProxy::DisconnectSco(const BluetoothRawAddress &device) in DisconnectSco() argument 42 CHECK_AND_RETURN_LOG_RET(data.WriteParcelable(&device), false, "write device error"); in DisconnectSco() 77 int BluetoothHfpHfProxy::GetDeviceState(const BluetoothRawAddress &device) in GetDeviceState() argument 82 CHECK_AND_RETURN_LOG_RET(data.WriteParcelable(&device), BT_ERR_IPC_TRANS_FAILED, "write device error"); in GetDeviceState() 93 int BluetoothHfpHfProxy::GetScoState(const BluetoothRawAddress &device) in GetScoState() argument 109 SendDTMFTone(const BluetoothRawAddress &device, uint8_t code) SendDTMFTone() argument 125 Connect(const BluetoothRawAddress &device) Connect() argument 141 Disconnect(const BluetoothRawAddress &device) Disconnect() argument 157 OpenVoiceRecognition(const BluetoothRawAddress &device) OpenVoiceRecognition() argument 173 CloseVoiceRecognition(const BluetoothRawAddress &device) CloseVoiceRecognition() argument 189 GetCurrentCallList(const BluetoothRawAddress &device, std::vector<BluetoothHfpHfCall> &calls) GetCurrentCallList() argument 212 AcceptIncomingCall(const BluetoothRawAddress &device, int flag) AcceptIncomingCall() argument 229 HoldActiveCall(const BluetoothRawAddress &device) HoldActiveCall() argument 244 RejectIncomingCall(const BluetoothRawAddress &device) RejectIncomingCall() argument 260 HandleIncomingCall(const BluetoothRawAddress &device, int flag) HandleIncomingCall() argument 277 HandleMultiCall(const BluetoothRawAddress &device, int flag, int index) HandleMultiCall() argument 295 DialLastNumber(const BluetoothRawAddress &device) DialLastNumber() argument 310 DialMemory(const BluetoothRawAddress &device, int index) DialMemory() argument 327 SendVoiceTag(const BluetoothRawAddress &device, int index) SendVoiceTag() argument 344 SendKeyPressed(const BluetoothRawAddress &device) SendKeyPressed() argument 360 FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) FinishActiveCall() argument 377 StartDial( const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) StartDial() argument [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/wifi_p2p/wifip2p_fuzzer/ |
H A D | p2p_fuzzer.cpp | 70 WifiP2pDevice device; in GetNetworkIdFromClientsFuzzerTest() local 71 device.SetDeviceAddress("0x11:0x22:0x33:0x44:0x55"); in GetNetworkIdFromClientsFuzzerTest() 72 devices.push_back(device); in GetNetworkIdFromClientsFuzzerTest() 77 pGroupManager.GetNetworkIdFromClients(device); in GetNetworkIdFromClientsFuzzerTest() 84 WifiP2pDevice device; in GetGroupNetworkIdFuzzerTest() local 88 pGroupManager.GetGroupNetworkId(device); in GetGroupNetworkIdFuzzerTest() 96 WifiP2pDevice device; in GetGroupNetworkIdFuzzerTest1() local 97 device.SetDeviceAddress(std::string(reinterpret_cast<const char *>(data), size)); in GetGroupNetworkIdFuzzerTest1() 102 pGroupManager.GetGroupNetworkId(device, mDeviceAddress); in GetGroupNetworkIdFuzzerTest1() 193 WifiP2pDevice device; in RemoveMacAddrPairInfoFuzzerTest() local 214 WifiP2pDevice device; AddDeviceFuzzerTest() local 221 WifiP2pDevice device; UpdateDeviceFuzzerTest() local 228 WifiP2pDevice device; UpdateDeviceFuzzerTest1() local 239 WifiP2pDevice device; UpdateDeviceSupplicantInfFuzzerTest() local 246 WifiP2pDevice device; UpdateDeviceSupplicantInfFuzzerTest1() local 265 WifiP2pDevice device; UpdateDeviceGroupCapFuzzerTest1() local 277 WifiP2pDevice device; UpdateDeviceGroupCapFuzzerTest2() local 291 WifiP2pDevice device; UpdateDeviceStatusFuzzerTest1() local 303 WifiP2pDevice device; UpdateDeviceStatusFuzzerTest2() local 310 WifiP2pDevice device; UpdateAllDeviceStatusFuzzerTest() local 322 WifiP2pDevice device; GetDevicesFuzzerTest() local [all...] |
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
H A D | distribute.py | 67 def get_current_driver(device, target_name, hdc_tools): 71 driver = CppTestDriver(device, hdc_tools) 73 driver = CppTestDriver(device, hdc_tools) 89 def pull_result(device, source_path, result_save_path): 91 device.pull_file(source_path, result_save_path) 96 def _check_thread(device, thread_name): 102 output = device.shell_with_output(check_command) 111 def _query_device_ip(device): 112 output = device.shell_with_output("getprop ro.hardware") 117 output = device [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_buffer.c | 71 radv_device_init_meta_buffer_state(struct radv_device *device) in radv_device_init_meta_buffer_state() argument 74 nir_shader *fill_cs = build_buffer_fill_shader(device); in radv_device_init_meta_buffer_state() 75 nir_shader *copy_cs = build_buffer_copy_shader(device); in radv_device_init_meta_buffer_state() 85 result = radv_CreatePipelineLayout(radv_device_to_handle(device), &fill_pl_create_info, in radv_device_init_meta_buffer_state() 86 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 87 &device->meta_state.buffer.fill_p_layout); in radv_device_init_meta_buffer_state() 99 result = radv_CreatePipelineLayout(radv_device_to_handle(device), ©_pl_create_info, in radv_device_init_meta_buffer_state() 100 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 101 &device->meta_state.buffer.copy_p_layout); in radv_device_init_meta_buffer_state() 117 .layout = device in radv_device_init_meta_buffer_state() 157 radv_device_finish_meta_buffer_state(struct radv_device *device) radv_device_finish_meta_buffer_state() argument 172 struct radv_device *device = cmd_buffer->device; fill_buffer_shader() local 203 struct radv_device *device = cmd_buffer->device; copy_buffer_shader() local 231 radv_prefer_compute_dma(const struct radv_device *device, uint64_t size, struct radeon_winsys_bo *src_bo, struct radeon_winsys_bo *dst_bo) radv_prefer_compute_dma() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ComputeStorageBufferBarrierTests.cpp | 32 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P() 34 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P() 50 wgpu::ComputePipeline pipeline = device.CreateComputePipeline(&pipelineDesc); in TEST_P() 53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer, 0, bufferSize}}); in TEST_P() 55 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 79 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P() 82 device, data.data(), bufferSize, wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc); in TEST_P() 84 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P() 101 wgpu::ComputePipeline pipeline = device.CreateComputePipeline(&pipelineDesc); in TEST_P() 103 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipelin in TEST_P() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | verbs.c | 58 static int ib_resolve_eth_dmac(struct ib_device *device, 70 [IB_EVENT_DEVICE_FATAL] = "device fatal error", 230 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device, u8 port_num) in rdma_port_get_link_layer() argument 233 if (device->ops.get_link_layer) in rdma_port_get_link_layer() 234 return device->ops.get_link_layer(device, port_num); in rdma_port_get_link_layer() 236 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer() 248 * @device: The device on which to allocate the protection domain. 258 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigne argument 417 rdma_check_ah_attr(struct ib_device *device, struct rdma_ah_attr *ah_attr) rdma_check_ah_attr() argument 444 rdma_fill_sgid_attr(struct ib_device *device, struct rdma_ah_attr *ah_attr, const struct ib_gid_attr **old_sgid_attr) rdma_fill_sgid_attr() argument 513 struct ib_device *device = pd->device; _rdma_create_ah() local 659 ib_get_net_type_by_grh(struct ib_device *device, u8 port_num, const struct ib_grh *grh) ib_get_net_type_by_grh() argument 703 get_sgid_attr_from_eth(struct ib_device *device, u8 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type) get_sgid_attr_from_eth() argument 752 ib_resolve_unicast_gid_dmac(struct ib_device *device, struct rdma_ah_attr *ah_attr) ib_resolve_unicast_gid_dmac() argument 790 ib_init_ah_attr_from_wc(struct ib_device *device, u8 port_num, const struct ib_wc *wc, const struct ib_grh *grh, struct rdma_ah_attr *ah_attr) ib_init_ah_attr_from_wc() argument 1205 struct ib_device *device = pd ? pd->device : qp_init_attr->xrcd->device; ib_create_qp() local 1638 ib_resolve_eth_dmac(struct ib_device *device, struct rdma_ah_attr *ah_attr) ib_resolve_eth_dmac() argument 1984 __ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, const struct ib_cq_init_attr *cq_attr, const char *caller) __ib_create_cq() argument 2326 ib_alloc_xrcd_user(struct ib_device *device, struct inode *inode, struct ib_udata *udata) ib_alloc_xrcd_user() argument 2470 ib_set_vf_link_state(struct ib_device *device, int vf, u8 port, int state) ib_set_vf_link_state() argument 2480 ib_get_vf_config(struct ib_device *device, int vf, u8 port, struct ifla_vf_info *info) ib_get_vf_config() argument 2490 ib_get_vf_stats(struct ib_device *device, int vf, u8 port, struct ifla_vf_stats *stats) ib_get_vf_stats() argument 2500 ib_set_vf_guid(struct ib_device *device, int vf, u8 port, u64 guid, int type) ib_set_vf_guid() argument 2510 ib_get_vf_guid(struct ib_device *device, int vf, u8 port, struct ifla_vf_guid *node_guid, struct ifla_vf_guid *port_guid) ib_get_vf_guid() argument 2852 rdma_alloc_netdev(struct ib_device *device, u8 port_num, enum rdma_netdev_t type, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *)) rdma_alloc_netdev() argument 2878 rdma_init_netdev(struct ib_device *device, u8 port_num, enum rdma_netdev_t type, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), struct net_device *netdev) rdma_init_netdev() argument [all...] |