Searched refs:max_direct_dma_addr (Results 1 – 8 of 8) sorted by relevance
29 u64 end, mask, max_direct_dma_addr = dev->archdata.max_direct_dma_addr; in swiotlb_powerpc_get_required() local32 if (max_direct_dma_addr && end > max_direct_dma_addr) in swiotlb_powerpc_get_required()33 end = max_direct_dma_addr; in swiotlb_powerpc_get_required()73 sd->max_direct_dma_addr = in pci_dma_dev_setup_swiotlb()88 sd->max_direct_dma_addr = 0; in ppc_swiotlb_bus_notify()
36 if (sd->max_direct_dma_addr && sd->dma_ops == &swiotlb_dma_ops) in get_pfn_limit()37 pfn = min_t(u64, pfn, sd->max_direct_dma_addr >> PAGE_SHIFT); in get_pfn_limit()
30 dma_addr_t max_direct_dma_addr; member
96 else if (mask > dev->archdata.max_direct_dma_addr) in dma_set_mask()97 mask = dev->archdata.max_direct_dma_addr; in dma_set_mask()
41 dma_addr_t max_direct_dma_addr; member
138 if (sd->max_direct_dma_addr && addr + size > sd->max_direct_dma_addr) in dma_capable()
602 else if (mask > dev->archdata.max_direct_dma_addr) in dma_set_coherent_mask()603 mask = dev->archdata.max_direct_dma_addr; in dma_set_coherent_mask()
1071 pdev->dev.archdata.max_direct_dma_addr = in pcibios_fixup_final()