/kernel/linux/linux-6.6/sound/ac97/ |
H A D | bus.c | 9 #include <linux/device.h> 34 to_ac97_controller(struct device *ac97_adapter) in to_ac97_controller() 90 static void ac97_codec_release(struct device *dev) in ac97_codec_release() 212 * @adev: the ac97 codec device 215 * available, while ac97 device are auto-created upon probe, this retrieves the 239 static ssize_t cold_reset_store(struct device *dev, in cold_reset_store() 253 static ssize_t warm_reset_store(struct device *dev, in warm_reset_store() 296 static void ac97_adapter_release(struct device *dev) in ac97_adapter_release() 339 * @dev: the device providing the ac97 DC function 349 const struct ac97_controller_ops *ops, struct device *de in snd_ac97_controller_register() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_pass.c | 306 radv_destroy_render_pass(struct radv_device *device, const VkAllocationCallbacks *pAllocator, in radv_destroy_render_pass() argument 310 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments); in radv_destroy_render_pass() 311 vk_free2(&device->vk.alloc, pAllocator, pass); in radv_destroy_render_pass() 333 RADV_FROM_HANDLE(radv_device, device, _device); in radv_CreateRenderPass2() 345 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateRenderPass2() 347 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in radv_CreateRenderPass2() 351 vk_object_base_init(&device->vk, &pass->base, VK_OBJECT_TYPE_RENDER_PASS); in radv_CreateRenderPass2() 379 vk_alloc2(&device->vk.alloc, pAllocator, in radv_CreateRenderPass2() 383 radv_destroy_render_pass(device, pAllocator, pass); in radv_CreateRenderPass2() 384 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMOR in radv_CreateRenderPass2() 519 radv_GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D *pGranularity) radv_GetRenderAreaGranularity() argument [all...] |
H A D | radv_meta_copy.c | 72 radv_image_is_renderable(struct radv_device *device, struct radv_image *image) in radv_image_is_renderable() argument 79 if (device->physical_device->rad_info.gfx_level >= GFX9 && in radv_image_is_renderable() 101 !radv_image_is_renderable(cmd_buffer->device, image); in copy_buffer_to_image() 138 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_buffer_to_image() 212 if (cmd_buffer->device->physical_device->emulate_etc2 && in radv_CmdCopyBufferToImage2() 241 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, image->bindings[0].bo); in copy_image_to_buffer() 242 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, buffer->bo); in copy_image_to_buffer() 287 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_image_to_buffer() 368 !radv_image_is_renderable(cmd_buffer->device, dst_image); in copy_image() 385 if (radv_layout_is_htile_compressed(cmd_buffer->device, dst_imag in copy_image() [all...] |
/third_party/ltp/testcases/kernel/device-drivers/acpi/ |
H A D | ltp_acpi_cmds.c | 70 /* sysfs device path of the last found device */ 73 /* first found device with _CRS */ 127 struct acpi_device *device; in get_sysfs_path() local 132 status = acpi_bus_get_device(handle, &device); in get_sysfs_path() 134 sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL); in get_sysfs_path() 137 /* acpi handle of the last visited device */ 233 /* first found device with _STR */ 265 /* get first device on SYS bus, it will be used in other tests */ in acpi_init() 287 * Callback for all 'system-level' device notification 395 struct acpi_device *device; acpi_test_bus() local [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_private.h | 110 const struct vk_device_extension_table *device); 176 struct lvp_device * device; member 188 struct lvp_device * device; member 232 void lvp_pipe_sync_signal_with_fence(struct lvp_device *device, 387 lvp_descriptor_template_destroy(struct lvp_device *device, struct lvp_descriptor_update_template *templ); 390 lvp_descriptor_template_templ_unref(struct lvp_device *device, in lvp_descriptor_template_templ_unref() argument 397 lvp_descriptor_template_destroy(device, templ); in lvp_descriptor_template_templ_unref() 401 lvp_descriptor_set_create(struct lvp_device *device, 406 lvp_descriptor_set_destroy(struct lvp_device *device, 429 struct lvp_device * device; member 511 struct lvp_device * device; global() member [all...] |
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad-thumb.c | 59 evdev_log_debug(tp->device, in tp_thumb_set_state() 321 mm = evdev_device_unit_delta_to_mm(tp->device, &distance); in tp_thumb_update_multifinger() 334 evdev_log_debug(tp->device, in tp_thumb_update_multifinger() 386 struct evdev_device *device = tp->device; in tp_init_thumb() local 402 evdev_device_get_size(device, &w, &h); in tp_init_thumb() 413 edges = evdev_device_mm_to_units(device, &mm); in tp_init_thumb() 417 edges = evdev_device_mm_to_units(device, &mm); in tp_init_thumb() 420 quirks = evdev_libinput_context(device)->quirks; in tp_init_thumb() 421 q = quirks_fetch_for_device(quirks, device in tp_init_thumb() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktGlobalPriorityQueueUtils.cpp | 249 const VkDevice device, in BufferWithMemory() 255 , m_buffer (createBuffer(vkd, device, &bufferCreateInfo)) in BufferWithMemory() 256 , m_requirements (getBufferMemoryRequirements(vkd, device, *m_buffer)) in BufferWithMemory() 267 Move<VkFence> fence = createFence(vkd, device); in BufferWithMemory() 311 VK_CHECK(vkd.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); in BufferWithMemory() 316 VK_CHECK(vkd.bindBufferMemory(device, *m_buffer, allocation->getMemory(), allocation->getOffset())); in BufferWithMemory() 332 void BufferWithMemory::invalidateAlloc (const DeviceInterface& vk, const VkDevice device) const in invalidateAlloc() 335 ::vk::invalidateAlloc(vk, device, *m_allocations[0]); in invalidateAlloc() 338 void BufferWithMemory::flushAlloc (const DeviceInterface& vk, const VkDevice device) const in flushAlloc() 341 ::vk::flushAlloc(vk, device, *m_allocation in flushAlloc() 246 BufferWithMemory(const vk::InstanceInterface& vki, const DeviceInterface& vkd, const vk::VkPhysicalDevice phys, const VkDevice device, Allocator& allocator, const VkBufferCreateInfo& bufferCreateInfo, const MemoryRequirement memoryRequirement, const VkQueue sparseQueue) BufferWithMemory() argument 344 ImageWithMemory(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice phys, const VkDevice device, Allocator& allocator, const VkImageCreateInfo& imageCreateInfo, const VkQueue sparseQueue, const MemoryRequirement memoryRequirement) ImageWithMemory() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_internal_shaders_autogen.cpp | 393 void ShaderLibrary::destroy(VkDevice device) 397 shader.get().destroy(device); 401 shader.get().destroy(device); 405 shader.get().destroy(device); 409 shader.get().destroy(device); 413 shader.get().destroy(device); 417 shader.get().destroy(device); 421 shader.get().destroy(device); 425 shader.get().destroy(device); 429 shader.get().destroy(device); [all...] |
/third_party/backends/backend/ |
H A D | pie.c | 233 char *devicename; /* name of the scanner device */
293 Pie_Device *device; /* pointer to physical scanner */
member 558 "-> Parameter value invalid - Invalid device select or device not exist\n");
in sense_handler() 597 DBG (DBG_sense, "-> power on, reset or bus device reset\n");
in sense_handler() 888 DBG (DBG_info, "Found %s scanner %s version %s on device %s\n", vendor,
in pie_identify_scanner() 1286 max_string_size ((SANE_String_Const *) scanner->device->scan_mode_list);
in init_options() 1289 (SANE_String_Const *) scanner->device->scan_mode_list;
in init_options() 1291 (SANE_Char *) strdup (scanner->device->scan_mode_list[0]);
in init_options() 1300 scanner->opt[OPT_RESOLUTION].constraint.range = &scanner->device in init_options() [all...] |
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | dfl-fme-main.c | 27 static ssize_t ports_num_show(struct device *dev, in ports_num_show() 46 static ssize_t bitstream_id_show(struct device *dev, in bitstream_id_show() 64 static ssize_t bitstream_metadata_show(struct device *dev, in bitstream_metadata_show() 78 static ssize_t cache_size_show(struct device *dev, in cache_size_show() 93 static ssize_t fabric_version_show(struct device *dev, in fabric_version_show() 108 static ssize_t socket_id_show(struct device *dev, in socket_id_show() 225 static int thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in thermal_hwmon_read() 280 static ssize_t temp1_max_policy_show(struct device *dev, in temp1_max_policy_show() 302 struct device *dev = kobj_to_dev(kobj); in thermal_extra_attrs_visible() 317 struct device *hwmo in fme_thermal_mgmt_init() [all...] |
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | cctrng.c | 87 static int cc_trng_pm_get(struct device *dev) in cc_trng_pm_get() 97 static void cc_trng_pm_put_suspend(struct device *dev) in cc_trng_pm_put_suspend() 109 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_init() 120 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_go() 128 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_fini() 136 struct device *dev = &(drvdata->pdev->dev); in cc_trng_parse_sampling_ratio() 147 /* arm,rosc-ratio was not found in device tree */ in cc_trng_parse_sampling_ratio() 165 struct device *dev = &(drvdata->pdev->dev); in cc_trng_change_rosc() 215 struct device *dev = &(drvdata->pdev->dev); in cctrng_read() 252 /* increment device' in cctrng_read() [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | tps6586x.c | 48 /* device id */ 121 struct device *dev; 135 static inline struct tps6586x *dev_to_tps6586x(struct device *dev) in dev_to_tps6586x() 140 int tps6586x_write(struct device *dev, int reg, uint8_t val) in tps6586x_write() 148 int tps6586x_writes(struct device *dev, int reg, int len, uint8_t *val) in tps6586x_writes() 156 int tps6586x_read(struct device *dev, int reg, uint8_t *val) in tps6586x_read() 169 int tps6586x_reads(struct device *dev, int reg, int len, uint8_t *val) in tps6586x_reads() 177 int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask) in tps6586x_set_bits() 185 int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask) in tps6586x_clr_bits() 193 int tps6586x_update(struct device *de [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | counters.c | 81 counter->device = dev; in rdma_counter_alloc() 120 port_counter = &counter->device->port_data[counter->port].port_counter; in rdma_counter_free() 172 if (!qp->device->ops.counter_bind_qp) in __rdma_counter_bind_qp() 176 ret = qp->device->ops.counter_bind_qp(counter, qp); in __rdma_counter_bind_qp() 187 if (!qp->device->ops.counter_unbind_qp) in __rdma_counter_unbind_qp() 191 ret = qp->device->ops.counter_unbind_qp(qp); in __rdma_counter_unbind_qp() 199 struct ib_device *dev = counter->device; in counter_history_stat_update() 224 struct ib_device *dev = qp->device; in rdma_get_counter_auto_mode() 234 if ((counter->device != qp->device) || (counte in rdma_get_counter_auto_mode() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sd_zbc.c | 50 struct scsi_device *sdp = sdkp->device; in sd_zbc_parse_report() 87 * For internal use during device validation. 97 struct scsi_device *sdp = sdkp->device; in sd_zbc_do_report_zones() 144 * satify the device constraint (max_hw_sectors, max_segments, etc). 185 * sd_zbc_zone_sectors - Get the device zone size in number of 512B sectors. 190 return logical_to_sectors(sdkp->device, sdkp->zone_blocks); in sd_zbc_zone_sectors() 197 sector_t capacity = logical_to_sectors(sdkp->device, sdkp->capacity); in sd_zbc_report_zones() 205 /* Not a zoned device */ in sd_zbc_report_zones() 218 sectors_to_logical(sdkp->device, sector), true); in sd_zbc_report_zones() 252 /* Not a zoned device */ in sd_zbc_cmnd_checks() [all...] |
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_stream.c | 129 /* 1.The device has its own operation to switch source of clock */ in snd_bebob_stream_get_clock_src() 133 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 139 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 151 * 2.The device don't support to switch source of clock then assumed in snd_bebob_stream_get_clock_src() 160 * 3.The device supports to switch source of clock by an usual way. in snd_bebob_stream_get_clock_src() 167 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 280 dev_err(&bebob->unit->device, in map_data_channels() 302 dev_err(&bebob->unit->device, in map_data_channels() 391 dev_err(&bebob->unit->device, in check_connection_used_by_others() 408 // case, the device i in break_both_connections() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds3232.c | 53 struct device *dev; 61 static int ds3232_check_rtc_status(struct device *dev) in ds3232_check_rtc_status() 97 static int ds3232_read_time(struct device *dev, struct rtc_time *time) in ds3232_read_time() 151 static int ds3232_set_time(struct device *dev, struct rtc_time *time) in ds3232_set_time() 181 static int ds3232_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in ds3232_read_alarm() 215 static int ds3232_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in ds3232_set_alarm() 260 static int ds3232_update_alarm(struct device *dev, unsigned int enabled) in ds3232_update_alarm() 286 static int ds3232_hwmon_read_temp(struct device *dev, long int *mC) in ds3232_hwmon_read_temp() 324 static int ds3232_hwmon_read(struct device *dev, in ds3232_hwmon_read() 378 static void ds3232_hwmon_register(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds3232.c | 53 struct device *dev; 61 static int ds3232_check_rtc_status(struct device *dev) in ds3232_check_rtc_status() 97 static int ds3232_read_time(struct device *dev, struct rtc_time *time) in ds3232_read_time() 151 static int ds3232_set_time(struct device *dev, struct rtc_time *time) in ds3232_set_time() 181 static int ds3232_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in ds3232_read_alarm() 215 static int ds3232_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in ds3232_set_alarm() 260 static int ds3232_update_alarm(struct device *dev, unsigned int enabled) in ds3232_update_alarm() 286 static int ds3232_hwmon_read_temp(struct device *dev, long int *mC) in ds3232_hwmon_read_temp() 324 static int ds3232_hwmon_read(struct device *dev, in ds3232_hwmon_read() 378 static void ds3232_hwmon_register(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | ds2781_battery.c | 33 struct device *dev; 36 struct device *w1_dev; 98 static inline int ds2781_store_eeprom(struct device *dev, int addr) in ds2781_store_eeprom() 103 static inline int ds2781_recall_eeprom(struct device *dev, int addr) in ds2781_recall_eeprom() 445 static ssize_t ds2781_get_pmod_enabled(struct device *dev, in ds2781_get_pmod_enabled() 463 static ssize_t ds2781_set_pmod_enabled(struct device *dev, in ds2781_set_pmod_enabled() 499 static ssize_t ds2781_get_sense_resistor_value(struct device *dev, in ds2781_get_sense_resistor_value() 516 static ssize_t ds2781_set_sense_resistor_value(struct device *dev, in ds2781_set_sense_resistor_value() 537 static ssize_t ds2781_get_rsgain_setting(struct device *dev, in ds2781_get_rsgain_setting() 553 static ssize_t ds2781_set_rsgain_setting(struct device *de [all...] |
H A D | ds2780_battery.c | 35 struct device *dev; 38 struct device *w1_dev; 94 static inline int ds2780_store_eeprom(struct device *dev, int addr) in ds2780_store_eeprom() 99 static inline int ds2780_recall_eeprom(struct device *dev, int addr) in ds2780_recall_eeprom() 443 static ssize_t ds2780_get_pmod_enabled(struct device *dev, in ds2780_get_pmod_enabled() 461 static ssize_t ds2780_set_pmod_enabled(struct device *dev, in ds2780_set_pmod_enabled() 497 static ssize_t ds2780_get_sense_resistor_value(struct device *dev, in ds2780_get_sense_resistor_value() 514 static ssize_t ds2780_set_sense_resistor_value(struct device *dev, in ds2780_set_sense_resistor_value() 535 static ssize_t ds2780_get_rsgain_setting(struct device *dev, in ds2780_get_rsgain_setting() 551 static ssize_t ds2780_set_rsgain_setting(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | amd64-agp.c | 400 dev_info(&pdev->dev, "can't find ULi secondary device\n"); in uli_agp_init() 450 /* Handle shadow device of the Nvidia NForce3 */ 463 dev_info(&pdev->dev, "can't find Nforce3 secondary device\n"); in nforce3_agp_init() 535 pdev->device == PCI_DEVICE_ID_AMD_8151_0) { in agp_amd64_probe() 539 pdev->vendor, pdev->device); in agp_amd64_probe() 591 static int agp_amd64_resume(struct device *dev) in agp_amd64_resume() 606 .device = PCI_DEVICE_ID_AMD_8151_0, 615 .device = PCI_DEVICE_ID_AL_M1689, 624 .device = PCI_DEVICE_ID_VIA_K8T800PRO_0, 633 .device [all...] |
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | dfl-fme-main.c | 28 static ssize_t ports_num_show(struct device *dev, in ports_num_show() 47 static ssize_t bitstream_id_show(struct device *dev, in bitstream_id_show() 65 static ssize_t bitstream_metadata_show(struct device *dev, in bitstream_metadata_show() 79 static ssize_t cache_size_show(struct device *dev, in cache_size_show() 94 static ssize_t fabric_version_show(struct device *dev, in fabric_version_show() 109 static ssize_t socket_id_show(struct device *dev, in socket_id_show() 226 static int thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in thermal_hwmon_read() 281 static ssize_t temp1_max_policy_show(struct device *dev, in temp1_max_policy_show() 303 struct device *dev = kobj_to_dev(kobj); in thermal_extra_attrs_visible() 318 struct device *hwmo in fme_thermal_mgmt_init() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | counters.c | 99 if (!qp->device->ops.counter_bind_qp) in __rdma_counter_bind_qp() 103 ret = qp->device->ops.counter_bind_qp(counter, qp); in __rdma_counter_bind_qp() 156 counter->device = dev; in alloc_and_bind() 211 port_counter = &counter->device->port_data[counter->port].port_counter; in rdma_counter_free() 246 if (!qp->device->ops.counter_unbind_qp) in __rdma_counter_unbind_qp() 250 ret = qp->device->ops.counter_unbind_qp(qp); in __rdma_counter_unbind_qp() 258 struct ib_device *dev = counter->device; in counter_history_stat_update() 283 struct ib_device *dev = qp->device; in rdma_get_counter_auto_mode() 293 if ((counter->device != qp->device) || (counte in rdma_get_counter_auto_mode() [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-lm3533.c | 311 static ssize_t show_id(struct device *dev, in show_id() 332 static ssize_t show_risefalltime(struct device *dev, in show_risefalltime() 350 static ssize_t show_risetime(struct device *dev, in show_risetime() 357 static ssize_t show_falltime(struct device *dev, in show_falltime() 364 static ssize_t store_risefalltime(struct device *dev, in store_risefalltime() 385 static ssize_t store_risetime(struct device *dev, in store_risetime() 393 static ssize_t store_falltime(struct device *dev, in store_falltime() 401 static ssize_t show_als_channel(struct device *dev, in show_als_channel() 421 static ssize_t store_als_channel(struct device *dev, in store_als_channel() 451 static ssize_t show_als_en(struct device *de [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.cpp | 91 TCU_FAIL("Returned device count changed between queries"); in enumeratePhysicalDevices() 110 TCU_FAIL("Returned device group count changed between queries"); in enumeratePhysicalDeviceGroups() 315 std::vector<VkSparseImageMemoryRequirements> getImageSparseMemoryRequirements(const DeviceInterface& vk, VkDevice device, VkImage image) in getImageSparseMemoryRequirements() argument 320 vk.getImageSparseMemoryRequirements(device, image, &requirementsCount, DE_NULL); in getImageSparseMemoryRequirements() 325 vk.getImageSparseMemoryRequirements(device, image, &requirementsCount, &requirements[0]); in getImageSparseMemoryRequirements() 335 VkDevice device, in getDeviceImageSparseMemoryRequirements() 349 vk.getDeviceImageSparseMemoryRequirements(device, &info, &count, DE_NULL); in getDeviceImageSparseMemoryRequirements() 356 vk.getDeviceImageSparseMemoryRequirements(device, &info, &count, requirements.data()); in getDeviceImageSparseMemoryRequirements() 370 VkMemoryRequirements getBufferMemoryRequirements (const DeviceInterface& vk, VkDevice device, VkBuffer buffer) in getBufferMemoryRequirements() argument 373 vk.getBufferMemoryRequirements(device, buffe in getBufferMemoryRequirements() 334 getDeviceImageSparseMemoryRequirements(const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo& imageCreateInfo, VkImageAspectFlagBits planeAspect) getDeviceImageSparseMemoryRequirements() argument 377 getImageMemoryRequirements(const DeviceInterface& vk, VkDevice device, VkImage image) getImageMemoryRequirements() argument 384 getImagePlaneMemoryRequirements(const DeviceInterface& vkd, VkDevice device, VkImage image, VkImageAspectFlagBits planeAspect) getImagePlaneMemoryRequirements() argument 597 getDeviceQueue(const DeviceInterface& vkd, VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex) getDeviceQueue() argument 606 getDeviceQueue2(const DeviceInterface& vkd, VkDevice device, const VkDeviceQueueInfo2* queueInfo) getDeviceQueue2() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiGranularityTests.cpp | 150 const VkDevice device = m_context.getDevice(); in initImages() local 152 SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(vki, physicalDevice)); in initImages() 198 Move<VkImage> image = createImage(vk, device, &imageInfo); in initImages() 199 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); in initImages() 200 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); in initImages() 220 Move<VkImageView> imageView = createImageView(vk, device, &createInfo); in initImages() 232 const VkDevice device = m_context.getDevice(); in initObjects() local 267 m_renderPass = createRenderPass(vk, device, &renderPassParams); in initObjects() 286 m_frameBuffer = createFramebuffer(vk, device, &framebufferParams); in initObjects() 289 m_cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BI in initObjects() 298 const VkDevice device = m_context.getDevice(); iterate() local [all...] |