Home
last modified time | relevance | path

Searched refs:dma_mask (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/linux-6.6.21/include/trace/events/
Dswiotlb.h16 __field(u64, dma_mask)
24 __entry->dma_mask = (dev->dma_mask ? *dev->dma_mask : 0);
32 __entry->dma_mask,
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_dev.c12 .dma_mask = DMA_BIT_MASK(48),
24 .dma_mask = DMA_BIT_MASK(48),
31 .dma_mask = DMA_BIT_MASK(40),
43 .dma_mask = DMA_BIT_MASK(40),
/linux-6.6.21/drivers/acpi/arm64/
Ddma.c20 if (!dev->dma_mask) { in acpi_arch_dma_setup()
22 dev->dma_mask = &dev->coherent_dma_mask; in acpi_arch_dma_setup()
54 *dev->dma_mask = min(*dev->dma_mask, mask); in acpi_arch_dma_setup()
/linux-6.6.21/arch/arm/mach-s3c/
Ddevs.c68 .dma_mask = &samsung_device_dma_mask,
100 .dma_mask = &samsung_device_dma_mask,
130 .dma_mask = &samsung_device_dma_mask,
162 .dma_mask = &samsung_device_dma_mask,
192 .dma_mask = &samsung_device_dma_mask,
329 .dma_mask = &samsung_device_dma_mask,
349 .dma_mask = &samsung_device_dma_mask,
379 .dma_mask = &samsung_device_dma_mask,
/linux-6.6.21/arch/arm/mach-pxa/
Ddevices.c69 .dma_mask = &pxamci_dmamask,
107 .dma_mask = &udc_dma_mask,
118 .dma_mask = &udc_dma_mask,
141 .dma_mask = &fb_dma_mask,
427 .dma_mask = &pxa25x_ssp_dma_mask,
453 .dma_mask = &pxa25x_nssp_dma_mask,
480 .dma_mask = &pxa25x_assp_dma_mask,
508 .dma_mask = &pxa27x_ohci_dma_mask,
541 .dma_mask = &pxa27x_ssp1_dma_mask,
567 .dma_mask = &pxa27x_ssp2_dma_mask,
[all …]
/linux-6.6.21/include/linux/
Diommu-helper.h12 u64 dma_mask) in iommu_device_max_index() argument
14 if (size + offset > dma_mask) in iommu_device_max_index()
15 return dma_mask - offset + 1; in iommu_device_max_index()
Deisa.h41 u64 dma_mask; member
99 u64 dma_mask; /* from bridge device */ member
/linux-6.6.21/drivers/gpu/host1x/
Ddev.c91 .dma_mask = DMA_BIT_MASK(32),
106 .dma_mask = DMA_BIT_MASK(32),
121 .dma_mask = DMA_BIT_MASK(34),
136 .dma_mask = DMA_BIT_MASK(34),
166 .dma_mask = DMA_BIT_MASK(40),
202 .dma_mask = DMA_BIT_MASK(40),
250 .dma_mask = DMA_BIT_MASK(40),
337 if (host1x->info->dma_mask <= DMA_BIT_MASK(32)) { in host1x_wants_iommu()
397 start = geometry->aperture_start & host->info->dma_mask; in host1x_iommu_attach()
398 end = geometry->aperture_end & host->info->dma_mask; in host1x_iommu_attach()
[all …]
Dcontext.c53 ctx->dma_mask = DMA_BIT_MASK(38); in host1x_memory_context_list_init()
54 ctx->dev.dma_mask = &ctx->dma_mask; in host1x_memory_context_list_init()
55 ctx->dev.coherent_dma_mask = ctx->dma_mask; in host1x_memory_context_list_init()
/linux-6.6.21/arch/powerpc/kernel/
Ddma-mask.c8 void arch_dma_set_mask(struct device *dev, u64 dma_mask) in arch_dma_set_mask() argument
11 ppc_md.dma_set_mask(dev, dma_mask); in arch_dma_set_mask()
/linux-6.6.21/drivers/pnp/
Dcore.c143 dev->dma_mask = DMA_BIT_MASK(24); in pnp_alloc_dev()
147 dev->dev.dma_mask = &dev->dma_mask; in pnp_alloc_dev()
148 dev->dev.coherent_dma_mask = dev->dma_mask; in pnp_alloc_dev()
/linux-6.6.21/arch/loongarch/kernel/
Ddma.c27 *dev->dma_mask = min(*dev->dma_mask, mask); in acpi_arch_dma_setup()
/linux-6.6.21/mm/
Ddmapool_test.c33 static u64 dma_mask; variable
121 test_dev.dma_mask = &dma_mask; in dmapool_checks()
/linux-6.6.21/arch/sparc/kernel/
Dpci_sabre.c463 u32 upa_portid, dma_mask; in sabre_probe() local
542 dma_mask = vdma[0]; in sabre_probe()
545 dma_mask |= 0x1fffffff; in sabre_probe()
549 dma_mask |= 0x3fffffff; in sabre_probe()
554 dma_mask |= 0x7fffffff; in sabre_probe()
562 err = psycho_iommu_init(pbm, tsbsize, vdma[0], dma_mask, SABRE_WRSYNC); in sabre_probe()
/linux-6.6.21/drivers/eisa/
Dpci_eisa.c56 pci_eisa_root.dma_mask = pdev->dma_mask; in pci_eisa_init()
Deisa-bus.c201 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device()
205 edev->dev.dma_mask = &edev->dma_mask; in eisa_init_device()
206 edev->dev.coherent_dma_mask = edev->dma_mask; in eisa_init_device()
/linux-6.6.21/arch/alpha/kernel/
Dpci_iommu.c216 if ((dac_offset & dev->dma_mask) != dac_offset) in pci_dac_dma_supported()
236 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1()
318 if (!dev || !dev->dma_mask || !*dev->dma_mask) in alpha_gendev_to_pci()
323 if (*dev->dma_mask >= isa_bridge->dma_mask) in alpha_gendev_to_pci()
340 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in alpha_pci_map_page()
646 dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in alpha_pci_map_sg()
668 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_map_sg()
733 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_unmap_sg()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dcore.c326 ret = dma_set_mask_and_coherent(dev, core->res->dma_mask); in venus_probe()
551 .dma_mask = 0xddc00000 - 1,
584 .dma_mask = 0xddc00000 - 1,
647 .dma_mask = 0xd9000000 - 1,
692 .dma_mask = 0xe0000000 - 1,
718 .dma_mask = 0xe0000000 - 1,
766 .dma_mask = 0xe0000000 - 1,
825 .dma_mask = 0xe0000000 - 1,
883 .dma_mask = 0xe0000000 - 1,
/linux-6.6.21/arch/arm/mach-ep93xx/
Ddma.c72 .dma_mask = &ep93xx_dma_m2p_mask,
103 .dma_mask = &ep93xx_dma_m2m_mask,
/linux-6.6.21/arch/mips/sgi-ip22/
Dip22-platform.c38 .dma_mask = &sgiwd93_0_dma_mask,
66 .dma_mask = &sgiwd93_1_dma_mask,
117 .dma_mask = &sgiseeq_dma_mask,
/linux-6.6.21/arch/mips/alchemy/common/
Dplatform.c238 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
258 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
278 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
346 .dma_mask = &alchemy_all_dmamask,
382 .dma_mask = &alchemy_all_dmamask,
/linux-6.6.21/arch/mips/alchemy/devboards/
Ddb1000.c115 .dma_mask = &au1xxx_all_dmamask,
160 .dma_mask = &au1xxx_all_dmamask,
331 .dma_mask = &au1xxx_all_dmamask,
366 .dma_mask = &au1xxx_all_dmamask,
412 .dma_mask = &au1xxx_all_dmamask,
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-tmc-core.c369 u32 dma_mask = 0; in tmc_etr_setup_caps() local
383 dma_mask = ((devid >> TMC_DEVID_AXIAW_SHIFT) & in tmc_etr_setup_caps()
390 switch (dma_mask) { in tmc_etr_setup_caps()
396 dev_info(parent, "Detected dma mask %dbits\n", dma_mask); in tmc_etr_setup_caps()
399 dma_mask = 40; in tmc_etr_setup_caps()
402 rc = dma_set_mask_and_coherent(parent, DMA_BIT_MASK(dma_mask)); in tmc_etr_setup_caps()
/linux-6.6.21/arch/arm/mach-sa1100/
Dgeneric.c129 .dma_mask = &sa11x0udc_dma_mask,
172 .dma_mask = &sa11x0mcp_dma_mask,
205 .dma_mask = &sa11x0ssp_dma_mask,
282 .dma_mask = &sa11x0dma_dma_mask,
/linux-6.6.21/drivers/tc/
Dtc.c97 tdev->dma_mask = DMA_BIT_MASK(34); in tc_bus_add_devices()
98 tdev->dev.dma_mask = &tdev->dma_mask; in tc_bus_add_devices()

12345678910>>...12