Go to the documentation of this file.
34 #define AD_CONTROL 0x8000
35 #define AD_DATA 0x0000
36 #define AD_READ 0x4000
37 #define AD_WRITE 0x0000
40 #define CTRL_REG_A (0 << 8)
42 #define REGA_MODE_PRO 0x00
43 #define REGA_MODE_DATA 0x01
44 #define REGA_MODE_MIXED 0x03
47 #define REGA_DEVC(x) ((x & 0x7) << 4)
48 #define REGA_RESET 0x80
51 #define CTRL_REG_B (1 << 8)
53 #define REGB_DIRATE(x) (x & 0x3)
54 #define REGB_SCDIV(x) ((x & 0x3) << 2)
55 #define REGB_MCDIV(x) ((x & 0x7) << 4)
56 #define REGB_CEE (1 << 7)
59 #define CTRL_REG_C (2 << 8)
61 #define REGC_PUDEV (1 << 0)
62 #define REGC_PUADC (1 << 3)
63 #define REGC_PUDAC (1 << 4)
64 #define REGC_PUREF (1 << 5)
65 #define REGC_REFUSE (1 << 6)
68 #define CTRL_REG_D (3 << 8)
70 #define REGD_IGS(x) (x & 0x7)
71 #define REGD_RMOD (1 << 3)
72 #define REGD_OGS(x) ((x & 0x7) << 4)
73 #define REGD_MUTE (1 << 7)
76 #define CTRL_REG_E (4 << 8)
78 #define REGE_DA(x) (x & 0x1f)
79 #define REGE_IBYP (1 << 5)
82 #define CTRL_REG_F (5 << 8)
84 #define REGF_SEEN (1 << 5)
85 #define REGF_INV (1 << 6)
86 #define REGF_ALB (1 << 7)