Permalink
Browse files

update struct si2168_dev add snr...

  • Loading branch information...
1 parent 20b2f2f commit a45e590dc6ba77655ad0042b62c1ce77e11a12d6 @xiao191cao xiao191cao committed Jul 27, 2016
Showing with 11 additions and 1 deletion.
  1. +11 −1 drivers/media/dvb-frontends/si2168_priv.h
@@ -1,5 +1,5 @@
/*
- * Silicon Labs Si2168 DVB-T/T2/C demodulator driver
+ *Silicon Labs Si2168 DVB-T/T2/C demodulator driver
*
* Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
*
@@ -34,8 +34,17 @@ struct si2168_dev {
struct dvb_frontend fe;
enum fe_delivery_system delivery_system;
enum fe_status fe_status;
+ u8 stat_resp;
+ u16 snr;
+ #define SI2168_CHIP_ID_A20 ('A' << 24 | 68 << 16 | '2' << 8 | '0' << 0)
+ #define SI2168_CHIP_ID_A30 ('A' << 24 | 68 << 16 | '3' << 8 | '0' << 0)
+ #define SI2168_CHIP_ID_B40 ('B' << 24 | 68 << 16 | '4' << 8 | '0' << 0)
+ unsigned int chip_id;
+ unsigned int version;
+ const char *firmware_name;
bool active;
bool fw_loaded;
+ bool warm;
u8 ts_mode;
bool ts_clock_inv;
bool ts_clock_gapped;
@@ -50,3 +59,4 @@ struct si2168_cmd {
};
#endif
+

0 comments on commit a45e590

Please sign in to comment.