drivers/media/usb/cx231xx/cx231xx-dif.h

Source file repositories/reference/linux-study-clean/drivers/media/usb/cx231xx/cx231xx-dif.h

File Facts

System
Linux kernel
Corpus path
drivers/media/usb/cx231xx/cx231xx-dif.h
Extension
.h
Size
125538 bytes
Lines
3166
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

struct dif_settings{
	u32 if_freq;
	u32 register_address;
	u32 value;
};

static struct dif_settings Dif_set_array[] = {

/*case 3000000:*/
/* BEGIN - DIF BPF register values from 30_quant.dat*/
{3000000, DIF_BPF_COEFF01,    0x00000002},
{3000000, DIF_BPF_COEFF23,    0x00080012},
{3000000, DIF_BPF_COEFF45,    0x001e0024},
{3000000, DIF_BPF_COEFF67,    0x001bfff8},
{3000000, DIF_BPF_COEFF89,    0xffb4ff50},
{3000000, DIF_BPF_COEFF1011,  0xfed8fe68},
{3000000, DIF_BPF_COEFF1213,  0xfe24fe34},
{3000000, DIF_BPF_COEFF1415,  0xfebaffc7},
{3000000, DIF_BPF_COEFF1617,  0x014d031f},
{3000000, DIF_BPF_COEFF1819,  0x04f0065d},
{3000000, DIF_BPF_COEFF2021,  0x07010688},
{3000000, DIF_BPF_COEFF2223,  0x04c901d6},
{3000000, DIF_BPF_COEFF2425,  0xfe00f9d3},
{3000000, DIF_BPF_COEFF2627,  0xf600f342},
{3000000, DIF_BPF_COEFF2829,  0xf235f337},
{3000000, DIF_BPF_COEFF3031,  0xf64efb22},
{3000000, DIF_BPF_COEFF3233,  0x0105070f},
{3000000, DIF_BPF_COEFF3435,  0x0c460fce},
{3000000, DIF_BPF_COEFF36,    0x110d0000},
/* END - DIF BPF register values from 30_quant.dat*/


/*case 3100000:*/
/* BEGIN - DIF BPF register values from 31_quant.dat*/
{3100000, DIF_BPF_COEFF01,    0x00000001},
{3100000, DIF_BPF_COEFF23,    0x00070012},
{3100000, DIF_BPF_COEFF45,    0x00220032},
{3100000, DIF_BPF_COEFF67,    0x00370026},
{3100000, DIF_BPF_COEFF89,    0xfff0ff91},
{3100000, DIF_BPF_COEFF1011,  0xff0efe7c},
{3100000, DIF_BPF_COEFF1213,  0xfe01fdcc},
{3100000, DIF_BPF_COEFF1415,  0xfe0afedb},
{3100000, DIF_BPF_COEFF1617,  0x00440224},
{3100000, DIF_BPF_COEFF1819,  0x0434060c},
{3100000, DIF_BPF_COEFF2021,  0x0738074e},
{3100000, DIF_BPF_COEFF2223,  0x06090361},
{3100000, DIF_BPF_COEFF2425,  0xff99fb39},
{3100000, DIF_BPF_COEFF2627,  0xf6fef3b6},
{3100000, DIF_BPF_COEFF2829,  0xf21af2a5},
{3100000, DIF_BPF_COEFF3031,  0xf573fa33},
{3100000, DIF_BPF_COEFF3233,  0x0034067d},
{3100000, DIF_BPF_COEFF3435,  0x0bfb0fb9},
{3100000, DIF_BPF_COEFF36,    0x110d0000},
/* END - DIF BPF register values from 31_quant.dat*/


/*case 3200000:*/
/* BEGIN - DIF BPF register values from 32_quant.dat*/
{3200000, DIF_BPF_COEFF01,    0x00000000},
{3200000, DIF_BPF_COEFF23,    0x0004000e},
{3200000, DIF_BPF_COEFF45,    0x00200038},
{3200000, DIF_BPF_COEFF67,    0x004c004f},
{3200000, DIF_BPF_COEFF89,    0x002fffdf},
{3200000, DIF_BPF_COEFF1011,  0xff5cfeb6},
{3200000, DIF_BPF_COEFF1213,  0xfe0dfd92},
{3200000, DIF_BPF_COEFF1415,  0xfd7ffe03},
{3200000, DIF_BPF_COEFF1617,  0xff36010a},
{3200000, DIF_BPF_COEFF1819,  0x03410575},
{3200000, DIF_BPF_COEFF2021,  0x072607d2},
{3200000, DIF_BPF_COEFF2223,  0x071804d5},
{3200000, DIF_BPF_COEFF2425,  0x0134fcb7},
{3200000, DIF_BPF_COEFF2627,  0xf81ff451},
{3200000, DIF_BPF_COEFF2829,  0xf223f22e},
{3200000, DIF_BPF_COEFF3031,  0xf4a7f94b},
{3200000, DIF_BPF_COEFF3233,  0xff6405e8},
{3200000, DIF_BPF_COEFF3435,  0x0bae0fa4},
{3200000, DIF_BPF_COEFF36,    0x110d0000},
/* END - DIF BPF register values from 32_quant.dat*/


/*case 3300000:*/
/* BEGIN - DIF BPF register values from 33_quant.dat*/
{3300000, DIF_BPF_COEFF01,    0x0000ffff},
{3300000, DIF_BPF_COEFF23,    0x00000008},
{3300000, DIF_BPF_COEFF45,    0x001a0036},
{3300000, DIF_BPF_COEFF67,    0x0056006d},
{3300000, DIF_BPF_COEFF89,    0x00670030},
{3300000, DIF_BPF_COEFF1011,  0xffbdff10},
{3300000, DIF_BPF_COEFF1213,  0xfe46fd8d},
{3300000, DIF_BPF_COEFF1415,  0xfd25fd4f},

Annotation

Implementation Notes