mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
d45b9b8ab4
Fix sparse warnings. None are serious, but cutting down on these helps find future serious sparse warnings/errors. Redid the av7710.c patch based on a suggestion by Oliver Endriss. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
204 lines
5.1 KiB
C
204 lines
5.1 KiB
C
/*
|
|
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,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 0x1, 0x1},
|
|
{0xa33d, 0x2, 0x1, 0x1},
|
|
{0xa33d, 0x3, 0x1, 0x1},
|
|
{0xa16d, 0x0, 0x4, 0xf},
|
|
{0xa161, 0x0, 0x5, 0x5},
|
|
{0xa162, 0x0, 0x4, 0x5},
|
|
{0xa165, 0x0, 0x8, 0xff},
|
|
{0xa166, 0x0, 0x8, 0x9c},
|
|
{0xa2c3, 0x0, 0x4, 0x5},
|
|
{0xa61a, 0x0, 0x6, 0xf},
|
|
{0xb200, 0x0, 0x8, 0xa1},
|
|
{0xb201, 0x0, 0x8, 0x7},
|
|
{0xa093, 0x0, 0x1, 0x0},
|
|
{0xa093, 0x1, 0x5, 0xf},
|
|
{0xa094, 0x0, 0x8, 0xff},
|
|
{0xa095, 0x0, 0x8, 0xf},
|
|
{0xa080, 0x2, 0x5, 0x3},
|
|
{0xa081, 0x0, 0x4, 0x0},
|
|
{0xa081, 0x4, 0x4, 0x9},
|
|
{0xa082, 0x0, 0x5, 0x1f},
|
|
{0xa08d, 0x0, 0x8, 0x1},
|
|
{0xa083, 0x0, 0x8, 0x32},
|
|
{0xa084, 0x0, 0x1, 0x0},
|
|
{0xa08e, 0x0, 0x8, 0x3},
|
|
{0xa085, 0x0, 0x8, 0x32},
|
|
{0xa086, 0x0, 0x3, 0x0},
|
|
{0xa087, 0x0, 0x8, 0x6e},
|
|
{0xa088, 0x0, 0x5, 0x15},
|
|
{0xa089, 0x0, 0x8, 0x0},
|
|
{0xa08a, 0x0, 0x5, 0x19},
|
|
{0xa08b, 0x0, 0x8, 0x92},
|
|
{0xa08c, 0x0, 0x5, 0x1c},
|
|
{0xa120, 0x0, 0x8, 0x0},
|
|
{0xa121, 0x0, 0x5, 0x10},
|
|
{0xa122, 0x0, 0x8, 0x0},
|
|
{0xa123, 0x0, 0x7, 0x40},
|
|
{0xa123, 0x7, 0x1, 0x0},
|
|
{0xa124, 0x0, 0x8, 0x13},
|
|
{0xa125, 0x0, 0x7, 0x10},
|
|
{0xa1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 0x7, 0x1, 0x1},
|
|
{0xabc0, 0x2, 0x1, 0x1},
|
|
{0xa345, 0x0, 0x8, 0x66},
|
|
{0xa346, 0x0, 0x8, 0x66},
|
|
{0xa347, 0x0, 0x4, 0x0},
|
|
{0xa343, 0x0, 0x4, 0xa},
|
|
{0xa347, 0x4, 0x4, 0x2},
|
|
{0xa348, 0x0, 0x4, 0xc},
|
|
{0xa348, 0x4, 0x4, 0x7},
|
|
{0xa349, 0x0, 0x6, 0x2},
|
|
};
|