Home
last modified time | relevance | path

Searched refs:device (Results 3551 - 3575 of 28831) sorted by relevance

1...<<141142143144145146147148149150>>...1154

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateDiscardTests.cpp60 const VkPhysicalDevice device) in pickSupportedStencilFormat()
73 instanceInterface.getPhysicalDeviceFormatProperties(device, stencilFormats[i], &formatProps); in pickSupportedStencilFormat()
94 virtual void initRenderPass (const vk::VkDevice device);
95 virtual void initFramebuffer (const vk::VkDevice device);
96 virtual void initPipeline (const vk::VkDevice device);
124 const vk::VkDevice device = m_context.getDevice(); in DiscardTestInstance() local
129 m_depthStencilImage = Image::createAndAlloc(m_vk, device, stencilImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex()); in DiscardTestInstance()
132 m_depthStencilView = vk::createImageView(m_vk, device, &stencilViewInfo); in DiscardTestInstance()
151 m_otherSetLayout = vk::createDescriptorSetLayout(m_vk, device, &descriptorSetLayoutCreateInfo); in DiscardTestInstance()
154 void DiscardTestInstance::initRenderPass (const vk::VkDevice device) in initRenderPass() argument
59 pickSupportedStencilFormat(const InstanceInterface& instanceInterface, const VkPhysicalDevice device) pickSupportedStencilFormat() argument
203 initFramebuffer(const vk::VkDevice device) initFramebuffer() argument
214 initPipeline(const vk::VkDevice device) initPipeline() argument
314 const vk::VkDevice device = m_context.getDevice(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktDynamicRenderingTests.cpp302 const VkDevice device, in makeGraphicsPipeline()
510 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); in makeGraphicsPipeline()
608 const VkDevice device, in submitCommandsAndWait()
613 const Unique<VkFence> fence(createFence(vk, device)); in submitCommandsAndWait()
630 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); in submitCommandsAndWait()
774 const VkDevice device = m_context.getDevice(); in iterate() local
860 Move<VkPipeline> pipeline = makeGraphicsPipeline(vk, device, *m_pipelineLayout, in iterate()
875 const VkDevice device = m_context.getDevice(); in initialize() local
902 m_vertexBuffer = Buffer::createAndAlloc(vk, device, in initialize()
907 flushAlloc(vk, device, m_vertexBuffe in initialize()
301 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkShaderModule vertexModule, const VkShaderModule fragmentModule, const UVec2 renderSize, const deUint32 colorAttachmentCount, const VkFormat* pColorAttachmentFormats, const VkFormat depthAttachmentFormat, const VkFormat stencilAttachmentFormat) makeGraphicsPipeline() argument
607 submitCommandsAndWait(const DeviceInterface& vk, const VkDevice device, const VkQueue queue, const VkCommandBuffer commandBuffer, const VkCommandBuffer commandBuffer2) submitCommandsAndWait() argument
1000 const VkDevice device = m_context.getDevice(); createCmdBuffer() local
1016 const VkDevice device = m_context.getDevice(); rendering() local
1302 const VkDevice device = m_context.getDevice(); verifyResults() local
1332 const VkDevice device = m_context.getDevice(); verifyDepth() local
1370 const VkDevice device = m_context.getDevice(); verifyStencil() local
1413 const VkDevice device = m_context.getDevice(); rendering() local
1541 const VkDevice device = m_context.getDevice(); TwoPrimaryCmdBufferResuming() local
1553 const VkDevice device = m_context.getDevice(); rendering() local
1704 const VkDevice device = m_context.getDevice(); TwoSecondaryCmdBufferResuming() local
1717 const VkDevice device = m_context.getDevice(); rendering() local
1874 const VkDevice device = m_context.getDevice(); TwoSecondaryTwoPrimaryCmdBufferResuming() local
1888 const VkDevice device = m_context.getDevice(); rendering() local
2059 const VkDevice device = m_context.getDevice(); ContentsSecondaryCmdBuffer() local
2071 const VkDevice device = m_context.getDevice(); rendering() local
2193 const VkDevice device = m_context.getDevice(); ContentsTwoSecondaryCmdBuffer() local
2206 const VkDevice device = m_context.getDevice(); rendering() local
2347 const VkDevice device = m_context.getDevice(); ContentsTwoSecondaryCmdBufferResuming() local
2360 const VkDevice device = m_context.getDevice(); rendering() local
2530 const VkDevice device = m_context.getDevice(); ContentsTwoSecondaryTwoPrimaryCmdBufferResuming() local
2544 const VkDevice device = m_context.getDevice(); rendering() local
2725 const VkDevice device = m_context.getDevice(); ContentsPrimarySecondaryCmdBufferResuming() local
2737 const VkDevice device = m_context.getDevice(); rendering() local
2887 const VkDevice device = m_context.getDevice(); ContentsSecondaryPrimaryCmdBufferResuming() local
2899 const VkDevice device = m_context.getDevice(); rendering() local
3050 const VkDevice device = m_context.getDevice(); ContentsTwoPrimarySecondaryCmdBufferResuming() local
3063 const VkDevice device = m_context.getDevice(); rendering() local
3222 const VkDevice device = m_context.getDevice(); ContentsSecondaryTwoPrimaryCmdBufferResuming() local
3235 const VkDevice device = m_context.getDevice(); rendering() local
3393 const VkDevice device = m_context.getDevice(); SecondaryCmdBufferOutOfRenderingCommands() local
3405 const VkDevice device = m_context.getDevice(); rendering() local
3548 const VkDevice device = m_context.getDevice(); PartialBindingDepthStencil() local
3592 const VkDevice device = m_context.getDevice(); baseTest() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c112 * cpqhp_find_slot - find the struct slot of given device
114 * @device: the device id to find
116 static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device) in cpqhp_find_slot() argument
120 while (slot && (slot->device != device)) in cpqhp_find_slot()
1059 * cpqhp_slot_find - Looks for a node by bus, and device, multiple functions accessed
1061 * @device: device to find
1066 struct pci_func *cpqhp_slot_find(u8 bus, u8 device, u argument
1612 u8 device; remove_board() local
1943 u8 device, hp_slot; cpqhp_process_SI() local
2030 u8 device, class_code, header_type, BCR; cpqhp_process_SS() local
2313 u8 device; configure_new_function() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryMappingTests.cpp99 void mapMemoryWrapper(const DeviceInterface& vkd, VkDevice device, vk::VkDeviceMemory memory, VkDeviceSize mappingOffset, VkDeviceSize mappingSize, void** ptr, bool useMap2) in mapMemoryWrapper() argument
103 VK_CHECK(vkd.mapMemory(device, memory, mappingOffset, mappingSize, 0u, ptr)); in mapMemoryWrapper()
116 VK_CHECK(vkd.mapMemory2KHR(device, &info, ptr)); in mapMemoryWrapper()
120 void unmapMemoryWrapper(const DeviceInterface& vkd, VkDevice device, vk::VkDeviceMemory memory, bool useMap2) in unmapMemoryWrapper() argument
124 vkd.unmapMemory(device, memory); in unmapMemoryWrapper()
134 VK_CHECK(vkd.unmapMemory2KHR(device, &unmap)); in unmapMemoryWrapper()
323 size_t computeDeviceMemorySystemMemFootprint (const DeviceInterface& vk, VkDevice device)
336 const Unique<VkDeviceMemory> memory (allocateMemory(vk, device, &allocInfo, callbackRecorder.getCallbacks()));
348 Move<VkImage> makeImage (const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 queueFamilyIndex)
397 return createImage(vk, device,
[all...]
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
H A Dmain.c46 struct device *dev = &cfg->dev->dev; in process_cmd_err()
102 /* Resid mismatch between adapter and device */ in process_cmd_err()
158 struct device *dev = &cfg->dev->dev; in cmd_complete()
238 struct device *dev = &cfg->dev->dev; in context_reset()
303 struct device *dev = &cfg->dev->dev; in send_cmd_ioarrin()
347 struct device *dev = &cfg->dev->dev; in send_cmd_sq()
392 struct device *dev = &cfg->dev->dev; in wait_resp()
414 * @host: SCSI host associated with device.
452 * @sdev: SCSI device destined for TMF.
463 struct device *de in send_tmf()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/
H A Dmain.c46 struct device *dev = &cfg->dev->dev; in process_cmd_err()
102 /* Resid mismatch between adapter and device */ in process_cmd_err()
158 struct device *dev = &cfg->dev->dev; in cmd_complete()
238 struct device *dev = &cfg->dev->dev; in context_reset()
303 struct device *dev = &cfg->dev->dev; in send_cmd_ioarrin()
347 struct device *dev = &cfg->dev->dev; in send_cmd_sq()
392 struct device *dev = &cfg->dev->dev; in wait_resp()
414 * @host: SCSI host associated with device.
452 * @sdev: SCSI device destined for TMF.
463 struct device *de in send_tmf()
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dcore.c3 * NVM Express device driver
53 "max power saving latency for new devices; use PM QOS to change per device");
157 dev_info(ctrl->device, in nvme_do_delete_ctrl()
320 dev_dbg_ratelimited(((struct nvme_ctrl *) data)->device, in nvme_cancel_request()
625 dev_info(ctrl->device, "too few streams (%u) available\n", in nvme_configure_directives()
631 dev_info(ctrl->device, "Using %u streams\n", ctrl->nr_streams); in nvme_configure_directives()
689 * number of segments to prevent device reading beyond end of buffer. in nvme_setup_discard()
1031 dev_warn(ctrl->device, in nvme_command_effects()
1164 dev_err(ctrl->device, in nvme_keep_alive_end_io()
1204 dev_dbg(ctrl->device, in nvme_keep_alive_work()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/pl111/
H A Dpl111_versatile.h1 #include <linux/device.h>
7 struct device;
10 int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv);
/kernel/linux/linux-6.6/include/linux/
H A Di8254.h6 struct device;
11 * @parent: parent device
15 struct device *parent;
19 int devm_i8254_regmap_register(struct device *dev, const struct i8254_regmap_config *config);
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufs-sysfs.h10 struct device;
12 void ufs_sysfs_add_nodes(struct device *dev);
13 void ufs_sysfs_remove_nodes(struct device *dev);
/kernel/linux/linux-6.6/drivers/base/
H A Dphysical_location.h8 #include <linux/device.h>
11 bool dev_add_physical_location(struct device *dev);
14 static inline bool dev_add_physical_location(struct device *dev) { return false; }; in dev_add_physical_location()
/kernel/linux/linux-6.6/drivers/gpu/drm/pl111/
H A Dpl111_versatile.h1 #include <linux/device.h>
7 struct device;
10 int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv);
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dlpass-macro-common.h13 struct device *macro_pd;
14 struct device *dcodec_pd;
17 struct lpass_macro *lpass_macro_pds_init(struct device *dev);
H A Dadau1372.h14 struct device;
16 int adau1372_probe(struct device *dev, struct regmap *regmap,
17 void (*switch_mode)(struct device *dev));
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-gpio.h12 struct device;
14 int mt8192_afe_gpio_init(struct device *dev);
16 int mt8192_afe_gpio_request(struct device *dev, bool enable,
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
H A Dstr_mod.h21 extern int bus_add_device(struct device * dev);
22 extern int bus_remove_device(struct device *dev);
26 struct device *dev;
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadm1031.c107 static struct adm1031_data *adm1031_update_device(struct device *dev) in adm1031_update_device()
321 static ssize_t fan_auto_channel_show(struct device *dev, in fan_auto_channel_show()
330 fan_auto_channel_store(struct device *dev, struct device_attribute *attr, in fan_auto_channel_store()
386 static ssize_t auto_temp_off_show(struct device *dev, in auto_temp_off_show()
394 static ssize_t auto_temp_min_show(struct device *dev, in auto_temp_min_show()
403 auto_temp_min_store(struct device *dev, struct device_attribute *attr, in auto_temp_min_store()
424 static ssize_t auto_temp_max_show(struct device *dev, in auto_temp_max_show()
433 auto_temp_max_store(struct device *dev, struct device_attribute *attr, in auto_temp_max_store()
467 static ssize_t pwm_show(struct device *dev, struct device_attribute *attr, in pwm_show()
474 static ssize_t pwm_store(struct device *de in pwm_show()
[all...]
/kernel/linux/linux-5.10/drivers/w1/
H A Dw1.c14 #include <linux/device.h>
43 * device on the network and w1_max_slave_count is set to 1, the device id can
59 static int w1_master_match(struct device *dev, struct device_driver *drv) in w1_master_match()
64 static int w1_master_probe(struct device *dev) in w1_master_probe()
69 static void w1_master_release(struct device *dev) in w1_master_release()
78 static void w1_slave_release(struct device *dev) in w1_slave_release()
88 static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
96 static ssize_t id_show(struct device *dev, in id_show()
171 static int w1_uevent(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/
H A Daltera_tse_main.c131 for_each_child_of_node(priv->device->of_node, child_node) { in altera_tse_mdio_create()
158 mdio->parent = priv->device; in altera_tse_mdio_create()
204 rxbuffer->dma_addr = dma_map_single(priv->device, rxbuffer->skb->data, in tse_init_rx_buffer()
208 if (dma_mapping_error(priv->device, rxbuffer->dma_addr)) { in tse_init_rx_buffer()
226 dma_unmap_single(priv->device, dma_addr, in tse_free_rx_buffer()
242 dma_unmap_page(priv->device, buffer->dma_addr, in tse_free_tx_buffer()
245 dma_unmap_single(priv->device, buffer->dma_addr, in tse_free_tx_buffer()
401 dma_unmap_single(priv->device, priv->rx_ring[entry].dma_addr, in tse_rx()
573 dma_addr = dma_map_single(priv->device, skb->data, nopaged_len, in tse_start_xmit()
575 if (dma_mapping_error(priv->device, dma_add in tse_start_xmit()
1106 struct device *device = &pdev->dev; request_and_map() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c61 struct nvkm_fb *fb = nvxx_fb(&drm->client.device); in nv10_bo_update_tile_region()
112 struct nvkm_fb *fb = nvxx_fb(&drm->client.device); in nv10_bo_set_tiling()
171 struct nvif_device *device = &drm->client.device; in nouveau_bo_fixup_align() local
173 if (device->info.family < NV_DEVICE_INFO_V0_TESLA) { in nouveau_bo_fixup_align()
175 if (device->info.chipset >= 0x40) { in nouveau_bo_fixup_align()
179 } else if (device->info.chipset >= 0x30) { in nouveau_bo_fixup_align()
183 } else if (device->info.chipset >= 0x20) { in nouveau_bo_fixup_align()
187 } else if (device->info.chipset >= 0x10) { in nouveau_bo_fixup_align()
239 if (cli->device in nouveau_bo_alloc()
1162 struct nvkm_device *device = nvxx_device(&drm->client.device); nouveau_ttm_io_mem_reserve() local
1282 struct nvkm_device *device = nvxx_device(&drm->client.device); nouveau_ttm_fault_reserve_notify() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadm1031.c107 static struct adm1031_data *adm1031_update_device(struct device *dev) in adm1031_update_device()
320 static ssize_t fan_auto_channel_show(struct device *dev, in fan_auto_channel_show()
329 fan_auto_channel_store(struct device *dev, struct device_attribute *attr, in fan_auto_channel_store()
385 static ssize_t auto_temp_off_show(struct device *dev, in auto_temp_off_show()
393 static ssize_t auto_temp_min_show(struct device *dev, in auto_temp_min_show()
402 auto_temp_min_store(struct device *dev, struct device_attribute *attr, in auto_temp_min_store()
423 static ssize_t auto_temp_max_show(struct device *dev, in auto_temp_max_show()
432 auto_temp_max_store(struct device *dev, struct device_attribute *attr, in auto_temp_max_store()
466 static ssize_t pwm_show(struct device *dev, struct device_attribute *attr, in pwm_show()
473 static ssize_t pwm_store(struct device *de in pwm_show()
[all...]
H A Dvt8231.c80 * kernel sysfs device name to the VIA number in the sysfs callback.
148 struct device *hwmon_dev;
178 static struct vt8231_data *vt8231_update_device(struct device *dev) in vt8231_update_device()
247 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
257 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
267 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show()
277 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store()
297 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store()
318 static ssize_t in5_input_show(struct device *dev, in in5_input_show()
327 static ssize_t in5_min_show(struct device *de
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsm64bitCompareTests.cpp1048 const vk::VkDevice device, in createStorageBuffer()
1066 bufmem.buffer = vk::createBuffer(vkdi, device, &bufferCreateInfo); in createStorageBuffer()
1067 const vk::VkMemoryRequirements requirements = getBufferMemoryRequirements(vkdi, device, *bufmem.buffer); in createStorageBuffer()
1070 VK_CHECK(vkdi.bindBufferMemory(device, *bufmem.buffer, bufmem.allocation->getMemory(), bufmem.allocation->getOffset())); in createStorageBuffer()
1181 auto device = m_context.getDevice(); in iterate() local
1185 BufferWithMemory input1 = createStorageBuffer(vkdi, device, allocator, m_inputBufferSize); in iterate()
1186 BufferWithMemory input2 = createStorageBuffer(vkdi, device, allocator, m_inputBufferSize); in iterate()
1187 BufferWithMemory output1 = createStorageBuffer(vkdi, device, allocator, m_outputBufferSize); in iterate()
1218 auto descriptorSetLayout = vk::createDescriptorSetLayout(vkdi, device, &layoutCreateInfo); in iterate()
1223 auto descriptorPool = poolBuilder.build(vkdi, device, v in iterate()
1047 createStorageBuffer(const vk::DeviceInterface& vkdi, const vk::VkDevice device, vk::Allocator& allocator, size_t numBytes) createStorageBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeZeroInitializeWorkgroupMemoryTests.cpp66 const VkDevice device = context.getDevice(); local
75 vk, device, allocator, makeBufferCreateInfo(size, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT|VK_BUFFER_USAGE_TRANSFER_DST_BIT|VK_BUFFER_USAGE_TRANSFER_SRC_BIT),
85 Unique<VkDescriptorSetLayout> descriptorSetLayout(layoutBuilder.build(vk, device));
88 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u));
89 Unique<VkDescriptorSet> descriptorSet(makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout));
117 Move<VkPipelineLayout> pipelineLayout = createPipelineLayout(vk, device, &pipelineLayoutCreateInfo, NULL);
119 flushAlloc(vk, device, buffer->getAllocation());
121 const Unique<VkShaderModule> shader(createShaderModule(vk, device, context.getBinaryCollection().get("comp"), 0));
143 Move<VkPipeline> pipeline = createComputePipeline(vk, device, DE_NULL, &pipelineInfo, NULL);
146 Move<VkCommandPool> cmdPool = createCommandPool(vk, device,
1237 const VkDevice device = context.getDevice(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsm64bitCompareTests.cpp1048 const vk::VkDevice device, in createStorageBuffer()
1066 bufmem.buffer = vk::createBuffer(vkdi, device, &bufferCreateInfo); in createStorageBuffer()
1067 const vk::VkMemoryRequirements requirements = getBufferMemoryRequirements(vkdi, device, *bufmem.buffer); in createStorageBuffer()
1070 VK_CHECK(vkdi.bindBufferMemory(device, *bufmem.buffer, bufmem.allocation->getMemory(), bufmem.allocation->getOffset())); in createStorageBuffer()
1181 auto device = m_context.getDevice(); in iterate() local
1185 BufferWithMemory input1 = createStorageBuffer(vkdi, device, allocator, m_inputBufferSize); in iterate()
1186 BufferWithMemory input2 = createStorageBuffer(vkdi, device, allocator, m_inputBufferSize); in iterate()
1187 BufferWithMemory output1 = createStorageBuffer(vkdi, device, allocator, m_outputBufferSize); in iterate()
1218 auto descriptorSetLayout = vk::createDescriptorSetLayout(vkdi, device, &layoutCreateInfo); in iterate()
1223 auto descriptorPool = poolBuilder.build(vkdi, device, v in iterate()
1047 createStorageBuffer(const vk::DeviceInterface& vkdi, const vk::VkDevice device, vk::Allocator& allocator, size_t numBytes) createStorageBuffer() argument
[all...]

Completed in 34 milliseconds

1...<<141142143144145146147148149150>>...1154