ipac 104 drivers/isdn/hardware/mISDN/mISDNinfineon.c struct ipac_hw ipac; ipac 226 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.isac.dch.debug = debug; ipac 227 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.hscx[0].bch.debug = debug; ipac 228 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.hscx[1].bch.debug = debug; ipac 277 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 295 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 314 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 332 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 351 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 363 drivers/isdn/hardware/mISDN/mISDNinfineon.c ret = mISDNipac_irq(&hw->ipac, irqloops); ipac 375 drivers/isdn/hardware/mISDN/mISDNinfineon.c val = hw->ipac.read_reg(hw, IPAC_ISTA); ipac 381 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_irq(&hw->ipac, irqloops); ipac 473 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_POTA2, 0x20); ipac 475 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_POTA2, 0x00); ipac 477 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_CONF, hw->ipac.conf); ipac 478 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_MASK, 0xc0); ipac 519 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_ACFG, 0xff); ipac 520 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_AOE, 0x00); ipac 521 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_PCFG, 0x12); ipac 526 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_ACFG, 0x00); ipac 527 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_AOE, 0x3c); ipac 528 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_ATX, 0xff); ipac 550 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.adf2 = 0x87; ipac 551 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.hscx[0].slot = 0x1f; ipac 552 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.hscx[1].slot = 0x23; ipac 563 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_ACFG, 0xff); ipac 564 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.write_reg(hw, IPAC_AOE, 0x00); ipac 565 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.conf = 0x01; /* IOM off */ ipac 607 drivers/isdn/hardware/mISDN/mISDNinfineon.c ret = hw->ipac.init(&hw->ipac); ipac 716 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_ISAC | IPAC_TYPE_HSCX; ipac 725 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 726 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 733 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPACX; ipac 741 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 742 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 757 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 758 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 767 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_ISAC | IPAC_TYPE_HSCX; ipac 776 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 777 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 786 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 787 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 796 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 797 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 806 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 807 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 816 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_ISAC | IPAC_TYPE_HSCX; ipac 817 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 824 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.type = IPAC_TYPE_IPAC; ipac 825 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->ipac.isac.off = 0x80; ipac 838 drivers/isdn/hardware/mISDN/mISDNinfineon.c ASSIGN_FUNC_IPAC(MIO, hw->ipac); ipac 841 drivers/isdn/hardware/mISDN/mISDNinfineon.c ASSIGN_FUNC_IPAC(IND, hw->ipac); ipac 844 drivers/isdn/hardware/mISDN/mISDNinfineon.c ASSIGN_FUNC_IPAC(IO, hw->ipac); ipac 860 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.isac.release(&card->ipac.isac); ipac 862 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDN_unregister_device(&card->ipac.isac.dch.dev); ipac 901 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.isac.name = card->name; ipac 902 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.name = card->name; ipac 903 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.owner = THIS_MODULE; ipac 905 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.isac.hwlock = &card->lock; ipac 906 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.hwlock = &card->lock; ipac 907 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.ctrl = (void *)&inf_ctrl; ipac 913 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.isac.dch.dev.Bprotocols = ipac 914 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDNipac_init(&card->ipac, card); ipac 916 drivers/isdn/hardware/mISDN/mISDNinfineon.c if (card->ipac.isac.dch.dev.Bprotocols == 0) ipac 919 drivers/isdn/hardware/mISDN/mISDNinfineon.c err = mISDN_register_device(&card->ipac.isac.dch.dev, ipac 930 drivers/isdn/hardware/mISDN/mISDNinfineon.c mISDN_unregister_device(&card->ipac.isac.dch.dev); ipac 932 drivers/isdn/hardware/mISDN/mISDNinfineon.c card->ipac.release(&card->ipac); ipac 1148 drivers/isdn/hardware/mISDN/mISDNipac.c mISDNipac_irq(struct ipac_hw *ipac, int maxloop) ipac 1152 drivers/isdn/hardware/mISDN/mISDNipac.c struct isac_hw *isac = &ipac->isac; ipac 1154 drivers/isdn/hardware/mISDN/mISDNipac.c if (ipac->type & IPAC_TYPE_IPACX) { ipac 1155 drivers/isdn/hardware/mISDN/mISDNipac.c ista = ReadIPAC(ipac, ISACX_ISTA); ipac 1157 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: ISTA %02x\n", ipac->name, ista); ipac 1159 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_irq(&ipac->hscx[0], ista); ipac 1161 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_irq(&ipac->hscx[1], ista); ipac 1163 drivers/isdn/hardware/mISDN/mISDNipac.c mISDNisac_irq(&ipac->isac, ista); ipac 1164 drivers/isdn/hardware/mISDN/mISDNipac.c ista = ReadIPAC(ipac, ISACX_ISTA); ipac 1166 drivers/isdn/hardware/mISDN/mISDNipac.c } else if (ipac->type & IPAC_TYPE_IPAC) { ipac 1167 drivers/isdn/hardware/mISDN/mISDNipac.c ista = ReadIPAC(ipac, IPAC_ISTA); ipac 1169 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: ISTA %02x\n", ipac->name, ista); ipac 1172 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: ISTAD %02x\n", ipac->name, istad); ipac 1174 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s TIN2 irq\n", ipac->name); ipac 1180 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_irq(&ipac->hscx[0], ista); ipac 1182 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_irq(&ipac->hscx[1], ista); ipac 1183 drivers/isdn/hardware/mISDN/mISDNipac.c ista = ReadIPAC(ipac, IPAC_ISTA); ipac 1185 drivers/isdn/hardware/mISDN/mISDNipac.c } else if (ipac->type & IPAC_TYPE_HSCX) { ipac 1187 drivers/isdn/hardware/mISDN/mISDNipac.c ista = ReadIPAC(ipac, IPAC_ISTAB + ipac->hscx[1].off); ipac 1188 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: B2 ISTA %02x\n", ipac->name, ista); ipac 1190 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_irq(&ipac->hscx[1], ista); ipac 1192 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: ISTAD %02x\n", ipac->name, istad); ipac 1202 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: %d irqloops cpu%d\n", ipac->name, ipac 1205 drivers/isdn/hardware/mISDN/mISDNipac.c pr_notice("%s: %d IRQ LOOP cpu%d\n", ipac->name, ipac 1418 drivers/isdn/hardware/mISDN/mISDNipac.c free_ipac(struct ipac_hw *ipac) ipac 1420 drivers/isdn/hardware/mISDN/mISDNipac.c isac_release(&ipac->isac); ipac 1453 drivers/isdn/hardware/mISDN/mISDNipac.c ipac_init(struct ipac_hw *ipac) ipac 1457 drivers/isdn/hardware/mISDN/mISDNipac.c if (ipac->type & IPAC_TYPE_HSCX) { ipac 1458 drivers/isdn/hardware/mISDN/mISDNipac.c hscx_init(&ipac->hscx[0]); ipac 1459 drivers/isdn/hardware/mISDN/mISDNipac.c hscx_init(&ipac->hscx[1]); ipac 1460 drivers/isdn/hardware/mISDN/mISDNipac.c val = ReadIPAC(ipac, IPAC_ID); ipac 1461 drivers/isdn/hardware/mISDN/mISDNipac.c } else if (ipac->type & IPAC_TYPE_IPAC) { ipac 1462 drivers/isdn/hardware/mISDN/mISDNipac.c hscx_init(&ipac->hscx[0]); ipac 1463 drivers/isdn/hardware/mISDN/mISDNipac.c hscx_init(&ipac->hscx[1]); ipac 1464 drivers/isdn/hardware/mISDN/mISDNipac.c WriteIPAC(ipac, IPAC_MASK, IPAC__ON); ipac 1465 drivers/isdn/hardware/mISDN/mISDNipac.c val = ReadIPAC(ipac, IPAC_CONF); ipac 1467 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: IPAC CONF %02x/%02x\n", ipac->name, ipac 1468 drivers/isdn/hardware/mISDN/mISDNipac.c val, ipac->conf); ipac 1469 drivers/isdn/hardware/mISDN/mISDNipac.c WriteIPAC(ipac, IPAC_CONF, ipac->conf); ipac 1470 drivers/isdn/hardware/mISDN/mISDNipac.c val = ReadIPAC(ipac, IPAC_ID); ipac 1471 drivers/isdn/hardware/mISDN/mISDNipac.c if (ipac->hscx[0].bch.debug & DEBUG_HW) ipac 1472 drivers/isdn/hardware/mISDN/mISDNipac.c pr_notice("%s: IPAC Design ID %02x\n", ipac->name, val); ipac 1475 drivers/isdn/hardware/mISDN/mISDNipac.c return isac_init(&ipac->isac); ipac 1479 drivers/isdn/hardware/mISDN/mISDNipac.c open_bchannel(struct ipac_hw *ipac, struct channel_req *rq) ipac 1487 drivers/isdn/hardware/mISDN/mISDNipac.c bch = &ipac->hscx[rq->adr.channel - 1].bch; ipac 1497 drivers/isdn/hardware/mISDN/mISDNipac.c channel_ctrl(struct ipac_hw *ipac, struct mISDN_ctrl_req *cq) ipac 1511 drivers/isdn/hardware/mISDN/mISDNipac.c ret = ipac->ctrl(ipac, HW_TESTLOOP, cq->channel); ipac 1514 drivers/isdn/hardware/mISDN/mISDNipac.c ret = ipac->isac.ctrl(&ipac->isac, HW_TIMER3_VALUE, cq->p1); ipac 1517 drivers/isdn/hardware/mISDN/mISDNipac.c pr_info("%s: unknown CTRL OP %x\n", ipac->name, cq->op); ipac 1530 drivers/isdn/hardware/mISDN/mISDNipac.c struct ipac_hw *ipac = container_of(isac, struct ipac_hw, isac); ipac 1534 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: DCTRL: %x %p\n", ipac->name, cmd, arg); ipac 1541 drivers/isdn/hardware/mISDN/mISDNipac.c err = open_bchannel(ipac, rq); ipac 1544 drivers/isdn/hardware/mISDN/mISDNipac.c if (!try_module_get(ipac->owner)) ipac 1545 drivers/isdn/hardware/mISDN/mISDNipac.c pr_info("%s: cannot get module\n", ipac->name); ipac 1548 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: dev(%d) close from %p\n", ipac->name, ipac 1550 drivers/isdn/hardware/mISDN/mISDNipac.c module_put(ipac->owner); ipac 1553 drivers/isdn/hardware/mISDN/mISDNipac.c err = channel_ctrl(ipac, arg); ipac 1556 drivers/isdn/hardware/mISDN/mISDNipac.c pr_debug("%s: unknown DCTRL command %x\n", ipac->name, cmd); ipac 1563 drivers/isdn/hardware/mISDN/mISDNipac.c mISDNipac_init(struct ipac_hw *ipac, void *hw) ipac 1568 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hw = hw; ipac 1569 drivers/isdn/hardware/mISDN/mISDNipac.c if (ipac->isac.dch.debug & DEBUG_HW) ipac 1570 drivers/isdn/hardware/mISDN/mISDNipac.c pr_notice("%s: ipac type %x\n", ipac->name, ipac->type); ipac 1571 drivers/isdn/hardware/mISDN/mISDNipac.c if (ipac->type & IPAC_TYPE_HSCX) { ipac 1572 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->isac.type = IPAC_TYPE_ISAC; ipac 1573 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].off = 0; ipac 1574 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].off = 0x40; ipac 1575 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].fifo_size = 32; ipac 1576 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].fifo_size = 32; ipac 1577 drivers/isdn/hardware/mISDN/mISDNipac.c } else if (ipac->type & IPAC_TYPE_IPAC) { ipac 1578 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->isac.type = IPAC_TYPE_IPAC | IPAC_TYPE_ISAC; ipac 1579 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].off = 0; ipac 1580 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].off = 0x40; ipac 1581 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].fifo_size = 64; ipac 1582 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].fifo_size = 64; ipac 1583 drivers/isdn/hardware/mISDN/mISDNipac.c } else if (ipac->type & IPAC_TYPE_IPACX) { ipac 1584 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->isac.type = IPAC_TYPE_IPACX | IPAC_TYPE_ISACX; ipac 1585 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].off = IPACX_OFF_ICA; ipac 1586 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].off = IPACX_OFF_ICB; ipac 1587 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[0].fifo_size = 64; ipac 1588 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[1].fifo_size = 64; ipac 1592 drivers/isdn/hardware/mISDN/mISDNipac.c mISDNisac_init(&ipac->isac, hw); ipac 1594 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->isac.dch.dev.D.ctrl = ipac_dctrl; ipac 1597 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].bch.nr = i + 1; ipac 1598 drivers/isdn/hardware/mISDN/mISDNipac.c set_channelmap(i + 1, ipac->isac.dch.dev.channelmap); ipac 1599 drivers/isdn/hardware/mISDN/mISDNipac.c list_add(&ipac->hscx[i].bch.ch.list, ipac 1600 drivers/isdn/hardware/mISDN/mISDNipac.c &ipac->isac.dch.dev.bchannels); ipac 1601 drivers/isdn/hardware/mISDN/mISDNipac.c mISDN_initbchannel(&ipac->hscx[i].bch, MAX_DATA_MEM, ipac 1602 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].fifo_size); ipac 1603 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].bch.ch.nr = i + 1; ipac 1604 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].bch.ch.send = &hscx_l2l1; ipac 1605 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].bch.ch.ctrl = hscx_bctrl; ipac 1606 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].bch.hw = hw; ipac 1607 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].ip = ipac; ipac 1610 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->hscx[i].slot = (i == 0) ? 0x2f : 0x03; ipac 1613 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->init = ipac_init; ipac 1614 drivers/isdn/hardware/mISDN/mISDNipac.c ipac->release = free_ipac;