Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
coprocessor.h File Reference
#include <linux/stringify.h>
#include <variant/core.h>
#include <variant/tie.h>
#include <asm/types.h>

Go to the source code of this file.

Data Structures

struct  xtregs_opt_t
 
struct  xtregs_user_t
 

Macros

#define XTENSA_HAVE_COPROCESSOR(x)   ((XCHAL_CP_MASK ^ XCHAL_CP_PORT_MASK) & (1 << (x)))
 
#define XTENSA_HAVE_COPROCESSORS   (XCHAL_CP_MASK ^ XCHAL_CP_PORT_MASK)
 
#define XTENSA_HAVE_IO_PORT(x)   (XCHAL_CP_PORT_MASK & (1 << (x)))
 
#define XTENSA_HAVE_IO_PORTS   XCHAL_CP_PORT_MASK
 
#define XCHAL_SA_REG(list, cc, abi, type, y, name, z, align, size,...)   __REG ## list (cc, abi, type, name, size, align)
 
#define __REG0(cc, abi, t, name, s, a)   __REG0_ ## cc (abi,name)
 
#define __REG1(cc, abi, t, name, s, a)   __REG1_ ## cc (name)
 
#define __REG2(cc, abi, type,...)   __REG2_ ## type (__VA_ARGS__)
 
#define __REG0_0(abi, name)
 
#define __REG0_1(abi, name)   __REG0_1 ## abi (name)
 
#define __REG0_10(name)   __u32 name;
 
#define __REG0_11(name)   __u32 name;
 
#define __REG0_12(name)
 
#define __REG1_0(name)   __u32 name;
 
#define __REG1_1(name)
 
#define __REG2_0(n, s, a)   __u32 name;
 
#define __REG2_1(n, s, a)   unsigned char n[s] __attribute__ ((aligned(a)));
 
#define __REG2_2(n, s, a)   unsigned char n[s] __attribute__ ((aligned(a)));
 

Macro Definition Documentation

#define __REG0 (   cc,
  abi,
  t,
  name,
  s,
  a 
)    __REG0_ ## cc (abi,name)

Definition at line 118 of file coprocessor.h.

#define __REG0_0 (   abi,
  name 
)

Definition at line 122 of file coprocessor.h.

#define __REG0_1 (   abi,
  name 
)    __REG0_1 ## abi (name)

Definition at line 123 of file coprocessor.h.

#define __REG0_10 (   name)    __u32 name;

Definition at line 124 of file coprocessor.h.

#define __REG0_11 (   name)    __u32 name;

Definition at line 125 of file coprocessor.h.

#define __REG0_12 (   name)

Definition at line 126 of file coprocessor.h.

#define __REG1 (   cc,
  abi,
  t,
  name,
  s,
  a 
)    __REG1_ ## cc (name)

Definition at line 119 of file coprocessor.h.

#define __REG1_0 (   name)    __u32 name;

Definition at line 128 of file coprocessor.h.

#define __REG1_1 (   name)

Definition at line 129 of file coprocessor.h.

#define __REG2 (   cc,
  abi,
  type,
  ... 
)    __REG2_ ## type (__VA_ARGS__)

Definition at line 120 of file coprocessor.h.

#define __REG2_0 (   n,
  s,
  a 
)    __u32 name;

Definition at line 131 of file coprocessor.h.

#define __REG2_1 (   n,
  s,
  a 
)    unsigned char n[s] __attribute__ ((aligned(a)));

Definition at line 132 of file coprocessor.h.

#define __REG2_2 (   n,
  s,
  a 
)    unsigned char n[s] __attribute__ ((aligned(a)));

Definition at line 133 of file coprocessor.h.

#define XCHAL_SA_REG (   list,
  cc,
  abi,
  type,
  y,
  name,
  z,
  align,
  size,
  ... 
)    __REG ## list (cc, abi, type, name, size, align)

Definition at line 115 of file coprocessor.h.

#define XTENSA_HAVE_COPROCESSOR (   x)    ((XCHAL_CP_MASK ^ XCHAL_CP_PORT_MASK) & (1 << (x)))

Definition at line 82 of file coprocessor.h.

#define XTENSA_HAVE_COPROCESSORS   (XCHAL_CP_MASK ^ XCHAL_CP_PORT_MASK)

Definition at line 84 of file coprocessor.h.

#define XTENSA_HAVE_IO_PORT (   x)    (XCHAL_CP_PORT_MASK & (1 << (x)))

Definition at line 86 of file coprocessor.h.

#define XTENSA_HAVE_IO_PORTS   XCHAL_CP_PORT_MASK

Definition at line 88 of file coprocessor.h.