Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
io.h File Reference

Go to the source code of this file.

Macros

#define IIO_ITTE_BASE   0x400160 /* base of translation table entries */
 
#define IIO_ITTE(bigwin)   (IIO_ITTE_BASE + 8*(bigwin))
 
#define IIO_ITTE_OFFSET_BITS   5 /* size of offset field */
 
#define IIO_ITTE_OFFSET_MASK   ((1<<IIO_ITTE_OFFSET_BITS)-1)
 
#define IIO_ITTE_OFFSET_SHIFT   0
 
#define IIO_ITTE_WIDGET_BITS   4 /* size of widget field */
 
#define IIO_ITTE_WIDGET_MASK   ((1<<IIO_ITTE_WIDGET_BITS)-1)
 
#define IIO_ITTE_WIDGET_SHIFT   8
 
#define IIO_ITTE_IOSP   1 /* I/O Space bit */
 
#define IIO_ITTE_IOSP_MASK   1
 
#define IIO_ITTE_IOSP_SHIFT   12
 
#define HUB_PIO_MAP_TO_MEM   0
 
#define HUB_PIO_MAP_TO_IO   1
 
#define IIO_ITTE_INVALID_WIDGET   3 /* an invalid widget */
 
#define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr)
 
#define IIO_ITTE_DISABLE(nasid, bigwin)
 
#define IIO_ITTE_GET(nasid, bigwin)   REMOTE_HUB_ADDR((nasid), IIO_ITTE(bigwin))
 
#define IIO_IOPRB(_x)
 

Macro Definition Documentation

#define HUB_PIO_MAP_TO_IO   1

Definition at line 32 of file io.h.

#define HUB_PIO_MAP_TO_MEM   0

Definition at line 31 of file io.h.

#define IIO_IOPRB (   _x)
Value:
(IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \
(_x) : \
(_x) - (HUB_WIDGET_ID_MIN-1)) << 3) )

Definition at line 55 of file io.h.

#define IIO_ITTE (   bigwin)    (IIO_ITTE_BASE + 8*(bigwin))

Definition at line 18 of file io.h.

#define IIO_ITTE_BASE   0x400160 /* base of translation table entries */

Definition at line 17 of file io.h.

#define IIO_ITTE_DISABLE (   nasid,
  bigwin 
)
Value:

Definition at line 43 of file io.h.

#define IIO_ITTE_GET (   nasid,
  bigwin 
)    REMOTE_HUB_ADDR((nasid), IIO_ITTE(bigwin))

Definition at line 47 of file io.h.

#define IIO_ITTE_INVALID_WIDGET   3 /* an invalid widget */

Definition at line 34 of file io.h.

#define IIO_ITTE_IOSP   1 /* I/O Space bit */

Definition at line 28 of file io.h.

#define IIO_ITTE_IOSP_MASK   1

Definition at line 29 of file io.h.

#define IIO_ITTE_IOSP_SHIFT   12

Definition at line 30 of file io.h.

#define IIO_ITTE_OFFSET_BITS   5 /* size of offset field */

Definition at line 20 of file io.h.

#define IIO_ITTE_OFFSET_MASK   ((1<<IIO_ITTE_OFFSET_BITS)-1)

Definition at line 21 of file io.h.

#define IIO_ITTE_OFFSET_SHIFT   0

Definition at line 22 of file io.h.

#define IIO_ITTE_PUT (   nasid,
  bigwin,
  io_or_mem,
  widget,
  addr 
)
Value:

Definition at line 36 of file io.h.

#define IIO_ITTE_WIDGET_BITS   4 /* size of widget field */

Definition at line 24 of file io.h.

#define IIO_ITTE_WIDGET_MASK   ((1<<IIO_ITTE_WIDGET_BITS)-1)

Definition at line 25 of file io.h.

#define IIO_ITTE_WIDGET_SHIFT   8

Definition at line 26 of file io.h.