Home
last modified time | relevance | path

Searched refs:device (Results 4551 - 4575 of 29480) sorted by relevance

1...<<181182183184185186187188189190>>...1180

/kernel/linux/linux-6.6/tools/testing/cxl/
H A Dmock_acpi.c5 #include <linux/device.h>
10 struct acpi_device *to_cxl_host_bridge(struct device *host, struct device *dev) in to_cxl_host_bridge()
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-clocks.h22 int (*lpass_set_clk)(struct device *dev, int clk_id, int attr,
24 int (*lpass_vote_clk)(struct device *dev, uint32_t hid, const char *n, uint32_t *h);
25 int (*lpass_unvote_clk)(struct device *dev, uint32_t hid, uint32_t h);
H A Dq6adm.h19 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate,
22 int q6adm_close(struct device *dev, struct q6copp *copp);
24 int q6adm_matrix_map(struct device *dev, int path,
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_fence.h60 VkResult vk_fence_create(struct vk_device *device,
65 void vk_fence_destroy(struct vk_device *device,
69 void vk_fence_reset_temporary(struct vk_device *device,
H A Dvk_sync_dummy.c27 vk_sync_dummy_init(struct vk_device *device, in vk_sync_dummy_init() argument
35 vk_sync_dummy_finish(struct vk_device *device, in vk_sync_dummy_finish() argument
40 vk_sync_dummy_wait_many(struct vk_device *device, in vk_sync_dummy_wait_many() argument
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_metal.h18 IMGUI_IMPL_API bool ImGui_ImplMetal_Init(id<MTLDevice> device);
26 IMGUI_IMPL_API bool ImGui_ImplMetal_CreateFontsTexture(id<MTLDevice> device);
28 IMGUI_IMPL_API bool ImGui_ImplMetal_CreateDeviceObjects(id<MTLDevice> device);
/third_party/skia/third_party/externals/dawn/src/fuzzers/
H A DDawnWireServerAndVulkanBackendFuzzer.cpp30 wgpu::Device device; in LLVMFuzzerTestOneInput()
37 device = wgpu::Device::Acquire(adapter.CreateDevice()); in LLVMFuzzerTestOneInput()
41 return device; in LLVMFuzzerTestOneInput()
H A DDawnWireServerAndD3D12BackendFuzzer.cpp30 wgpu::Device device; in LLVMFuzzerTestOneInput()
37 device = wgpu::Device::Acquire(adapter.CreateDevice()); in LLVMFuzzerTestOneInput()
41 return device; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
H A DBindGroupLayoutMTL.h28 static Ref<BindGroupLayout> Create(DeviceBase* device,
32 Ref<BindGroup> AllocateBindGroup(Device* device, const BindGroupDescriptor* descriptor);
36 BindGroupLayout(DeviceBase* device,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp127 const VkDevice device = context.getDevice(); in VertexGrid() local
144 m_vertexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); in VertexGrid()
151 flushAlloc(vk, device, alloc); in VertexGrid()
160 m_indexBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(indexBufferSizeBytes, VK_BUFFER_USAGE_INDEX_BUFFER_BIT), MemoryRequirement::HostVisible)); in VertexGrid()
169 flushAlloc(vk, device, alloc); in VertexGrid()
237 const VkDevice device = context.getDevice(); in getHostBufferData() local
245 invalidateAlloc(vk, device, alloc); in getHostBufferData()
253 const VkDevice device = context.getDevice(); in setHostBufferData() local
257 flushAlloc(vk, device, alloc); in setHostBufferData()
642 const VkDevice device in Implementation() local
899 const VkDevice device = m_context.getDevice(); ImplementationBase() local
1514 const VkDevice device = context.getDevice(); GraphicsPipeline() local
1615 const VkDevice device = context.getDevice(); ComputePipeline() local
1682 const VkDevice device = m_context.getDevice(); BufferImplementation() local
1836 const VkDevice device = m_context.getDevice(); ImageImplementation() local
2427 const VkDevice device = m_context.getDevice(); BufferCopyImplementation() local
2613 const VkDevice device = m_context.getDevice(); CopyImageImplementation() local
2835 const VkDevice device = m_context.getDevice(); MSImageImplementation() local
3030 const VkDevice device = m_context.getDevice(); WriteImplementation() local
3108 const VkDevice device = m_context.getDevice(); ReadImplementation() local
3424 const VkDevice device = m_context.getDevice(); WriteImplementation() local
3537 const VkDevice device = m_context.getDevice(); ReadImplementation() local
3913 const VkDevice device = context.getDevice(); Implementation() local
4195 const VkDevice device = context.getDevice(); Implementation() local
4391 const VkDevice device = context.getDevice(); GraphicsPipeline() local
4500 const VkDevice device = context.getDevice(); ComputePipeline() local
4537 const VkDevice device = m_context.getDevice(); ReadImplementation() local
4898 const VkDevice device = context.getDevice(); Implementation() local
5201 OperationContext(Context& context, SynchronizationType syncType, const DeviceInterface& vk, const VkDevice device, vk::Allocator& allocator, PipelineCacheData& pipelineCacheData) OperationContext() argument
5219 OperationContext(Context& context, SynchronizationType syncType, const vk::InstanceInterface& vki, const vk::DeviceInterface& vkd, vk::VkPhysicalDevice physicalDevice, vk::VkDevice device, vk::Allocator& allocator, vk::BinaryCollection& programCollection, PipelineCacheData& pipelineCacheData) OperationContext() argument
5245 const VkDevice device = context.getDevice(); Resource() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Df71805f.c36 MODULE_PARM_DESC(force_id, "Override the detected device ID");
49 #define SIO_REG_LDSEL 0x07 /* Logical device select */
54 #define SIO_REG_ENABLE 0x30 /* Logical device enable */
55 #define SIO_REG_ADDR 0x60 /* Logical device address (2 bytes) */
165 struct device *hwmon_dev;
332 static struct f71805f_data *f71805f_update_device(struct device *dev) in f71805f_update_device()
419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, in show_in0()
429 static ssize_t show_in0_max(struct device *dev, struct device_attribute in show_in0_max()
439 static ssize_t show_in0_min(struct device *dev, struct device_attribute in show_in0_min()
449 static ssize_t set_in0_max(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Df71805f.c36 MODULE_PARM_DESC(force_id, "Override the detected device ID");
49 #define SIO_REG_LDSEL 0x07 /* Logical device select */
54 #define SIO_REG_ENABLE 0x30 /* Logical device enable */
55 #define SIO_REG_ADDR 0x60 /* Logical device address (2 bytes) */
165 struct device *hwmon_dev;
332 static struct f71805f_data *f71805f_update_device(struct device *dev) in f71805f_update_device()
419 static ssize_t show_in0(struct device *dev, struct device_attribute *devattr, in show_in0()
429 static ssize_t show_in0_max(struct device *dev, struct device_attribute in show_in0_max()
439 static ssize_t show_in0_min(struct device *dev, struct device_attribute in show_in0_min()
449 static ssize_t set_in0_max(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/iommu/
H A Ddma-iommu.c14 #include <linux/device.h>
390 void iommu_dma_get_resv_regions(struct device *dev, struct list_head *list) in iommu_dma_get_resv_regions()
481 static int iova_reserve_iommu_regions(struct device *dev, in iova_reserve_iommu_regions()
519 static bool dev_is_untrusted(struct device *dev) in dev_is_untrusted()
524 static bool dev_use_swiotlb(struct device *dev, size_t size, in dev_use_swiotlb()
532 static bool dev_use_sg_swiotlb(struct device *dev, struct scatterlist *sg, in dev_use_sg_swiotlb()
545 * If kmalloc() buffers are not DMA-safe for this device and in dev_use_sg_swiotlb()
571 dma_addr_t limit, struct device *dev) in iommu_dma_init_domain()
587 /* Check the domain allows at least some access to the device... */ in iommu_dma_init_domain()
660 size_t size, u64 dma_limit, struct device *de in iommu_dma_alloc_iova()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device_generated_commands.c86 if (pipeline->base.device->physical_device->rad_info.has_gfx9_scissor_bug) { in radv_get_sequence_size()
911 radv_device_finish_dgc_prepare_state(struct radv_device *device) in radv_device_finish_dgc_prepare_state() argument
913 radv_DestroyPipeline(radv_device_to_handle(device), device->meta_state.dgc_prepare.pipeline, in radv_device_finish_dgc_prepare_state()
914 &device->meta_state.alloc); in radv_device_finish_dgc_prepare_state()
915 radv_DestroyPipelineLayout(radv_device_to_handle(device), in radv_device_finish_dgc_prepare_state()
916 device->meta_state.dgc_prepare.p_layout, &device->meta_state.alloc); in radv_device_finish_dgc_prepare_state()
917 device->vk.dispatch_table.DestroyDescriptorSetLayout(radv_device_to_handle(device), in radv_device_finish_dgc_prepare_state()
923 radv_device_init_dgc_prepare_state(struct radv_device *device) radv_device_init_dgc_prepare_state() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp534 const auto device = m_context.getDevice(); in iterate() local
594 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
595 const auto colorView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSRR); in iterate()
616 ImageWithMemory dsImage(vkd, device, alloc, dsImageInfo, MemoryRequirement::Any); in iterate()
620 const auto dsImageView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, depthStencilSRR); in iterate()
626 depthOnlyView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, depthSRR); in iterate()
629 stencilOnlyView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, stencilSRR); in iterate()
664 outputImages.push_back(de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, createInfo, MemoryRequirement::Any))); in iterate()
665 outputImageViews.push_back(makeImageView(vkd, device, outputImages.back()->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR)); in iterate()
694 samplerFloat = createSampler(vkd, device, in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp534 const auto device = m_context.getDevice(); in iterate() local
594 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate()
595 const auto colorView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSRR); in iterate()
616 ImageWithMemory dsImage(vkd, device, alloc, dsImageInfo, MemoryRequirement::Any); in iterate()
620 const auto dsImageView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, depthStencilSRR); in iterate()
626 depthOnlyView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, depthSRR); in iterate()
629 stencilOnlyView = makeImageView(vkd, device, dsImage.get(), VK_IMAGE_VIEW_TYPE_2D, m_params.format, stencilSRR); in iterate()
664 outputImages.push_back(de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, createInfo, MemoryRequirement::Any))); in iterate()
665 outputImageViews.push_back(makeImageView(vkd, device, outputImages.back()->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR)); in iterate()
694 samplerFloat = createSampler(vkd, device, in iterate()
[all...]
/third_party/backends/sanei/
H A Dsanei_usb.c182 * per-device information, using the functions' parameters dn as index */
241 * descriptors are vendor specific. As a result the device will get configured
332 "of device %s failed: %s\n", name, strerror (errno)); in kernel_get_vendor_product()
338 "of device %s failed: %s\n", name, strerror (errno)); in kernel_get_vendor_product()
345 "of device %d failed: %s\n", fd, strerror (errno)); in kernel_get_vendor_product()
348 "of device %d failed: %s\n", fd, strerror (errno)); in kernel_get_vendor_product()
365 /* If we can not open the usb controller device, treat it in kernel_get_vendor_product()
370 /* Search for the scanner device on this bus */ in kernel_get_vendor_product()
391 "vendor/product ID from device %s\n", name); in kernel_get_vendor_product()
399 * store the given device i
404 store_device(device_list_type device) store_device() argument
1299 device_list_type device; sanei_usb_testing_init() local
1627 device_list_type device; usbcall_scan_devices() local
1713 device_list_type device; kernel_scan_devices() local
1802 device_list_type device; libusb_scan_devices() local
1912 device_list_type device; libusb_scan_devices() local
2090 device_list_type device; libusb_scan_devices() local
2518 sanei_usb_add_endpoint(device_list_type* device, SANE_Int transfer_type, SANE_Int ep_address, SANE_Int ep_direction) sanei_usb_add_endpoint() argument
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmbdirect.c45 struct ib_device *device; member
247 log_rdma_event(ERR, "%s on device %s info %p\n", in smbd_qp_async_error_upcall()
248 ib_event_msg(event->event), event->device->name, info); in smbd_qp_async_error_upcall()
288 ib_dma_unmap_single(request->info->id->device, in send_done()
468 wc->qp->device, in recv_done()
620 * Test if FRWR (Fast Registration Work Requests) is supported on the device
645 if (!frwr_is_supported(&info->id->device->attrs)) { in smbd_ia_open()
648 info->id->device->attrs.device_cap_flags, in smbd_ia_open()
649 info->id->device->attrs.max_fast_reg_page_list_len); in smbd_ia_open()
655 info->id->device in smbd_ia_open()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryDeviceMemoryReportTests.cpp123 VkDevice device; member
146 , device (device_) in Environment()
274 return allocateMemory(env.vkd, env.device, &memoryAllocateInfo);
285 return getDeviceMemoryParameters(getImageMemoryRequirements(env.vkd, env.device, image));
290 return getDeviceMemoryParameters(getBufferMemoryRequirements(env.vkd, env.device, buffer));
328 return createBuffer(env.vkd, env.device, &bufferCreateInfo);
363 VK_CHECK(env.vkd.bindBufferMemory(env.device, *buffer.object, *memory.object, 0));
380 return createBufferView(env.vkd, env.device, &bufferViewCreateInfo);
450 return createImage(env.vkd, env.device, &imageCreateInfo);
488 VK_CHECK(env.vkd.bindImageMemory(env.device, *imag
1568 CaseDescription<Device> device; global() member
1749 Unique<VkDevice> device; global() member
2032 checkBufferSupport(const InstanceInterface& vki, VkPhysicalDevice device, VkBufferUsageFlags usage, VkExternalMemoryHandleTypeFlagBits externalMemoryType) checkBufferSupport() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_transport_fc.c7 * Rewrite for host, target, device, and remote port attributes,
31 struct device *pdev, struct fc_vport_identifiers *ids,
356 static int fc_target_setup(struct transport_container *tc, struct device *dev, in fc_target_setup()
357 struct device *cdev) in fc_target_setup()
386 static int fc_host_setup(struct transport_container *tc, struct device *dev, in fc_host_setup()
387 struct device *cdev) in fc_host_setup()
468 static int fc_host_remove(struct transport_container *tc, struct device *dev, in fc_host_remove()
469 struct device *cdev) in fc_host_remove()
647 * @wwpn: wwpn of the fc_rport device
988 show_fc_rport_##field (struct device *de
[all...]
H A Dsg.c99 static int sg_add_device(struct device *);
100 static void sg_remove_device(struct device *);
104 file descriptor list for device */
141 struct list_head sfd_siblings; /* protected by device's sfd_lock */
142 struct sg_device *parentdp; /* owning device */
162 typedef struct sg_device { /* holds the state of each scsi generic device */
163 struct scsi_device *device; member
167 u32 index; /* device index number */
170 atomic_t detaching; /* 0->device usable, 1->device detachin
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dni.c468 if ((rdev->pdev->device == 0x9900) || in ni_init_golden_registers()
469 (rdev->pdev->device == 0x9901) || in ni_init_golden_registers()
470 (rdev->pdev->device == 0x9903) || in ni_init_golden_registers()
471 (rdev->pdev->device == 0x9904) || in ni_init_golden_registers()
472 (rdev->pdev->device == 0x9905) || in ni_init_golden_registers()
473 (rdev->pdev->device == 0x9906) || in ni_init_golden_registers()
474 (rdev->pdev->device == 0x9907) || in ni_init_golden_registers()
475 (rdev->pdev->device == 0x9908) || in ni_init_golden_registers()
476 (rdev->pdev->device == 0x9909) || in ni_init_golden_registers()
477 (rdev->pdev->device in ni_init_golden_registers()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c234 struct nvkm_device *device = fb->subdev.device; in gk104_ram_nuts() local
242 u32 prev = nvkm_rd32(device, addr); in gk104_ram_nuts()
263 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_gddr5()
664 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_gddr5()
714 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_sddr3()
946 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_sddr3()
1065 ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal, in gk104_ram_calc_xits()
1115 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()
1157 struct nvkm_device *device in gk104_ram_prog_0() local
1235 struct nvkm_device *device = ram->base.fb->subdev.device; gk104_ram_prog() local
1335 struct nvkm_device *device = subdev->device; gk104_ram_train_init_0() local
1400 struct nvkm_device *device = subdev->device; gk104_ram_init() local
1525 struct nvkm_device *device = subdev->device; gk104_ram_new_() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dni.c455 if ((rdev->pdev->device == 0x9900) || in ni_init_golden_registers()
456 (rdev->pdev->device == 0x9901) || in ni_init_golden_registers()
457 (rdev->pdev->device == 0x9903) || in ni_init_golden_registers()
458 (rdev->pdev->device == 0x9904) || in ni_init_golden_registers()
459 (rdev->pdev->device == 0x9905) || in ni_init_golden_registers()
460 (rdev->pdev->device == 0x9906) || in ni_init_golden_registers()
461 (rdev->pdev->device == 0x9907) || in ni_init_golden_registers()
462 (rdev->pdev->device == 0x9908) || in ni_init_golden_registers()
463 (rdev->pdev->device == 0x9909) || in ni_init_golden_registers()
464 (rdev->pdev->device in ni_init_golden_registers()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c234 struct nvkm_device *device = fb->subdev.device; in gk104_ram_nuts() local
242 u32 prev = nvkm_rd32(device, addr); in gk104_ram_nuts()
263 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_gddr5()
664 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_gddr5()
714 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_sddr3()
946 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_sddr3()
1065 ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal, in gk104_ram_calc_xits()
1115 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()
1157 struct nvkm_device *device in gk104_ram_prog_0() local
1235 struct nvkm_device *device = ram->base.fb->subdev.device; gk104_ram_prog() local
1335 struct nvkm_device *device = subdev->device; gk104_ram_train_init_0() local
1400 struct nvkm_device *device = subdev->device; gk104_ram_init() local
1525 struct nvkm_device *device = subdev->device; gk104_ram_new_() local
[all...]

Completed in 44 milliseconds

1...<<181182183184185186187188189190>>...1180