summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda18271-tables.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 14:46:06 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:52 -0300
commitc293d0a72ecb9dd09037cdf4a9089e455404cf4a (patch)
tree829b7197ff957f3364831b5bd45c483c2148ff03 /drivers/media/dvb/frontends/tda18271-tables.c
parent5555309c9adcf9bb7f6b449ef45b09d5c26ef4ae (diff)
V4L/DVB (7384): tda18271: store FM_RFn setting in struct tda18271_std_map_item
All standard related configuration is stored within struct tda18271_std_map_item. Pass a pointer to this structure rather than its individual members. 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-tables.c')
-rw-r--r--drivers/media/dvb/frontends/tda18271-tables.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-tables.c b/drivers/media/dvb/frontends/tda18271-tables.c
index e94afcfdc5b..462f20b4172 100644
--- a/drivers/media/dvb/frontends/tda18271-tables.c
+++ b/drivers/media/dvb/frontends/tda18271-tables.c
@@ -1187,37 +1187,37 @@ fail:
/*---------------------------------------------------------------------*/
static struct tda18271_std_map tda18271c1_std_map = {
- .fm_radio = { .if_freq = 1250, .std_bits = 0x18 },
- .atv_b = { .if_freq = 6750, .std_bits = 0x0e },
- .atv_dk = { .if_freq = 7750, .std_bits = 0x0f },
- .atv_gh = { .if_freq = 7750, .std_bits = 0x0f },
- .atv_i = { .if_freq = 7750, .std_bits = 0x0f },
- .atv_l = { .if_freq = 7750, .std_bits = 0x0f },
- .atv_lc = { .if_freq = 1250, .std_bits = 0x0f },
- .atv_mn = { .if_freq = 5750, .std_bits = 0x0d },
- .atsc_6 = { .if_freq = 3250, .std_bits = 0x1c },
- .dvbt_6 = { .if_freq = 3300, .std_bits = 0x1c },
- .dvbt_7 = { .if_freq = 3800, .std_bits = 0x1d },
- .dvbt_8 = { .if_freq = 4300, .std_bits = 0x1e },
- .qam_6 = { .if_freq = 4000, .std_bits = 0x1d },
- .qam_8 = { .if_freq = 5000, .std_bits = 0x1f },
+ .fm_radio = { .if_freq = 1250, .std_bits = 0x18, .fm_rfn = 1 },
+ .atv_b = { .if_freq = 6750, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_dk = { .if_freq = 7750, .std_bits = 0x0f, .fm_rfn = 0 },
+ .atv_gh = { .if_freq = 7750, .std_bits = 0x0f, .fm_rfn = 0 },
+ .atv_i = { .if_freq = 7750, .std_bits = 0x0f, .fm_rfn = 0 },
+ .atv_l = { .if_freq = 7750, .std_bits = 0x0f, .fm_rfn = 0 },
+ .atv_lc = { .if_freq = 1250, .std_bits = 0x0f, .fm_rfn = 0 },
+ .atv_mn = { .if_freq = 5750, .std_bits = 0x0d, .fm_rfn = 0 },
+ .atsc_6 = { .if_freq = 3250, .std_bits = 0x1c, .fm_rfn = 0 },
+ .dvbt_6 = { .if_freq = 3300, .std_bits = 0x1c, .fm_rfn = 0 },
+ .dvbt_7 = { .if_freq = 3800, .std_bits = 0x1d, .fm_rfn = 0 },
+ .dvbt_8 = { .if_freq = 4300, .std_bits = 0x1e, .fm_rfn = 0 },
+ .qam_6 = { .if_freq = 4000, .std_bits = 0x1d, .fm_rfn = 0 },
+ .qam_8 = { .if_freq = 5000, .std_bits = 0x1f, .fm_rfn = 0 },
};
static struct tda18271_std_map tda18271c2_std_map = {
- .fm_radio = { .if_freq = 1250, .std_bits = 0x18 },
- .atv_b = { .if_freq = 6000, .std_bits = 0x0d },
- .atv_dk = { .if_freq = 6900, .std_bits = 0x0e },
- .atv_gh = { .if_freq = 7100, .std_bits = 0x0e },
- .atv_i = { .if_freq = 7250, .std_bits = 0x0e },
- .atv_l = { .if_freq = 6900, .std_bits = 0x0e },
- .atv_lc = { .if_freq = 1250, .std_bits = 0x0e },
- .atv_mn = { .if_freq = 5400, .std_bits = 0x0c },
- .atsc_6 = { .if_freq = 3250, .std_bits = 0x1c },
- .dvbt_6 = { .if_freq = 3300, .std_bits = 0x1c },
- .dvbt_7 = { .if_freq = 3500, .std_bits = 0x1c },
- .dvbt_8 = { .if_freq = 4000, .std_bits = 0x1d },
- .qam_6 = { .if_freq = 4000, .std_bits = 0x1d },
- .qam_8 = { .if_freq = 5000, .std_bits = 0x1f },
+ .fm_radio = { .if_freq = 1250, .std_bits = 0x18, .fm_rfn = 1 },
+ .atv_b = { .if_freq = 6000, .std_bits = 0x0d, .fm_rfn = 0 },
+ .atv_dk = { .if_freq = 6900, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_gh = { .if_freq = 7100, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_i = { .if_freq = 7250, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_l = { .if_freq = 6900, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_lc = { .if_freq = 1250, .std_bits = 0x0e, .fm_rfn = 0 },
+ .atv_mn = { .if_freq = 5400, .std_bits = 0x0c, .fm_rfn = 0 },
+ .atsc_6 = { .if_freq = 3250, .std_bits = 0x1c, .fm_rfn = 0 },
+ .dvbt_6 = { .if_freq = 3300, .std_bits = 0x1c, .fm_rfn = 0 },
+ .dvbt_7 = { .if_freq = 3500, .std_bits = 0x1c, .fm_rfn = 0 },
+ .dvbt_8 = { .if_freq = 4000, .std_bits = 0x1d, .fm_rfn = 0 },
+ .qam_6 = { .if_freq = 4000, .std_bits = 0x1d, .fm_rfn = 0 },
+ .qam_8 = { .if_freq = 5000, .std_bits = 0x1f, .fm_rfn = 0 },
};
/*---------------------------------------------------------------------*/