/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hisax/ |
H A D | hscx_irq.c | 17 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 D | jade_irq.c | 51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 54 WriteJADECMDR(cs, bcs->hw.hscx.hscx, jade_HDLC_RCMD, jadeRCMD_RMC); 55 bcs->hw.hscx.rcvidx = 0; 58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 59 bcs->hw.hscx.rcvidx += count; 60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 61 WriteJADECMDR(cs, bcs->hw.hscx [all...] |
H A D | hscx.c | 1 /* $Id: hscx.c,v 1.24.2.4 2004/01/24 20:47:23 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 D | ipacx.c | 6 * 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 D | Makefile | 30 hisax-$(CONFIG_HISAX_16_0) += teles0.o isac.o arcofi.o hscx.o 31 hisax-$(CONFIG_HISAX_16_3) += teles3.o isac.o arcofi.o hscx.o 32 hisax-$(CONFIG_HISAX_TELESPCI) += telespci.o isac.o arcofi.o hscx.o 33 hisax-$(CONFIG_HISAX_S0BOX) += s0box.o isac.o arcofi.o hscx.o 34 hisax-$(CONFIG_HISAX_AVM_A1) += avm_a1.o isac.o arcofi.o hscx.o 35 hisax-$(CONFIG_HISAX_AVM_A1_PCMCIA) += avm_a1p.o isac.o arcofi.o hscx.o 37 hisax-$(CONFIG_HISAX_ELSA) += elsa.o isac.o arcofi.o hscx.o 38 hisax-$(CONFIG_HISAX_IX1MICROR2) += ix1_micro.o isac.o arcofi.o hscx.o 39 hisax-$(CONFIG_HISAX_DIEHLDIVA) += diva.o isac.o arcofi.o hscx.o ipacx.o 40 hisax-$(CONFIG_HISAX_ASUSCOM) += asuscom.o isac.o arcofi.o hscx [all...] |
H A D | teles3.c | 20 #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 D | avm_a1.c | 16 #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 D | mic.c | 16 #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 D | diva.c | 21 #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 D | s0box.c | 16 #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 D | niccy.c | 19 #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 D | ix1_micro.c | 24 #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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hisax/ |
H A D | hscx_irq.c | 17 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 D | jade_irq.c | 51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 54 WriteJADECMDR(cs, bcs->hw.hscx.hscx, jade_HDLC_RCMD, jadeRCMD_RMC); 55 bcs->hw.hscx.rcvidx = 0; 58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 59 bcs->hw.hscx.rcvidx += count; 60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 61 WriteJADECMDR(cs, bcs->hw.hscx [all...] |
H A D | hscx.c | 1 /* $Id: hscx.c,v 1.24.2.4 2004/01/24 20:47:23 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 D | ipacx.c | 6 * 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 D | Makefile | 30 hisax-$(CONFIG_HISAX_16_0) += teles0.o isac.o arcofi.o hscx.o 31 hisax-$(CONFIG_HISAX_16_3) += teles3.o isac.o arcofi.o hscx.o 32 hisax-$(CONFIG_HISAX_TELESPCI) += telespci.o isac.o arcofi.o hscx.o 33 hisax-$(CONFIG_HISAX_S0BOX) += s0box.o isac.o arcofi.o hscx.o 34 hisax-$(CONFIG_HISAX_AVM_A1) += avm_a1.o isac.o arcofi.o hscx.o 35 hisax-$(CONFIG_HISAX_AVM_A1_PCMCIA) += avm_a1p.o isac.o arcofi.o hscx.o 37 hisax-$(CONFIG_HISAX_ELSA) += elsa.o isac.o arcofi.o hscx.o 38 hisax-$(CONFIG_HISAX_IX1MICROR2) += ix1_micro.o isac.o arcofi.o hscx.o 39 hisax-$(CONFIG_HISAX_DIEHLDIVA) += diva.o isac.o arcofi.o hscx.o ipacx.o 40 hisax-$(CONFIG_HISAX_ASUSCOM) += asuscom.o isac.o arcofi.o hscx [all...] |
H A D | teles3.c | 20 #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 D | avm_a1.c | 16 #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 D | mic.c | 16 #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 D | diva.c | 21 #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 D | s0box.c | 16 #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 D | niccy.c | 19 #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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hardware/mISDN/ |
H A D | mISDNipac.c | 928 hscx_empty_fifo(struct hscx_hw *hscx, u8 count) argument 932 pr_debug("%s: B%1d %d\n", hscx->ip->name, hscx->bch.nr, count); 933 if (!hscx->bch.rx_skb) { 934 hscx->bch.rx_skb = mI_alloc_skb(hscx->bch.maxlen, GFP_ATOMIC); 935 if (!hscx->bch.rx_skb) { 937 hscx->ip->name); 938 hscx_cmdr(hscx, 0x80); /* RMC */ 942 if ((hscx 968 hscx_fill_fifo(struct hscx_hw *hscx) argument 1215 hscx_mode(struct hscx_hw *hscx, u32 bprotocol) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hardware/mISDN/ |
H A D | mISDNipac.c | 928 hscx_empty_fifo(struct hscx_hw *hscx, u8 count) argument 932 pr_debug("%s: B%1d %d\n", hscx->ip->name, hscx->bch.nr, count); 933 if (!hscx->bch.rx_skb) { 934 hscx->bch.rx_skb = mI_alloc_skb(hscx->bch.maxlen, GFP_ATOMIC); 935 if (!hscx->bch.rx_skb) { 937 hscx->ip->name); 938 hscx_cmdr(hscx, 0x80); /* RMC */ 942 if ((hscx 968 hscx_fill_fifo(struct hscx_hw *hscx) argument 1215 hscx_mode(struct hscx_hw *hscx, u32 bprotocol) argument [all...] |