Go to the documentation of this file.
26 #ifndef STV0900_PRIV_H
27 #define STV0900_PRIV_H
29 #include <linux/i2c.h>
31 #define ABS(X) ((X) < 0 ? (-1 * (X)) : (X))
32 #define INRANGE(X, Y, Z) ((((X) <= (Y)) && ((Y) <= (Z))) \
33 || (((Z) <= (Y)) && ((Y) <= (X))) ? 1 : 0)
36 #define MAKEWORD(X, Y) (((X) << 8) + (Y))
39 #define LSB(X) (((X) & 0xFF))
40 #define MSB(Y) (((Y) >> 8) & 0xFF)
49 #define dprintk(args...) \
52 printk(KERN_DEBUG args); \
55 #define STV0900_MAXLOOKUPSIZE 500
56 #define STV0900_BLIND_SEARCH_AGC2_TH 700
57 #define STV0900_BLIND_SEARCH_AGC2_TH_CUT30 1400
58 #define IQPOWER_THRESHOLD 30
406 u32 Bandwidth,
int demod);