Commit 0fe44629 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

[media] tda18271c2dd: Lots of coding-style fixes

Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e8783950
This diff is collapsed.
enum HF_S {
HF_None=0, HF_B, HF_DK, HF_G, HF_I, HF_L, HF_L1, HF_MN, HF_FM_Radio,
HF_None = 0, HF_B, HF_DK, HF_G, HF_I, HF_L, HF_L1, HF_MN, HF_FM_Radio,
HF_AnalogMax, HF_DVBT_6MHZ, HF_DVBT_7MHZ, HF_DVBT_8MHZ,
HF_DVBT, HF_ATSC, HF_DVBC_6MHZ, HF_DVBC_7MHZ,
HF_DVBC_8MHZ, HF_DVBC
};
struct SStandardParam m_StandardTable[] =
{
{ 0, 0, 0x00, 0x00 }, // HF_None
{ 6000000, 7000000, 0x1D, 0x2C }, // HF_B,
{ 6900000, 8000000, 0x1E, 0x2C }, // HF_DK,
{ 7100000, 8000000, 0x1E, 0x2C }, // HF_G,
{ 7250000, 8000000, 0x1E, 0x2C }, // HF_I,
{ 6900000, 8000000, 0x1E, 0x2C }, // HF_L,
{ 1250000, 8000000, 0x1E, 0x2C }, // HF_L1,
{ 5400000, 6000000, 0x1C, 0x2C }, // HF_MN,
{ 1250000, 500000, 0x18, 0x2C }, // HF_FM_Radio,
{ 0, 0, 0x00, 0x00 }, // HF_AnalogMax (Unused)
{ 3300000, 6000000, 0x1C, 0x58 }, // HF_DVBT_6MHZ
{ 3500000, 7000000, 0x1C, 0x37 }, // HF_DVBT_7MHZ
{ 4000000, 8000000, 0x1D, 0x37 }, // HF_DVBT_8MHZ
{ 0, 0, 0x00, 0x00 }, // HF_DVBT (Unused)
{ 5000000, 6000000, 0x1C, 0x37 }, // HF_ATSC (center = 3.25 MHz)
{ 4000000, 6000000, 0x1D, 0x58 }, // HF_DVBC_6MHZ (Chicago)
{ 4500000, 7000000, 0x1E, 0x37 }, // HF_DVBC_7MHZ (not documented by NXP)
{ 5000000, 8000000, 0x1F, 0x37 }, // HF_DVBC_8MHZ
{ 0, 0, 0x00, 0x00 }, // HF_DVBC (Unused)
struct SStandardParam m_StandardTable[] = {
{ 0, 0, 0x00, 0x00 }, /* HF_None */
{ 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */
{ 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */
{ 7100000, 8000000, 0x1E, 0x2C }, /* HF_G, */
{ 7250000, 8000000, 0x1E, 0x2C }, /* HF_I, */
{ 6900000, 8000000, 0x1E, 0x2C }, /* HF_L, */
{ 1250000, 8000000, 0x1E, 0x2C }, /* HF_L1, */
{ 5400000, 6000000, 0x1C, 0x2C }, /* HF_MN, */
{ 1250000, 500000, 0x18, 0x2C }, /* HF_FM_Radio, */
{ 0, 0, 0x00, 0x00 }, /* HF_AnalogMax (Unused) */
{ 3300000, 6000000, 0x1C, 0x58 }, /* HF_DVBT_6MHZ */
{ 3500000, 7000000, 0x1C, 0x37 }, /* HF_DVBT_7MHZ */
{ 4000000, 8000000, 0x1D, 0x37 }, /* HF_DVBT_8MHZ */
{ 0, 0, 0x00, 0x00 }, /* HF_DVBT (Unused) */
{ 5000000, 6000000, 0x1C, 0x37 }, /* HF_ATSC (center = 3.25 MHz) */
{ 4000000, 6000000, 0x1D, 0x58 }, /* HF_DVBC_6MHZ (Chicago) */
{ 4500000, 7000000, 0x1E, 0x37 }, /* HF_DVBC_7MHZ (not documented by NXP) */
{ 5000000, 8000000, 0x1F, 0x37 }, /* HF_DVBC_8MHZ */
{ 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */
};
struct SMap m_BP_Filter_Map[] = {
......@@ -36,7 +35,7 @@ struct SMap m_BP_Filter_Map[] = {
{ 170000000, 0x04 },
{ 180000000, 0x05 },
{ 865000000, 0x06 },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
static struct SMapI m_RF_Cal_Map[] = {
......@@ -477,7 +476,7 @@ static struct SMapI m_RF_Cal_Map[] = {
{ 863000000, 0xB6 },
{ 864000000, 0xB8 },
{ 865000000, 0xB9 },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
......@@ -487,7 +486,7 @@ static struct SMap2 m_KM_Map[] = {
{ 350000000, 3, 0 },
{ 720000000, 2, 1 },
{ 865000000, 3, 3 },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
static struct SMap2 m_Main_PLL_Map[] = {
......@@ -531,7 +530,7 @@ static struct SMap2 m_Main_PLL_Map[] = {
{ 795000000, 0x12, 0x0A },
{ 883000000, 0x11, 0x09 },
{ 994000000, 0x10, 0x08 },
{ 0, 0x00, 0x00 }, // Table End
{ 0, 0x00, 0x00 }, /* Table End */
};
static struct SMap2 m_Cal_PLL_Map[] = {
......@@ -569,7 +568,7 @@ static struct SMap2 m_Cal_PLL_Map[] = {
{ 703000000, 0x9A, 0x0A },
{ 781000000, 0x99, 0x09 },
{ 879000000, 0x98, 0x08 },
{ 0, 0x00, 0x00 }, // Table End
{ 0, 0x00, 0x00 }, /* Table End */
};
static struct SMap m_GainTaper_Map[] = {
......@@ -658,7 +657,7 @@ static struct SMap m_GainTaper_Map[] = {
{ 828000000, 0x06 },
{ 846500000, 0x05 },
{ 865000000, 0x04 },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
static struct SMap m_RF_Cal_DC_Over_DT_Map[] = {
......@@ -763,7 +762,7 @@ static struct SMap m_RF_Cal_DC_Over_DT_Map[] = {
{ 854000000, 0x84 },
{ 859000000, 0x8F },
{ 865000000, 0x9A },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
......@@ -771,7 +770,7 @@ static struct SMap m_IR_Meas_Map[] = {
{ 200000000, 0x05 },
{ 400000000, 0x06 },
{ 865000000, 0x07 },
{ 0, 0x00 }, // Table End
{ 0, 0x00 }, /* Table End */
};
static struct SMap2 m_CID_Target_Map[] = {
......@@ -787,7 +786,7 @@ static struct SMap2 m_CID_Target_Map[] = {
{ 489500000, 0x1E, 40 },
{ 697500000, 0x32, 40 },
{ 842000000, 0x3A, 40 },
{ 0, 0x00, 0 }, // Table End
{ 0, 0x00, 0 }, /* Table End */
};
static struct SRFBandMap m_RF_Band_Map[7] = {
......@@ -801,10 +800,15 @@ static struct SRFBandMap m_RF_Band_Map[7] = {
};
u8 m_Thermometer_Map_1[16] = {
60,62,66,64, 74,72,68,70, 90,88,84,86, 76,78,82,80,
60, 62, 66, 64,
74, 72, 68, 70,
90, 88, 84, 86,
76, 78, 82, 80,
};
u8 m_Thermometer_Map_2[16] = {
92,94,98,96, 106,104,100,102, 122,120,116,118, 108,110,114,112,
92, 94, 98, 96,
106, 104, 100, 102,
122, 120, 116, 118,
108, 110, 114, 112,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment