Lines Matching +full:firmware +full:- +full:initialised
1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/dma-direct.h>
14 * If @dev is expected to be DMA-capable then the bus code that created in acpi_arch_dma_setup()
15 * it should have initialised its dma_mask pointer by this point. For in acpi_arch_dma_setup()
19 if (!dev->dma_mask) { in acpi_arch_dma_setup()
21 dev->dma_mask = &dev->coherent_dma_mask; in acpi_arch_dma_setup()
24 if (dev->coherent_dma_mask) in acpi_arch_dma_setup()
25 end = dev->coherent_dma_mask; in acpi_arch_dma_setup()
27 end = (1ULL << 32) - 1; in acpi_arch_dma_setup()
32 dev->dma_range_map = map; in acpi_arch_dma_setup()
35 if (ret == -ENODEV) in acpi_arch_dma_setup()
40 * firmware. in acpi_arch_dma_setup()
43 dev->bus_dma_limit = end; in acpi_arch_dma_setup()
44 dev->coherent_dma_mask = min(dev->coherent_dma_mask, mask); in acpi_arch_dma_setup()
45 *dev->dma_mask = min(*dev->dma_mask, mask); in acpi_arch_dma_setup()