aic7xxx_reg.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:17k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * DO NOT EDIT - This file is automatically generated
  3.  *  from the following source files:
  4.  *
  5.  * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.seq#37 $
  6.  * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#24 $
  7.  */
  8. #define SCSISEQ          0x00
  9. #define TEMODE           0x80
  10. #define SCSIRSTO         0x01
  11. #define SXFRCTL0         0x01
  12. #define DFON             0x80
  13. #define DFPEXP           0x40
  14. #define FAST20           0x20
  15. #define CLRSTCNT         0x10
  16. #define SPIOEN           0x08
  17. #define SCAMEN           0x04
  18. #define CLRCHN           0x02
  19. #define SXFRCTL1         0x02
  20. #define BITBUCKET        0x80
  21. #define SWRAPEN          0x40
  22. #define STIMESEL         0x18
  23. #define ENSTIMER         0x04
  24. #define ACTNEGEN         0x02
  25. #define STPWEN           0x01
  26. #define SCSISIGO         0x03
  27. #define CDO              0x80
  28. #define IOO              0x40
  29. #define MSGO             0x20
  30. #define ATNO             0x10
  31. #define SELO             0x08
  32. #define BSYO             0x04
  33. #define REQO             0x02
  34. #define ACKO             0x01
  35. #define SCSISIGI         0x03
  36. #define P_DATAIN_DT      0x60
  37. #define P_DATAOUT_DT     0x20
  38. #define ATNI             0x10
  39. #define SELI             0x08
  40. #define BSYI             0x04
  41. #define REQI             0x02
  42. #define ACKI             0x01
  43. #define SCSIRATE         0x04
  44. #define WIDEXFER         0x80
  45. #define SXFR             0x70
  46. #define ENABLE_CRC       0x40
  47. #define SINGLE_EDGE      0x10
  48. #define SOFS             0x0f
  49. #define SXFR_ULTRA2      0x0f
  50. #define SCSIID           0x05
  51. #define SCSIOFFSET       0x05
  52. #define SOFS_ULTRA2      0x7f
  53. #define SCSIDATL         0x06
  54. #define SCSIDATH         0x07
  55. #define STCNT            0x08
  56. #define OPTIONMODE       0x08
  57. #define AUTORATEEN       0x80
  58. #define AUTOACKEN        0x40
  59. #define ATNMGMNTEN       0x20
  60. #define BUSFREEREV       0x10
  61. #define EXPPHASEDIS      0x08
  62. #define SCSIDATL_IMGEN   0x04
  63. #define OPTIONMODE_DEFAULTS 0x03
  64. #define AUTO_MSGOUT_DE   0x02
  65. #define DIS_MSGIN_DUALEDGE 0x01
  66. #define TARGCRCCNT       0x0a
  67. #define CLRSINT0         0x0b
  68. #define CLRSELDO         0x40
  69. #define CLRSELDI         0x20
  70. #define CLRSELINGO       0x10
  71. #define CLRIOERR         0x08
  72. #define CLRSWRAP         0x08
  73. #define CLRSPIORDY       0x02
  74. #define SSTAT0           0x0b
  75. #define TARGET           0x80
  76. #define SELDO            0x40
  77. #define SELDI            0x20
  78. #define SELINGO          0x10
  79. #define SWRAP            0x08
  80. #define IOERR            0x08
  81. #define SDONE            0x04
  82. #define SPIORDY          0x02
  83. #define DMADONE          0x01
  84. #define CLRSINT1         0x0c
  85. #define CLRSELTIMEO      0x80
  86. #define CLRATNO          0x40
  87. #define CLRSCSIRSTI      0x20
  88. #define CLRBUSFREE       0x08
  89. #define CLRSCSIPERR      0x04
  90. #define CLRPHASECHG      0x02
  91. #define CLRREQINIT       0x01
  92. #define SSTAT1           0x0c
  93. #define SELTO            0x80
  94. #define ATNTARG          0x40
  95. #define SCSIRSTI         0x20
  96. #define PHASEMIS         0x10
  97. #define BUSFREE          0x08
  98. #define SCSIPERR         0x04
  99. #define PHASECHG         0x02
  100. #define REQINIT          0x01
  101. #define SSTAT2           0x0d
  102. #define OVERRUN          0x80
  103. #define SHVALID          0x40
  104. #define SFCNT            0x1f
  105. #define EXP_ACTIVE       0x10
  106. #define CRCVALERR        0x08
  107. #define CRCENDERR        0x04
  108. #define CRCREQERR        0x02
  109. #define DUAL_EDGE_ERR    0x01
  110. #define SSTAT3           0x0e
  111. #define SCSICNT          0xf0
  112. #define U2OFFCNT         0x7f
  113. #define OFFCNT           0x0f
  114. #define SCSIID_ULTRA2    0x0f
  115. #define SIMODE0          0x10
  116. #define ENSELDO          0x40
  117. #define ENSELDI          0x20
  118. #define ENSELINGO        0x10
  119. #define ENIOERR          0x08
  120. #define ENSWRAP          0x08
  121. #define ENSDONE          0x04
  122. #define ENSPIORDY        0x02
  123. #define ENDMADONE        0x01
  124. #define SIMODE1          0x11
  125. #define ENSELTIMO        0x80
  126. #define ENATNTARG        0x40
  127. #define ENSCSIRST        0x20
  128. #define ENPHASEMIS       0x10
  129. #define ENBUSFREE        0x08
  130. #define ENSCSIPERR       0x04
  131. #define ENPHASECHG       0x02
  132. #define ENREQINIT        0x01
  133. #define SCSIBUSL         0x12
  134. #define SCSIBUSH         0x13
  135. #define SHADDR           0x14
  136. #define SELTIMER         0x18
  137. #define TARGIDIN         0x18
  138. #define STAGE6           0x20
  139. #define STAGE5           0x10
  140. #define STAGE4           0x08
  141. #define STAGE3           0x04
  142. #define STAGE2           0x02
  143. #define STAGE1           0x01
  144. #define SELID            0x19
  145. #define SELID_MASK       0xf0
  146. #define ONEBIT           0x08
  147. #define SCAMCTL          0x1a
  148. #define ENSCAMSELO       0x80
  149. #define CLRSCAMSELID     0x40
  150. #define ALTSTIM          0x20
  151. #define DFLTTID          0x10
  152. #define SCAMLVL          0x03
  153. #define TARGID           0x1b
  154. #define SPIOCAP          0x1b
  155. #define SOFT1            0x80
  156. #define SOFT0            0x40
  157. #define SOFTCMDEN        0x20
  158. #define HAS_BRDCTL       0x10
  159. #define SEEPROM          0x08
  160. #define EEPROM           0x04
  161. #define ROM              0x02
  162. #define SSPIOCPS         0x01
  163. #define BRDCTL           0x1d
  164. #define BRDDAT7          0x80
  165. #define BRDDAT6          0x40
  166. #define BRDDAT5          0x20
  167. #define BRDDAT4          0x10
  168. #define BRDSTB           0x10
  169. #define BRDDAT3          0x08
  170. #define BRDCS            0x08
  171. #define BRDDAT2          0x04
  172. #define BRDRW            0x04
  173. #define BRDRW_ULTRA2     0x02
  174. #define BRDCTL1          0x02
  175. #define BRDCTL0          0x01
  176. #define BRDSTB_ULTRA2    0x01
  177. #define SEECTL           0x1e
  178. #define EXTARBACK        0x80
  179. #define EXTARBREQ        0x40
  180. #define SEEMS            0x20
  181. #define SEERDY           0x10
  182. #define SEECS            0x08
  183. #define SEECK            0x04
  184. #define SEEDO            0x02
  185. #define SEEDI            0x01
  186. #define SBLKCTL          0x1f
  187. #define DIAGLEDEN        0x80
  188. #define DIAGLEDON        0x40
  189. #define AUTOFLUSHDIS     0x20
  190. #define ENAB40           0x08
  191. #define SELBUSB          0x08
  192. #define ENAB20           0x04
  193. #define SELWIDE          0x02
  194. #define XCVR             0x01
  195. #define BUSY_TARGETS     0x20
  196. #define TARG_SCSIRATE    0x20
  197. #define SRAM_BASE        0x20
  198. #define ULTRA_ENB        0x30
  199. #define CMDSIZE_TABLE    0x30
  200. #define DISC_DSB         0x32
  201. #define CMDSIZE_TABLE_TAIL 0x34
  202. #define MWI_RESIDUAL     0x38
  203. #define NEXT_QUEUED_SCB  0x39
  204. #define MSG_OUT          0x3a
  205. #define DMAPARAMS        0x3b
  206. #define PRELOADEN        0x80
  207. #define WIDEODD          0x40
  208. #define SCSIEN           0x20
  209. #define SDMAEN           0x10
  210. #define SDMAENACK        0x10
  211. #define HDMAEN           0x08
  212. #define HDMAENACK        0x08
  213. #define DIRECTION        0x04
  214. #define FIFOFLUSH        0x02
  215. #define FIFORESET        0x01
  216. #define SEQ_FLAGS        0x3c
  217. #define IDENTIFY_SEEN    0x80
  218. #define TARGET_CMD_IS_TAGGED 0x40
  219. #define DPHASE           0x20
  220. #define TARG_CMD_PENDING 0x10
  221. #define CMDPHASE_PENDING 0x08
  222. #define DPHASE_PENDING   0x04
  223. #define SPHASE_PENDING   0x02
  224. #define NO_DISCONNECT    0x01
  225. #define SAVED_SCSIID     0x3d
  226. #define SAVED_LUN        0x3e
  227. #define LASTPHASE        0x3f
  228. #define P_MESGIN         0xe0
  229. #define PHASE_MASK       0xe0
  230. #define P_STATUS         0xc0
  231. #define P_MESGOUT        0xa0
  232. #define P_COMMAND        0x80
  233. #define CDI              0x80
  234. #define P_DATAIN         0x40
  235. #define IOI              0x40
  236. #define MSGI             0x20
  237. #define P_BUSFREE        0x01
  238. #define P_DATAOUT        0x00
  239. #define WAITING_SCBH     0x40
  240. #define DISCONNECTED_SCBH 0x41
  241. #define FREE_SCBH        0x42
  242. #define COMPLETE_SCBH    0x43
  243. #define HSCB_ADDR        0x44
  244. #define SHARED_DATA_ADDR 0x48
  245. #define KERNEL_QINPOS    0x4c
  246. #define QINPOS           0x4d
  247. #define QOUTPOS          0x4e
  248. #define KERNEL_TQINPOS   0x4f
  249. #define TQINPOS          0x50
  250. #define ARG_1            0x51
  251. #define RETURN_1         0x51
  252. #define SEND_MSG         0x80
  253. #define SEND_SENSE       0x40
  254. #define SEND_REJ         0x20
  255. #define MSGOUT_PHASEMIS  0x10
  256. #define EXIT_MSG_LOOP    0x08
  257. #define CONT_MSG_LOOP    0x04
  258. #define CONT_TARG_SESSION 0x02
  259. #define ARG_2            0x52
  260. #define RETURN_2         0x52
  261. #define LAST_MSG         0x53
  262. #define SCSISEQ_TEMPLATE 0x54
  263. #define ENSELO           0x40
  264. #define ENSELI           0x20
  265. #define ENRSELI          0x10
  266. #define ENAUTOATNO       0x08
  267. #define ENAUTOATNI       0x04
  268. #define ENAUTOATNP       0x02
  269. #define DATA_COUNT_ODD   0x55
  270. #define INITIATOR_TAG    0x56
  271. #define SEQ_FLAGS2       0x57
  272. #define TARGET_MSG_PENDING 0x02
  273. #define SCB_DMA          0x01
  274. #define SCSICONF         0x5a
  275. #define TERM_ENB         0x80
  276. #define RESET_SCSI       0x40
  277. #define ENSPCHK          0x20
  278. #define HWSCSIID         0x0f
  279. #define HSCSIID          0x07
  280. #define INTDEF           0x5c
  281. #define EDGE_TRIG        0x80
  282. #define VECTOR           0x0f
  283. #define HOSTCONF         0x5d
  284. #define HA_274_BIOSCTRL  0x5f
  285. #define BIOSDISABLED     0x30
  286. #define BIOSMODE         0x30
  287. #define CHANNEL_B_PRIMARY 0x08
  288. #define SEQCTL           0x60
  289. #define PERRORDIS        0x80
  290. #define PAUSEDIS         0x40
  291. #define FAILDIS          0x20
  292. #define FASTMODE         0x10
  293. #define BRKADRINTEN      0x08
  294. #define STEP             0x04
  295. #define SEQRESET         0x02
  296. #define LOADRAM          0x01
  297. #define SEQRAM           0x61
  298. #define SEQADDR0         0x62
  299. #define SEQADDR1         0x63
  300. #define SEQADDR1_MASK    0x01
  301. #define ACCUM            0x64
  302. #define SINDEX           0x65
  303. #define DINDEX           0x66
  304. #define ALLONES          0x69
  305. #define ALLZEROS         0x6a
  306. #define NONE             0x6a
  307. #define FLAGS            0x6b
  308. #define ZERO             0x02
  309. #define CARRY            0x01
  310. #define SINDIR           0x6c
  311. #define DINDIR           0x6d
  312. #define FUNCTION1        0x6e
  313. #define STACK            0x6f
  314. #define TARG_OFFSET      0x70
  315. #define BCTL             0x84
  316. #define ACE              0x08
  317. #define ENABLE           0x01
  318. #define DSCOMMAND0       0x84
  319. #define CACHETHEN        0x80
  320. #define DPARCKEN         0x40
  321. #define MPARCKEN         0x20
  322. #define EXTREQLCK        0x10
  323. #define INTSCBRAMSEL     0x08
  324. #define RAMPS            0x04
  325. #define USCBSIZE32       0x02
  326. #define CIOPARCKEN       0x01
  327. #define BUSTIME          0x85
  328. #define BOFF             0xf0
  329. #define BON              0x0f
  330. #define DSCOMMAND1       0x85
  331. #define DSLATT           0xfc
  332. #define HADDLDSEL1       0x02
  333. #define HADDLDSEL0       0x01
  334. #define BUSSPD           0x86
  335. #define DFTHRSH          0xc0
  336. #define DFTHRSH_75       0x80
  337. #define STBOFF           0x38
  338. #define STBON            0x07
  339. #define HS_MAILBOX       0x86
  340. #define HOST_MAILBOX     0xf0
  341. #define HOST_TQINPOS     0x80
  342. #define SEQ_MAILBOX      0x0f
  343. #define DSPCISTATUS      0x86
  344. #define DFTHRSH_100      0xc0
  345. #define HCNTRL           0x87
  346. #define POWRDN           0x40
  347. #define SWINT            0x10
  348. #define IRQMS            0x08
  349. #define PAUSE            0x04
  350. #define INTEN            0x02
  351. #define CHIPRST          0x01
  352. #define CHIPRSTACK       0x01
  353. #define HADDR            0x88
  354. #define HCNT             0x8c
  355. #define SCBPTR           0x90
  356. #define INTSTAT          0x91
  357. #define SEQINT_MASK      0xf1
  358. #define OUT_OF_RANGE     0xe1
  359. #define NO_FREE_SCB      0xd1
  360. #define SCB_MISMATCH     0xc1
  361. #define MISSED_BUSFREE   0xb1
  362. #define MKMSG_FAILED     0xa1
  363. #define DATA_OVERRUN     0x91
  364. #define PERR_DETECTED    0x81
  365. #define BAD_STATUS       0x71
  366. #define HOST_MSG_LOOP    0x61
  367. #define PDATA_REINIT     0x51
  368. #define IGN_WIDE_RES     0x41
  369. #define NO_MATCH         0x31
  370. #define NO_IDENT         0x21
  371. #define SEND_REJECT      0x11
  372. #define INT_PEND         0x0f
  373. #define BRKADRINT        0x08
  374. #define SCSIINT          0x04
  375. #define CMDCMPLT         0x02
  376. #define BAD_PHASE        0x01
  377. #define SEQINT           0x01
  378. #define CLRINT           0x92
  379. #define CLRPARERR        0x10
  380. #define CLRBRKADRINT     0x08
  381. #define CLRSCSIINT       0x04
  382. #define CLRCMDINT        0x02
  383. #define CLRSEQINT        0x01
  384. #define ERROR            0x92
  385. #define CIOPARERR        0x80
  386. #define PCIERRSTAT       0x40
  387. #define MPARERR          0x20
  388. #define DPARERR          0x10
  389. #define SQPARERR         0x08
  390. #define ILLOPCODE        0x04
  391. #define ILLSADDR         0x02
  392. #define ILLHADDR         0x01
  393. #define DFCNTRL          0x93
  394. #define DFSTATUS         0x94
  395. #define PRELOAD_AVAIL    0x80
  396. #define DFCACHETH        0x40
  397. #define FIFOQWDEMP       0x20
  398. #define MREQPEND         0x10
  399. #define HDONE            0x08
  400. #define DFTHRESH         0x04
  401. #define FIFOFULL         0x02
  402. #define FIFOEMP          0x01
  403. #define DFWADDR          0x95
  404. #define DFRADDR          0x97
  405. #define DFDAT            0x99
  406. #define SCBCNT           0x9a
  407. #define SCBAUTO          0x80
  408. #define SCBCNT_MASK      0x1f
  409. #define QINFIFO          0x9b
  410. #define QINCNT           0x9c
  411. #define QOUTFIFO         0x9d
  412. #define CRCCONTROL1      0x9d
  413. #define CRCONSEEN        0x80
  414. #define CRCVALCHKEN      0x40
  415. #define CRCENDCHKEN      0x20
  416. #define CRCREQCHKEN      0x10
  417. #define TARGCRCENDEN     0x08
  418. #define TARGCRCCNTEN     0x04
  419. #define QOUTCNT          0x9e
  420. #define SCSIPHASE        0x9e
  421. #define STATUS_PHASE     0x20
  422. #define COMMAND_PHASE    0x10
  423. #define MSG_IN_PHASE     0x08
  424. #define MSG_OUT_PHASE    0x04
  425. #define DATA_PHASE_MASK  0x03
  426. #define DATA_IN_PHASE    0x02
  427. #define DATA_OUT_PHASE   0x01
  428. #define SFUNCT           0x9f
  429. #define ALT_MODE         0x80
  430. #define SCB_BASE         0xa0
  431. #define SCB_CDB_PTR      0xa0
  432. #define SCB_RESIDUAL_DATACNT 0xa0
  433. #define SCB_CDB_STORE    0xa0
  434. #define SCB_RESIDUAL_SGPTR 0xa4
  435. #define SCB_SCSI_STATUS  0xa8
  436. #define SCB_TARGET_PHASES 0xa9
  437. #define SCB_TARGET_DATA_DIR 0xaa
  438. #define SCB_TARGET_ITAG  0xab
  439. #define SCB_DATAPTR      0xac
  440. #define SCB_DATACNT      0xb0
  441. #define SG_LAST_SEG      0x80
  442. #define SG_HIGH_ADDR_BITS 0x7f
  443. #define SCB_SGPTR        0xb4
  444. #define SG_RESID_VALID   0x04
  445. #define SG_FULL_RESID    0x02
  446. #define SG_LIST_NULL     0x01
  447. #define SCB_CONTROL      0xb8
  448. #define TARGET_SCB       0x80
  449. #define DISCENB          0x40
  450. #define TAG_ENB          0x20
  451. #define MK_MESSAGE       0x10
  452. #define ULTRAENB         0x08
  453. #define DISCONNECTED     0x04
  454. #define SCB_TAG_TYPE     0x03
  455. #define SCB_SCSIID       0xb9
  456. #define TID              0xf0
  457. #define TWIN_CHNLB       0x80
  458. #define TWIN_TID         0x70
  459. #define OID              0x0f
  460. #define SCB_LUN          0xba
  461. #define LID              0xff
  462. #define SCB_TAG          0xbb
  463. #define SCB_CDB_LEN      0xbc
  464. #define SCB_SCSIRATE     0xbd
  465. #define SCB_SCSIOFFSET   0xbe
  466. #define SCB_NEXT         0xbf
  467. #define SCB_64_SPARE     0xc0
  468. #define SEECTL_2840      0xc0
  469. #define CS_2840          0x04
  470. #define CK_2840          0x02
  471. #define DO_2840          0x01
  472. #define STATUS_2840      0xc1
  473. #define EEPROM_TF        0x80
  474. #define BIOS_SEL         0x60
  475. #define ADSEL            0x1e
  476. #define DI_2840          0x01
  477. #define SCB_64_BTT       0xd0
  478. #define CCHADDR          0xe0
  479. #define CCHCNT           0xe8
  480. #define CCSGRAM          0xe9
  481. #define CCSGADDR         0xea
  482. #define CCSGCTL          0xeb
  483. #define CCSGDONE         0x80
  484. #define CCSGEN           0x08
  485. #define SG_FETCH_NEEDED  0x02
  486. #define CCSGRESET        0x01
  487. #define CCSCBRAM         0xec
  488. #define CCSCBADDR        0xed
  489. #define CCSCBCTL         0xee
  490. #define CCSCBDONE        0x80
  491. #define ARRDONE          0x40
  492. #define CCARREN          0x10
  493. #define CCSCBEN          0x08
  494. #define CCSCBDIR         0x04
  495. #define CCSCBRESET       0x01
  496. #define CCSCBCNT         0xef
  497. #define SCBBADDR         0xf0
  498. #define CCSCBPTR         0xf1
  499. #define HNSCB_QOFF       0xf4
  500. #define SNSCB_QOFF       0xf6
  501. #define SDSCB_QOFF       0xf8
  502. #define QOFF_CTLSTA      0xfa
  503. #define SCB_AVAIL        0x40
  504. #define SNSCB_ROLLOVER   0x20
  505. #define SDSCB_ROLLOVER   0x10
  506. #define SCB_QSIZE        0x07
  507. #define SCB_QSIZE_256    0x06
  508. #define DFF_THRSH        0xfb
  509. #define WR_DFTHRSH       0x70
  510. #define WR_DFTHRSH_MAX   0x70
  511. #define WR_DFTHRSH_90    0x60
  512. #define WR_DFTHRSH_85    0x50
  513. #define WR_DFTHRSH_75    0x40
  514. #define WR_DFTHRSH_63    0x30
  515. #define WR_DFTHRSH_50    0x20
  516. #define WR_DFTHRSH_25    0x10
  517. #define RD_DFTHRSH       0x07
  518. #define RD_DFTHRSH_MAX   0x07
  519. #define RD_DFTHRSH_90    0x06
  520. #define RD_DFTHRSH_85    0x05
  521. #define RD_DFTHRSH_75    0x04
  522. #define RD_DFTHRSH_63    0x03
  523. #define RD_DFTHRSH_50    0x02
  524. #define RD_DFTHRSH_25    0x01
  525. #define RD_DFTHRSH_MIN   0x00
  526. #define WR_DFTHRSH_MIN   0x00
  527. #define SG_CACHE_SHADOW  0xfc
  528. #define SG_ADDR_MASK     0xf8
  529. #define ODD_SEG          0x04
  530. #define LAST_SEG         0x02
  531. #define LAST_SEG_DONE    0x01
  532. #define SG_CACHE_PRE     0xfc
  533. #define MAX_OFFSET_ULTRA2 0x7f
  534. #define MAX_OFFSET_16BIT 0x08
  535. #define BUS_8_BIT 0x00
  536. #define TARGET_CMD_CMPLT 0xfe
  537. #define STATUS_QUEUE_FULL 0x28
  538. #define STATUS_BUSY 0x08
  539. #define MAX_OFFSET_8BIT 0x0f
  540. #define BUS_32_BIT 0x02
  541. #define CCSGADDR_MAX 0x80
  542. #define TID_SHIFT 0x04
  543. #define SCB_DOWNLOAD_SIZE_64 0x30
  544. #define HOST_MAILBOX_SHIFT 0x04
  545. #define CMD_GROUP_CODE_SHIFT 0x05
  546. #define CCSGRAM_MAXSEGS 0x10
  547. #define SCB_LIST_NULL 0xff
  548. #define SG_SIZEOF 0x08
  549. #define SCB_DOWNLOAD_SIZE 0x20
  550. #define SEQ_MAILBOX_SHIFT 0x00
  551. #define TARGET_DATA_IN 0x01
  552. #define HOST_MSG 0xff
  553. #define BUS_16_BIT 0x01
  554. #define SCB_UPLOAD_SIZE 0x20
  555. /* Downloaded Constant Definitions */
  556. #define INVERTED_CACHESIZE_MASK 0x03
  557. #define SG_PREFETCH_ADDR_MASK 0x06
  558. #define SG_PREFETCH_ALIGN_MASK 0x05
  559. #define QOUTFIFO_OFFSET 0x00
  560. #define SG_PREFETCH_CNT 0x04
  561. #define CACHESIZE_MASK 0x02
  562. #define QINFIFO_OFFSET 0x01