5 #include <linux/string.h>
11 #include <asm/processor.h>
12 #include <asm/iommu.h>
21 "nommu_%s: overflow %Lx+%zu of device mask %Lx\n",
22 name, (
long long)bus, size,
30 unsigned long offset,
size_t size,
36 if (!check_addr(
"map_single", dev, bus, size))
38 flush_write_buffers();
73 flush_write_buffers();
77 static void nommu_sync_single_for_device(
struct device *dev,
81 flush_write_buffers();
85 static void nommu_sync_sg_for_device(
struct device *dev,
89 flush_write_buffers();
95 .map_sg = nommu_map_sg,
96 .map_page = nommu_map_page,
97 .sync_single_for_device = nommu_sync_single_for_device,
98 .sync_sg_for_device = nommu_sync_sg_for_device,