drivers/media/dvb-frontends/nxt6000_priv.h

Source file repositories/reference/linux-study-clean/drivers/media/dvb-frontends/nxt6000_priv.h

File Facts

System
Linux kernel
Corpus path
drivers/media/dvb-frontends/nxt6000_priv.h
Extension
.h
Size
7310 bytes
Lines
288
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#define MAXNXT6000REG          (0x9A)

/* 0x1B A_VIT_BER_0  aka 0x3A */
#define A_VIT_BER_0            (0x1B)

/* 0x1D A_VIT_BER_TIMER_0 aka 0x38 */
#define A_VIT_BER_TIMER_0      (0x1D)

/* 0x21 RS_COR_STAT */
#define RS_COR_STAT            (0x21)
#define RSCORESTATUS           (0x03)

/* 0x22 RS_COR_INTEN */
#define RS_COR_INTEN           (0x22)

/* 0x23 RS_COR_INSTAT */
#define RS_COR_INSTAT          (0x23)
#define INSTAT_ERROR           (0x04)
#define LOCK_LOSS_BITS         (0x03)

/* 0x24 RS_COR_SYNC_PARAM */
#define RS_COR_SYNC_PARAM      (0x24)
#define SYNC_PARAM             (0x03)

/* 0x25 BER_CTRL */
#define BER_CTRL               (0x25)
#define BER_ENABLE             (0x02)
#define BER_RESET              (0x01)

/* 0x26 BER_PAY */
#define BER_PAY                (0x26)

/* 0x27 BER_PKT_L */
#define BER_PKT_L              (0x27)
#define BER_PKTOVERFLOW        (0x80)

/* 0x30 VIT_COR_CTL */
#define VIT_COR_CTL            (0x30)
#define BER_CONTROL            (0x02)
#define VIT_COR_MASK           (0x82)
#define VIT_COR_RESYNC         (0x80)


/* 0x32 VIT_SYNC_STATUS */
#define VIT_SYNC_STATUS        (0x32)
#define VITINSYNC              (0x80)

/* 0x33 VIT_COR_INTEN */
#define VIT_COR_INTEN          (0x33)
#define GLOBAL_ENABLE          (0x80)

/* 0x34 VIT_COR_INTSTAT */
#define VIT_COR_INTSTAT        (0x34)
#define BER_DONE               (0x08)
#define BER_OVERFLOW           (0x10)

/* 0x38 VIT_BERTIME_2 */
#define VIT_BERTIME_2      (0x38)

/* 0x39 VIT_BERTIME_1 */
#define VIT_BERTIME_1      (0x39)

/* 0x3A VIT_BERTIME_0 */
#define VIT_BERTIME_0      (0x3a)

			     /* 0x38 OFDM_BERTimer *//* Use the alias registers */
#define A_VIT_BER_TIMER_0      (0x1D)

			     /* 0x3A VIT_BER_TIMER_0 *//* Use the alias registers */
#define A_VIT_BER_0            (0x1B)

/* 0x3B VIT_BER_1 */
#define VIT_BER_1              (0x3b)

/* 0x3C VIT_BER_0 */
#define VIT_BER_0              (0x3c)

/* 0x40 OFDM_COR_CTL */
#define OFDM_COR_CTL           (0x40)
#define COREACT                (0x20)
#define HOLDSM                 (0x10)
#define WAIT_AGC               (0x02)
#define WAIT_SYR               (0x03)

/* 0x41 OFDM_COR_STAT */
#define OFDM_COR_STAT          (0x41)
#define COR_STATUS             (0x0F)
#define MONITOR_TPS            (0x06)
#define TPSLOCKED              (0x40)
#define AGCLOCKED              (0x10)

Annotation

Implementation Notes