taglinefilesource code
hsp708drivers/isdn/teles/callc.cstruct HscxState *hsp;
hsp711drivers/isdn/teles/callc.chsp = sp->hs + chanlist[chan].hscx;
hsp713drivers/isdn/teles/callc.cclose_hscxstate(hsp);
hsp1094drivers/isdn/teles/callc.cstruct HscxState *hsp = sp->hs + chanlist[chan].hscx;
hsp1099drivers/isdn/teles/callc.chsp->mode = 2;
hsp1100drivers/isdn/teles/callc.chsp->transbufsize = 4000;
hsp1102drivers/isdn/teles/callc.cif (setstack_hscx(st, hsp))
hsp298drivers/isdn/teles/card.chscx_sched_event(struct HscxState *hsp, int event)
hsp300drivers/isdn/teles/card.chsp->event |= 1 << event;
hsp301drivers/isdn/teles/card.cqueue_task_irq_off(&hsp->tqueue, &tq_immediate);
hsp306drivers/isdn/teles/card.chscx_empty_fifo(struct HscxState *hsp, int count)
hsp309drivers/isdn/teles/card.cstruct BufHeader *ibh = hsp->rcvibh;
hsp311drivers/isdn/teles/card.cif (hsp->sp->debug)
hsp314drivers/isdn/teles/card.cif (hsp->rcvptr + count > BUFFER_SIZE(HSCX_RBUF_ORDER,
hsp318drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, 0x80);
hsp322drivers/isdn/teles/card.cptr += hsp->rcvptr;
hsp324drivers/isdn/teles/card.chsp->rcvptr += count;
hsp325drivers/isdn/teles/card.cif (hsp->membase) {
hsp327drivers/isdn/teles/card.c*ptr++ = readhscx_0(hsp->membase, hsp->hscx, 0x0);
hsp328drivers/isdn/teles/card.cwritehscxCMDR_0(hsp->membase, hsp->hscx, 0x80);
hsp330drivers/isdn/teles/card.creadhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count);
hsp331drivers/isdn/teles/card.cwritehscxCMDR_3(hsp->iobase, hsp->hscx, 0x80);
hsp345drivers/isdn/teles/card.chscx_fill_fifo(struct HscxState *hsp)
hsp351drivers/isdn/teles/card.cif (hsp->sp->debug)
hsp354drivers/isdn/teles/card.cibh = hsp->xmtibh;
hsp358drivers/isdn/teles/card.ccount = ibh->datasize - hsp->sendptr;
hsp363drivers/isdn/teles/card.cif (!hsp->sendptr) {
hsp376drivers/isdn/teles/card.cptr += hsp->sendptr;
hsp377drivers/isdn/teles/card.chsp->sendptr += count;
hsp388drivers/isdn/teles/card.cif (hsp->membase) {
hsp389drivers/isdn/teles/card.cwaitforXFW_0(hsp->membase, hsp->hscx);
hsp391drivers/isdn/teles/card.cwritehscx_0(hsp->membase, hsp->hscx, 0x0, *ptr++);
hsp392drivers/isdn/teles/card.cwritehscxCMDR_0(hsp->membase, hsp->hscx, more ? 0x8 : 0xa);
hsp394drivers/isdn/teles/card.cwaitforXFW_3(hsp->iobase, hsp->hscx);
hsp395drivers/isdn/teles/card.cwritehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count);
hsp396drivers/isdn/teles/card.cwritehscxCMDR_3(hsp->iobase, hsp->hscx, more ? 0x8 : 0xa);
hsp404drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + hscx;
hsp407drivers/isdn/teles/card.cif (!hsp->init)
hsp412drivers/isdn/teles/card.cr = READHSCX(hsp->membase, sp->iobase, hsp->hscx, HSCX_RSTA);
hsp421drivers/isdn/teles/card.cif (hsp->rcvibh)
hsp422drivers/isdn/teles/card.cBufPoolRelease(hsp->rcvibh);
hsp423drivers/isdn/teles/card.chsp->rcvibh = NULL;
hsp424drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx,
hsp428drivers/isdn/teles/card.cif (!hsp->rcvibh)
hsp429drivers/isdn/teles/card.cif (BufPoolGet(&hsp->rcvibh, &hsp->rbufpool,
hsp434drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase,
hsp435drivers/isdn/teles/card.chsp->hscx, 0x80);
hsp438drivers/isdn/teles/card.chsp->rcvptr = 0;
hsp440drivers/isdn/teles/card.ccount = READHSCX(hsp->membase, sp->iobase, hsp->hscx,
hsp444drivers/isdn/teles/card.chscx_empty_fifo(hsp, count);
hsp445drivers/isdn/teles/card.chsp->rcvibh->datasize = hsp->rcvptr - 1;
hsp446drivers/isdn/teles/card.cBufQueueLink(&hsp->rq, hsp->rcvibh);
hsp447drivers/isdn/teles/card.chsp->rcvibh = NULL;
hsp448drivers/isdn/teles/card.chscx_sched_event(hsp, HSCX_RCVBUFREADY);
hsp452drivers/isdn/teles/card.cif (!hsp->rcvibh)
hsp453drivers/isdn/teles/card.cif (BufPoolGet(&hsp->rcvibh, &hsp->rbufpool,
hsp458drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase,
hsp459drivers/isdn/teles/card.chsp->hscx, 0x80);
hsp462drivers/isdn/teles/card.chsp->rcvptr = 0;
hsp464drivers/isdn/teles/card.chscx_empty_fifo(hsp, 32);
hsp466drivers/isdn/teles/card.chsp->rcvibh->datasize = hsp->rcvptr - 1;
hsp467drivers/isdn/teles/card.cBufQueueLink(&hsp->rq, hsp->rcvibh);
hsp468drivers/isdn/teles/card.chsp->rcvibh = NULL;
hsp469drivers/isdn/teles/card.chscx_sched_event(hsp, HSCX_RCVBUFREADY);
hsp474drivers/isdn/teles/card.cif (hsp->xmtibh)
hsp475drivers/isdn/teles/card.cif (hsp->xmtibh->datasize > hsp->sendptr) {
hsp476drivers/isdn/teles/card.chscx_fill_fifo(hsp);
hsp479drivers/isdn/teles/card.cif (hsp->releasebuf)
hsp480drivers/isdn/teles/card.cBufPoolRelease(hsp->xmtibh);
hsp481drivers/isdn/teles/card.chsp->xmtibh = NULL;
hsp482drivers/isdn/teles/card.chsp->sendptr = 0;
hsp483drivers/isdn/teles/card.cif (hsp->st->l4.l1writewakeup)
hsp484drivers/isdn/teles/card.chsp->st->l4.l1writewakeup(hsp->st);
hsp486drivers/isdn/teles/card.cif (!BufQueueUnlink(&hsp->xmtibh, &hsp->sq)) {
hsp487drivers/isdn/teles/card.chsp->releasebuf = !0;
hsp488drivers/isdn/teles/card.chscx_fill_fifo(hsp);
hsp490drivers/isdn/teles/card.chscx_sched_event(hsp, HSCX_XMTBUFREADY);
hsp676drivers/isdn/teles/card.cstruct HscxState     *hsp;
hsp687drivers/isdn/teles/card.chsp = sp->hs + 1;
hsp690drivers/isdn/teles/card.c(long) hsp->xmtibh,
hsp691drivers/isdn/teles/card.c(long) hsp->rcvibh);
hsp943drivers/isdn/teles/card.chscx_process_xmt(struct HscxState *hsp)
hsp945drivers/isdn/teles/card.cstruct PStack  *st = hsp->st;
hsp947drivers/isdn/teles/card.cif (hsp->xmtibh)
hsp954drivers/isdn/teles/card.cif (!hsp->active)
hsp955drivers/isdn/teles/card.cif ((!hsp->xmtibh) && (!hsp->sq.head))
hsp956drivers/isdn/teles/card.cmodehscx(hsp, 0, 0);
hsp960drivers/isdn/teles/card.chscx_process_rcv(struct HscxState *hsp)
hsp965drivers/isdn/teles/card.cif (hsp->magic != 301270) {
hsp970drivers/isdn/teles/card.cwhile (!BufQueueUnlink(&ibh, &hsp->rq)) {
hsp971drivers/isdn/teles/card.chsp->st->l1.l1l2(hsp->st, PH_DATA, ibh);
hsp976drivers/isdn/teles/card.chscx_bh(struct HscxState *hsp)
hsp979drivers/isdn/teles/card.cif (!hsp)
hsp982drivers/isdn/teles/card.cif (clear_bit(HSCX_RCVBUFREADY, &hsp->event))
hsp983drivers/isdn/teles/card.chscx_process_rcv(hsp);
hsp984drivers/isdn/teles/card.cif (clear_bit(HSCX_XMTBUFREADY, &hsp->event))
hsp985drivers/isdn/teles/card.chscx_process_xmt(hsp);
hsp1442drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + hscx;
hsp1444drivers/isdn/teles/card.chsp->sp = sp;
hsp1445drivers/isdn/teles/card.chsp->hscx = hscx;
hsp1446drivers/isdn/teles/card.chsp->membase = sp->membase;
hsp1447drivers/isdn/teles/card.chsp->iobase = sp->iobase;
hsp1449drivers/isdn/teles/card.chsp->tqueue.next = 0;
hsp1450drivers/isdn/teles/card.chsp->tqueue.sync = 0;
hsp1451drivers/isdn/teles/card.chsp->tqueue.routine = (void *) (void *) hscx_bh;
hsp1452drivers/isdn/teles/card.chsp->tqueue.data = hsp;
hsp1454drivers/isdn/teles/card.chsp->inuse = 0;
hsp1455drivers/isdn/teles/card.chsp->init = 0;
hsp1456drivers/isdn/teles/card.chsp->active = 0;
hsp1459drivers/isdn/teles/card.chsp->magic = 301270;
hsp1649drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + st->l1.hscx;
hsp1653drivers/isdn/teles/card.cif (hsp->xmtibh)
hsp1654drivers/isdn/teles/card.cBufQueueLink(&hsp->sq, ibh);
hsp1656drivers/isdn/teles/card.chsp->xmtibh = ibh;
hsp1657drivers/isdn/teles/card.chsp->sendptr = 0;
hsp1658drivers/isdn/teles/card.chsp->releasebuf = !0;
hsp1659drivers/isdn/teles/card.chscx_fill_fifo(hsp);
hsp1663drivers/isdn/teles/card.cif (hsp->xmtibh) {
hsp1667drivers/isdn/teles/card.chsp->xmtibh = ibh;
hsp1668drivers/isdn/teles/card.chsp->sendptr = 0;
hsp1669drivers/isdn/teles/card.chsp->releasebuf = 0;
hsp1670drivers/isdn/teles/card.chscx_fill_fifo(hsp);
hsp1673drivers/isdn/teles/card.cif (!hsp->xmtibh) {
hsp1691drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + st->l1.hscx;
hsp1694drivers/isdn/teles/card.cif (hsp->magic != 301270) {
hsp1700drivers/isdn/teles/card.cBufQueueDiscard(&hsp->sq, pr, heldby, releasetoo);
hsp1707drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + hscx;
hsp1709drivers/isdn/teles/card.cif (!hsp->init) {
hsp1710drivers/isdn/teles/card.cBufPoolInit(&hsp->sbufpool, HSCX_SBUF_ORDER, HSCX_SBUF_BPPS,
hsp1712drivers/isdn/teles/card.cBufPoolInit(&hsp->rbufpool, HSCX_RBUF_ORDER, HSCX_RBUF_BPPS,
hsp1714drivers/isdn/teles/card.cBufPoolInit(&hsp->smallpool, HSCX_SMALLBUF_ORDER, HSCX_SMALLBUF_BPPS,
hsp1717drivers/isdn/teles/card.chsp->init = !0;
hsp1719drivers/isdn/teles/card.cBufQueueInit(&hsp->rq);
hsp1720drivers/isdn/teles/card.cBufQueueInit(&hsp->sq);
hsp1722drivers/isdn/teles/card.chsp->releasebuf = 0;
hsp1723drivers/isdn/teles/card.chsp->rcvibh = NULL;
hsp1724drivers/isdn/teles/card.chsp->xmtibh = NULL;
hsp1725drivers/isdn/teles/card.chsp->rcvptr = 0;
hsp1726drivers/isdn/teles/card.chsp->sendptr = 0;
hsp1727drivers/isdn/teles/card.chsp->event = 0;
hsp1737drivers/isdn/teles/card.cstruct HscxState *hsp = sp->hs + st->l1.hscx;
hsp1741drivers/isdn/teles/card.chsp->active = !0;
hsp1742drivers/isdn/teles/card.cmodehscx(hsp, st->l1.hscxmode, st->l1.hscxchannel);
hsp1746drivers/isdn/teles/card.cif (!hsp->xmtibh)
hsp1747drivers/isdn/teles/card.cmodehscx(hsp, 0, 0);
hsp1749drivers/isdn/teles/card.chsp->active = 0;