af9005-script.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. File automatically generated by createinit.py using data
  3. extracted from AF05BDA.sys (windows driver):
  4. dd if=AF05BDA.sys of=initsequence bs=1 skip=88316 count=1110
  5. python createinit.py > af9005-script.h
  6. */
  7. typedef struct {
  8. u16 reg;
  9. u8 pos;
  10. u8 len;
  11. u8 val;
  12. } RegDesc;
  13. static RegDesc script[] = {
  14. {0xa180, 0x0, 0x8, 0xa},
  15. {0xa181, 0x0, 0x8, 0xd7},
  16. {0xa182, 0x0, 0x8, 0xa3},
  17. {0xa0a0, 0x0, 0x8, 0x0},
  18. {0xa0a1, 0x0, 0x5, 0x0},
  19. {0xa0a1, 0x5, 0x1, 0x1},
  20. {0xa0c0, 0x0, 0x4, 0x1},
  21. {0xa20e, 0x4, 0x4, 0xa},
  22. {0xa20f, 0x0, 0x8, 0x40},
  23. {0xa210, 0x0, 0x8, 0x8},
  24. {0xa32a, 0x0, 0x4, 0xa},
  25. {0xa32c, 0x0, 0x8, 0x20},
  26. {0xa32b, 0x0, 0x8, 0x15},
  27. {0xa1a0, 0x1, 0x1, 0x1},
  28. {0xa000, 0x0, 0x1, 0x1},
  29. {0xa000, 0x1, 0x1, 0x0},
  30. {0xa001, 0x1, 0x1, 0x1},
  31. {0xa001, 0x0, 0x1, 0x0},
  32. {0xa001, 0x5, 0x1, 0x0},
  33. {0xa00e, 0x0, 0x5, 0x10},
  34. {0xa00f, 0x0, 0x3, 0x4},
  35. {0xa00f, 0x3, 0x3, 0x5},
  36. {0xa010, 0x0, 0x3, 0x4},
  37. {0xa010, 0x3, 0x3, 0x5},
  38. {0xa016, 0x4, 0x4, 0x3},
  39. {0xa01f, 0x0, 0x6, 0xa},
  40. {0xa020, 0x0, 0x6, 0xa},
  41. {0xa2bc, 0x0, 0x1, 0x1},
  42. {0xa2bc, 0x5, 0x1, 0x1},
  43. {0xa015, 0x0, 0x8, 0x50},
  44. {0xa016, 0x0, 0x1, 0x0},
  45. {0xa02a, 0x0, 0x8, 0x50},
  46. {0xa029, 0x0, 0x8, 0x4b},
  47. {0xa614, 0x0, 0x8, 0x46},
  48. {0xa002, 0x0, 0x5, 0x19},
  49. {0xa003, 0x0, 0x5, 0x1a},
  50. {0xa004, 0x0, 0x5, 0x19},
  51. {0xa005, 0x0, 0x5, 0x1a},
  52. {0xa008, 0x0, 0x8, 0x69},
  53. {0xa009, 0x0, 0x2, 0x2},
  54. {0xae1b, 0x0, 0x8, 0x69},
  55. {0xae1c, 0x0, 0x8, 0x2},
  56. {0xae1d, 0x0, 0x8, 0x2a},
  57. {0xa022, 0x0, 0x8, 0xaa},
  58. {0xa006, 0x0, 0x8, 0xc8},
  59. {0xa007, 0x0, 0x2, 0x0},
  60. {0xa00c, 0x0, 0x8, 0xba},
  61. {0xa00d, 0x0, 0x2, 0x2},
  62. {0xa608, 0x0, 0x8, 0xba},
  63. {0xa60e, 0x0, 0x2, 0x2},
  64. {0xa609, 0x0, 0x8, 0x80},
  65. {0xa60e, 0x2, 0x2, 0x3},
  66. {0xa00a, 0x0, 0x8, 0xb6},
  67. {0xa00b, 0x0, 0x2, 0x0},
  68. {0xa011, 0x0, 0x8, 0xb9},
  69. {0xa012, 0x0, 0x2, 0x0},
  70. {0xa013, 0x0, 0x8, 0xbd},
  71. {0xa014, 0x0, 0x2, 0x2},
  72. {0xa366, 0x0, 0x1, 0x1},
  73. {0xa2bc, 0x3, 0x1, 0x0},
  74. {0xa2bd, 0x0, 0x8, 0xa},
  75. {0xa2be, 0x0, 0x8, 0x14},
  76. {0xa2bf, 0x0, 0x8, 0x8},
  77. {0xa60a, 0x0, 0x8, 0xbd},
  78. {0xa60e, 0x4, 0x2, 0x2},
  79. {0xa60b, 0x0, 0x8, 0x86},
  80. {0xa60e, 0x6, 0x2, 0x3},
  81. {0xa001, 0x2, 0x2, 0x1},
  82. {0xa1c7, 0x0, 0x8, 0xf5},
  83. {0xa03d, 0x0, 0x8, 0xb1},
  84. {0xa616, 0x0, 0x8, 0xff},
  85. {0xa617, 0x0, 0x8, 0xad},
  86. {0xa618, 0x0, 0x8, 0xad},
  87. {0xa61e, 0x3, 0x1, 0x1},
  88. {0xae1a, 0x0, 0x8, 0x0},
  89. {0xae19, 0x0, 0x8, 0xc8},
  90. {0xae18, 0x0, 0x8, 0x61},
  91. {0xa140, 0x0, 0x8, 0x0},
  92. {0xa141, 0x0, 0x8, 0xc8},
  93. {0xa142, 0x0, 0x7, 0x61},
  94. {0xa023, 0x0, 0x8, 0xff},
  95. {0xa021, 0x0, 0x8, 0xad},
  96. {0xa026, 0x0, 0x1, 0x0},
  97. {0xa024, 0x0, 0x8, 0xff},
  98. {0xa025, 0x0, 0x8, 0xff},
  99. {0xa1c8, 0x0, 0x8, 0xf},
  100. {0xa2bc, 0x1, 0x1, 0x0},
  101. {0xa60c, 0x0, 0x4, 0x5},
  102. {0xa60c, 0x4, 0x4, 0x6},
  103. {0xa60d, 0x0, 0x8, 0xa},
  104. {0xa371, 0x0, 0x1, 0x1},
  105. {0xa366, 0x1, 0x3, 0x7},
  106. {0xa338, 0x0, 0x8, 0x10},
  107. {0xa339, 0x0, 0x6, 0x7},
  108. {0xa33a, 0x0, 0x6, 0x1f},
  109. {0xa33b, 0x0, 0x8, 0xf6},
  110. {0xa33c, 0x3, 0x5, 0x4},
  111. {0xa33d, 0x4, 0x4, 0x0},
  112. {0xa33d, 0x1, 0x1, 0x1},
  113. {0xa33d, 0x2, 0x1, 0x1},
  114. {0xa33d, 0x3, 0x1, 0x1},
  115. {0xa16d, 0x0, 0x4, 0xf},
  116. {0xa161, 0x0, 0x5, 0x5},
  117. {0xa162, 0x0, 0x4, 0x5},
  118. {0xa165, 0x0, 0x8, 0xff},
  119. {0xa166, 0x0, 0x8, 0x9c},
  120. {0xa2c3, 0x0, 0x4, 0x5},
  121. {0xa61a, 0x0, 0x6, 0xf},
  122. {0xb200, 0x0, 0x8, 0xa1},
  123. {0xb201, 0x0, 0x8, 0x7},
  124. {0xa093, 0x0, 0x1, 0x0},
  125. {0xa093, 0x1, 0x5, 0xf},
  126. {0xa094, 0x0, 0x8, 0xff},
  127. {0xa095, 0x0, 0x8, 0xf},
  128. {0xa080, 0x2, 0x5, 0x3},
  129. {0xa081, 0x0, 0x4, 0x0},
  130. {0xa081, 0x4, 0x4, 0x9},
  131. {0xa082, 0x0, 0x5, 0x1f},
  132. {0xa08d, 0x0, 0x8, 0x1},
  133. {0xa083, 0x0, 0x8, 0x32},
  134. {0xa084, 0x0, 0x1, 0x0},
  135. {0xa08e, 0x0, 0x8, 0x3},
  136. {0xa085, 0x0, 0x8, 0x32},
  137. {0xa086, 0x0, 0x3, 0x0},
  138. {0xa087, 0x0, 0x8, 0x6e},
  139. {0xa088, 0x0, 0x5, 0x15},
  140. {0xa089, 0x0, 0x8, 0x0},
  141. {0xa08a, 0x0, 0x5, 0x19},
  142. {0xa08b, 0x0, 0x8, 0x92},
  143. {0xa08c, 0x0, 0x5, 0x1c},
  144. {0xa120, 0x0, 0x8, 0x0},
  145. {0xa121, 0x0, 0x5, 0x10},
  146. {0xa122, 0x0, 0x8, 0x0},
  147. {0xa123, 0x0, 0x7, 0x40},
  148. {0xa123, 0x7, 0x1, 0x0},
  149. {0xa124, 0x0, 0x8, 0x13},
  150. {0xa125, 0x0, 0x7, 0x10},
  151. {0xa1c0, 0x0, 0x8, 0x0},
  152. {0xa1c1, 0x0, 0x5, 0x4},
  153. {0xa1c2, 0x0, 0x8, 0x0},
  154. {0xa1c3, 0x0, 0x5, 0x10},
  155. {0xa1c3, 0x5, 0x3, 0x0},
  156. {0xa1c4, 0x0, 0x6, 0x0},
  157. {0xa1c5, 0x0, 0x7, 0x10},
  158. {0xa100, 0x0, 0x8, 0x0},
  159. {0xa101, 0x0, 0x5, 0x10},
  160. {0xa102, 0x0, 0x8, 0x0},
  161. {0xa103, 0x0, 0x7, 0x40},
  162. {0xa103, 0x7, 0x1, 0x0},
  163. {0xa104, 0x0, 0x8, 0x18},
  164. {0xa105, 0x0, 0x7, 0xa},
  165. {0xa106, 0x0, 0x8, 0x20},
  166. {0xa107, 0x0, 0x8, 0x40},
  167. {0xa108, 0x0, 0x4, 0x0},
  168. {0xa38c, 0x0, 0x8, 0xfc},
  169. {0xa38d, 0x0, 0x8, 0x0},
  170. {0xa38e, 0x0, 0x8, 0x7e},
  171. {0xa38f, 0x0, 0x8, 0x0},
  172. {0xa390, 0x0, 0x8, 0x2f},
  173. {0xa60f, 0x5, 0x1, 0x1},
  174. {0xa170, 0x0, 0x8, 0xdc},
  175. {0xa171, 0x0, 0x2, 0x0},
  176. {0xa2ae, 0x0, 0x1, 0x1},
  177. {0xa2ae, 0x1, 0x1, 0x1},
  178. {0xa392, 0x0, 0x1, 0x1},
  179. {0xa391, 0x2, 0x1, 0x0},
  180. {0xabc1, 0x0, 0x8, 0xff},
  181. {0xabc2, 0x0, 0x8, 0x0},
  182. {0xabc8, 0x0, 0x8, 0x8},
  183. {0xabca, 0x0, 0x8, 0x10},
  184. {0xabcb, 0x0, 0x1, 0x0},
  185. {0xabc3, 0x5, 0x3, 0x7},
  186. {0xabc0, 0x6, 0x1, 0x0},
  187. {0xabc0, 0x4, 0x2, 0x0},
  188. {0xa344, 0x4, 0x4, 0x1},
  189. {0xabc0, 0x7, 0x1, 0x1},
  190. {0xabc0, 0x2, 0x1, 0x1},
  191. {0xa345, 0x0, 0x8, 0x66},
  192. {0xa346, 0x0, 0x8, 0x66},
  193. {0xa347, 0x0, 0x4, 0x0},
  194. {0xa343, 0x0, 0x4, 0xa},
  195. {0xa347, 0x4, 0x4, 0x2},
  196. {0xa348, 0x0, 0x4, 0xc},
  197. {0xa348, 0x4, 0x4, 0x7},
  198. {0xa349, 0x0, 0x6, 0x2},
  199. };