Go to the documentation of this file.
22 #ifndef __STB_6100_REG_H
23 #define __STB_6100_REG_H
28 #define STB6100_LD 0x00
29 #define STB6100_LD_LOCK (1 << 0)
31 #define STB6100_VCO 0x01
32 #define STB6100_VCO_OSCH (0x01 << 7)
33 #define STB6100_VCO_OSCH_SHIFT 7
34 #define STB6100_VCO_OCK (0x03 << 5)
35 #define STB6100_VCO_OCK_SHIFT 5
36 #define STB6100_VCO_ODIV (0x01 << 4)
37 #define STB6100_VCO_ODIV_SHIFT 4
38 #define STB6100_VCO_OSM (0x0f << 0)
40 #define STB6100_NI 0x02
41 #define STB6100_NF_LSB 0x03
43 #define STB6100_K 0x04
44 #define STB6100_K_PSD2 (0x01 << 2)
45 #define STB6100_K_PSD2_SHIFT 2
46 #define STB6100_K_NF_MSB (0x03 << 0)
48 #define STB6100_G 0x05
49 #define STB6100_G_G (0x0f << 0)
50 #define STB6100_G_GCT (0x07 << 5)
52 #define STB6100_F 0x06
53 #define STB6100_F_F (0x1f << 0)
55 #define STB6100_DLB 0x07
57 #define STB6100_TEST1 0x08
59 #define STB6100_FCCK 0x09
60 #define STB6100_FCCK_FCCK (0x01 << 6)
62 #define STB6100_LPEN 0x0a
63 #define STB6100_LPEN_LPEN (0x01 << 4)
64 #define STB6100_LPEN_SYNP (0x01 << 5)
65 #define STB6100_LPEN_OSCP (0x01 << 6)
66 #define STB6100_LPEN_BEN (0x01 << 7)
68 #define STB6100_TEST3 0x0b
70 #define STB6100_NUMREGS 0x0c
73 #define INRANGE(val, x, y) (((x <= val) && (val <= y)) || \
74 ((y <= val) && (val <= x)) ? 1 : 0)
76 #define CHKRANGE(val, x, y) (((val >= x) && (val < y)) ? 1 : 0)
97 #if defined(CONFIG_DVB_STB6100) || (defined(CONFIG_DVB_STB6100_MODULE) && defined(MODULE))
113 #endif //CONFIG_DVB_STB6100