Go to the documentation of this file. 1 #ifndef __NOUVEAU_OS_H__
2 #define __NOUVEAU_OS_H__
4 #include <linux/types.h>
5 #include <linux/slab.h>
9 #include <linux/bitops.h>
11 #include <linux/module.h>
12 #include <linux/i2c.h>
20 #include <asm/unaligned.h>
26 for (i = 0; i < 64; i++) {
27 if (mask & (1ULL << i))
33 #ifndef ioread32_native
35 #define ioread16_native ioread16be
36 #define iowrite16_native iowrite16be
37 #define ioread32_native ioread32be
38 #define iowrite32_native iowrite32be
40 #define ioread16_native ioread16
41 #define iowrite16_native iowrite16
42 #define ioread32_native ioread32
43 #define iowrite32_native iowrite32