/arch/x86/kernel/ |
D | pci-dma.c | 43 .dma_mask = &x86_dma_fallback_dev.coherent_dma_mask, 49 if (!dev->dma_mask || !dma_supported(dev, mask)) in dma_set_mask() 52 *dev->dma_mask = mask; in dma_set_mask() 131 unsigned long dma_mask; in dma_generic_alloc_coherent() local 135 dma_mask = dma_alloc_coherent_mask(dev, flag); in dma_generic_alloc_coherent() 144 if (!is_buffer_dma_capable(dma_mask, addr, size)) { in dma_generic_alloc_coherent() 147 if (dma_mask < DMA_32BIT_MASK && !(flag & GFP_DMA)) { in dma_generic_alloc_coherent()
|
D | pci-nommu.c | 17 if (hwdev && !is_buffer_dma_capable(*hwdev->dma_mask, bus, size)) { in check_addr() 18 if (*hwdev->dma_mask >= DMA_32BIT_MASK) in check_addr() 22 (long long)*hwdev->dma_mask); in check_addr()
|
/arch/arm/mach-pxa/ |
D | devices.c | 63 .dma_mask = &pxamci_dmamask, 105 .dma_mask = &udc_dma_mask, 116 .dma_mask = &udc_dma_mask, 139 .dma_mask = &fb_dma_mask, 323 .dma_mask = &pxaficp_dmamask, 382 .dma_mask = &pxa_ac97_dmamask, 457 .dma_mask = &pxa25x_ssp_dma_mask, 495 .dma_mask = &pxa25x_nssp_dma_mask, 534 .dma_mask = &pxa25x_assp_dma_mask, 588 .dma_mask = &pxa27x_ohci_dma_mask, [all …]
|
/arch/mips/alchemy/common/ |
D | platform.c | 89 .dma_mask = &ohci_dmamask, 118 .dma_mask = &au1100_lcd_dmamask, 147 .dma_mask = &ehci_dmamask, 174 .dma_mask = &udc_dmamask, 201 .dma_mask = &uoc_dmamask, 227 .dma_mask = &au1200_lcd_dmamask, 265 .dma_mask = &au1xxx_mmc_dmamask, 301 .dma_mask = &au1xxx_mmc_dmamask,
|
/arch/avr32/include/asm/ |
D | dma-mapping.h | 26 static inline int dma_set_mask(struct device *dev, u64 dma_mask) in dma_set_mask() argument 28 if (!dev->dma_mask || !dma_supported(dev, dma_mask)) in dma_set_mask() 31 *dev->dma_mask = dma_mask; in dma_set_mask()
|
/arch/x86/include/asm/ |
D | dma-mapping.h | 243 unsigned long dma_mask = 0; in dma_alloc_coherent_mask() local 245 dma_mask = dev->coherent_dma_mask; in dma_alloc_coherent_mask() 246 if (!dma_mask) in dma_alloc_coherent_mask() 247 dma_mask = (gfp & GFP_DMA) ? DMA_24BIT_MASK : DMA_32BIT_MASK; in dma_alloc_coherent_mask() 249 return dma_mask; in dma_alloc_coherent_mask() 254 unsigned long dma_mask = dma_alloc_coherent_mask(dev, gfp); in dma_alloc_coherent_gfp_flags() local 256 if (dma_mask <= DMA_24BIT_MASK) in dma_alloc_coherent_gfp_flags() 259 if (dma_mask <= DMA_32BIT_MASK && !(gfp & GFP_DMA)) in dma_alloc_coherent_gfp_flags()
|
/arch/powerpc/include/asm/ |
D | dma-mapping.h | 49 if (dev->dma_mask && *dev->dma_mask) in device_to_mask() 50 return *dev->dma_mask; in device_to_mask() 70 int (*set_dma_mask)(struct device *dev, u64 dma_mask); 147 static inline int dma_set_mask(struct device *dev, u64 dma_mask) in dma_set_mask() argument 154 return dma_ops->set_dma_mask(dev, dma_mask); in dma_set_mask() 155 if (!dev->dma_mask || !dma_supported(dev, dma_mask)) in dma_set_mask() 157 *dev->dma_mask = dma_mask; in dma_set_mask()
|
/arch/arm/include/asm/ |
D | dma-mapping.h | 77 static inline int dma_set_mask(struct device *dev, u64 dma_mask) in dma_set_mask() argument 79 if (!dev->dma_mask || !dma_supported(dev, dma_mask)) in dma_set_mask() 82 *dev->dma_mask = dma_mask; in dma_set_mask()
|
/arch/arm/mach-iop13xx/ |
D | tpmi.c | 161 .dma_mask = &iop13xx_tpmi_mask, 172 .dma_mask = &iop13xx_tpmi_mask, 183 .dma_mask = &iop13xx_tpmi_mask, 194 .dma_mask = &iop13xx_tpmi_mask,
|
/arch/arm/mach-ks8695/ |
D | devices.c | 75 .dma_mask = ð_dmamask, 113 .dma_mask = ð_dmamask, 145 .dma_mask = ð_dmamask,
|
/arch/arm/plat-s3c24xx/ |
D | devs.c | 162 .dma_mask = &s3c_device_usb_dmamask, 193 .dma_mask = &s3c_device_lcd_dmamask, 314 .dma_mask = &s3c_device_iis_dmamask, 435 .dma_mask = &s3c_device_spi0_dmamask, 466 .dma_mask = &s3c_device_spi1_dmamask, 499 .dma_mask = &s3c_device_camif_dmamask,
|
/arch/arm/mach-at91/ |
D | at91sam9260_devices.c | 54 .dma_mask = &ohci_dmamask, 150 .dma_mask = ð_dmamask, 224 .dma_mask = &mmc_dmamask, 445 .dma_mask = &spi_dmamask, 471 .dma_mask = &spi_dmamask, 686 .dma_mask = &ssc_dmamask, 770 .dma_mask = &dbgu_dmamask, 808 .dma_mask = &uart0_dmamask, 859 .dma_mask = &uart1_dmamask, 902 .dma_mask = &uart2_dmamask, [all …]
|
D | at91sam9261_devices.c | 57 .dma_mask = &ohci_dmamask, 152 .dma_mask = &mmc_dmamask, 358 .dma_mask = &spi_dmamask, 384 .dma_mask = &spi_dmamask, 478 .dma_mask = &lcdc_dmamask, 664 .dma_mask = &ssc0_dmamask, 706 .dma_mask = &ssc1_dmamask, 748 .dma_mask = &ssc2_dmamask, 843 .dma_mask = &dbgu_dmamask, 881 .dma_mask = &uart0_dmamask, [all …]
|
D | at91cap9_devices.c | 59 .dma_mask = &ohci_dmamask, 220 .dma_mask = ð_dmamask, 294 .dma_mask = &mmc_dmamask, 319 .dma_mask = &mmc_dmamask, 546 .dma_mask = &spi_dmamask, 572 .dma_mask = &spi_dmamask, 795 .dma_mask = &ac97_dmamask, 850 .dma_mask = &lcdc_dmamask, 921 .dma_mask = &ssc0_dmamask, 963 .dma_mask = &ssc1_dmamask, [all …]
|
D | at91sam9rl_devices.c | 148 .dma_mask = &mmc_dmamask, 359 .dma_mask = &spi_dmamask, 425 .dma_mask = &lcdc_dmamask, 542 .dma_mask = &tsadcc_dmamask, 705 .dma_mask = &ssc0_dmamask, 747 .dma_mask = &ssc1_dmamask, 837 .dma_mask = &dbgu_dmamask, 875 .dma_mask = &uart0_dmamask, 926 .dma_mask = &uart1_dmamask, 969 .dma_mask = &uart2_dmamask, [all …]
|
D | at91sam9263_devices.c | 56 .dma_mask = &ohci_dmamask, 160 .dma_mask = ð_dmamask, 234 .dma_mask = &mmc_dmamask, 259 .dma_mask = &mmc_dmamask, 618 .dma_mask = &spi_dmamask, 644 .dma_mask = &spi_dmamask, 731 .dma_mask = &ac97_dmamask, 786 .dma_mask = &lcdc_dmamask, 1055 .dma_mask = &ssc0_dmamask, 1097 .dma_mask = &ssc1_dmamask, [all …]
|
D | at91rm9200_devices.c | 53 .dma_mask = &ohci_dmamask, 149 .dma_mask = ð_dmamask, 309 .dma_mask = &mmc_dmamask, 536 .dma_mask = &spi_dmamask, 727 .dma_mask = &ssc0_dmamask, 769 .dma_mask = &ssc1_dmamask, 811 .dma_mask = &ssc2_dmamask, 906 .dma_mask = &dbgu_dmamask, 944 .dma_mask = &uart0_dmamask, 993 .dma_mask = &uart1_dmamask, [all …]
|
/arch/mips/pmc-sierra/msp71xx/ |
D | msp_usb.c | 58 .dma_mask = &msp_usbhost_dma_mask, 86 .dma_mask = &msp_usbdev_dma_mask,
|
/arch/alpha/kernel/ |
D | pci_iommu.c | 234 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() 316 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in pci_map_single() 330 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in pci_map_page() 647 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in pci_map_sg() 669 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_sg() 733 max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_unmap_sg() 939 if ((dac_offset & dev->dma_mask) != dac_offset) in pci_dac_dma_supported() 963 if (!dev || !dev->dma_mask || !*dev->dma_mask) in alpha_gendev_to_pci() 968 if (*dev->dma_mask >= isa_bridge->dma_mask) in alpha_gendev_to_pci() 979 if (!dev->dma_mask || in dma_set_mask() [all …]
|
D | pci-noop.c | 164 if (!dev || *dev->dma_mask >= 0xffffffffUL) in dma_alloc_coherent() 200 if (!dev->dma_mask || !dma_supported(dev, mask)) in dma_set_mask() 203 *dev->dma_mask = mask; in dma_set_mask()
|
/arch/mips/nxp/pnx8550/common/ |
D | platform.c | 103 .dma_mask = &ohci_dmamask, 114 .dma_mask = &uart_dmamask,
|
/arch/arm/plat-iop/ |
D | adma.c | 145 .dma_mask = &iop3xx_adma_dmamask, 157 .dma_mask = &iop3xx_adma_dmamask, 169 .dma_mask = &iop3xx_adma_dmamask,
|
/arch/sh/boards/mach-x3proto/ |
D | setup.c | 79 .dma_mask = NULL, /* don't use dma */ 104 .dma_mask = NULL, /* don't use dma */
|
/arch/sparc/kernel/ |
D | pci_sabre.c | 461 u32 upa_portid, dma_mask; in sabre_probe() local 539 dma_mask = vdma[0]; in sabre_probe() 542 dma_mask |= 0x1fffffff; in sabre_probe() 546 dma_mask |= 0x3fffffff; in sabre_probe() 551 dma_mask |= 0x7fffffff; in sabre_probe() 559 err = psycho_iommu_init(pbm, tsbsize, vdma[0], dma_mask, SABRE_WRSYNC); in sabre_probe()
|
/arch/mips/nxp/pnx833x/common/ |
D | platform.c | 103 .dma_mask = &uart_dmamask, 130 .dma_mask = &ehci_dmamask, 220 .dma_mask = ðernet_dmamask,
|