diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-02-10 11:19:11 -0200 |
---|---|---|
committer | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-02-10 11:19:11 -0200 |
commit | a45e480ff17686d2396e05141c3dc110eac44152 (patch) | |
tree | b57ce3d47465a5dfa215f8c5e31883058f3e5a31 /linux/drivers/media/dvb/frontends/zl10353_priv.h | |
parent | fa24f03ffa4270665b8176fa306b84962cc78b74 (diff) | |
download | mediapointer-dvb-s2-a45e480ff17686d2396e05141c3dc110eac44152.tar.gz mediapointer-dvb-s2-a45e480ff17686d2396e05141c3dc110eac44152.tar.bz2 |
zl10353: Implement TRL nominal rate calculation
From: Antti Palosaari <crope@iki.fi>
Implement trl nominal rate calculation to Zarlink ZL10353 demod,
based on calculation used in Zarlink MT352.
This adds support for 6 and 8MHz bandwidth transponders.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/zl10353_priv.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/zl10353_priv.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/linux/drivers/media/dvb/frontends/zl10353_priv.h b/linux/drivers/media/dvb/frontends/zl10353_priv.h index b72224bd7..d2186927f 100644 --- a/linux/drivers/media/dvb/frontends/zl10353_priv.h +++ b/linux/drivers/media/dvb/frontends/zl10353_priv.h @@ -24,19 +24,24 @@ #define ID_ZL10353 0x14 +#define msb(x) (((x) >> 8) & 0xff) +#define lsb(x) ((x) & 0xff) + enum zl10353_reg_addr { - INTERRUPT_0 = 0x00, - INTERRUPT_1 = 0x01, - INTERRUPT_2 = 0x02, - INTERRUPT_3 = 0x03, - INTERRUPT_4 = 0x04, - INTERRUPT_5 = 0x05, - STATUS_6 = 0x06, - STATUS_7 = 0x07, - STATUS_8 = 0x08, - STATUS_9 = 0x09, - SNR = 0x10, - CHIP_ID = 0x7F, + INTERRUPT_0 = 0x00, + INTERRUPT_1 = 0x01, + INTERRUPT_2 = 0x02, + INTERRUPT_3 = 0x03, + INTERRUPT_4 = 0x04, + INTERRUPT_5 = 0x05, + STATUS_6 = 0x06, + STATUS_7 = 0x07, + STATUS_8 = 0x08, + STATUS_9 = 0x09, + SNR = 0x10, + TRL_NOMINAL_RATE_1 = 0x65, + TRL_NOMINAL_RATE_0 = 0x66, + CHIP_ID = 0x7F, }; #endif /* _ZL10353_PRIV_ */ |