drivers/media/usb/dvb-usb/af9005-script.h

Source file repositories/reference/linux-study-clean/drivers/media/usb/dvb-usb/af9005-script.h

File Facts

System
Linux kernel
Corpus path
drivers/media/usb/dvb-usb/af9005-script.h
Extension
.h
Size
5232 bytes
Lines
205
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

File automatically generated by createinit.py using data
extracted from AF05BDA.sys (windows driver):

dd if=AF05BDA.sys of=initsequence bs=1 skip=88316 count=1110
python createinit.py > af9005-script.h

*/

typedef struct {
	u16 reg;
	u8 pos;
	u8 len;
	u8 val;
} RegDesc;

static RegDesc script[] = {
	{0xa180, 0x0, 0x8, 0xa},
	{0xa181, 0x0, 0x8, 0xd7},
	{0xa182, 0x0, 0x8, 0xa3},
	{0xa0a0, 0x0, 0x8, 0x0},
	{0xa0a1, 0x0, 0x5, 0x0},
	{0xa0a1, 0x5, 0x1, 0x1},
	{0xa0c0, 0x0, 0x4, 0x1},
	{0xa20e, 0x4, 0x4, 0xa},
	{0xa20f, 0x0, 0x8, 0x40},
	{0xa210, 0x0, 0x8, 0x8},
	{0xa32a, 0x0, 0x4, 0xa},
	{0xa32c, 0x0, 0x8, 0x20},
	{0xa32b, 0x0, 0x8, 0x15},
	{0xa1a0, 0x1, 0x1, 0x1},
	{0xa000, 0x0, 0x1, 0x1},
	{0xa000, 0x1, 0x1, 0x0},
	{0xa001, 0x1, 0x1, 0x1},
	{0xa001, 0x0, 0x1, 0x0},
	{0xa001, 0x5, 0x1, 0x0},
	{0xa00e, 0x0, 0x5, 0x10},
	{0xa00f, 0x0, 0x3, 0x4},
	{0xa00f, 0x3, 0x3, 0x5},
	{0xa010, 0x0, 0x3, 0x4},
	{0xa010, 0x3, 0x3, 0x5},
	{0xa016, 0x4, 0x4, 0x3},
	{0xa01f, 0x0, 0x6, 0xa},
	{0xa020, 0x0, 0x6, 0xa},
	{0xa2bc, 0x0, 0x1, 0x1},
	{0xa2bc, 0x5, 0x1, 0x1},
	{0xa015, 0x0, 0x8, 0x50},
	{0xa016, 0x0, 0x1, 0x0},
	{0xa02a, 0x0, 0x8, 0x50},
	{0xa029, 0x0, 0x8, 0x4b},
	{0xa614, 0x0, 0x8, 0x46},
	{0xa002, 0x0, 0x5, 0x19},
	{0xa003, 0x0, 0x5, 0x1a},
	{0xa004, 0x0, 0x5, 0x19},
	{0xa005, 0x0, 0x5, 0x1a},
	{0xa008, 0x0, 0x8, 0x69},
	{0xa009, 0x0, 0x2, 0x2},
	{0xae1b, 0x0, 0x8, 0x69},
	{0xae1c, 0x0, 0x8, 0x2},
	{0xae1d, 0x0, 0x8, 0x2a},
	{0xa022, 0x0, 0x8, 0xaa},
	{0xa006, 0x0, 0x8, 0xc8},
	{0xa007, 0x0, 0x2, 0x0},
	{0xa00c, 0x0, 0x8, 0xba},
	{0xa00d, 0x0, 0x2, 0x2},
	{0xa608, 0x0, 0x8, 0xba},
	{0xa60e, 0x0, 0x2, 0x2},
	{0xa609, 0x0, 0x8, 0x80},
	{0xa60e, 0x2, 0x2, 0x3},
	{0xa00a, 0x0, 0x8, 0xb6},
	{0xa00b, 0x0, 0x2, 0x0},
	{0xa011, 0x0, 0x8, 0xb9},
	{0xa012, 0x0, 0x2, 0x0},
	{0xa013, 0x0, 0x8, 0xbd},
	{0xa014, 0x0, 0x2, 0x2},
	{0xa366, 0x0, 0x1, 0x1},
	{0xa2bc, 0x3, 0x1, 0x0},
	{0xa2bd, 0x0, 0x8, 0xa},
	{0xa2be, 0x0, 0x8, 0x14},
	{0xa2bf, 0x0, 0x8, 0x8},
	{0xa60a, 0x0, 0x8, 0xbd},
	{0xa60e, 0x4, 0x2, 0x2},
	{0xa60b, 0x0, 0x8, 0x86},
	{0xa60e, 0x6, 0x2, 0x3},
	{0xa001, 0x2, 0x2, 0x1},
	{0xa1c7, 0x0, 0x8, 0xf5},
	{0xa03d, 0x0, 0x8, 0xb1},
	{0xa616, 0x0, 0x8, 0xff},
	{0xa617, 0x0, 0x8, 0xad},
	{0xa618, 0x0, 0x8, 0xad},
	{0xa61e, 0x3, 0x1, 0x1},

Annotation

Implementation Notes