Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.8 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Constr.h 1.3 1998/04/29 22:43:31 tomz Exp $
  2. #ifndef __CONSTR_H
  3. #define __CONSTR_H
  4. #define CONSTRUCT_REGISTERS \
  5. decRegSTATUS ( ( (0x00 + 0) * 4) + 0, RW ) ,\
  6. decFieldPRES( decRegSTATUS, 7, 1, RW) ,\
  7. decFieldHLOC( decRegSTATUS, 6, 1, RW) ,\
  8. decFieldEVENFIELD( decRegSTATUS, 5, 1, RW) ,\
  9. decFieldNUML( decRegSTATUS, 4, 1, RW) ,\
  10. decFieldCSEL( decRegSTATUS, 3, 1, RW) ,\
  11. decFieldSTATUS_RES( decRegSTATUS, 2, 1, RW) ,\
  12. decFieldLOF( decRegSTATUS, 1, 1, RW) ,\
  13. decFieldCOF( decRegSTATUS, 0, 1, RW) ,\
  14. decRegIFORM ( ( (0x01 + 0) * 4) + 0, RW ) ,\
  15. decFieldHACTIVE( decRegIFORM, 7, 1, RW) ,\
  16. decFieldMUXSEL( decRegIFORM, 5, 2, RW) ,\
  17. decFieldXTSEL( decRegIFORM, 3, 2, RW) ,\
  18. decFieldFORMAT( decRegIFORM, 0, 3, RW) ,\
  19. decRegTDEC ( ( (0x02 + 0) * 4) + 0, RW ) ,\
  20. decFieldDEC_FIELD( decRegTDEC, 7, 1, RW) ,\
  21. decFieldDEC_FIELDALIGN( decRegTDEC, 6, 1, RW) ,\
  22. decFieldDEC_RAT( decRegTDEC, 0, 6, RW) ,\
  23. decRegBRIGHT ( ( (0x0A + 0) * 4) + 0, RW ) ,\
  24. decRegMISCCONTROL ( ( (0x0B + 0) * 4) + 0, RW ) ,\
  25. decFieldLNOTCH( decRegMISCCONTROL, 7, 1, RW) ,\
  26. decFieldCOMP( decRegMISCCONTROL, 6, 1, RW) ,\
  27. decFieldLDEC( decRegMISCCONTROL, 5, 1, RW) ,\
  28. decFieldCBSENSE( decRegMISCCONTROL, 4, 1, RW) ,\
  29. decFieldMISCCONTROL_RES( decRegMISCCONTROL, 3, 1, RW) ,\
  30. decFieldCON_MSB( decRegMISCCONTROL, 2, 1, RW) ,\
  31. decFieldSAT_U_MSB( decRegMISCCONTROL, 1, 1, RW) ,\
  32. decFieldSAT_V_MSB( decRegMISCCONTROL, 0, 1, RW) ,\
  33. decRegCONTRAST_LO ( ( (0x0C + 0) * 4) + 0, RW ) ,\
  34. decRegSAT_U_LO ( ( (0x0D + 0) * 4) + 0, RW ) ,\
  35. decRegSAT_V_LO ( ( (0x0E + 0) * 4) + 0, RW ) ,\
  36. decRegHUE ( ( (0x0F + 0) * 4) + 0, RW ) ,\
  37. decRegSCLOOP ( ( (0x10 + 0) * 4) + 0, RW ) ,\
  38. decFieldCAGC( decRegSCLOOP, 6, 1, RW) ,\
  39. decFieldCKILL( decRegSCLOOP, 5, 1, RW) ,\
  40. decFieldHFILT( decRegSCLOOP, 3, 2, RW) ,\
  41. decRegWC_UP( ( (0x11 + 0) * 4) + 0, RW ) ,\
  42. decRegOFORM ( ( (0x12 + 0) * 4) + 0, RW ) ,\
  43. decFieldRANGE( decRegOFORM, 7, 1, RW) ,\
  44. decFieldCORE( decRegOFORM, 5, 2, RW) ,\
  45. decRegVSCALE_HI ( ( (0x13 + 0) * 4) + 0, RW ) ,\
  46. decFieldYCOMB( decRegVSCALE_HI, 7, 1, RW) ,\
  47. decFieldCOMB( decRegVSCALE_HI, 6, 1, RW) ,\
  48. decFieldINT( decRegVSCALE_HI, 5, 1, RW) ,\
  49. decRegTEST ( ( (0x15 + 0) * 4) + 0, RW ) ,\
  50. decRegADELAY ( ( (0x18 + 0) * 4) + 0, RW ) ,\
  51. decRegBDELAY ( ( (0x19 + 0) * 4) + 0, RW ) ,\
  52. decRegADC ( ( (0x1A + 0) * 4) + 0, RW ) ,\
  53. decFieldSYNC_T( decRegADC, 5, 1, RW) ,\
  54. decFieldAGC_EN( decRegADC, 4, 1, RW) ,\
  55. decFieldCLK_SLEEP( decRegADC, 3, 1, RW) ,\
  56. decFieldY_SLEEP( decRegADC, 2, 1, RW) ,\
  57. decFieldC_SLEEP( decRegADC, 1, 1, RW) ,\
  58. decFieldCRUSH( decRegADC, 0, 1, RW), \
  59. decRegVTC ( ( (0x1B + 0) * 4) + 0, RW ) ,\
  60. decFieldHSFMT( decRegVTC, 7, 1, RW) ,\
  61. decRegWC_DN( ( (0x1E + 0) * 4) + 0, RW ) ,\
  62. decRegSRESET ( ( (0x1F + 0) * 4) + 0, RW ) ,\
  63. decRegODD_MISCCONTROL ( ( (0x0B + -0x03) * 4) + 0x8C, RW ) ,\
  64. decFieldODD_LNOTCH( decRegODD_MISCCONTROL, 7, 1, RW) ,\
  65. decFieldODD_COMP( decRegODD_MISCCONTROL, 6, 1, RW) ,\
  66. decFieldODD_LDEC( decRegODD_MISCCONTROL, 5, 1, RW) ,\
  67. decFieldODD_CBSENSE( decRegODD_MISCCONTROL, 4, 1, RW) ,\
  68. decFieldODD_MISCCONTROL_RES( decRegODD_MISCCONTROL, 3, 1, RW) ,\
  69. decFieldODD_CON_MSB( decRegODD_MISCCONTROL, 2, 1, RW) ,\
  70. decFieldODD_SAT_U_MSB( decRegODD_MISCCONTROL, 1, 1, RW) ,\
  71. decFieldODD_SAT_V_MSB( decRegODD_MISCCONTROL, 0, 1, RW) ,\
  72. decRegODD_SCLOOP ( ( (0x10 + -0x03) * 4) + 0x8C, RW ) ,\
  73. decFieldODD_CAGC( decRegODD_SCLOOP, 6, 1, RW) ,\
  74. decFieldODD_CKILL( decRegODD_SCLOOP, 5, 1, RW) ,\
  75. decFieldODD_HFILT( decRegODD_SCLOOP, 3, 2, RW) ,\
  76. decRegODD_VSCALE_HI ( ( (0x13 + -0x03) * 4) + 0x8C, RW ) ,\
  77. decFieldODD_YCOMB( decRegODD_VSCALE_HI, 7, 1, RW) ,\
  78. decFieldODD_COMB( decRegODD_VSCALE_HI, 6, 1, RW) ,\
  79. decFieldODD_INT( decRegODD_VSCALE_HI, 5, 1, RW) ,\
  80. decRegODD_VTC ( ( (0x1B + -0x03) * 4) + 0x8C, RW ) ,\
  81. decFieldODD_HSFMT( decRegODD_VTC, 7, 1, RW)
  82. #endif // __CONSTR_H