hfc4s8s_l1.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /***************************************************************/
  3. /* $Id: hfc4s8s_l1.h,v 1.1 2005/02/02 17:28:55 martinb1 Exp $ */
  4. /* */
  5. /* This file is a minimal required extraction of hfc48scu.h */
  6. /* (Genero 3.2, HFC XML 1.7a for HFC-E1, HFC-4S and HFC-8S) */
  7. /* */
  8. /* To get this complete register description contact */
  9. /* Cologne Chip AG : */
  10. /* Internet: http://www.colognechip.com/ */
  11. /* E-Mail: info@colognechip.com */
  12. /***************************************************************/
  13. #ifndef _HFC4S8S_L1_H_
  14. #define _HFC4S8S_L1_H_
  15. /*
  16. * include Genero generated HFC-4S/8S header file hfc48scu.h
  17. * for complete register description. This will define _HFC48SCU_H_
  18. * to prevent redefinitions
  19. */
  20. // #include "hfc48scu.h"
  21. #ifndef _HFC48SCU_H_
  22. #define _HFC48SCU_H_
  23. #ifndef PCI_VENDOR_ID_CCD
  24. #define PCI_VENDOR_ID_CCD 0x1397
  25. #endif
  26. #define CHIP_ID_4S 0x0C
  27. #define CHIP_ID_8S 0x08
  28. #define PCI_DEVICE_ID_4S 0x08B4
  29. #define PCI_DEVICE_ID_8S 0x16B8
  30. #define R_IRQ_MISC 0x11
  31. #define M_TI_IRQ 0x02
  32. #define A_ST_RD_STA 0x30
  33. #define A_ST_WR_STA 0x30
  34. #define M_SET_G2_G3 0x80
  35. #define A_ST_CTRL0 0x31
  36. #define A_ST_CTRL2 0x33
  37. #define A_ST_CLK_DLY 0x37
  38. #define A_Z1 0x04
  39. #define A_Z2 0x06
  40. #define R_CIRM 0x00
  41. #define M_SRES 0x08
  42. #define R_CTRL 0x01
  43. #define R_BRG_PCM_CFG 0x02
  44. #define M_PCM_CLK 0x20
  45. #define R_RAM_MISC 0x0C
  46. #define M_FZ_MD 0x80
  47. #define R_FIFO_MD 0x0D
  48. #define A_INC_RES_FIFO 0x0E
  49. #define R_FIFO 0x0F
  50. #define A_F1 0x0C
  51. #define A_F2 0x0D
  52. #define R_IRQ_OVIEW 0x10
  53. #define R_CHIP_ID 0x16
  54. #define R_STATUS 0x1C
  55. #define M_BUSY 0x01
  56. #define M_MISC_IRQSTA 0x40
  57. #define M_FR_IRQSTA 0x80
  58. #define R_CHIP_RV 0x1F
  59. #define R_IRQ_CTRL 0x13
  60. #define M_FIFO_IRQ 0x01
  61. #define M_GLOB_IRQ_EN 0x08
  62. #define R_PCM_MD0 0x14
  63. #define M_PCM_MD 0x01
  64. #define A_FIFO_DATA0 0x80
  65. #define R_TI_WD 0x1A
  66. #define R_PWM1 0x39
  67. #define R_PWM_MD 0x46
  68. #define R_IRQ_FIFO_BL0 0xC8
  69. #define A_CON_HDLC 0xFA
  70. #define A_SUBCH_CFG 0xFB
  71. #define A_IRQ_MSK 0xFF
  72. #define R_SCI_MSK 0x12
  73. #define R_ST_SEL 0x16
  74. #define R_ST_SYNC 0x17
  75. #define M_AUTO_SYNC 0x08
  76. #define R_SCI 0x12
  77. #define R_IRQMSK_MISC 0x11
  78. #define M_TI_IRQMSK 0x02
  79. #endif /* _HFC4S8S_L1_H_ */
  80. #endif /* _HFC48SCU_H_ */