aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda18271-priv.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-24 22:39:37 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:25 -0500
commit2f27dfc98cc0a183be9e3c2fc0da0450b85e5fde (patch)
treee47034d3d6b0c09c34de248e18a01a880d485abc /drivers/media/dvb/frontends/tda18271-priv.h
parentd37142102a2adaa3391a384ea6a780afb5804789 (diff)
V4L/DVB (6926): tda18271: consolidate table lookup functions
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.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-priv.h b/drivers/media/dvb/frontends/tda18271-priv.h
index 7b9aa9ad53fe..b08bf08aa88f 100644
--- a/drivers/media/dvb/frontends/tda18271-priv.h
+++ b/drivers/media/dvb/frontends/tda18271-priv.h
@@ -104,15 +104,23 @@ extern int tda18271_debug;
104 104
105/*---------------------------------------------------------------------*/ 105/*---------------------------------------------------------------------*/
106 106
107extern void tda18271_lookup_cal_pll(u32 *freq, u8 *post_div, u8 *div); 107enum tda18271_map_type {
108extern void tda18271_lookup_main_pll(u32 *freq, u8 *post_div, u8 *div); 108 /* tda18271_pll_map */
109 109 MAIN_PLL,
110extern void tda18271_lookup_bp_filter(u32 *freq, u8 *val); 110 CAL_PLL,
111extern void tda18271_lookup_km(u32 *freq, u8 *val); 111 /* tda18271_map */
112extern void tda18271_lookup_rf_band(u32 *freq, u8 *val); 112 RF_CAL,
113extern void tda18271_lookup_gain_taper(u32 *freq, u8 *val); 113 RF_CAL_KMCO,
114extern void tda18271_lookup_rf_cal(u32 *freq, u8 *val); 114 BP_FILTER,
115extern void tda18271_lookup_ir_measure(u32 *freq, u8 *val); 115 RF_BAND,
116 GAIN_TAPER,
117 IR_MEASURE,
118};
119
120extern int tda18271_lookup_pll_map(enum tda18271_map_type map_type,
121 u32 *freq, u8 *post_div, u8 *div);
122extern int tda18271_lookup_map(enum tda18271_map_type map_type,
123 u32 *freq, u8 *val);
116 124
117#endif /* __TDA18271_PRIV_H__ */ 125#endif /* __TDA18271_PRIV_H__ */
118 126