1 /* SPDX-License-Identifier: GPL-2.0 */
2 /***************************************************************/
3 /* $Id: hfc4s8s_l1.h,v 1.1 2005/02/02 17:28:55 martinb1 Exp $ */
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) */
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 /***************************************************************/
14 #ifndef _HFC4S8S_L1_H_
15 #define _HFC4S8S_L1_H_
19 * include Genero generated HFC-4S/8S header file hfc48scu.h
20 * for complete register description. This will define _HFC48SCU_H_
21 * to prevent redefinitions
24 // #include "hfc48scu.h"
29 #ifndef PCI_VENDOR_ID_CCD
30 #define PCI_VENDOR_ID_CCD 0x1397
33 #define CHIP_ID_4S 0x0C
34 #define CHIP_ID_8S 0x08
35 #define PCI_DEVICE_ID_4S 0x08B4
36 #define PCI_DEVICE_ID_8S 0x16B8
38 #define R_IRQ_MISC 0x11
40 #define A_ST_RD_STA 0x30
41 #define A_ST_WR_STA 0x30
42 #define M_SET_G2_G3 0x80
43 #define A_ST_CTRL0 0x31
44 #define A_ST_CTRL2 0x33
45 #define A_ST_CLK_DLY 0x37
51 #define R_BRG_PCM_CFG 0x02
52 #define M_PCM_CLK 0x20
53 #define R_RAM_MISC 0x0C
55 #define R_FIFO_MD 0x0D
56 #define A_INC_RES_FIFO 0x0E
60 #define R_IRQ_OVIEW 0x10
61 #define R_CHIP_ID 0x16
64 #define M_MISC_IRQSTA 0x40
65 #define M_FR_IRQSTA 0x80
66 #define R_CHIP_RV 0x1F
67 #define R_IRQ_CTRL 0x13
68 #define M_FIFO_IRQ 0x01
69 #define M_GLOB_IRQ_EN 0x08
70 #define R_PCM_MD0 0x14
72 #define A_FIFO_DATA0 0x80
76 #define R_IRQ_FIFO_BL0 0xC8
77 #define A_CON_HDLC 0xFA
78 #define A_SUBCH_CFG 0xFB
79 #define A_IRQ_MSK 0xFF
80 #define R_SCI_MSK 0x12
82 #define R_ST_SYNC 0x17
83 #define M_AUTO_SYNC 0x08
85 #define R_IRQMSK_MISC 0x11
86 #define M_TI_IRQMSK 0x02
88 #endif /* _HFC4S8S_L1_H_ */
89 #endif /* _HFC48SCU_H_ */