Searched defs:hscx (Results 1 - 24 of 24) sorted by relevance

/drivers/isdn/hisax/
H A Dhscx.c1 /* $Id: hscx.c,v 1.24.2.4 2004/01/24 20:47:23 keil Exp $
15 #include "hscx.h"
44 int hscx = bcs->hw.hscx.hscx; local
47 debugl1(cs, "hscx %c mode %d ichan %d",
48 'A' + hscx, mode, bc);
51 cs->BC_Write_Reg(cs, hscx, HSCX_XAD1, 0xFF);
52 cs->BC_Write_Reg(cs, hscx, HSCX_XAD2, 0xFF);
53 cs->BC_Write_Reg(cs, hscx, HSCX_RAH
[all...]
H A Dhscx_irq.c17 waitforCEC(struct IsdnCardState *cs, int hscx) argument
21 while ((READHSCX(cs, hscx, HSCX_STAR) & 0x04) && to) {
31 waitforXFW(struct IsdnCardState *cs, int hscx) argument
35 while (((READHSCX(cs, hscx, HSCX_STAR) & 0x44) != 0x40) && to) {
44 WriteHSCXCMDR(struct IsdnCardState *cs, int hscx, u_char data) argument
46 waitforCEC(cs, hscx);
47 WRITEHSCX(cs, hscx, HSCX_CMDR, data);
61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
64 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx,
123 hscx_interrupt(struct IsdnCardState *cs, u_char val, u_char hscx) argument
[all...]
H A Dasuscom.c20 #include "hscx.h"
126 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
129 cs->hw.asus.hscx, offset + (hscx ? 0x40 : 0)));
133 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
136 cs->hw.asus.hscx, offset + (hscx ? 0x40 : 0), value);
144 cs->hw.asus.hscx, reg + (nr ? 0x40 : 0))
146 cs->hw.asus.hscx, reg + (nr ? 0x40 : 0), data)
149 cs->hw.asus.hscx, (n
[all...]
H A Davm_a1.c16 #include "hscx.h"
80 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
82 return (readreg(cs->hw.avm.hscx[hscx], offset));
86 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
88 writereg(cs->hw.avm.hscx[hscx], offset, value);
95 #define READHSCX(cs, nr, reg) readreg(cs->hw.avm.hscx[nr], reg)
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.avm.hscx[nr], reg, data)
117 val = readreg(cs->hw.avm.hscx[
[all...]
H A Davm_a1p.c19 #include "hscx.h"
95 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
101 HSCX_REG_OFFSET + hscx * HSCX_CH_DIFF + offset);
107 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
111 HSCX_REG_OFFSET + hscx * HSCX_CH_DIFF + offset);
116 ReadHSCXfifo(struct IsdnCardState *cs, int hscx, u_char *data, int size) argument
119 HSCX_FIFO_OFFSET + hscx * HSCX_CH_DIFF);
124 WriteHSCXfifo(struct IsdnCardState *cs, int hscx, u_char *data, int size) argument
127 HSCX_FIFO_OFFSET + hscx * HSCX_CH_DIFF);
H A Dbkm_a8.c18 #include "hscx.h"
103 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
105 return (readreg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0)));
109 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
111 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, offset + (hscx ? 0x40 : 0), value);
407 /* For isac and hscx data path */
H A Dipacx.c6 * Derived from hisax_isac.c, isac.c, hscx.c and others
47 static void bch_int(struct IsdnCardState *cs, u_char hscx);
52 static void bch_init(struct IsdnCardState *cs, int hscx);
460 bcs->hw.hscx.count = 0;
472 bcs->hw.hscx.count = 0;
511 u_char *ptr, hscx; local
516 hscx = bcs->hw.hscx.hscx;
521 if (bcs->hw.hscx
554 u_char *ptr, *p, hscx; local
593 bch_int(struct IsdnCardState *cs, u_char hscx) argument
716 int hscx = bcs->hw.hscx.hscx; local
828 bch_init(struct IsdnCardState *cs, int hscx) argument
[all...]
H A Dix1_micro.c24 #include "hscx.h"
100 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
103 cs->hw.ix1.hscx, offset + (hscx ? 0x40 : 0)));
107 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
110 cs->hw.ix1.hscx, offset + (hscx ? 0x40 : 0), value);
114 cs->hw.ix1.hscx, reg + (nr ? 0x40 : 0))
116 cs->hw.ix1.hscx, reg + (nr ? 0x40 : 0), data)
119 cs->hw.ix1.hscx, (n
[all...]
H A Dmic.c16 #include "hscx.h"
90 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
93 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0)));
97 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
100 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0), value);
108 cs->hw.mic.hscx, reg + (nr ? 0x40 : 0))
110 cs->hw.mic.hscx, reg + (nr ? 0x40 : 0), data)
113 cs->hw.mic.hscx, (n
[all...]
H A Dniccy.c19 #include "hscx.h"
98 static u_char ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
101 cs->hw.niccy.hscx, offset + (hscx ? 0x40 : 0));
104 static void WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, argument
108 cs->hw.niccy.hscx, offset + (hscx ? 0x40 : 0), value);
112 cs->hw.niccy.hscx, reg + (nr ? 0x40 : 0))
114 cs->hw.niccy.hscx, reg + (nr ? 0x40 : 0), data)
117 cs->hw.niccy.hscx, (n
[all...]
H A Ds0box.c16 #include "hscx.h"
120 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
122 return (readreg(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscx[hscx], offset));
126 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
128 writereg(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscx[hscx], offset, value);
135 #define READHSCX(cs, nr, reg) readreg(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscx[nr], reg)
136 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscx[nr], reg, data)
152 val = readreg(cs->hw.teles3.cfg_reg, cs->hw.teles3.hscx[
[all...]
H A Dsaphir.c18 #include "hscx.h"
92 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
94 return (readreg(cs->hw.saphir.ale, cs->hw.saphir.hscx,
95 offset + (hscx ? 0x40 : 0)));
99 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
101 writereg(cs->hw.saphir.ale, cs->hw.saphir.hscx,
102 offset + (hscx ? 0x40 : 0), value);
106 cs->hw.saphir.hscx, reg + (nr ? 0x40 : 0))
108 cs->hw.saphir.hscx, reg + (nr ? 0x40 : 0), data)
111 cs->hw.saphir.hscx, (n
[all...]
H A Dsportster.c18 #include "hscx.h"
78 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
80 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset)));
84 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
86 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value);
93 #define READHSCX(cs, nr, reg) bytein(calc_off(cs->hw.spt.hscx[nr], reg))
94 #define WRITEHSCX(cs, nr, reg, data) byteout(calc_off(cs->hw.spt.hscx[nr], reg), data)
95 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.spt.hscx[n
[all...]
H A Dteles0.c22 #include "hscx.h"
44 readhscx(void __iomem *adr, int hscx, u_char off) argument
46 return readb(adr + (hscx ? 0x1c0 : 0x180) +
51 writehscx(void __iomem *adr, int hscx, u_char off, u_char data) argument
53 writeb(data, adr + (hscx ? 0x1c0 : 0x180) +
77 read_fifo_hscx(void __iomem *adr, int hscx, u_char *data, int size) argument
80 register u_char __iomem *ad = adr + (hscx ? 0x1c0 : 0x180);
86 write_fifo_hscx(void __iomem *adr, int hscx, u_char *data, int size) argument
89 register u_char __iomem *ad = adr + (hscx ? 0x1c0 : 0x180);
122 ReadHSCX(struct IsdnCardState *cs, int hscx, u_cha argument
128 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
[all...]
H A Dteles3.c20 #include "hscx.h"
80 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
82 return (readreg(cs->hw.teles3.hscx[hscx], offset));
86 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
88 writereg(cs->hw.teles3.hscx[hscx], offset, value);
95 #define READHSCX(cs, nr, reg) readreg(cs->hw.teles3.hscx[nr], reg)
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.teles3.hscx[nr], reg, data)
112 val = readreg(cs->hw.teles3.hscx[
[all...]
H A Dtelespci.c18 #include "hscx.h"
77 readhscx(void __iomem *adr, int hscx, u_char off) argument
83 writel(WRITE_ADDR_HSCX | ((hscx ? 0x40 : 0) + off), adr + 0x200);
93 writehscx(void __iomem *adr, int hscx, u_char off, u_char data) argument
99 writel(WRITE_ADDR_HSCX | ((hscx ? 0x40 : 0) + off), adr + 0x200);
143 read_fifo_hscx(void __iomem *adr, int hscx, u_char *data, int size) argument
152 writel(WRITE_ADDR_HSCX | (hscx ? 0x5F : 0x1F), adr + 0x200);
161 write_fifo_hscx(void __iomem *adr, int hscx, u_char *data, int size) argument
170 writel(WRITE_ADDR_HSCX | (hscx ? 0x5F : 0x1F), adr + 0x200);
205 ReadHSCX(struct IsdnCardState *cs, int hscx, u_cha argument
211 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
[all...]
H A Dgazel.c17 #include "hscx.h"
35 #define INT_HSCX_EN 0x1 /* 1 = enable IT hscx */
36 #define INT_HSCX 0x4 /* 1 = IT hscx en cours */
169 ReadHSCXfifo(struct IsdnCardState *cs, int hscx, u_char *data, int size) argument
174 read_fifo(cs->hw.gazel.hscxfifo[hscx], data, size);
178 read_fifo_ipac(cs->hw.gazel.ipac, hscx * 0x40, data, size);
184 WriteHSCXfifo(struct IsdnCardState *cs, int hscx, u_char *data, int size) argument
189 write_fifo(cs->hw.gazel.hscxfifo[hscx], data, size);
193 write_fifo_ipac(cs->hw.gazel.ipac, hscx * 0x40, data, size);
199 ReadHSCX(struct IsdnCardState *cs, int hscx, u_cha argument
216 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
[all...]
H A Dsedlbauer.c45 #include "hscx.h"
202 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
205 cs->hw.sedl.hscx, offset + (hscx ? 0x40 : 0)));
209 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
212 cs->hw.sedl.hscx, offset + (hscx ? 0x40 : 0), value);
225 return (readreg(cs->hw.sedl.adr, cs->hw.sedl.hscx, offset));
228 return (bytein(cs->hw.sedl.hscx));
235 writereg(cs->hw.sedl.adr, cs->hw.sedl.hscx, offse
[all...]
H A Ddiva.c21 #include "hscx.h"
180 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
183 cs->hw.diva.hscx, offset + (hscx ? 0x40 : 0)));
187 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
190 cs->hw.diva.hscx, offset + (hscx ? 0x40 : 0), value);
220 MemReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
222 return (memreadreg(cs->hw.diva.cfg_reg, offset + (hscx ? 0x40 : 0)));
226 MemWriteHSCX(struct IsdnCardState *cs, int hscx, u_cha argument
259 MemReadHSCX_IPACX(struct IsdnCardState *cs, int hscx, u_char offset) argument
266 MemWriteHSCX_IPACX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
367 MemwaitforCEC(struct IsdnCardState *cs, int hscx) argument
381 MemwaitforXFW(struct IsdnCardState *cs, int hscx) argument
394 MemWriteHSCXCMDR(struct IsdnCardState *cs, int hscx, u_char data) argument
477 Memhscx_interrupt(struct IsdnCardState *cs, u_char val, u_char hscx) argument
[all...]
H A Delsa.c27 #include "hscx.h"
224 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) argument
227 cs->hw.elsa.hscx, offset + (hscx ? 0x40 : 0)));
231 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) argument
234 cs->hw.elsa.hscx, offset + (hscx ? 0x40 : 0), value);
271 cs->hw.elsa.hscx, reg + (nr ? 0x40 : 0))
273 cs->hw.elsa.hscx, reg + (nr ? 0x40 : 0), data)
276 cs->hw.elsa.hscx, (n
[all...]
H A Dhisax.h365 int hscx; member in struct:hscx_hw
523 struct hscx_hw hscx; member in union:BCState::__anon1251
560 unsigned int hscx; member in struct:elsa_hw
584 signed int hscx[2]; member in struct:teles3_hw
598 unsigned int hscx[2]; member in struct:avm_hw
610 unsigned int hscx; member in struct:ix1_hw
620 unsigned int hscx; member in struct:diva_hw
631 unsigned int hscx; member in struct:asus_hw
651 unsigned int hscx; member in struct:sedl_hw
663 unsigned int hscx[ member in struct:spt_hw
671 unsigned int hscx; member in struct:mic_hw
772 unsigned int hscx; member in struct:saphir_hw
795 signed int hscx[2]; member in struct:gazel_hw
[all...]
/drivers/isdn/hardware/mISDN/
H A DmISDNipac.c929 hscx_empty_fifo(struct hscx_hw *hscx, u8 count) argument
933 pr_debug("%s: B%1d %d\n", hscx->ip->name, hscx->bch.nr, count);
934 if (!hscx->bch.rx_skb) {
935 hscx->bch.rx_skb = mI_alloc_skb(hscx->bch.maxlen, GFP_ATOMIC);
936 if (!hscx->bch.rx_skb) {
938 hscx->ip->name);
939 hscx_cmdr(hscx, 0x80); /* RMC */
943 if ((hscx
969 hscx_fill_fifo(struct hscx_hw *hscx) argument
1216 hscx_mode(struct hscx_hw *hscx, u32 bprotocol) argument
[all...]
H A DmISDNinfineon.c117 struct _ioaddr hscx; member in struct:inf_hw
242 card->ipac.hscx[0].bch.debug = debug;
243 card->ipac.hscx[1].bch.debug = debug;
273 IOFUNC_IO(IPAC, inf_hw, hscx.a.io)
275 IOFUNC_IND(IPAC, inf_hw, hscx.a.io)
277 IOFUNC_MEMIO(IPAC, inf_hw, u32, hscx.a.p)
566 hw->ipac.hscx[0].slot = 0x1f;
567 hw->ipac.hscx[1].slot = 0x23;
732 hw->hscx.mode = hw->cfg.mode;
733 hw->hscx
[all...]
H A Dipac.h70 struct hscx_hw hscx[2]; member in struct:ipac_hw

Completed in 243 milliseconds