Lines Matching refs:avm
88 outb(idx, cs->hw.avm.cfg_reg + 4); in ReadISAC()
89 val = inb(cs->hw.avm.isac + (offset & 0xf)); in ReadISAC()
102 outb(idx, cs->hw.avm.cfg_reg + 4); in WriteISAC()
103 outb(value, cs->hw.avm.isac + (offset & 0xf)); in WriteISAC()
110 outb(AVM_ISAC_FIFO, cs->hw.avm.cfg_reg + 4); in ReadISACfifo()
111 insb(cs->hw.avm.isac, data, size); in ReadISACfifo()
117 outb(AVM_ISAC_FIFO, cs->hw.avm.cfg_reg + 4); in WriteISACfifo()
118 outsb(cs->hw.avm.isac, data, size); in WriteISACfifo()
130 outl(idx, cs->hw.avm.cfg_reg + 4); in ReadHDLCPCI()
131 val = inl(cs->hw.avm.isac + offset); in ReadHDLCPCI()
144 outl(idx, cs->hw.avm.cfg_reg + 4); in WriteHDLCPCI()
145 outl(value, cs->hw.avm.isac + offset); in WriteHDLCPCI()
158 outb(idx, cs->hw.avm.cfg_reg + 4); in ReadHDLCPnP()
159 val = inb(cs->hw.avm.isac + offset); in ReadHDLCPnP()
172 outb(idx, cs->hw.avm.cfg_reg + 4); in WriteHDLCPnP()
173 outb(value, cs->hw.avm.isac + offset); in WriteHDLCPnP()
298 outl(idx, cs->hw.avm.cfg_reg + 4); in hdlc_empty_fifo()
302 *ptr++ = in_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); in hdlc_empty_fifo()
304 *ptr++ = in_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); in hdlc_empty_fifo()
307 *ptr++ = inl(cs->hw.avm.isac); in hdlc_empty_fifo()
312 outb(idx, cs->hw.avm.cfg_reg + 4); in hdlc_empty_fifo()
314 *p++ = inb(cs->hw.avm.isac); in hdlc_empty_fifo()
367 out_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); in hdlc_fill_fifo()
369 out_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); in hdlc_fill_fifo()
372 outl(*ptr++, cs->hw.avm.isac); in hdlc_fill_fifo()
378 outb(*p++, cs->hw.avm.isac); in hdlc_fill_fifo()
705 sval = inb(cs->hw.avm.cfg_reg + 2); in avm_pcipnp_interrupt()
728 outb(AVM_STATUS0_RESET | AVM_STATUS0_DIS_TIMER, cs->hw.avm.cfg_reg + 2); in reset_avmpcipnp()
731 outb(AVM_STATUS0_DIS_TIMER | AVM_STATUS0_RES_TIMER | AVM_STATUS0_ENA_IRQ, cs->hw.avm.cfg_reg + 2); in reset_avmpcipnp()
732 outb(AVM_STATUS1_ENA_IOM | cs->irq, cs->hw.avm.cfg_reg + 3); in reset_avmpcipnp()
735 printk(KERN_INFO "AVM PCI/PnP: S1 %x\n", inb(cs->hw.avm.cfg_reg + 3)); in reset_avmpcipnp()
746 outb(0, cs->hw.avm.cfg_reg + 2); in AVM_card_msg()
747 release_region(cs->hw.avm.cfg_reg, 32); in AVM_card_msg()
755 cs->hw.avm.cfg_reg + 2); in AVM_card_msg()
758 AVM_STATUS0_ENA_IRQ, cs->hw.avm.cfg_reg + 2); in AVM_card_msg()
787 cs->hw.avm.cfg_reg = card->para[1]; in setup_avm_pcipnp()
805 cs->hw.avm.cfg_reg = in setup_avm_pcipnp()
814 if (!cs->hw.avm.cfg_reg) { in setup_avm_pcipnp()
841 cs->hw.avm.cfg_reg = pci_resource_start(dev_avm, 1); in setup_avm_pcipnp()
842 if (!cs->hw.avm.cfg_reg) { in setup_avm_pcipnp()
858 cs->hw.avm.isac = cs->hw.avm.cfg_reg + 0x10; in setup_avm_pcipnp()
859 if (check_region((cs->hw.avm.cfg_reg), 32)) { in setup_avm_pcipnp()
863 cs->hw.avm.cfg_reg, in setup_avm_pcipnp()
864 cs->hw.avm.cfg_reg + 31); in setup_avm_pcipnp()
867 request_region(cs->hw.avm.cfg_reg, 32, in setup_avm_pcipnp()
872 val = inl(cs->hw.avm.cfg_reg); in setup_avm_pcipnp()
880 val = inb(cs->hw.avm.cfg_reg); in setup_avm_pcipnp()
881 ver = inb(cs->hw.avm.cfg_reg + 1); in setup_avm_pcipnp()
893 cs->irq, cs->hw.avm.cfg_reg); in setup_avm_pcipnp()