Lines Matching defs:hfc_multi
137 struct hfc_multi { struct
150 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, argument
152 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_char reg, argument
154 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg, argument
156 u_char (*HFC_inb_nodebug)(struct hfc_multi *hc, u_char reg, argument
158 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg, argument
160 u_short (*HFC_inw_nodebug)(struct hfc_multi *hc, u_char reg, argument
162 void (*HFC_wait)(struct hfc_multi *hc, argument
164 void (*HFC_wait_nodebug)(struct hfc_multi *hc, argument
167 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, argument
169 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_char reg, argument
171 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg); argument
172 u_char (*HFC_inb_nodebug)(struct hfc_multi *hc, u_char reg); argument
173 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg); argument
174 u_short (*HFC_inw_nodebug)(struct hfc_multi *hc, u_char reg); argument
175 void (*HFC_wait)(struct hfc_multi *hc); argument
176 void (*HFC_wait_nodebug)(struct hfc_multi *hc); argument
178 void (*read_fifo)(struct hfc_multi *hc, u_char *data, argument
180 void (*write_fifo)(struct hfc_multi *hc, u_char *data, argument
182 u_long pci_origmembase, plx_origmembase;
183 void __iomem *pci_membase; /* PCI memory */
184 void __iomem *plx_membase; /* PLX memory */
185 u_long xhfc_origmembase;
186 u_char *xhfc_membase;
187 u_long *xhfc_memaddr, *xhfc_memdata;
189 struct immap *immap;
191 u_long pb_irqmsk; /* Portbit mask to check the IRQ line */
192 u_long pci_iobase; /* PCI IO */
193 struct hfcm_hw hw; /* remember data of write-only-registers */
195 u_long chip; /* chip configuration */
196 int masterclk; /* port that provides master clock -1=off */
197 unsigned char silence;/* silence byte */
198 unsigned char silence_data[128];/* silence block */
199 int dtmf; /* flag that dtmf is currently in process */
200 int Flen; /* F-buffer size */
201 int Zlen; /* Z-buffer size (must be int for calculation)*/
202 int max_trans; /* maximum transparent fifo fill */
203 int Zmin; /* Z-buffer offset */
204 int DTMFbase; /* base address of DTMF coefficients */
206 u_int slots; /* number of PCM slots */
207 u_int leds; /* type of leds */
208 u_long ledstate; /* save last state of leds */
209 int opticalsupport; /* has the e1 board */
212 u_int bmask[32]; /* bitmask of bchannels for port */
213 u_char dnum[32]; /* array of used dchannel numbers for port */
214 u_char created[32]; /* what port is created */
215 u_int activity_tx; /* if there is data TX / RX */
216 u_int activity_rx; /* bitmask according to port number */
219 u_int flash[8]; /* counter for flashing 8 leds on activity */
221 u_long wdcount; /* every 500 ms we need to */
223 u_char wdbyte; /* watchdog toggle byte */
224 int e1_state; /* keep track of last state */
225 int e1_getclock; /* if sync is retrieved from interface */
226 int syncronized; /* keep track of existing sync interface */
227 int e1_resync; /* resync jobs */
229 spinlock_t lock; /* the lock */
231 struct mISDNclock *iclock; /* isdn clock support */
232 int iclock_on;
239 struct hfc_chan chan[32];
240 signed char slot_owner[256]; /* owner channel of slot */