Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/include/trace/events/
Dswiotlb.h21 __field( u64, dma_mask )
29 __entry->dma_mask = (dev->dma_mask ? *dev->dma_mask : 0);
38 __entry->dma_mask,
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Ddevices.c72 .dma_mask = &pxamci_dmamask,
116 .dma_mask = &udc_dma_mask,
127 .dma_mask = &udc_dma_mask,
177 .dma_mask = &fb_dma_mask,
409 .dma_mask = &pxaficp_dmamask,
472 .dma_mask = &pxa_ac97_dmamask,
547 .dma_mask = &pxa25x_ssp_dma_mask,
573 .dma_mask = &pxa25x_nssp_dma_mask,
600 .dma_mask = &pxa25x_assp_dma_mask,
628 .dma_mask = &pxa27x_dma_mask_camera,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Ddev.c79 .dma_mask = DMA_BIT_MASK(32),
93 .dma_mask = DMA_BIT_MASK(32),
107 .dma_mask = DMA_BIT_MASK(34),
121 .dma_mask = DMA_BIT_MASK(34),
144 .dma_mask = DMA_BIT_MASK(40),
167 .dma_mask = DMA_BIT_MASK(40),
230 if (host1x->info->dma_mask <= DMA_BIT_MASK(32)) { in host1x_wants_iommu()
290 start = geometry->aperture_start & host->info->dma_mask; in host1x_iommu_attach()
291 end = geometry->aperture_end & host->info->dma_mask; in host1x_iommu_attach()
316 u64 mask = host->info->dma_mask; in host1x_iommu_init()
[all …]
/kernel/linux/linux-5.10/include/linux/
Diommu-helper.h10 u64 dma_mask) in iommu_device_max_index() argument
12 if (size + offset > dma_mask) in iommu_device_max_index()
13 return dma_mask - offset + 1; in iommu_device_max_index()
Deisa.h41 u64 dma_mask; member
99 u64 dma_mask; /* from bridge device */ member
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Ddevs.c85 .dma_mask = &samsung_device_dma_mask,
138 .dma_mask = &samsung_device_dma_mask,
160 .dma_mask = &samsung_device_dma_mask,
208 .dma_mask = &samsung_device_dma_mask,
238 .dma_mask = &samsung_device_dma_mask,
270 .dma_mask = &samsung_device_dma_mask,
300 .dma_mask = &samsung_device_dma_mask,
564 .dma_mask = &samsung_device_dma_mask,
631 .dma_mask = &samsung_device_dma_mask,
900 .dma_mask = &samsung_device_dma_mask,
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Ddma-mask.c7 void arch_dma_set_mask(struct device *dev, u64 dma_mask) in arch_dma_set_mask() argument
10 ppc_md.dma_set_mask(dev, dma_mask); in arch_dma_set_mask()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_driver.c272 u64 dma_mask; in init_cc_resources() local
331 if (!dev->dma_mask) in init_cc_resources()
332 dev->dma_mask = &dev->coherent_dma_mask; in init_cc_resources()
334 dma_mask = DMA_BIT_MASK(DMA_BIT_MASK_LEN); in init_cc_resources()
335 while (dma_mask > 0x7fffffffUL) { in init_cc_resources()
336 if (dma_supported(dev, dma_mask)) { in init_cc_resources()
337 rc = dma_set_coherent_mask(dev, dma_mask); in init_cc_resources()
341 dma_mask >>= 1; in init_cc_resources()
345 dev_err(dev, "Failed in dma_set_mask, mask=%llx\n", dma_mask); in init_cc_resources()
/kernel/linux/linux-5.10/drivers/pnp/
Dcore.c155 dev->dma_mask = DMA_BIT_MASK(24); in pnp_alloc_dev()
159 dev->dev.dma_mask = &dev->dma_mask; in pnp_alloc_dev()
160 dev->dev.coherent_dma_mask = dev->dma_mask; in pnp_alloc_dev()
/kernel/linux/linux-5.10/arch/arm/mach-iop32x/
Dadma.c119 .dma_mask = &iop3xx_adma_dmamask,
131 .dma_mask = &iop3xx_adma_dmamask,
143 .dma_mask = &iop3xx_adma_dmamask,
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Ddm355.c75 .dma_mask = &dm355_spi0_dma_mask,
293 .dma_mask = DMA_BIT_MASK(32),
390 .dma_mask = &vpfe_capture_dma_mask,
402 .dma_mask = &vpfe_capture_dma_mask,
421 .dma_mask = &vpfe_capture_dma_mask,
515 .dma_mask = &vpfe_capture_dma_mask,
531 .dma_mask = &vpfe_capture_dma_mask,
541 .dma_mask = &vpfe_capture_dma_mask,
Ddm644x.c280 .dma_mask = DMA_BIT_MASK(32),
363 .dma_mask = &dm644x_video_dma_mask,
374 .dma_mask = &dm644x_video_dma_mask,
395 .dma_mask = &dm644x_video_dma_mask,
460 .dma_mask = &dm644x_video_dma_mask,
475 .dma_mask = &dm644x_video_dma_mask,
485 .dma_mask = &dm644x_video_dma_mask,
Dusb-da8xx.c87 .dma_mask = &usb_dmamask,
121 .dma_mask = &da8xx_usb11_dma_mask,
Ddevices.c95 .dma_mask = &ide_dma_mask,
143 .dma_mask = &mmcsd0_dma_mask,
172 .dma_mask = &mmcsd1_dma_mask,
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dpci.c289 if ((hdev->power9_64bit_dma_enable) && (hdev->dma_mask == 64)) in hl_pci_set_outbound_region()
325 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(hdev->dma_mask)); in hl_pci_set_dma_mask()
329 hdev->dma_mask, rc); in hl_pci_set_dma_mask()
333 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(hdev->dma_mask)); in hl_pci_set_dma_mask()
337 hdev->dma_mask, rc); in hl_pci_set_dma_mask()
/kernel/linux/linux-5.10/drivers/xen/
Dswiotlb-xen.c283 u64 dma_mask = DMA_BIT_MASK(32); in xen_swiotlb_alloc_coherent() local
309 dma_mask = hwdev->coherent_dma_mask; in xen_swiotlb_alloc_coherent()
317 if (((dev_addr + size - 1 <= dma_mask)) && in xen_swiotlb_alloc_coherent()
322 fls64(dma_mask), dma_handle) != 0) { in xen_swiotlb_alloc_coherent()
339 u64 dma_mask = DMA_BIT_MASK(32); in xen_swiotlb_free_coherent() local
343 dma_mask = hwdev->coherent_dma_mask; in xen_swiotlb_free_coherent()
357 if (!WARN_ON((dev_addr + size - 1 > dma_mask) || in xen_swiotlb_free_coherent()
/kernel/linux/linux-5.10/drivers/eisa/
Dpci_eisa.c56 pci_eisa_root.dma_mask = pdev->dma_mask; in pci_eisa_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Ddma.c72 .dma_mask = &ep93xx_dma_m2p_mask,
103 .dma_mask = &ep93xx_dma_m2m_mask,
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Ddb1000.c116 .dma_mask = &au1xxx_all_dmamask,
161 .dma_mask = &au1xxx_all_dmamask,
336 .dma_mask = &au1xxx_all_dmamask,
371 .dma_mask = &au1xxx_all_dmamask,
408 .dma_mask = &au1xxx_all_dmamask,
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Dplatform.c232 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
252 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
272 pdev->dev.dma_mask = &alchemy_all_dmamask; in alchemy_setup_usb()
340 .dma_mask = &alchemy_all_dmamask,
376 .dma_mask = &alchemy_all_dmamask,
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci_iommu.c243 if ((dac_offset & dev->dma_mask) != dac_offset) in pci_dac_dma_supported()
263 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1()
345 if (!dev || !dev->dma_mask || !*dev->dma_mask) in alpha_gendev_to_pci()
350 if (*dev->dma_mask >= isa_bridge->dma_mask) in alpha_gendev_to_pci()
367 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in alpha_pci_map_page()
673 dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in alpha_pci_map_sg()
693 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_map_sg()
756 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in alpha_pci_unmap_sg()
/kernel/linux/linux-5.10/arch/arm/mach-mmp/
Ddevices.c255 .dma_mask = &usb_dma_mask,
290 .dma_mask = &usb_dma_mask,
314 .dma_mask = &usb_dma_mask,
350 .dma_mask = &usb_dma_mask,
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-core.c384 u32 dma_mask = 0; in tmc_etr_setup_caps() local
398 dma_mask = ((devid >> TMC_DEVID_AXIAW_SHIFT) & in tmc_etr_setup_caps()
405 switch (dma_mask) { in tmc_etr_setup_caps()
411 dev_info(parent, "Detected dma mask %dbits\n", dma_mask); in tmc_etr_setup_caps()
414 dma_mask = 40; in tmc_etr_setup_caps()
417 rc = dma_set_mask_and_coherent(parent, DMA_BIT_MASK(dma_mask)); in tmc_etr_setup_caps()

12345678910>>...12