diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-24 22:39:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:25 -0500 |
commit | 2f27dfc98cc0a183be9e3c2fc0da0450b85e5fde (patch) | |
tree | e47034d3d6b0c09c34de248e18a01a880d485abc /drivers/media/dvb/frontends/tda18271-priv.h | |
parent | d37142102a2adaa3391a384ea6a780afb5804789 (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.h | 26 |
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 | ||
107 | extern void tda18271_lookup_cal_pll(u32 *freq, u8 *post_div, u8 *div); | 107 | enum tda18271_map_type { |
108 | extern void tda18271_lookup_main_pll(u32 *freq, u8 *post_div, u8 *div); | 108 | /* tda18271_pll_map */ |
109 | 109 | MAIN_PLL, | |
110 | extern void tda18271_lookup_bp_filter(u32 *freq, u8 *val); | 110 | CAL_PLL, |
111 | extern void tda18271_lookup_km(u32 *freq, u8 *val); | 111 | /* tda18271_map */ |
112 | extern void tda18271_lookup_rf_band(u32 *freq, u8 *val); | 112 | RF_CAL, |
113 | extern void tda18271_lookup_gain_taper(u32 *freq, u8 *val); | 113 | RF_CAL_KMCO, |
114 | extern void tda18271_lookup_rf_cal(u32 *freq, u8 *val); | 114 | BP_FILTER, |
115 | extern void tda18271_lookup_ir_measure(u32 *freq, u8 *val); | 115 | RF_BAND, |
116 | GAIN_TAPER, | ||
117 | IR_MEASURE, | ||
118 | }; | ||
119 | |||
120 | extern int tda18271_lookup_pll_map(enum tda18271_map_type map_type, | ||
121 | u32 *freq, u8 *post_div, u8 *div); | ||
122 | extern 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 | ||