1786baecfSMauro Carvalho Chehab /* 2786baecfSMauro Carvalho Chehab File automatically generated by createinit.py using data 3786baecfSMauro Carvalho Chehab extracted from AF05BDA.sys (windows driver): 4786baecfSMauro Carvalho Chehab 5786baecfSMauro Carvalho Chehab dd if=AF05BDA.sys of=initsequence bs=1 skip=88316 count=1110 6786baecfSMauro Carvalho Chehab python createinit.py > af9005-script.h 7786baecfSMauro Carvalho Chehab 8786baecfSMauro Carvalho Chehab */ 9786baecfSMauro Carvalho Chehab 10786baecfSMauro Carvalho Chehab typedef struct { 11786baecfSMauro Carvalho Chehab u16 reg; 12786baecfSMauro Carvalho Chehab u8 pos; 13786baecfSMauro Carvalho Chehab u8 len; 14786baecfSMauro Carvalho Chehab u8 val; 15786baecfSMauro Carvalho Chehab } RegDesc; 16786baecfSMauro Carvalho Chehab 17786baecfSMauro Carvalho Chehab static RegDesc script[] = { 18786baecfSMauro Carvalho Chehab {0xa180, 0x0, 0x8, 0xa}, 19786baecfSMauro Carvalho Chehab {0xa181, 0x0, 0x8, 0xd7}, 20786baecfSMauro Carvalho Chehab {0xa182, 0x0, 0x8, 0xa3}, 21786baecfSMauro Carvalho Chehab {0xa0a0, 0x0, 0x8, 0x0}, 22786baecfSMauro Carvalho Chehab {0xa0a1, 0x0, 0x5, 0x0}, 23786baecfSMauro Carvalho Chehab {0xa0a1, 0x5, 0x1, 0x1}, 24786baecfSMauro Carvalho Chehab {0xa0c0, 0x0, 0x4, 0x1}, 25786baecfSMauro Carvalho Chehab {0xa20e, 0x4, 0x4, 0xa}, 26786baecfSMauro Carvalho Chehab {0xa20f, 0x0, 0x8, 0x40}, 27786baecfSMauro Carvalho Chehab {0xa210, 0x0, 0x8, 0x8}, 28786baecfSMauro Carvalho Chehab {0xa32a, 0x0, 0x4, 0xa}, 29786baecfSMauro Carvalho Chehab {0xa32c, 0x0, 0x8, 0x20}, 30786baecfSMauro Carvalho Chehab {0xa32b, 0x0, 0x8, 0x15}, 31786baecfSMauro Carvalho Chehab {0xa1a0, 0x1, 0x1, 0x1}, 32786baecfSMauro Carvalho Chehab {0xa000, 0x0, 0x1, 0x1}, 33786baecfSMauro Carvalho Chehab {0xa000, 0x1, 0x1, 0x0}, 34786baecfSMauro Carvalho Chehab {0xa001, 0x1, 0x1, 0x1}, 35786baecfSMauro Carvalho Chehab {0xa001, 0x0, 0x1, 0x0}, 36786baecfSMauro Carvalho Chehab {0xa001, 0x5, 0x1, 0x0}, 37786baecfSMauro Carvalho Chehab {0xa00e, 0x0, 0x5, 0x10}, 38786baecfSMauro Carvalho Chehab {0xa00f, 0x0, 0x3, 0x4}, 39786baecfSMauro Carvalho Chehab {0xa00f, 0x3, 0x3, 0x5}, 40786baecfSMauro Carvalho Chehab {0xa010, 0x0, 0x3, 0x4}, 41786baecfSMauro Carvalho Chehab {0xa010, 0x3, 0x3, 0x5}, 42786baecfSMauro Carvalho Chehab {0xa016, 0x4, 0x4, 0x3}, 43786baecfSMauro Carvalho Chehab {0xa01f, 0x0, 0x6, 0xa}, 44786baecfSMauro Carvalho Chehab {0xa020, 0x0, 0x6, 0xa}, 45786baecfSMauro Carvalho Chehab {0xa2bc, 0x0, 0x1, 0x1}, 46786baecfSMauro Carvalho Chehab {0xa2bc, 0x5, 0x1, 0x1}, 47786baecfSMauro Carvalho Chehab {0xa015, 0x0, 0x8, 0x50}, 48786baecfSMauro Carvalho Chehab {0xa016, 0x0, 0x1, 0x0}, 49786baecfSMauro Carvalho Chehab {0xa02a, 0x0, 0x8, 0x50}, 50786baecfSMauro Carvalho Chehab {0xa029, 0x0, 0x8, 0x4b}, 51786baecfSMauro Carvalho Chehab {0xa614, 0x0, 0x8, 0x46}, 52786baecfSMauro Carvalho Chehab {0xa002, 0x0, 0x5, 0x19}, 53786baecfSMauro Carvalho Chehab {0xa003, 0x0, 0x5, 0x1a}, 54786baecfSMauro Carvalho Chehab {0xa004, 0x0, 0x5, 0x19}, 55786baecfSMauro Carvalho Chehab {0xa005, 0x0, 0x5, 0x1a}, 56786baecfSMauro Carvalho Chehab {0xa008, 0x0, 0x8, 0x69}, 57786baecfSMauro Carvalho Chehab {0xa009, 0x0, 0x2, 0x2}, 58786baecfSMauro Carvalho Chehab {0xae1b, 0x0, 0x8, 0x69}, 59786baecfSMauro Carvalho Chehab {0xae1c, 0x0, 0x8, 0x2}, 60786baecfSMauro Carvalho Chehab {0xae1d, 0x0, 0x8, 0x2a}, 61786baecfSMauro Carvalho Chehab {0xa022, 0x0, 0x8, 0xaa}, 62786baecfSMauro Carvalho Chehab {0xa006, 0x0, 0x8, 0xc8}, 63786baecfSMauro Carvalho Chehab {0xa007, 0x0, 0x2, 0x0}, 64786baecfSMauro Carvalho Chehab {0xa00c, 0x0, 0x8, 0xba}, 65786baecfSMauro Carvalho Chehab {0xa00d, 0x0, 0x2, 0x2}, 66786baecfSMauro Carvalho Chehab {0xa608, 0x0, 0x8, 0xba}, 67786baecfSMauro Carvalho Chehab {0xa60e, 0x0, 0x2, 0x2}, 68786baecfSMauro Carvalho Chehab {0xa609, 0x0, 0x8, 0x80}, 69786baecfSMauro Carvalho Chehab {0xa60e, 0x2, 0x2, 0x3}, 70786baecfSMauro Carvalho Chehab {0xa00a, 0x0, 0x8, 0xb6}, 71786baecfSMauro Carvalho Chehab {0xa00b, 0x0, 0x2, 0x0}, 72786baecfSMauro Carvalho Chehab {0xa011, 0x0, 0x8, 0xb9}, 73786baecfSMauro Carvalho Chehab {0xa012, 0x0, 0x2, 0x0}, 74786baecfSMauro Carvalho Chehab {0xa013, 0x0, 0x8, 0xbd}, 75786baecfSMauro Carvalho Chehab {0xa014, 0x0, 0x2, 0x2}, 76786baecfSMauro Carvalho Chehab {0xa366, 0x0, 0x1, 0x1}, 77786baecfSMauro Carvalho Chehab {0xa2bc, 0x3, 0x1, 0x0}, 78786baecfSMauro Carvalho Chehab {0xa2bd, 0x0, 0x8, 0xa}, 79786baecfSMauro Carvalho Chehab {0xa2be, 0x0, 0x8, 0x14}, 80786baecfSMauro Carvalho Chehab {0xa2bf, 0x0, 0x8, 0x8}, 81786baecfSMauro Carvalho Chehab {0xa60a, 0x0, 0x8, 0xbd}, 82786baecfSMauro Carvalho Chehab {0xa60e, 0x4, 0x2, 0x2}, 83786baecfSMauro Carvalho Chehab {0xa60b, 0x0, 0x8, 0x86}, 84786baecfSMauro Carvalho Chehab {0xa60e, 0x6, 0x2, 0x3}, 85786baecfSMauro Carvalho Chehab {0xa001, 0x2, 0x2, 0x1}, 86786baecfSMauro Carvalho Chehab {0xa1c7, 0x0, 0x8, 0xf5}, 87786baecfSMauro Carvalho Chehab {0xa03d, 0x0, 0x8, 0xb1}, 88786baecfSMauro Carvalho Chehab {0xa616, 0x0, 0x8, 0xff}, 89786baecfSMauro Carvalho Chehab {0xa617, 0x0, 0x8, 0xad}, 90786baecfSMauro Carvalho Chehab {0xa618, 0x0, 0x8, 0xad}, 91786baecfSMauro Carvalho Chehab {0xa61e, 0x3, 0x1, 0x1}, 92786baecfSMauro Carvalho Chehab {0xae1a, 0x0, 0x8, 0x0}, 93786baecfSMauro Carvalho Chehab {0xae19, 0x0, 0x8, 0xc8}, 94786baecfSMauro Carvalho Chehab {0xae18, 0x0, 0x8, 0x61}, 95786baecfSMauro Carvalho Chehab {0xa140, 0x0, 0x8, 0x0}, 96786baecfSMauro Carvalho Chehab {0xa141, 0x0, 0x8, 0xc8}, 97786baecfSMauro Carvalho Chehab {0xa142, 0x0, 0x7, 0x61}, 98786baecfSMauro Carvalho Chehab {0xa023, 0x0, 0x8, 0xff}, 99786baecfSMauro Carvalho Chehab {0xa021, 0x0, 0x8, 0xad}, 100786baecfSMauro Carvalho Chehab {0xa026, 0x0, 0x1, 0x0}, 101786baecfSMauro Carvalho Chehab {0xa024, 0x0, 0x8, 0xff}, 102786baecfSMauro Carvalho Chehab {0xa025, 0x0, 0x8, 0xff}, 103786baecfSMauro Carvalho Chehab {0xa1c8, 0x0, 0x8, 0xf}, 104786baecfSMauro Carvalho Chehab {0xa2bc, 0x1, 0x1, 0x0}, 105786baecfSMauro Carvalho Chehab {0xa60c, 0x0, 0x4, 0x5}, 106786baecfSMauro Carvalho Chehab {0xa60c, 0x4, 0x4, 0x6}, 107786baecfSMauro Carvalho Chehab {0xa60d, 0x0, 0x8, 0xa}, 108786baecfSMauro Carvalho Chehab {0xa371, 0x0, 0x1, 0x1}, 109786baecfSMauro Carvalho Chehab {0xa366, 0x1, 0x3, 0x7}, 110786baecfSMauro Carvalho Chehab {0xa338, 0x0, 0x8, 0x10}, 111786baecfSMauro Carvalho Chehab {0xa339, 0x0, 0x6, 0x7}, 112786baecfSMauro Carvalho Chehab {0xa33a, 0x0, 0x6, 0x1f}, 113786baecfSMauro Carvalho Chehab {0xa33b, 0x0, 0x8, 0xf6}, 114786baecfSMauro Carvalho Chehab {0xa33c, 0x3, 0x5, 0x4}, 115786baecfSMauro Carvalho Chehab {0xa33d, 0x4, 0x4, 0x0}, 116786baecfSMauro Carvalho Chehab {0xa33d, 0x1, 0x1, 0x1}, 117786baecfSMauro Carvalho Chehab {0xa33d, 0x2, 0x1, 0x1}, 118786baecfSMauro Carvalho Chehab {0xa33d, 0x3, 0x1, 0x1}, 119786baecfSMauro Carvalho Chehab {0xa16d, 0x0, 0x4, 0xf}, 120786baecfSMauro Carvalho Chehab {0xa161, 0x0, 0x5, 0x5}, 121786baecfSMauro Carvalho Chehab {0xa162, 0x0, 0x4, 0x5}, 122786baecfSMauro Carvalho Chehab {0xa165, 0x0, 0x8, 0xff}, 123786baecfSMauro Carvalho Chehab {0xa166, 0x0, 0x8, 0x9c}, 124786baecfSMauro Carvalho Chehab {0xa2c3, 0x0, 0x4, 0x5}, 125786baecfSMauro Carvalho Chehab {0xa61a, 0x0, 0x6, 0xf}, 126786baecfSMauro Carvalho Chehab {0xb200, 0x0, 0x8, 0xa1}, 127786baecfSMauro Carvalho Chehab {0xb201, 0x0, 0x8, 0x7}, 128786baecfSMauro Carvalho Chehab {0xa093, 0x0, 0x1, 0x0}, 129786baecfSMauro Carvalho Chehab {0xa093, 0x1, 0x5, 0xf}, 130786baecfSMauro Carvalho Chehab {0xa094, 0x0, 0x8, 0xff}, 131786baecfSMauro Carvalho Chehab {0xa095, 0x0, 0x8, 0xf}, 132786baecfSMauro Carvalho Chehab {0xa080, 0x2, 0x5, 0x3}, 133786baecfSMauro Carvalho Chehab {0xa081, 0x0, 0x4, 0x0}, 134786baecfSMauro Carvalho Chehab {0xa081, 0x4, 0x4, 0x9}, 135786baecfSMauro Carvalho Chehab {0xa082, 0x0, 0x5, 0x1f}, 136786baecfSMauro Carvalho Chehab {0xa08d, 0x0, 0x8, 0x1}, 137786baecfSMauro Carvalho Chehab {0xa083, 0x0, 0x8, 0x32}, 138786baecfSMauro Carvalho Chehab {0xa084, 0x0, 0x1, 0x0}, 139786baecfSMauro Carvalho Chehab {0xa08e, 0x0, 0x8, 0x3}, 140786baecfSMauro Carvalho Chehab {0xa085, 0x0, 0x8, 0x32}, 141786baecfSMauro Carvalho Chehab {0xa086, 0x0, 0x3, 0x0}, 142786baecfSMauro Carvalho Chehab {0xa087, 0x0, 0x8, 0x6e}, 143786baecfSMauro Carvalho Chehab {0xa088, 0x0, 0x5, 0x15}, 144786baecfSMauro Carvalho Chehab {0xa089, 0x0, 0x8, 0x0}, 145786baecfSMauro Carvalho Chehab {0xa08a, 0x0, 0x5, 0x19}, 146786baecfSMauro Carvalho Chehab {0xa08b, 0x0, 0x8, 0x92}, 147786baecfSMauro Carvalho Chehab {0xa08c, 0x0, 0x5, 0x1c}, 148786baecfSMauro Carvalho Chehab {0xa120, 0x0, 0x8, 0x0}, 149786baecfSMauro Carvalho Chehab {0xa121, 0x0, 0x5, 0x10}, 150786baecfSMauro Carvalho Chehab {0xa122, 0x0, 0x8, 0x0}, 151786baecfSMauro Carvalho Chehab {0xa123, 0x0, 0x7, 0x40}, 152786baecfSMauro Carvalho Chehab {0xa123, 0x7, 0x1, 0x0}, 153786baecfSMauro Carvalho Chehab {0xa124, 0x0, 0x8, 0x13}, 154786baecfSMauro Carvalho Chehab {0xa125, 0x0, 0x7, 0x10}, 155786baecfSMauro Carvalho Chehab {0xa1c0, 0x0, 0x8, 0x0}, 156786baecfSMauro Carvalho Chehab {0xa1c1, 0x0, 0x5, 0x4}, 157786baecfSMauro Carvalho Chehab {0xa1c2, 0x0, 0x8, 0x0}, 158786baecfSMauro Carvalho Chehab {0xa1c3, 0x0, 0x5, 0x10}, 159786baecfSMauro Carvalho Chehab {0xa1c3, 0x5, 0x3, 0x0}, 160786baecfSMauro Carvalho Chehab {0xa1c4, 0x0, 0x6, 0x0}, 161786baecfSMauro Carvalho Chehab {0xa1c5, 0x0, 0x7, 0x10}, 162786baecfSMauro Carvalho Chehab {0xa100, 0x0, 0x8, 0x0}, 163786baecfSMauro Carvalho Chehab {0xa101, 0x0, 0x5, 0x10}, 164786baecfSMauro Carvalho Chehab {0xa102, 0x0, 0x8, 0x0}, 165786baecfSMauro Carvalho Chehab {0xa103, 0x0, 0x7, 0x40}, 166786baecfSMauro Carvalho Chehab {0xa103, 0x7, 0x1, 0x0}, 167786baecfSMauro Carvalho Chehab {0xa104, 0x0, 0x8, 0x18}, 168786baecfSMauro Carvalho Chehab {0xa105, 0x0, 0x7, 0xa}, 169786baecfSMauro Carvalho Chehab {0xa106, 0x0, 0x8, 0x20}, 170786baecfSMauro Carvalho Chehab {0xa107, 0x0, 0x8, 0x40}, 171786baecfSMauro Carvalho Chehab {0xa108, 0x0, 0x4, 0x0}, 172786baecfSMauro Carvalho Chehab {0xa38c, 0x0, 0x8, 0xfc}, 173786baecfSMauro Carvalho Chehab {0xa38d, 0x0, 0x8, 0x0}, 174786baecfSMauro Carvalho Chehab {0xa38e, 0x0, 0x8, 0x7e}, 175786baecfSMauro Carvalho Chehab {0xa38f, 0x0, 0x8, 0x0}, 176786baecfSMauro Carvalho Chehab {0xa390, 0x0, 0x8, 0x2f}, 177786baecfSMauro Carvalho Chehab {0xa60f, 0x5, 0x1, 0x1}, 178786baecfSMauro Carvalho Chehab {0xa170, 0x0, 0x8, 0xdc}, 179786baecfSMauro Carvalho Chehab {0xa171, 0x0, 0x2, 0x0}, 180786baecfSMauro Carvalho Chehab {0xa2ae, 0x0, 0x1, 0x1}, 181786baecfSMauro Carvalho Chehab {0xa2ae, 0x1, 0x1, 0x1}, 182786baecfSMauro Carvalho Chehab {0xa392, 0x0, 0x1, 0x1}, 183786baecfSMauro Carvalho Chehab {0xa391, 0x2, 0x1, 0x0}, 184786baecfSMauro Carvalho Chehab {0xabc1, 0x0, 0x8, 0xff}, 185786baecfSMauro Carvalho Chehab {0xabc2, 0x0, 0x8, 0x0}, 186786baecfSMauro Carvalho Chehab {0xabc8, 0x0, 0x8, 0x8}, 187786baecfSMauro Carvalho Chehab {0xabca, 0x0, 0x8, 0x10}, 188786baecfSMauro Carvalho Chehab {0xabcb, 0x0, 0x1, 0x0}, 189786baecfSMauro Carvalho Chehab {0xabc3, 0x5, 0x3, 0x7}, 190786baecfSMauro Carvalho Chehab {0xabc0, 0x6, 0x1, 0x0}, 191786baecfSMauro Carvalho Chehab {0xabc0, 0x4, 0x2, 0x0}, 192786baecfSMauro Carvalho Chehab {0xa344, 0x4, 0x4, 0x1}, 193786baecfSMauro Carvalho Chehab {0xabc0, 0x7, 0x1, 0x1}, 194786baecfSMauro Carvalho Chehab {0xabc0, 0x2, 0x1, 0x1}, 195786baecfSMauro Carvalho Chehab {0xa345, 0x0, 0x8, 0x66}, 196786baecfSMauro Carvalho Chehab {0xa346, 0x0, 0x8, 0x66}, 197786baecfSMauro Carvalho Chehab {0xa347, 0x0, 0x4, 0x0}, 198786baecfSMauro Carvalho Chehab {0xa343, 0x0, 0x4, 0xa}, 199786baecfSMauro Carvalho Chehab {0xa347, 0x4, 0x4, 0x2}, 200786baecfSMauro Carvalho Chehab {0xa348, 0x0, 0x4, 0xc}, 201786baecfSMauro Carvalho Chehab {0xa348, 0x4, 0x4, 0x7}, 202786baecfSMauro Carvalho Chehab {0xa349, 0x0, 0x6, 0x2}, 203786baecfSMauro Carvalho Chehab }; 204