/linux-4.19.296/include/trace/events/ |
D | swiotlb.h | 21 __field( u64, dma_mask ) 29 __entry->dma_mask = (dev->dma_mask ? *dev->dma_mask : 0); 38 __entry->dma_mask,
|
/linux-4.19.296/include/linux/ |
D | iommu-helper.h | 10 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()
|
D | eisa.h | 41 u64 dma_mask; member 99 u64 dma_mask; /* from bridge device */ member
|
D | dma-direct.h | 27 if (!dev->dma_mask) in dma_capable() 30 return addr + size - 1 <= *dev->dma_mask; in dma_capable()
|
D | dma-mapping.h | 155 return dev->dma_mask != NULL && *dev->dma_mask != DMA_MASK_NONE; in is_device_dma_capable() 602 if (!dev->dma_mask || !dma_supported(dev, mask)) in dma_set_mask() 607 *dev->dma_mask = mask; in dma_set_mask() 614 if (dev && dev->dma_mask && *dev->dma_mask) in dma_get_mask() 615 return *dev->dma_mask; in dma_get_mask() 654 dev->dma_mask = &dev->coherent_dma_mask; in dma_coerce_mask_and_coherent() 705 return (*dev->dma_mask >> PAGE_SHIFT) + dev->dma_pfn_offset; in dma_max_pfn()
|
D | tc.h | 87 u64 dma_mask; /* DMA addressable range. */ member
|
D | platform_device.h | 77 u64 dma_mask; member 111 .dma_mask = 0, in platform_device_register_resndata()
|
/linux-4.19.296/drivers/eisa/ |
D | pci_eisa.c | 57 pci_eisa_root.dma_mask = pdev->dma_mask; in pci_eisa_init()
|
D | eisa-bus.c | 207 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device() 211 edev->dev.dma_mask = &edev->dma_mask; in eisa_init_device() 212 edev->dev.coherent_dma_mask = edev->dma_mask; in eisa_init_device()
|
D | virtual_root.c | 42 .dma_mask = 0xffffffff,
|
/linux-4.19.296/drivers/uwb/ |
D | umc-dev.c | 39 umc->dev.dma_mask = parent->dma_mask; in umc_device_create()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | vphb.c | 14 static int cxl_dma_set_mask(struct pci_dev *pdev, u64 dma_mask) in cxl_dma_set_mask() argument 16 if (dma_mask < DMA_BIT_MASK(64)) { in cxl_dma_set_mask() 21 *(pdev->dev.dma_mask) = dma_mask; in cxl_dma_set_mask()
|
/linux-4.19.296/drivers/xen/ |
D | swiotlb-xen.c | 294 u64 dma_mask = DMA_BIT_MASK(32); in xen_swiotlb_alloc_coherent() local 320 dma_mask = hwdev->coherent_dma_mask; in xen_swiotlb_alloc_coherent() 328 if (((dev_addr + size - 1 <= dma_mask)) && in xen_swiotlb_alloc_coherent() 333 fls64(dma_mask), dma_handle) != 0) { in xen_swiotlb_alloc_coherent() 348 u64 dma_mask = DMA_BIT_MASK(32); in xen_swiotlb_free_coherent() local 351 dma_mask = hwdev->coherent_dma_mask; in xen_swiotlb_free_coherent() 360 if (!WARN_ON((dev_addr + size - 1 > dma_mask) || in xen_swiotlb_free_coherent()
|
/linux-4.19.296/drivers/of/ |
D | device.c | 135 if (!dev->dma_mask) { in of_dma_configure() 137 dev->dma_mask = &dev->coherent_dma_mask; in of_dma_configure() 153 *dev->dma_mask &= mask; in of_dma_configure()
|
D | platform.c | 189 if (!dev->dev.dma_mask) in of_platform_device_create_pdata() 190 dev->dev.dma_mask = &dev->dev.coherent_dma_mask; in of_platform_device_create_pdata() 246 dev->dev.dma_mask = &dev->dev.coherent_dma_mask; in of_amba_device_create()
|
/linux-4.19.296/drivers/base/ |
D | platform.c | 539 if (pdevinfo->dma_mask) { in platform_device_register_full() 546 pdev->dev.dma_mask = in platform_device_register_full() 547 kmalloc(sizeof(*pdev->dev.dma_mask), GFP_KERNEL); in platform_device_register_full() 548 if (!pdev->dev.dma_mask) in platform_device_register_full() 551 kmemleak_ignore(pdev->dev.dma_mask); in platform_device_register_full() 553 *pdev->dev.dma_mask = pdevinfo->dma_mask; in platform_device_register_full() 554 pdev->dev.coherent_dma_mask = pdevinfo->dma_mask; in platform_device_register_full() 578 kfree(pdev->dev.dma_mask); in platform_device_register_full()
|
D | isa.c | 146 isa_dev->dev.dma_mask = &isa_dev->dev.coherent_dma_mask; in isa_register_driver()
|
/linux-4.19.296/drivers/nubus/ |
D | bus.c | 97 board->dev.dma_mask = &board->dev.coherent_dma_mask; in nubus_device_register()
|
/linux-4.19.296/drivers/misc/ |
D | tifm_core.c | 271 sock->dev.dma_mask = fm->dev.parent->dma_mask; in tifm_alloc_device()
|
/linux-4.19.296/drivers/amba/ |
D | bus.c | 525 void *pdata, unsigned int periphid, u64 dma_mask, in amba_aphb_device_add() argument 535 dev->dev.coherent_dma_mask = dma_mask; in amba_aphb_device_add() 601 dev->dev.dma_mask = &dev->dev.coherent_dma_mask; in amba_device_initialize()
|
/linux-4.19.296/include/pcmcia/ |
D | ds.h | 146 u64 dma_mask; member
|
/linux-4.19.296/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 617 mc_dev->dma_mask = FSL_MC_DEFAULT_DMA_MASK; in fsl_mc_device_add() 618 mc_dev->dev.dma_mask = &mc_dev->dma_mask; in fsl_mc_device_add()
|
/linux-4.19.296/drivers/misc/mic/bus/ |
D | vop_bus.c | 160 vdev->dev.dma_mask = &vdev->dev.coherent_dma_mask; in vop_register_device()
|
D | mic_bus.c | 162 mbdev->dev.dma_mask = &mbdev->dev.coherent_dma_mask; in mbus_register_device()
|
D | scif_bus.c | 168 sdev->dev.dma_mask = &sdev->dev.coherent_dma_mask; in scif_register_device()
|