1 #ifndef __NOUVEAU_OS_H__ 2 #define __NOUVEAU_OS_H__ 3 4 #include <linux/types.h> 5 #include <linux/slab.h> 6 #include <linux/mutex.h> 7 #include <linux/pci.h> 8 #include <linux/platform_device.h> 9 #include <linux/printk.h> 10 #include <linux/bitops.h> 11 #include <linux/firmware.h> 12 #include <linux/module.h> 13 #include <linux/i2c.h> 14 #include <linux/i2c-algo-bit.h> 15 #include <linux/delay.h> 16 #include <linux/io-mapping.h> 17 #include <linux/acpi.h> 18 #include <linux/vmalloc.h> 19 #include <linux/dmi.h> 20 #include <linux/reboot.h> 21 #include <linux/interrupt.h> 22 #include <linux/log2.h> 23 #include <linux/pm_runtime.h> 24 #include <linux/power_supply.h> 25 #include <linux/clk.h> 26 #include <linux/regulator/consumer.h> 27 #include <linux/agp_backend.h> 28 #include <linux/reset.h> 29 #include <linux/iommu.h> 30 #include <linux/of_device.h> 31 32 #include <asm/unaligned.h> 33 34 #include <soc/tegra/fuse.h> 35 #include <soc/tegra/pmc.h> 36 37 #ifndef ioread32_native 38 #ifdef __BIG_ENDIAN 39 #define ioread16_native ioread16be 40 #define iowrite16_native iowrite16be 41 #define ioread32_native ioread32be 42 #define iowrite32_native iowrite32be 43 #else /* def __BIG_ENDIAN */ 44 #define ioread16_native ioread16 45 #define iowrite16_native iowrite16 46 #define ioread32_native ioread32 47 #define iowrite32_native iowrite32 48 #endif /* def __BIG_ENDIAN else */ 49 #endif /* !ioread32_native */ 50 #endif 51