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

Go to the source code of this file.

Macros

#define AD_CONTROL   0x8000
 
#define AD_DATA   0x0000
 
#define AD_READ   0x4000
 
#define AD_WRITE   0x0000
 
#define CTRL_REG_A   (0 << 8)
 
#define REGA_MODE_PRO   0x00
 
#define REGA_MODE_DATA   0x01
 
#define REGA_MODE_MIXED   0x03
 
#define REGA_DLB   0x04
 
#define REGA_SLB   0x08
 
#define REGA_DEVC(x)   ((x & 0x7) << 4)
 
#define REGA_RESET   0x80
 
#define CTRL_REG_B   (1 << 8)
 
#define REGB_DIRATE(x)   (x & 0x3)
 
#define REGB_SCDIV(x)   ((x & 0x3) << 2)
 
#define REGB_MCDIV(x)   ((x & 0x7) << 4)
 
#define REGB_CEE   (1 << 7)
 
#define CTRL_REG_C   (2 << 8)
 
#define REGC_PUDEV   (1 << 0)
 
#define REGC_PUADC   (1 << 3)
 
#define REGC_PUDAC   (1 << 4)
 
#define REGC_PUREF   (1 << 5)
 
#define REGC_REFUSE   (1 << 6)
 
#define CTRL_REG_D   (3 << 8)
 
#define REGD_IGS(x)   (x & 0x7)
 
#define REGD_RMOD   (1 << 3)
 
#define REGD_OGS(x)   ((x & 0x7) << 4)
 
#define REGD_MUTE   (1 << 7)
 
#define CTRL_REG_E   (4 << 8)
 
#define REGE_DA(x)   (x & 0x1f)
 
#define REGE_IBYP   (1 << 5)
 
#define CTRL_REG_F   (5 << 8)
 
#define REGF_SEEN   (1 << 5)
 
#define REGF_INV   (1 << 6)
 
#define REGF_ALB   (1 << 7)
 

Macro Definition Documentation

#define AD_CONTROL   0x8000

Definition at line 34 of file ad73311.h.

#define AD_DATA   0x0000

Definition at line 35 of file ad73311.h.

#define AD_READ   0x4000

Definition at line 36 of file ad73311.h.

#define AD_WRITE   0x0000

Definition at line 37 of file ad73311.h.

#define CTRL_REG_A   (0 << 8)

Definition at line 40 of file ad73311.h.

#define CTRL_REG_B   (1 << 8)

Definition at line 51 of file ad73311.h.

#define CTRL_REG_C   (2 << 8)

Definition at line 59 of file ad73311.h.

#define CTRL_REG_D   (3 << 8)

Definition at line 68 of file ad73311.h.

#define CTRL_REG_E   (4 << 8)

Definition at line 76 of file ad73311.h.

#define CTRL_REG_F   (5 << 8)

Definition at line 82 of file ad73311.h.

#define REGA_DEVC (   x)    ((x & 0x7) << 4)

Definition at line 47 of file ad73311.h.

#define REGA_DLB   0x04

Definition at line 45 of file ad73311.h.

#define REGA_MODE_DATA   0x01

Definition at line 43 of file ad73311.h.

#define REGA_MODE_MIXED   0x03

Definition at line 44 of file ad73311.h.

#define REGA_MODE_PRO   0x00

Definition at line 42 of file ad73311.h.

#define REGA_RESET   0x80

Definition at line 48 of file ad73311.h.

#define REGA_SLB   0x08

Definition at line 46 of file ad73311.h.

#define REGB_CEE   (1 << 7)

Definition at line 56 of file ad73311.h.

#define REGB_DIRATE (   x)    (x & 0x3)

Definition at line 53 of file ad73311.h.

#define REGB_MCDIV (   x)    ((x & 0x7) << 4)

Definition at line 55 of file ad73311.h.

#define REGB_SCDIV (   x)    ((x & 0x3) << 2)

Definition at line 54 of file ad73311.h.

#define REGC_PUADC   (1 << 3)

Definition at line 62 of file ad73311.h.

#define REGC_PUDAC   (1 << 4)

Definition at line 63 of file ad73311.h.

#define REGC_PUDEV   (1 << 0)

Definition at line 61 of file ad73311.h.

#define REGC_PUREF   (1 << 5)

Definition at line 64 of file ad73311.h.

#define REGC_REFUSE   (1 << 6)

Definition at line 65 of file ad73311.h.

#define REGD_IGS (   x)    (x & 0x7)

Definition at line 70 of file ad73311.h.

#define REGD_MUTE   (1 << 7)

Definition at line 73 of file ad73311.h.

#define REGD_OGS (   x)    ((x & 0x7) << 4)

Definition at line 72 of file ad73311.h.

#define REGD_RMOD   (1 << 3)

Definition at line 71 of file ad73311.h.

#define REGE_DA (   x)    (x & 0x1f)

Definition at line 78 of file ad73311.h.

#define REGE_IBYP   (1 << 5)

Definition at line 79 of file ad73311.h.

#define REGF_ALB   (1 << 7)

Definition at line 86 of file ad73311.h.

#define REGF_INV   (1 << 6)

Definition at line 85 of file ad73311.h.

#define REGF_SEEN   (1 << 5)

Definition at line 84 of file ad73311.h.