aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda18271-priv.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-01 23:58:26 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:36 -0500
commit59067f7ed491ec95e6e9033e35e1ae726cff3cee (patch)
treef8ced76b07c63328a1552be35171c3ec8cddfb32 /drivers/media/dvb/frontends/tda18271-priv.h
parent255b5113b4ed683898a24e381155c081f03411f7 (diff)
V4L/DVB (6961): tda18271: move common code to tda18271-common.c
Move some common code to a new file to make this easier to look at. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-priv.h')
-rw-r--r--drivers/media/dvb/frontends/tda18271-priv.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-priv.h b/drivers/media/dvb/frontends/tda18271-priv.h
index 8552c6ae0d1f..deb375ea253e 100644
--- a/drivers/media/dvb/frontends/tda18271-priv.h
+++ b/drivers/media/dvb/frontends/tda18271-priv.h
@@ -1,7 +1,7 @@
1/* 1/*
2 tda18271-priv.h - private header for the NXP TDA18271 silicon tuner 2 tda18271-priv.h - private header for the NXP TDA18271 silicon tuner
3 3
4 Copyright (C) 2007 Michael Krufky (mkrufky@linuxtv.org) 4 Copyright (C) 2007, 2008 Michael Krufky <mkrufky@linuxtv.org>
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
@@ -196,6 +196,23 @@ extern int tda18271_lookup_cid_target(struct dvb_frontend *fe,
196 196
197extern int tda18271_assign_map_layout(struct dvb_frontend *fe); 197extern int tda18271_assign_map_layout(struct dvb_frontend *fe);
198 198
199/*---------------------------------------------------------------------*/
200
201extern int tda18271_read_regs(struct dvb_frontend *fe);
202extern int tda18271_read_extended(struct dvb_frontend *fe);
203extern int tda18271_write_regs(struct dvb_frontend *fe, int idx, int len);
204extern int tda18271_init_regs(struct dvb_frontend *fe);
205
206extern int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq);
207extern int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq);
208
209extern int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq);
210extern int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq);
211extern int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq);
212extern int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq);
213extern int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq);
214extern int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq);
215
199#endif /* __TDA18271_PRIV_H__ */ 216#endif /* __TDA18271_PRIV_H__ */
200 217
201/* 218/*