drivers/media/dvb-frontends/tda18271c2dd_maps.h

Source file repositories/reference/linux-study-clean/drivers/media/dvb-frontends/tda18271c2dd_maps.h

File Facts

System
Linux kernel
Corpus path
drivers/media/dvb-frontends/tda18271c2dd_maps.h
Extension
.h
Size
20267 bytes
Lines
816
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

enum HF_S {
	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
};

static const 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) */
};

static const struct SMap  m_BP_Filter_Map[] = {
	{   62000000,  0x00 },
	{   84000000,  0x01 },
	{  100000000,  0x02 },
	{  140000000,  0x03 },
	{  170000000,  0x04 },
	{  180000000,  0x05 },
	{  865000000,  0x06 },
	{          0,  0x00 },    /* Table End */
};

static const struct SMapI m_RF_Cal_Map[] = {
	{   41000000,  0x0F },
	{   43000000,  0x1C },
	{   45000000,  0x2F },
	{   46000000,  0x39 },
	{   47000000,  0x40 },
	{   47900000,  0x50 },
	{   49100000,  0x16 },
	{   50000000,  0x18 },
	{   51000000,  0x20 },
	{   53000000,  0x28 },
	{   55000000,  0x2B },
	{   56000000,  0x32 },
	{   57000000,  0x35 },
	{   58000000,  0x3E },
	{   59000000,  0x43 },
	{   60000000,  0x4E },
	{   61100000,  0x55 },
	{   63000000,  0x0F },
	{   64000000,  0x11 },
	{   65000000,  0x12 },
	{   66000000,  0x15 },
	{   67000000,  0x16 },
	{   68000000,  0x17 },
	{   70000000,  0x19 },
	{   71000000,  0x1C },
	{   72000000,  0x1D },
	{   73000000,  0x1F },
	{   74000000,  0x20 },
	{   75000000,  0x21 },
	{   76000000,  0x24 },
	{   77000000,  0x25 },
	{   78000000,  0x27 },
	{   80000000,  0x28 },
	{   81000000,  0x29 },
	{   82000000,  0x2D },
	{   83000000,  0x2E },
	{   84000000,  0x2F },
	{   85000000,  0x31 },
	{   86000000,  0x33 },
	{   87000000,  0x34 },
	{   88000000,  0x35 },
	{   89000000,  0x37 },
	{   90000000,  0x38 },
	{   91000000,  0x39 },
	{   93000000,  0x3C },
	{   94000000,  0x3E },
	{   95000000,  0x3F },
	{   96000000,  0x40 },
	{   97000000,  0x42 },

Annotation

Implementation Notes