tag | line | file | source code |
iobase | 726 | drivers/char/istallion.c | release_region(brdp->iobase, ECP_IOSIZE); |
iobase | 728 | drivers/char/istallion.c | release_region(brdp->iobase, ONB_IOSIZE); |
iobase | 1707 | drivers/char/istallion.c | sio.port = brdp->iobase; |
iobase | 2821 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2823 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2827 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_ATMEMAR)); |
iobase | 2837 | drivers/char/istallion.c | outb(ECP_ATENABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2847 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2869 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_ATMEMPR)); |
iobase | 2881 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2883 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2894 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 2911 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 2912 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 2914 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2918 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARL)); |
iobase | 2920 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARH)); |
iobase | 2927 | drivers/char/istallion.c | outb(ECP_EIENABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2934 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2959 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_EICONFR)); |
iobase | 2967 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 2969 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2981 | drivers/char/istallion.c | outb(ECP_MCENABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 2988 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3006 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3014 | drivers/char/istallion.c | outb(ECP_MCSTOP, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3016 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3035 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3037 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3042 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_ATMEMAR)); |
iobase | 3043 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3054 | drivers/char/istallion.c | outb((brdp->enabval | ONB_ATENABLE), (brdp->iobase + ONB_ATCONFR)); |
iobase | 3064 | drivers/char/istallion.c | outb((brdp->enabval | ONB_ATDISABLE), (brdp->iobase + ONB_ATCONFR)); |
iobase | 3096 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3098 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3118 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3119 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3121 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3126 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARL)); |
iobase | 3128 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARH)); |
iobase | 3129 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3140 | drivers/char/istallion.c | outb(ONB_EIENABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3150 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3175 | drivers/char/istallion.c | outb(val, (brdp->iobase + ONB_EICONFR)); |
iobase | 3189 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3191 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3210 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3212 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3215 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3238 | drivers/char/istallion.c | outb(val, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3252 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3254 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3273 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3310 | drivers/char/istallion.c | outb(0, brdp->iobase); |
iobase | 3336 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3444 | drivers/char/istallion.c | request_region(brdp->iobase, ECP_IOSIZE, "serial(ECP)"); |
iobase | 3469 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3594 | drivers/char/istallion.c | request_region(brdp->iobase, ONB_IOSIZE, "serial(ONB/BBY)"); |
iobase | 3754 | drivers/char/istallion.c | printk("STALLION: %s board not found, unit=%d io=%x mem=%x\n", stli_brdnames[brdp->brdtype], brdp->brdnr, brdp->iobase, (int) brdp->memaddr); |
iobase | 3759 | drivers/char/istallion.c | printk("STALLION: %s found, unit=%d io=%x mem=%x nrpanels=%d nrports=%d\n", stli_brdnames[brdp->brdtype], brdp->brdnr, brdp->iobase, (int) brdp->memaddr, brdp->nrpanels, brdp->nrports); |
iobase | 3787 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 3788 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3790 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3794 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3795 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3797 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3800 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3852 | drivers/char/istallion.c | printk("STALLION: failed to probe shared memory region for %s in EISA slot=%d\n", stli_brdnames[brdp->brdtype], (brdp->iobase >> 12)); |
iobase | 3873 | drivers/char/istallion.c | unsigned int iobase, eid; |
iobase | 3892 | drivers/char/istallion.c | for (iobase = 0x1000; (iobase <= 0xc000); iobase += 0x1000) { |
iobase | 3893 | drivers/char/istallion.c | outb(0xff, (iobase + 0xc80)); |
iobase | 3894 | drivers/char/istallion.c | eid = inb(iobase + 0xc80); |
iobase | 3895 | drivers/char/istallion.c | eid |= inb(iobase + 0xc81) << 8; |
iobase | 3907 | drivers/char/istallion.c | if (brdp->iobase == iobase) |
iobase | 3935 | drivers/char/istallion.c | eid = inb(iobase + 0xc82); |
iobase | 3942 | drivers/char/istallion.c | brdp->iobase = iobase; |
iobase | 3943 | drivers/char/istallion.c | outb(0x1, (iobase + 0xc84)); |
iobase | 3945 | drivers/char/istallion.c | outb(0, (iobase + 0xc84)); |
iobase | 3990 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 4163 | drivers/char/istallion.c | stli_brdstats.ioaddr = brdp->iobase; |
iobase | 1858 | drivers/char/riscom8.c | int iobase = 0; |
iobase | 1872 | drivers/char/riscom8.c | if (iobase || iobase1 || iobase2 || iobase3) { |
iobase | 1877 | drivers/char/riscom8.c | if (iobase) |
iobase | 1878 | drivers/char/riscom8.c | rc_board[0].base = iobase; |
iobase | 1753 | drivers/char/stallion.c | int i, panelnr, iobase; |
iobase | 1780 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1781 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1782 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1784 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1785 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1795 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1796 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1799 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1800 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1808 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1809 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1810 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1811 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1813 | drivers/char/stallion.c | iobase = brdp->ioaddr2; |
iobase | 1817 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1821 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1829 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1830 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1831 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1832 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1840 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1841 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1844 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1845 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1853 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1854 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1855 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1856 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1869 | drivers/char/stallion.c | stl_rxisr(panelp, iobase); |
iobase | 1871 | drivers/char/stallion.c | stl_txisr(panelp, iobase); |
iobase | 1873 | drivers/char/stallion.c | stl_mdmisr(panelp, iobase); |
iobase | 2413 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2415 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1)); |
iobase | 2442 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2446 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2448 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3)); |
iobase | 2547 | drivers/char/stallion.c | panelp->iobase = brdp->ioaddr1; |
iobase | 2652 | drivers/char/stallion.c | panelp->iobase = ioaddr; |
iobase | 40 | drivers/isdn/teles/card.c | readisac_3(int iobase, byte offset) |
iobase | 42 | drivers/isdn/teles/card.c | return (bytein(iobase - 0x420 + offset)); |
iobase | 55 | drivers/isdn/teles/card.c | writeisac_3(int iobase, byte offset, byte value) |
iobase | 57 | drivers/isdn/teles/card.c | byteout(iobase - 0x420 + offset, value); |
iobase | 64 | drivers/isdn/teles/card.c | readisac_s(int iobase, byte offset, byte * dest, int count) |
iobase | 66 | drivers/isdn/teles/card.c | insb(iobase - 0x420 + offset, dest, count); |
iobase | 70 | drivers/isdn/teles/card.c | writeisac_s(int iobase, byte offset, byte * src, int count) |
iobase | 72 | drivers/isdn/teles/card.c | outsb(iobase - 0x420 + offset, src, count); |
iobase | 83 | drivers/isdn/teles/card.c | readhscx_3(int iobase, byte hscx, byte offset) |
iobase | 85 | drivers/isdn/teles/card.c | return (bytein(iobase - (hscx ? 0x820 : 0xc20) + offset)); |
iobase | 99 | drivers/isdn/teles/card.c | writehscx_3(int iobase, byte hscx, byte offset, byte data) |
iobase | 101 | drivers/isdn/teles/card.c | byteout(iobase - (hscx ? 0x820 : 0xc20) + offset, data); |
iobase | 105 | drivers/isdn/teles/card.c | readhscx_s(int iobase, byte hscx, byte offset, byte * dest, int count) |
iobase | 107 | drivers/isdn/teles/card.c | insb(iobase - (hscx ? 0x820 : 0xc20) + offset, dest, count); |
iobase | 111 | drivers/isdn/teles/card.c | writehscx_s(int iobase, byte hscx, byte offset, byte * src, int count) |
iobase | 113 | drivers/isdn/teles/card.c | outsb(iobase - (hscx ? 0x820 : 0xc20) + offset, src, count); |
iobase | 171 | drivers/isdn/teles/card.c | waitforCEC_3(int iobase, byte hscx) |
iobase | 175 | drivers/isdn/teles/card.c | while ((readhscx_3(iobase, hscx, HSCX_STAR) & 0x04) && to) { |
iobase | 199 | drivers/isdn/teles/card.c | waitforXFW_3(int iobase, byte hscx) |
iobase | 203 | drivers/isdn/teles/card.c | waitforCEC_3(iobase, hscx); |
iobase | 205 | drivers/isdn/teles/card.c | while ((!(readhscx_3(iobase, hscx, HSCX_STAR) & 0x40)) && to) { |
iobase | 226 | drivers/isdn/teles/card.c | writehscxCMDR_3(int iobase, byte hscx, byte data) |
iobase | 232 | drivers/isdn/teles/card.c | waitforCEC_3(iobase, hscx); |
iobase | 233 | drivers/isdn/teles/card.c | writehscx_3(iobase, hscx, HSCX_CMDR, data); |
iobase | 263 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " ISTA %x\n", readhscx_3(sp->iobase, |
iobase | 265 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " STAR %x\n", readhscx_3(sp->iobase, |
iobase | 267 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " EXIR %x\n", readhscx_3(sp->iobase, |
iobase | 284 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " ISTA %x\n", readisac_3(sp->iobase, |
iobase | 286 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " STAR %x\n", readisac_3(sp->iobase, |
iobase | 288 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " EXIR %x\n", readisac_3(sp->iobase, |
iobase | 320 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, 0x80); |
iobase | 332 | drivers/isdn/teles/card.c | readhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
iobase | 333 | drivers/isdn/teles/card.c | writehscxCMDR_3(hsp->iobase, hsp->hscx, 0x80); |
iobase | 396 | drivers/isdn/teles/card.c | waitforXFW_3(hsp->iobase, hsp->hscx); |
iobase | 397 | drivers/isdn/teles/card.c | writehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
iobase | 398 | drivers/isdn/teles/card.c | writehscxCMDR_3(hsp->iobase, hsp->hscx, more ? 0x8 : 0xa); |
iobase | 414 | drivers/isdn/teles/card.c | r = READHSCX(hsp->membase, sp->iobase, hsp->hscx, HSCX_RSTA); |
iobase | 426 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, |
iobase | 436 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, |
iobase | 442 | drivers/isdn/teles/card.c | count = READHSCX(hsp->membase, sp->iobase, hsp->hscx, |
iobase | 460 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, |
iobase | 544 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 549 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 551 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_CMDR, 0x80); |
iobase | 601 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 607 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 609 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_CMDR, more ? 0x8 : 0xa); |
iobase | 631 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_CIX0, (command << 2) | 3); |
iobase | 687 | drivers/isdn/teles/card.c | val = READHSCX(sp->membase, sp->iobase, 1, HSCX_ISTA); |
iobase | 692 | drivers/isdn/teles/card.c | READHSCX(sp->membase, sp->iobase, 1, HSCX_EXIR), |
iobase | 703 | drivers/isdn/teles/card.c | READHSCX(sp->membase, sp->iobase, 0, HSCX_EXIR)); |
iobase | 716 | drivers/isdn/teles/card.c | val2 = readhscx_3(sp->iobase, 0, HSCX_ISTA); |
iobase | 728 | drivers/isdn/teles/card.c | val = READISAC(sp->membase, sp->iobase, ISAC_ISTA); |
iobase | 735 | drivers/isdn/teles/card.c | r = READISAC(sp->membase, sp->iobase, ISAC_RSTA); |
iobase | 744 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_CMDR, 0x80); |
iobase | 753 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, |
iobase | 759 | drivers/isdn/teles/card.c | count = READISAC(sp->membase, sp->iobase, ISAC_RBCL) & 0x1f; |
iobase | 776 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, |
iobase | 805 | drivers/isdn/teles/card.c | sp->ph_state = (READISAC(sp->membase, sp->iobase, ISAC_CIX0) |
iobase | 818 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_MASK, 0xFF); |
iobase | 819 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 0, HSCX_MASK, 0xFF); |
iobase | 820 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 1, HSCX_MASK, 0xFF); |
iobase | 821 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_MASK, 0x0); |
iobase | 822 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 0, HSCX_MASK, 0x0); |
iobase | 823 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 1, HSCX_MASK, 0x0); |
iobase | 1011 | drivers/isdn/teles/card.c | initisac(byte * cardmem, int iobase) |
iobase | 1023 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_MASK, 0xff); |
iobase | 1024 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF2, 0x80); |
iobase | 1025 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_SQXR, 0x2f); |
iobase | 1026 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_SPCR, 0x00); |
iobase | 1027 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF1, 0x02); |
iobase | 1028 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_STCR, 0x70); |
iobase | 1029 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_MODE, 0xc9); |
iobase | 1030 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_TIMR, 0x00); |
iobase | 1031 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF1, 0x00); |
iobase | 1032 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_CMDR, 0x41); |
iobase | 1033 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_CIX0, (1 << 2) | 3); |
iobase | 1044 | drivers/isdn/teles/card.c | if (!card->iobase) { |
iobase | 1056 | drivers/isdn/teles/card.c | switch (card->iobase) { |
iobase | 1061 | drivers/isdn/teles/card.c | card->iobase, (card->iobase | 0xc00)); |
iobase | 1062 | drivers/isdn/teles/card.c | card->iobase |= 0xc00; |
iobase | 1065 | drivers/isdn/teles/card.c | if (check_region(card->iobase, 8)) { |
iobase | 1068 | drivers/isdn/teles/card.c | card->iobase, |
iobase | 1069 | drivers/isdn/teles/card.c | card->iobase + 8 ); |
iobase | 1104 | drivers/isdn/teles/card.c | if (bytein(card->iobase + 0) != 0x51) { |
iobase | 1106 | drivers/isdn/teles/card.c | card->iobase + 0, |
iobase | 1107 | drivers/isdn/teles/card.c | bytein(card->iobase + 0)); |
iobase | 1110 | drivers/isdn/teles/card.c | if (bytein(card->iobase + 1) != 0x93) { |
iobase | 1112 | drivers/isdn/teles/card.c | card->iobase + 1, |
iobase | 1113 | drivers/isdn/teles/card.c | bytein(card->iobase + 1)); |
iobase | 1116 | drivers/isdn/teles/card.c | val = bytein(card->iobase + 2); /* 0x1e=without AB |
iobase | 1121 | drivers/isdn/teles/card.c | card->iobase + 2, |
iobase | 1122 | drivers/isdn/teles/card.c | bytein(card->iobase + 2)); |
iobase | 1126 | drivers/isdn/teles/card.c | request_region(card->iobase, 8, "teles"); |
iobase | 1129 | drivers/isdn/teles/card.c | byteout(card->iobase + 4, cfval); |
iobase | 1135 | drivers/isdn/teles/card.c | byteout(card->iobase + 4, cfval | 1); |
iobase | 1142 | drivers/isdn/teles/card.c | card->iobase, (long) card->membase, |
iobase | 1149 | drivers/isdn/teles/card.c | card->iobase, card->interrupt, |
iobase | 1153 | drivers/isdn/teles/card.c | READHSCX(card->membase, card->iobase, 0, |
iobase | 1155 | drivers/isdn/teles/card.c | READHSCX(card->membase, card->iobase, 1, |
iobase | 1241 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR1, 0x85); |
iobase | 1242 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XAD1, 0xFF); |
iobase | 1243 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XAD2, 0xFF); |
iobase | 1244 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RAH2, 0xFF); |
iobase | 1245 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XBCH, 0x00); |
iobase | 1246 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RLCR, 0x00); |
iobase | 1250 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1251 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0xff); |
iobase | 1252 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0xff); |
iobase | 1253 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1254 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1255 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0x84); |
iobase | 1259 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1260 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f); |
iobase | 1261 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f); |
iobase | 1262 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1263 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1265 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1266 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3); |
iobase | 1267 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3); |
iobase | 1268 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1269 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1271 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0xe4); |
iobase | 1272 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41); |
iobase | 1276 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1277 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f); |
iobase | 1278 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f); |
iobase | 1279 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1280 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1282 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1283 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3); |
iobase | 1284 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3); |
iobase | 1285 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1286 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1288 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0x8c); |
iobase | 1289 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41); |
iobase | 1292 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_ISTA, 0x00); |
iobase | 1450 | drivers/isdn/teles/card.c | hsp->iobase = sp->iobase; |
iobase | 1477 | drivers/isdn/teles/card.c | sp->iobase = card->iobase; |
iobase | 1489 | drivers/isdn/teles/card.c | initisac(card->membase, card->iobase); |
iobase | 1524 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_MASK, 0x0); |
iobase | 1586 | drivers/isdn/teles/card.c | if (cards[cardnr].iobase) |
iobase | 1587 | drivers/isdn/teles/card.c | release_region(cards[cardnr].iobase, 8); |
iobase | 1625 | drivers/isdn/teles/card.c | release_region(cards[i].iobase, 8); |
iobase | 1627 | drivers/isdn/teles/card.c | printk(KERN_WARNING "NO Teles card found at 0x%x!\n", cards[i].iobase); |
iobase | 19 | drivers/isdn/teles/mod.c | unsigned int iobase; |
iobase | 68 | drivers/isdn/teles/mod.c | io[i].iobase = ints[j]; |
iobase | 102 | drivers/isdn/teles/mod.c | cards[i].iobase = io[i].iobase; |
iobase | 306 | drivers/isdn/teles/teles.h | int iobase; |
iobase | 329 | drivers/isdn/teles/teles.h | int iobase; |
iobase | 352 | drivers/isdn/teles/teles.h | unsigned int iobase; |
iobase | 242 | drivers/net/3c509.c | unsigned short iobase = id_read_eeprom(8); |
iobase | 243 | drivers/net/3c509.c | if_port = iobase >> 14; |
iobase | 244 | drivers/net/3c509.c | ioaddr = 0x200 + ((iobase & 0x1f) << 4); |
iobase | 219 | drivers/net/atarilance.c | struct lance_ioreg *iobase; |
iobase | 514 | drivers/net/atarilance.c | IO = lp->iobase = (struct lance_ioreg *)ioaddr; |
iobase | 626 | drivers/net/atarilance.c | struct lance_ioreg *IO = lp->iobase; |
iobase | 716 | drivers/net/atarilance.c | struct lance_ioreg *IO = lp->iobase; |
iobase | 861 | drivers/net/atarilance.c | IO = lp->iobase; |
iobase | 1053 | drivers/net/atarilance.c | struct lance_ioreg *IO = lp->iobase; |
iobase | 1090 | drivers/net/atarilance.c | struct lance_ioreg *IO = lp->iobase; |
iobase | 566 | drivers/net/de4x5.c | static int de4x5_hw_init(struct device *dev, u_long iobase); |
iobase | 609 | drivers/net/de4x5.c | static void DevicePresent(u_long iobase); |
iobase | 633 | drivers/net/de4x5.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 634 | drivers/net/de4x5.c | static void pci_probe(struct device *dev, u_long iobase); |
iobase | 635 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 685 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 687 | drivers/net/de4x5.c | eisa_probe(dev, iobase); |
iobase | 688 | drivers/net/de4x5.c | pci_probe(dev, iobase); |
iobase | 690 | drivers/net/de4x5.c | if ((tmp == num_de4x5s) && (iobase != 0) && loading_module) { |
iobase | 692 | drivers/net/de4x5.c | iobase); |
iobase | 702 | drivers/net/de4x5.c | if (iobase == 0) autoprobed = 1; |
iobase | 708 | drivers/net/de4x5.c | de4x5_hw_init(struct device *dev, u_long iobase) |
iobase | 740 | drivers/net/de4x5.c | dev->base_addr = iobase; |
iobase | 743 | drivers/net/de4x5.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 746 | drivers/net/de4x5.c | iobase, lp->bus_num, lp->device); |
iobase | 852 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
iobase | 913 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 998 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1071 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1153 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1160 | drivers/net/de4x5.c | iobase = dev->base_addr; |
iobase | 1302 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1375 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 1398 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1439 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1469 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1502 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1564 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1573 | drivers/net/de4x5.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1577 | drivers/net/de4x5.c | iobase = ioaddr; |
iobase | 1582 | drivers/net/de4x5.c | for (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1593 | drivers/net/de4x5.c | outl(iobase, PCI_CBIO); |
iobase | 1595 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_EISA_TOTAL_SIZE) == 0) { |
iobase | 1596 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1597 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1603 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name,iobase); |
iobase | 1633 | drivers/net/de4x5.c | u_int iobase; |
iobase | 1668 | drivers/net/de4x5.c | pcibios_read_config_dword(pb, PCI_DEVICE, PCI_BASE_ADDRESS_0, &iobase); |
iobase | 1669 | drivers/net/de4x5.c | iobase &= CBIO_MASK; |
iobase | 1686 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_PCI_TOTAL_SIZE) == 0) { |
iobase | 1687 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1689 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1696 | drivers/net/de4x5.c | (u_short)iobase); |
iobase | 1709 | drivers/net/de4x5.c | alloc_device(struct device *dev, u_long iobase) |
iobase | 1758 | drivers/net/de4x5.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1821 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1857 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2014 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2220 | drivers/net/de4x5.c | int ana, anlpa, cap, cr, slnk, sr, iobase = dev->base_addr; |
iobase | 2372 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2394 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2415 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2451 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2473 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 2502 | drivers/net/de4x5.c | int test, iobase = dev->base_addr; |
iobase | 2525 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2543 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2558 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2573 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2590 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2719 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2741 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2761 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2848 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2876 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2897 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 3054 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 3427 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3522 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3549 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3648 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3772 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 16 | drivers/net/de4x5.h | #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ |
iobase | 17 | drivers/net/de4x5.h | #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ |
iobase | 18 | drivers/net/de4x5.h | #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ |
iobase | 19 | drivers/net/de4x5.h | #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ |
iobase | 20 | drivers/net/de4x5.h | #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ |
iobase | 21 | drivers/net/de4x5.h | #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ |
iobase | 22 | drivers/net/de4x5.h | #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ |
iobase | 23 | drivers/net/de4x5.h | #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ |
iobase | 24 | drivers/net/de4x5.h | #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ |
iobase | 25 | drivers/net/de4x5.h | #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Ethernet Address PROM */ |
iobase | 26 | drivers/net/de4x5.h | #define DE4X5_BROM iobase+(0x048 << lp->bus) /* Boot ROM Register */ |
iobase | 27 | drivers/net/de4x5.h | #define DE4X5_SROM iobase+(0x048 << lp->bus) /* Serial ROM Register */ |
iobase | 28 | drivers/net/de4x5.h | #define DE4X5_MII iobase+(0x048 << lp->bus) /* MII Interface Register */ |
iobase | 29 | drivers/net/de4x5.h | #define DE4X5_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
iobase | 30 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
iobase | 31 | drivers/net/de4x5.h | #define DE4X5_GPT iobase+(0x058 << lp->bus) /* General Purpose Timer Reg.*/ |
iobase | 32 | drivers/net/de4x5.h | #define DE4X5_GEP iobase+(0x060 << lp->bus) /* General Purpose Register */ |
iobase | 33 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
iobase | 34 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
iobase | 35 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
iobase | 36 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
iobase | 41 | drivers/net/de4x5.h | #define EISA_ID iobase+0x0c80 /* EISA ID Registers */ |
iobase | 42 | drivers/net/de4x5.h | #define EISA_ID0 iobase+0x0c80 /* EISA ID Register 0 */ |
iobase | 43 | drivers/net/de4x5.h | #define EISA_ID1 iobase+0x0c81 /* EISA ID Register 1 */ |
iobase | 44 | drivers/net/de4x5.h | #define EISA_ID2 iobase+0x0c82 /* EISA ID Register 2 */ |
iobase | 45 | drivers/net/de4x5.h | #define EISA_ID3 iobase+0x0c83 /* EISA ID Register 3 */ |
iobase | 46 | drivers/net/de4x5.h | #define EISA_CR iobase+0x0c84 /* EISA Control Register */ |
iobase | 47 | drivers/net/de4x5.h | #define EISA_REG0 iobase+0x0c88 /* EISA Configuration Register 0 */ |
iobase | 48 | drivers/net/de4x5.h | #define EISA_REG1 iobase+0x0c89 /* EISA Configuration Register 1 */ |
iobase | 49 | drivers/net/de4x5.h | #define EISA_REG2 iobase+0x0c8a /* EISA Configuration Register 2 */ |
iobase | 50 | drivers/net/de4x5.h | #define EISA_REG3 iobase+0x0c8f /* EISA Configuration Register 3 */ |
iobase | 51 | drivers/net/de4x5.h | #define EISA_APROM iobase+0x0c90 /* Ethernet Address PROM */ |
iobase | 56 | drivers/net/de4x5.h | #define PCI_CFID iobase+0x0008 /* PCI Configuration ID Register */ |
iobase | 57 | drivers/net/de4x5.h | #define PCI_CFCS iobase+0x000c /* PCI Command/Status Register */ |
iobase | 58 | drivers/net/de4x5.h | #define PCI_CFRV iobase+0x0018 /* PCI Revision Register */ |
iobase | 59 | drivers/net/de4x5.h | #define PCI_CFLT iobase+0x001c /* PCI Latency Timer Register */ |
iobase | 60 | drivers/net/de4x5.h | #define PCI_CBIO iobase+0x0028 /* PCI Base I/O Register */ |
iobase | 61 | drivers/net/de4x5.h | #define PCI_CBMA iobase+0x002c /* PCI Base Memory Address Register */ |
iobase | 62 | drivers/net/de4x5.h | #define PCI_CBER iobase+0x0030 /* PCI Expansion ROM Base Address Reg. */ |
iobase | 63 | drivers/net/de4x5.h | #define PCI_CFIT iobase+0x003c /* PCI Configuration Interrupt Register */ |
iobase | 64 | drivers/net/de4x5.h | #define PCI_CFDA iobase+0x0040 /* PCI Driver Area Register */ |
iobase | 407 | drivers/net/depca.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 408 | drivers/net/depca.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 409 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 444 | drivers/net/depca.c | u_long iobase = dev->base_addr; |
iobase | 446 | drivers/net/depca.c | if ((iobase == 0) && loading_module){ |
iobase | 450 | drivers/net/depca.c | isa_probe(dev, iobase); |
iobase | 451 | drivers/net/depca.c | eisa_probe(dev, iobase); |
iobase | 453 | drivers/net/depca.c | if ((tmp == num_depcas) && (iobase != 0) && loading_module) { |
iobase | 455 | drivers/net/depca.c | iobase); |
iobase | 465 | drivers/net/depca.c | if (iobase == 0) autoprobed = 1; |
iobase | 1255 | drivers/net/depca.c | u_long iobase; |
iobase | 1262 | drivers/net/depca.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1266 | drivers/net/depca.c | iobase = ioaddr; |
iobase | 1270 | drivers/net/depca.c | if ((iobase & 0x0fff) == 0) iobase += DEPCA_EISA_IO_PORTS; |
iobase | 1272 | drivers/net/depca.c | for (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1274 | drivers/net/depca.c | if (DevicePresent(iobase) == 0) { |
iobase | 1275 | drivers/net/depca.c | if (check_region(iobase, DEPCA_TOTAL_SIZE) == 0) { |
iobase | 1276 | drivers/net/depca.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1277 | drivers/net/depca.c | if (depca_hw_init(dev, iobase) == 0) { |
iobase | 1283 | drivers/net/depca.c | printk("%s: region already allocated at 0x%04lx.\n",dev->name,iobase); |
iobase | 1296 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1347 | drivers/net/depca.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 152 | drivers/net/depca.h | #define EISA_ID iobase+0x0080 /* ID long word for EISA card */ |
iobase | 153 | drivers/net/depca.h | #define EISA_CTRL iobase+0x0084 /* Control word for EISA card */ |
iobase | 301 | drivers/net/ewrk3.c | static int ewrk3_hw_init(struct device *dev, u_long iobase); |
iobase | 307 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase); |
iobase | 311 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr); |
iobase | 312 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr); |
iobase | 315 | drivers/net/ewrk3.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 316 | drivers/net/ewrk3.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 317 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 348 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 350 | drivers/net/ewrk3.c | if ((iobase == 0) && loading_module){ |
iobase | 355 | drivers/net/ewrk3.c | isa_probe(dev, iobase); |
iobase | 356 | drivers/net/ewrk3.c | eisa_probe(dev, iobase); |
iobase | 358 | drivers/net/ewrk3.c | if ((tmp == num_ewrk3s) && (iobase != 0) && loading_module) { |
iobase | 360 | drivers/net/ewrk3.c | iobase); |
iobase | 370 | drivers/net/ewrk3.c | if (iobase == 0) autoprobed = 1; |
iobase | 377 | drivers/net/ewrk3.c | ewrk3_hw_init(struct device *dev, u_long iobase) |
iobase | 389 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
iobase | 407 | drivers/net/ewrk3.c | tmp.val = (short)Read_EEPROM(iobase, (i>>1)); |
iobase | 419 | drivers/net/ewrk3.c | dev->base_addr = iobase; |
iobase | 421 | drivers/net/ewrk3.c | if (iobase > 0x400) { |
iobase | 430 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 432 | drivers/net/ewrk3.c | } else if ((iobase&0x0fff)==EWRK3_EISA_IO_PORTS) { |
iobase | 435 | drivers/net/ewrk3.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 437 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 442 | drivers/net/ewrk3.c | if (lemac!=LeMAC2) DevicePresent(iobase);/* need after EWRK3_INIT */ |
iobase | 525 | drivers/net/ewrk3.c | request_region(iobase, EWRK3_TOTAL_SIZE, lp->adapter_name); |
iobase | 577 | drivers/net/ewrk3.c | if (status) release_region(iobase, EWRK3_TOTAL_SIZE); |
iobase | 618 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 692 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 726 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 879 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 886 | drivers/net/ewrk3.c | iobase = dev->base_addr; |
iobase | 942 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1086 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1121 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1177 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1213 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1296 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1302 | drivers/net/ewrk3.c | iobase = EWRK3_IO_BASE; /* Get the first slot address */ |
iobase | 1305 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1309 | drivers/net/ewrk3.c | for (; (i<maxSlots) && (dev!=NULL);iobase+=EWRK3_IOP_INC, i++) { |
iobase | 1310 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1311 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1312 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1313 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1320 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1334 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1341 | drivers/net/ewrk3.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1345 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1350 | drivers/net/ewrk3.c | for (i=1; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1352 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1353 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1354 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1355 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1362 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1374 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1425 | drivers/net/ewrk3.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1483 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr) |
iobase | 1497 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr) |
iobase | 1553 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase) |
iobase | 1595 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1677 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1832 | drivers/net/ewrk3.c | tmp.val[i] = (short)Read_EEPROM(iobase, i); |
iobase | 1853 | drivers/net/ewrk3.c | Write_EEPROM(tmp.val[i], iobase, i); |
iobase | 18 | drivers/net/ewrk3.h | #define EWRK3_CSR iobase+0x00 /* Control and Status Register */ |
iobase | 19 | drivers/net/ewrk3.h | #define EWRK3_CR iobase+0x01 /* Control Register */ |
iobase | 20 | drivers/net/ewrk3.h | #define EWRK3_ICR iobase+0x02 /* Interrupt Control Register */ |
iobase | 21 | drivers/net/ewrk3.h | #define EWRK3_TSR iobase+0x03 /* Transmit Status Register */ |
iobase | 22 | drivers/net/ewrk3.h | #define EWRK3_RSVD1 iobase+0x04 /* RESERVED */ |
iobase | 23 | drivers/net/ewrk3.h | #define EWRK3_RSVD2 iobase+0x05 /* RESERVED */ |
iobase | 24 | drivers/net/ewrk3.h | #define EWRK3_FMQ iobase+0x06 /* Free Memory Queue */ |
iobase | 25 | drivers/net/ewrk3.h | #define EWRK3_FMQC iobase+0x07 /* Free Memory Queue Counter */ |
iobase | 26 | drivers/net/ewrk3.h | #define EWRK3_RQ iobase+0x08 /* Receive Queue */ |
iobase | 27 | drivers/net/ewrk3.h | #define EWRK3_RQC iobase+0x09 /* Receive Queue Counter */ |
iobase | 28 | drivers/net/ewrk3.h | #define EWRK3_TQ iobase+0x0a /* Transmit Queue */ |
iobase | 29 | drivers/net/ewrk3.h | #define EWRK3_TQC iobase+0x0b /* Transmit Queue Counter */ |
iobase | 30 | drivers/net/ewrk3.h | #define EWRK3_TDQ iobase+0x0c /* Transmit Done Queue */ |
iobase | 31 | drivers/net/ewrk3.h | #define EWRK3_TDQC iobase+0x0d /* Transmit Done Queue Counter */ |
iobase | 32 | drivers/net/ewrk3.h | #define EWRK3_PIR1 iobase+0x0e /* Page Index Register 1 */ |
iobase | 33 | drivers/net/ewrk3.h | #define EWRK3_PIR2 iobase+0x0f /* Page Index Register 2 */ |
iobase | 34 | drivers/net/ewrk3.h | #define EWRK3_DATA iobase+0x10 /* Data Register */ |
iobase | 35 | drivers/net/ewrk3.h | #define EWRK3_IOPR iobase+0x11 /* I/O Page Register */ |
iobase | 36 | drivers/net/ewrk3.h | #define EWRK3_IOBR iobase+0x12 /* I/O Base Register */ |
iobase | 37 | drivers/net/ewrk3.h | #define EWRK3_MPR iobase+0x13 /* Memory Page Register */ |
iobase | 38 | drivers/net/ewrk3.h | #define EWRK3_MBR iobase+0x14 /* Memory Base Register */ |
iobase | 39 | drivers/net/ewrk3.h | #define EWRK3_APROM iobase+0x15 /* Address PROM */ |
iobase | 40 | drivers/net/ewrk3.h | #define EWRK3_EPROM1 iobase+0x16 /* EEPROM Data Register 1 */ |
iobase | 41 | drivers/net/ewrk3.h | #define EWRK3_EPROM2 iobase+0x17 /* EEPROM Data Register 2 */ |
iobase | 42 | drivers/net/ewrk3.h | #define EWRK3_PAR0 iobase+0x18 /* Physical Address Register 0 */ |
iobase | 43 | drivers/net/ewrk3.h | #define EWRK3_PAR1 iobase+0x19 /* Physical Address Register 1 */ |
iobase | 44 | drivers/net/ewrk3.h | #define EWRK3_PAR2 iobase+0x1a /* Physical Address Register 2 */ |
iobase | 45 | drivers/net/ewrk3.h | #define EWRK3_PAR3 iobase+0x1b /* Physical Address Register 3 */ |
iobase | 46 | drivers/net/ewrk3.h | #define EWRK3_PAR4 iobase+0x1c /* Physical Address Register 4 */ |
iobase | 47 | drivers/net/ewrk3.h | #define EWRK3_PAR5 iobase+0x1d /* Physical Address Register 5 */ |
iobase | 48 | drivers/net/ewrk3.h | #define EWRK3_CMR iobase+0x1e /* Configuration/Management Register */ |
iobase | 175 | drivers/net/ewrk3.h | #define EISA_ID iobase + 0x0c80 /* EISA ID Registers */ |
iobase | 176 | drivers/net/ewrk3.h | #define EISA_ID0 iobase + 0x0c80 /* EISA ID Register 0 */ |
iobase | 177 | drivers/net/ewrk3.h | #define EISA_ID1 iobase + 0x0c81 /* EISA ID Register 1 */ |
iobase | 178 | drivers/net/ewrk3.h | #define EISA_ID2 iobase + 0x0c82 /* EISA ID Register 2 */ |
iobase | 179 | drivers/net/ewrk3.h | #define EISA_ID3 iobase + 0x0c83 /* EISA ID Register 3 */ |
iobase | 180 | drivers/net/ewrk3.h | #define EISA_CR iobase + 0x0c84 /* EISA Control Register */ |
iobase | 778 | drivers/net/wavelan.c | static unsigned short iobase[] = |
iobase | 828 | drivers/net/wavelan.c | for (i = 0; i < nels(iobase); i++) |
iobase | 830 | drivers/net/wavelan.c | if (check_region(iobase[i], sizeof(ha_t))) |
iobase | 833 | drivers/net/wavelan.c | if (wavelan_probe1(dev, iobase[i]) == 0) |
iobase | 331 | drivers/scsi/eata.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 334 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
iobase | 340 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
iobase | 342 | drivers/scsi/eata.c | if (wait_on_busy(iobase)) return TRUE; |
iobase | 345 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
iobase | 346 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
iobase | 347 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
iobase | 348 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
iobase | 351 | drivers/scsi/eata.c | outb(cmd, iobase + REG_CMD); |
iobase | 355 | drivers/scsi/eata.c | static inline unchar read_pio (ushort iobase, ushort *start, ushort *end) { |
iobase | 361 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
iobase | 365 | drivers/scsi/eata.c | *p = inw(iobase); |
iobase | 659 | drivers/scsi/fdomain.c | static int fdomain_isa_detect( int *irq, int *iobase ) |
iobase | 701 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 740 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 745 | drivers/scsi/fdomain.c | static int fdomain_pci_nobios_detect( int *irq, int *iobase ) |
iobase | 773 | drivers/scsi/fdomain.c | *iobase = i; |
iobase | 796 | drivers/scsi/fdomain.c | static int fdomain_pci_bios_detect( int *irq, int *iobase ) |
iobase | 808 | drivers/scsi/fdomain.c | if (!pcibios_present()) return fdomain_pci_nobios_detect( irq, iobase ); |
iobase | 896 | drivers/scsi/fdomain.c | *iobase = (pci_base & 0xfff8); |
iobase | 900 | drivers/scsi/fdomain.c | printk( "TMC-3260: IRQ = %d, I/O base = 0x%x\n", *irq, *iobase ); |
iobase | 903 | drivers/scsi/fdomain.c | if (!fdomain_is_valid_port( *iobase )) return 0; |
iobase | 301 | drivers/scsi/u14-34f.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 304 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
iobase | 171 | drivers/scsi/wd7000.c | int iobase; /* This adapter's I/O base address */ |
iobase | 196 | drivers/scsi/wd7000.c | int iobase; /* I/O ports base address */ |
iobase | 543 | drivers/scsi/wd7000.c | outb(host->control, host->iobase+ASC_CONTROL); |
iobase | 550 | drivers/scsi/wd7000.c | outb(host->control,host->iobase+ASC_CONTROL); |
iobase | 580 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0); |
iobase | 583 | drivers/scsi/wd7000.c | outb(*cmd, host->iobase+ASC_COMMAND); |
iobase | 584 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
iobase | 585 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
iobase | 809 | drivers/scsi/wd7000.c | #define wd7000_intr_ack(host) outb(0,host->iobase+ASC_INTR_ACK) |
iobase | 825 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
iobase | 830 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
iobase | 1006 | drivers/scsi/wd7000.c | outb(ASC_RES, host->iobase+ASC_CONTROL); |
iobase | 1008 | drivers/scsi/wd7000.c | outb(0,host->iobase+ASC_CONTROL); |
iobase | 1010 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
iobase | 1012 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
iobase | 1049 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0); |
iobase | 1134 | drivers/scsi/wd7000.c | if (check_region(cfg->iobase, 4)) { /* ports in use */ |
iobase | 1135 | drivers/scsi/wd7000.c | printk("IO %xh already in use.\n", host->iobase); |
iobase | 1154 | drivers/scsi/wd7000.c | host->iobase = cfg->iobase; |
iobase | 1171 | drivers/scsi/wd7000.c | host->iobase, host->irq, host->dma); |
iobase | 1173 | drivers/scsi/wd7000.c | request_region(host->iobase, 4,"wd7000"); /* Register our ports */ |
iobase | 1198 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |
iobase | 103 | include/linux/istallion.h | unsigned int iobase; |
iobase | 108 | include/linux/stallion.h | int iobase; |