/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 240 VkDevice device = ctx.getDevice(); in createImageAndBind() local 243 Move<VkImage> image = vk::createImage(dinterface, device, &createInfo); in createImageAndBind() 245 const VkMemoryRequirements memReqs = vk::getImageMemoryRequirements(dinterface, device, *image); in createImageAndBind() 248 VK_CHECK(dinterface.bindImageMemory(device, *image, allocation->getMemory(), allocation->getOffset())); in createImageAndBind() 530 VkDevice device = context.getDevice(); in createFrameBuffer() local 554 outputFB->attachment0 = vk::createImageView(interface, device, &viewCreateInfo); in createFrameBuffer() 581 outputFB->buffer = vk::createFramebuffer(interface, device, &framebufferCreateInfo); in createFrameBuffer() 593 VkDevice device (ctx.getDevice()); in createBufferAndBind() 608 Move<VkBuffer> buffer = vk::createBuffer(interface, device, &createInfo); in createBufferAndBind() 610 const VkMemoryRequirements memRequirements = vk::getBufferMemoryRequirements(interface, device, *buffe in createBufferAndBind() 668 VkPhysicalDevice device = testContext.getPhysicalDevice(); DeviceProperties() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 240 VkDevice device = ctx.getDevice(); in createImageAndBind() local 243 Move<VkImage> image = vk::createImage(dinterface, device, &createInfo); in createImageAndBind() 245 const VkMemoryRequirements memReqs = vk::getImageMemoryRequirements(dinterface, device, *image); in createImageAndBind() 248 VK_CHECK(dinterface.bindImageMemory(device, *image, allocation->getMemory(), allocation->getOffset())); in createImageAndBind() 530 VkDevice device = context.getDevice(); in createFrameBuffer() local 554 outputFB->attachment0 = vk::createImageView(interface, device, &viewCreateInfo); in createFrameBuffer() 581 outputFB->buffer = vk::createFramebuffer(interface, device, &framebufferCreateInfo); in createFrameBuffer() 593 VkDevice device (ctx.getDevice()); in createBufferAndBind() 608 Move<VkBuffer> buffer = vk::createBuffer(interface, device, &createInfo); in createBufferAndBind() 610 const VkMemoryRequirements memRequirements = vk::getBufferMemoryRequirements(interface, device, *buffe in createBufferAndBind() 668 VkPhysicalDevice device = testContext.getPhysicalDevice(); DeviceProperties() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPipelineConstructionUtil.hpp | 109 PipelineLayoutWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, const VkDescriptorSetLayout descriptorSetLayout = DE_NULL, const VkPushConstantRange* pushConstantRange = DE_NULL); 110 PipelineLayoutWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, const std::vector<vk::Move<VkDescriptorSetLayout>>& descriptorSetLayout); 111 PipelineLayoutWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, deUint32 setLayoutCount, const VkDescriptorSetLayout* descriptorSetLayout); 112 PipelineLayoutWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* = DE_NULL); 113 PipelineLayoutWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, const VkDevice device, const deUint32 setLayoutCount, const VkDescriptorSetLayout* descriptorSetLayout, const deUint32 pushConstantRangeCount, const VkPushConstantRange* pPushConstantRanges, const VkPipelineLayoutCreateFlags flags = (VkPipelineLayoutCreateFlags)0u); 145 RenderPassWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, const VkRenderPassCreateInfo* pCreateInfo); 146 RenderPassWrapper (PipelineConstructionType pipelineConstructionType, const DeviceInterface& vk, VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo); 149 const VkDevice device, 205 void createFramebuffer (const DeviceInterface& vk, const VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const std::vector<vk::VkImage>& images); 206 void createFramebuffer (const DeviceInterface& vk, const VkDevice device, cons [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_beta.h | 233 typedef VkResult (VKAPI_PTR *PFN_vkCreateVideoSessionKHR)(VkDevice device, const VkVideoSessionCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkVideoSessionKHR* pVideoSession); 234 typedef void (VKAPI_PTR *PFN_vkDestroyVideoSessionKHR)(VkDevice device, VkVideoSessionKHR videoSession, const VkAllocationCallbacks* pAllocator); 235 typedef VkResult (VKAPI_PTR *PFN_vkGetVideoSessionMemoryRequirementsKHR)(VkDevice device, VkVideoSessionKHR videoSession, uint32_t* pVideoSessionMemoryRequirementsCount, VkVideoGetMemoryPropertiesKHR* pVideoSessionMemoryRequirements); 236 typedef VkResult (VKAPI_PTR *PFN_vkBindVideoSessionMemoryKHR)(VkDevice device, VkVideoSessionKHR videoSession, uint32_t videoSessionBindMemoryCount, const VkVideoBindMemoryKHR* pVideoSessionBindMemories); 237 typedef VkResult (VKAPI_PTR *PFN_vkCreateVideoSessionParametersKHR)(VkDevice device, const VkVideoSessionParametersCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkVideoSessionParametersKHR* pVideoSessionParameters); 238 typedef VkResult (VKAPI_PTR *PFN_vkUpdateVideoSessionParametersKHR)(VkDevice device, VkVideoSessionParametersKHR videoSessionParameters, const VkVideoSessionParametersUpdateInfoKHR* pUpdateInfo); 239 typedef void (VKAPI_PTR *PFN_vkDestroyVideoSessionParametersKHR)(VkDevice device, VkVideoSessionParametersKHR videoSessionParameters, const VkAllocationCallbacks* pAllocator); 257 VkDevice device, 263 VkDevice device, 268 VkDevice device, [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | MinimumBufferSizeValidationTests.cpp | 158 return device.CreateBuffer(&bufferDescriptor); in CreateBuffer() 164 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, shader.c_str()); in CreateComputePipeline() 172 csDesc.layout = device.CreatePipelineLayout(&descriptor); in CreateComputePipeline() 177 return device.CreateComputePipeline(&csDesc); in CreateComputePipeline() 189 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in CreateRenderPipeline() 191 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragShader.c_str()); in CreateRenderPipeline() 202 pipelineDescriptor.layout = device.CreatePipelineLayout(&descriptor); in CreateRenderPipeline() 205 return device.CreateRenderPipeline(&pipelineDescriptor); in CreateRenderPipeline() 233 return device.CreateBindGroupLayout(&descriptor); in CreateBindGroupLayout() 276 return device in CreateBindGroup() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/devfreq/ |
H A D | devfreq.c | 46 /* The list of all device-devfreq governors */ 48 /* The list of all device-devfreq */ 58 * find_device_devfreq() - find devfreq struct using device pointer 59 * @dev: device pointer used to lookup device devfreq. 61 * Search the list of device devfreqs and return the matched device's 64 static struct devfreq *find_device_devfreq(struct device *dev) in find_device_devfreq() 391 * update_devfreq() - Reevaluate the device and configure frequency. 455 * Helper function for starting devfreq device loa [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/ |
H A D | ibmvscsi.c | 17 * The virtual adapter(s) are present in the open firmware device 635 * @dev: device for which the memory is mapped 640 struct device *dev) in unmap_cmd_data() 675 * @dev: device for which to map dma memory 682 struct srp_cmd *srp_cmd, struct device *dev) in map_sg_data() 726 sdev_printk(KERN_ERR, cmd->device, in map_sg_data() 749 * @dev: dma device for which to map dma memory 756 struct srp_cmd *srp_cmd, struct device *dev) in map_data_for_srp_cmd() 765 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd() 769 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | asus-laptop.c | 157 * they also control the WLAN/Bluetooth device. 234 * about the hotk device 241 struct acpi_device *device; /* the device we are in */ member 274 acpi_handle handle; /* the handle of the hotk device */ 450 struct device *parent = input->dev.parent; in pega_accel_poll() 456 * device, and perhaps a firmware bug. Fake the first report. */ in pega_accel_poll() 472 * "real up" in the device's cartiesian coordinates). */ in pega_accel_poll() 746 * Backlight device 814 pr_err("Could not register asus backlight device\ in asus_backlight_init() 1518 asus_acpi_notify(struct acpi_device *device, u32 event) asus_acpi_notify() argument 1826 asus_acpi_add(struct acpi_device *device) asus_acpi_add() argument 1904 asus_acpi_remove(struct acpi_device *device) asus_acpi_remove() argument [all...] |
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | remoteproc_core.c | 22 #include <linux/device.h> 82 * will try to access an unmapped device address. 84 static int rproc_iommu_fault(struct iommu_domain *domain, struct device *dev, in rproc_iommu_fault() 103 struct device *dev = rproc->dev.parent; in rproc_enable_iommu() 121 dev_err(dev, "can't attach iommu device: %d\n", ret); in rproc_enable_iommu() 137 struct device *dev = rproc->dev.parent; in rproc_disable_iommu() 166 * @da: remoteproc device address to translate 171 * device addresses (which are hardcoded in the firmware). They may also have 175 * They may then ask us to copy objects into specific device addresses (e.g. 176 * code/data sections) or expose us certain symbols in other device addres [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/ |
H A D | ibmvscsi.c | 17 * The virtual adapter(s) are present in the open firmware device 635 * @dev: device for which the memory is mapped 639 struct device *dev) in unmap_cmd_data() 675 * @dev: device for which to map dma memory 682 struct srp_cmd *srp_cmd, struct device *dev) in map_sg_data() 725 sdev_printk(KERN_ERR, cmd->device, in map_sg_data() 749 * @dev: dma device for which to map dma memory 756 struct srp_cmd *srp_cmd, struct device *dev) in map_data_for_srp_cmd() 765 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd() 769 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | devfreq.c | 49 /* The list of all device-devfreq governors */ 51 /* The list of all device-devfreq */ 61 * find_device_devfreq() - find devfreq struct using device pointer 62 * @dev: device pointer used to lookup device devfreq. 64 * Search the list of device devfreqs and return the matched device's 67 static struct devfreq *find_device_devfreq(struct device *dev) in find_device_devfreq() 373 * change order of between devfreq device and passive devfreq device in devfreq_set_target() [all...] |
/kernel/linux/linux-5.10/drivers/counter/ |
H A D | counter.c | 7 #include <linux/device.h> 227 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 229 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 247 /* Allocate a Counter device attribute */ in counter_attribute_create() 255 /* Configure device attribute */ in counter_attribute_create() 297 static ssize_t counter_signal_show(struct device *dev, in counter_signal_show() 318 static ssize_t counter_device_attr_name_show(struct device *dev, in counter_device_attr_name_show() 368 static ssize_t counter_signal_ext_show(struct device *dev, in counter_signal_ext_show() 378 static ssize_t counter_signal_ext_store(struct device *dev, in counter_signal_ext_store() 427 /* Allocate a Counter device attribut in counter_signal_ext_register() [all...] |
/kernel/linux/linux-5.10/kernel/dma/ |
H A D | debug.c | 20 #include <linux/device.h> 68 struct device *dev; 176 static bool driver_filter(struct device *dev) in driver_filter() 190 /* driver filter on, but we can't filter on a NULL device... */ in driver_filter() 306 * same device addresses being put into the dma-debug in __hash_bucket_find() 403 void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings() 516 /* If the device is not writing memory then we don't have any in active_cacheline_insert() 825 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations() 847 struct device *dev = data; in dma_debug_device_change() 859 err_printk(dev, entry, "device drive in dma_debug_device_change() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | pci.c | 28 u16 device; member 35 u16 device; member 1558 nvkm_device_pci(struct nvkm_device *device) in nvkm_device_pci() argument 1560 return container_of(device, struct nvkm_device_pci, device); in nvkm_device_pci() 1564 nvkm_device_pci_resource_addr(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_addr() argument 1566 struct nvkm_device_pci *pdev = nvkm_device_pci(device); in nvkm_device_pci_resource_addr() 1571 nvkm_device_pci_resource_size(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_size() argument 1573 struct nvkm_device_pci *pdev = nvkm_device_pci(device); in nvkm_device_pci_resource_size() 1578 nvkm_device_pci_fini(struct nvkm_device *device, boo argument 1588 nvkm_device_pci_preinit(struct nvkm_device *device) nvkm_device_pci_preinit() argument 1602 nvkm_device_pci_dtor(struct nvkm_device *device) nvkm_device_pci_dtor() argument [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | ds.c | 86 * pcmcia_store_new_id - add a new PCMCIA device ID to this driver and re-probe devices 87 * @driver: target device driver 88 * @buf: buffer for scanning device ID data 91 * Adds a new dynamic PCMCIA device ID to this driver, 217 struct device *tmp_dev; in pcmcia_get_dev() 237 static void pcmcia_release_dev(struct device *dev) in pcmcia_release_dev() 241 dev_dbg(dev, "releasing device\n"); in pcmcia_release_dev() 251 static int pcmcia_device_probe(struct device *dev) in pcmcia_device_probe() 275 /* set up some more device information */ in pcmcia_device_probe() 319 * Removes a PCMCIA card from the device tre [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-pcf2127.c | 216 static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm) in pcf2127_rtc_read_time() 267 static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm) in pcf2127_rtc_set_time() 334 static int pcf2127_rtc_ioctl(struct device *dev, in pcf2127_rtc_ioctl() 488 static int pcf2127_watchdog_init(struct device *dev, struct pcf2127 *pcf2127) in pcf2127_watchdog_init() 533 static int pcf2127_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcf2127_rtc_read_alarm() 564 static int pcf2127_rtc_alarm_irq_enable(struct device *dev, u32 enable) in pcf2127_rtc_alarm_irq_enable() 578 static int pcf2127_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pcf2127_rtc_set_alarm() 611 static int pcf2127_rtc_ts_read(struct device *dev, time64_t *ts, in pcf2127_rtc_ts_read() 650 static void pcf2127_rtc_ts_snapshot(struct device *dev, int ts_id) in pcf2127_rtc_ts_snapshot() 748 static ssize_t timestamp_store(struct device *de [all...] |
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | debug.c | 20 #include <linux/device.h> 69 struct device *dev; 177 static bool driver_filter(struct device *dev) in driver_filter() 191 /* driver filter on, but we can't filter on a NULL device... */ in driver_filter() 307 * same device addresses being put into the dma-debug in __hash_bucket_find() 484 /* If the device is not writing memory then we don't have any in active_cacheline_insert() 522 void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings() 829 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations() 851 struct device *dev = data; in dma_debug_device_change() 863 err_printk(dev, entry, "device drive in dma_debug_device_change() [all...] |
H A D | swiotlb.c | 12 * 03/05/07 davidm Switch from PCI-DMA to generic device DMA API. 608 static struct page *swiotlb_alloc_tlb(struct device *dev, size_t bytes, in swiotlb_alloc_tlb() 679 static struct io_tlb_pool *swiotlb_alloc_pool(struct device *dev, in swiotlb_alloc_pool() 771 struct io_tlb_pool *swiotlb_find_pool(struct device *dev, phys_addr_t paddr) in swiotlb_find_pool() 793 * swiotlb_del_pool() - remove an IO TLB pool from a device 794 * @dev: Owning device. 797 static void swiotlb_del_pool(struct device *dev, struct io_tlb_pool *pool) in swiotlb_del_pool() 811 * swiotlb_dev_init() - initialize swiotlb fields in &struct device 814 void swiotlb_dev_init(struct device *dev) in swiotlb_dev_init() 825 * Return the offset into a iotlb slot required to keep the device happ [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | ds.c | 86 * new_id_store() - add a new PCMCIA device ID to this driver and re-probe devices 87 * @driver: target device driver 88 * @buf: buffer for scanning device ID data 91 * Adds a new dynamic PCMCIA device ID to this driver, 217 struct device *tmp_dev; in pcmcia_get_dev() 237 static void pcmcia_release_dev(struct device *dev) in pcmcia_release_dev() 241 dev_dbg(dev, "releasing device\n"); in pcmcia_release_dev() 251 static int pcmcia_device_probe(struct device *dev) in pcmcia_device_probe() 275 /* set up some more device information */ in pcmcia_device_probe() 319 * Removes a PCMCIA card from the device tre [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ch.c | 3 * SCSI Media Changer device driver for Linux 2.6 41 MODULE_DESCRIPTION("device driver for scsi media changer devices"); 88 sdev_prefix_printk(prefix, (ch)->device, (ch)->name, fmt, ##a) 112 struct scsi_device *device; member 200 result = scsi_execute_cmd(ch->device, cmd, op, buffer, buflength, in ch_do_scsi() 206 scsi_print_sense_hdr(ch->device, ch->name, &sshdr); in ch_do_scsi() 250 cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_read_element_status() 269 VPRINTK(KERN_INFO, "device has no volume tag support\n"); in ch_read_element_status() 287 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_init_elem() 307 cmd[1] = (ch->device in ch_readconfig() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationUserDefinedIO.cpp | 771 const VkDevice device = m_context.getDevice(); in iterate() local 786 const BufferWithMemory vertexBuffer (vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 792 flushAlloc(vk, device, alloc); in iterate() 799 const BufferWithMemory resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 805 flushAlloc(vk, device, alloc); in iterate() 813 const ImageWithMemory colorAttachmentImage (vk, device, allocator, in iterate() 820 const BufferWithMemory colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); in iterate() 826 .build(vk, device)); in iterate() 830 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); in iterate() 832 const Unique<VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPoo in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationUserDefinedIO.cpp | 771 const VkDevice device = m_context.getDevice(); in iterate() local 786 const BufferWithMemory vertexBuffer (vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 792 flushAlloc(vk, device, alloc); in iterate() 799 const BufferWithMemory resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 805 flushAlloc(vk, device, alloc); in iterate() 813 const ImageWithMemory colorAttachmentImage (vk, device, allocator, in iterate() 820 const BufferWithMemory colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); in iterate() 826 .build(vk, device)); in iterate() 830 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); in iterate() 832 const Unique<VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPoo in iterate() [all...] |
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_dfx_test.cpp | 132 std::cout << "please connect or disconnect a device to the host" << std::endl;
in PrintPromptMsg() 175 std::cout << "please connect device, press enter to continue" << std::endl;
in HWTEST_F() 178 std::cout << "please connect device, press enter to continue" << std::endl;
in HWTEST_F() 222 UsbDevice device;
in HWTEST_F() local 223 device.SetBusNum(USB_BUS_NUM_INVALID);
in HWTEST_F() 224 device.SetDevAddr(USB_DEV_ADDR_INVALID);
in HWTEST_F() 226 UsbSrvClient.OpenDevice(device, pipe);
in HWTEST_F() 264 UsbDevice device;
in HWTEST_F() local 265 device.SetBusNum(USB_BUS_NUM_INVALID);
in HWTEST_F() 266 device in HWTEST_F() [all...] |
H A D | usb_event_test.cpp | 122 * @tc.desc: usb device attached event 133 std::cout << "please connect a device to the host" << std::endl; in HWTEST_F() 151 // valid device in HWTEST_F() 152 UsbDevice device(deviceJson); in HWTEST_F() 153 EXPECT_NE(device.GetiProduct(), 0); in HWTEST_F() 154 EXPECT_NE(device.GetiManufacturer(), 0); in HWTEST_F() 155 EXPECT_GT(device.GetConfigCount(), 0); in HWTEST_F() 159 device.GetConfig(0, config); in HWTEST_F() 176 * @tc.desc: usb device detached event 187 std::cout << "please disconnect the device t in HWTEST_F() [all...] |
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/ |
H A D | hi3516_dma_ops.c | 38 static struct device g_renderDev = {0}; 39 static struct device g_captureDev = {0}; 47 struct HdfDeviceObject *device = NULL; in DmacIsrCallBack() local 52 device = (struct HdfDeviceObject *)data; in DmacIsrCallBack() 53 if (device == NULL) { in DmacIsrCallBack() 54 AUDIO_DRIVER_LOG_ERR("device is null."); in DmacIsrCallBack() 59 ret = AudioCapSilenceThresholdEvent(device, &reportMsg); in DmacIsrCallBack() 74 if (card == NULL || card->device == NULL || platformDevice == NULL || platformDevice->devData == NULL) { in AudioDmaDeviceInit() 82 (OsalIRQHandle)DmacIsrCallBack, "AIO_interrupt", card->device); in AudioDmaDeviceInit()
|