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 31 #include <asm/unaligned.h> 32 33 #include <soc/tegra/fuse.h> 34 #include <soc/tegra/pmc.h> 35 36 #ifndef ioread32_native 37 #ifdef __BIG_ENDIAN 38 #define ioread16_native ioread16be 39 #define iowrite16_native iowrite16be 40 #define ioread32_native ioread32be 41 #define iowrite32_native iowrite32be 42 #else /* def __BIG_ENDIAN */ 43 #define ioread16_native ioread16 44 #define iowrite16_native iowrite16 45 #define ioread32_native ioread32 46 #define iowrite32_native iowrite32 47 #endif /* def __BIG_ENDIAN else */ 48 #endif /* !ioread32_native */ 49 #endif 50