tag | line | file | source code |
iobase | 296 | drivers/char/istallion.c | unsigned int iobase; |
iobase | 827 | drivers/char/istallion.c | release_region(brdp->iobase, ECP_IOSIZE); |
iobase | 829 | drivers/char/istallion.c | release_region(brdp->iobase, ONB_IOSIZE); |
iobase | 1800 | drivers/char/istallion.c | sio.port = brdp->iobase; |
iobase | 2891 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2893 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2897 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_ATMEMAR)); |
iobase | 2907 | drivers/char/istallion.c | outb(ECP_ATENABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2917 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2939 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_ATMEMPR)); |
iobase | 2951 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2953 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2964 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 2981 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 2982 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 2984 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2988 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARL)); |
iobase | 2990 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARH)); |
iobase | 2997 | drivers/char/istallion.c | outb(ECP_EIENABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3004 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3029 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_EICONFR)); |
iobase | 3037 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3039 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3051 | drivers/char/istallion.c | outb(ECP_MCENABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3058 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3076 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3084 | drivers/char/istallion.c | outb(ECP_MCSTOP, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3086 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3105 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3107 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3112 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_ATMEMAR)); |
iobase | 3113 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3124 | drivers/char/istallion.c | outb((ONB_ATENABLE | ONB_HIMEMENAB), (brdp->iobase + ONB_ATCONFR)); |
iobase | 3134 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3166 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3168 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3188 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
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 | 3196 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARL)); |
iobase | 3198 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARH)); |
iobase | 3199 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3210 | drivers/char/istallion.c | outb(ONB_EIENABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3220 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3245 | drivers/char/istallion.c | outb(val, (brdp->iobase + ONB_EICONFR)); |
iobase | 3259 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3261 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3280 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3282 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3285 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3308 | drivers/char/istallion.c | outb(val, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3322 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3324 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3343 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3380 | drivers/char/istallion.c | outb(0, brdp->iobase); |
iobase | 3440 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3549 | drivers/char/istallion.c | request_region(brdp->iobase, ECP_IOSIZE, "serial(ECP)"); |
iobase | 3574 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3696 | drivers/char/istallion.c | request_region(brdp->iobase, ONB_IOSIZE, "serial(ONB/BBY)"); |
iobase | 3856 | 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 | 3861 | 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 | 3889 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 3890 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3892 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3896 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3897 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3899 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3902 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3958 | 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 | 3979 | drivers/char/istallion.c | unsigned int iobase, eid; |
iobase | 3998 | drivers/char/istallion.c | for (iobase = 0x1000; (iobase <= 0xc000); iobase += 0x1000) { |
iobase | 3999 | drivers/char/istallion.c | outb(0xff, (iobase + 0xc80)); |
iobase | 4000 | drivers/char/istallion.c | eid = inb(iobase + 0xc80); |
iobase | 4001 | drivers/char/istallion.c | eid |= inb(iobase + 0xc81) << 8; |
iobase | 4013 | drivers/char/istallion.c | if (brdp->iobase == iobase) |
iobase | 4040 | drivers/char/istallion.c | eid = inb(iobase + 0xc82); |
iobase | 4047 | drivers/char/istallion.c | brdp->iobase = iobase; |
iobase | 4048 | drivers/char/istallion.c | outb(0x1, (iobase + 0xc84)); |
iobase | 4050 | drivers/char/istallion.c | outb(0, (iobase + 0xc84)); |
iobase | 4094 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 254 | drivers/char/stallion.c | int iobase; |
iobase | 1755 | drivers/char/stallion.c | int i, panelnr, iobase; |
iobase | 1782 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1783 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1784 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1786 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1787 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1797 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1798 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1801 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1802 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1810 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1811 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1812 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1813 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1815 | drivers/char/stallion.c | iobase = brdp->ioaddr2; |
iobase | 1819 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1823 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1831 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1832 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1833 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1834 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1842 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1843 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1846 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1847 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1855 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1856 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1857 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1858 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1871 | drivers/char/stallion.c | stl_rxisr(panelp, iobase); |
iobase | 1873 | drivers/char/stallion.c | stl_txisr(panelp, iobase); |
iobase | 1875 | drivers/char/stallion.c | stl_mdmisr(panelp, iobase); |
iobase | 2407 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2409 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1)); |
iobase | 2436 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2440 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2442 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3)); |
iobase | 2531 | drivers/char/stallion.c | panelp->iobase = brdp->ioaddr1; |
iobase | 2628 | drivers/char/stallion.c | panelp->iobase = ioaddr; |
iobase | 38 | drivers/isdn/teles/card.c | readisac_3(int iobase, byte offset) |
iobase | 40 | drivers/isdn/teles/card.c | return (bytein(iobase - 0x420 + offset)); |
iobase | 53 | drivers/isdn/teles/card.c | writeisac_3(int iobase, byte offset, byte value) |
iobase | 55 | drivers/isdn/teles/card.c | byteout(iobase - 0x420 + offset, value); |
iobase | 62 | drivers/isdn/teles/card.c | readisac_s(int iobase, byte offset, byte * dest, int count) |
iobase | 64 | drivers/isdn/teles/card.c | insb(iobase - 0x420 + offset, dest, count); |
iobase | 68 | drivers/isdn/teles/card.c | writeisac_s(int iobase, byte offset, byte * src, int count) |
iobase | 70 | drivers/isdn/teles/card.c | outsb(iobase - 0x420 + offset, src, count); |
iobase | 81 | drivers/isdn/teles/card.c | readhscx_3(int iobase, byte hscx, byte offset) |
iobase | 83 | drivers/isdn/teles/card.c | return (bytein(iobase - (hscx ? 0x820 : 0xc20) + offset)); |
iobase | 97 | drivers/isdn/teles/card.c | writehscx_3(int iobase, byte hscx, byte offset, byte data) |
iobase | 99 | drivers/isdn/teles/card.c | byteout(iobase - (hscx ? 0x820 : 0xc20) + offset, data); |
iobase | 103 | drivers/isdn/teles/card.c | readhscx_s(int iobase, byte hscx, byte offset, byte * dest, int count) |
iobase | 105 | drivers/isdn/teles/card.c | insb(iobase - (hscx ? 0x820 : 0xc20) + offset, dest, count); |
iobase | 109 | drivers/isdn/teles/card.c | writehscx_s(int iobase, byte hscx, byte offset, byte * src, int count) |
iobase | 111 | drivers/isdn/teles/card.c | outsb(iobase - (hscx ? 0x820 : 0xc20) + offset, src, count); |
iobase | 169 | drivers/isdn/teles/card.c | waitforCEC_3(int iobase, byte hscx) |
iobase | 173 | drivers/isdn/teles/card.c | while ((readhscx_3(iobase, hscx, HSCX_STAR) & 0x04) && to) { |
iobase | 197 | drivers/isdn/teles/card.c | waitforXFW_3(int iobase, byte hscx) |
iobase | 201 | drivers/isdn/teles/card.c | waitforCEC_3(iobase, hscx); |
iobase | 203 | drivers/isdn/teles/card.c | while ((!(readhscx_3(iobase, hscx, HSCX_STAR) & 0x40)) && to) { |
iobase | 224 | drivers/isdn/teles/card.c | writehscxCMDR_3(int iobase, byte hscx, byte data) |
iobase | 230 | drivers/isdn/teles/card.c | waitforCEC_3(iobase, hscx); |
iobase | 231 | drivers/isdn/teles/card.c | writehscx_3(iobase, hscx, HSCX_CMDR, data); |
iobase | 261 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " ISTA %x\n", readhscx_3(sp->iobase, |
iobase | 263 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " STAR %x\n", readhscx_3(sp->iobase, |
iobase | 265 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " EXIR %x\n", readhscx_3(sp->iobase, |
iobase | 282 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " ISTA %x\n", readisac_3(sp->iobase, |
iobase | 284 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " STAR %x\n", readisac_3(sp->iobase, |
iobase | 286 | drivers/isdn/teles/card.c | printk(KERN_DEBUG " EXIR %x\n", readisac_3(sp->iobase, |
iobase | 318 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, 0x80); |
iobase | 330 | drivers/isdn/teles/card.c | readhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
iobase | 331 | drivers/isdn/teles/card.c | writehscxCMDR_3(hsp->iobase, hsp->hscx, 0x80); |
iobase | 394 | drivers/isdn/teles/card.c | waitforXFW_3(hsp->iobase, hsp->hscx); |
iobase | 395 | drivers/isdn/teles/card.c | writehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
iobase | 396 | drivers/isdn/teles/card.c | writehscxCMDR_3(hsp->iobase, hsp->hscx, more ? 0x8 : 0xa); |
iobase | 412 | drivers/isdn/teles/card.c | r = READHSCX(hsp->membase, sp->iobase, hsp->hscx, HSCX_RSTA); |
iobase | 424 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, |
iobase | 434 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, |
iobase | 440 | drivers/isdn/teles/card.c | count = READHSCX(hsp->membase, sp->iobase, hsp->hscx, |
iobase | 458 | drivers/isdn/teles/card.c | WRITEHSCX_CMDR(hsp->membase, hsp->iobase, |
iobase | 542 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 547 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 549 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_CMDR, 0x80); |
iobase | 599 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 605 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
iobase | 607 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_CMDR, more ? 0x8 : 0xa); |
iobase | 629 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_CIX0, (command << 2) | 3); |
iobase | 684 | drivers/isdn/teles/card.c | val = READHSCX(sp->membase, sp->iobase, 1, HSCX_ISTA); |
iobase | 689 | drivers/isdn/teles/card.c | READHSCX(sp->membase, sp->iobase, 1, HSCX_EXIR), |
iobase | 700 | drivers/isdn/teles/card.c | READHSCX(sp->membase, sp->iobase, 0, HSCX_EXIR)); |
iobase | 713 | drivers/isdn/teles/card.c | val2 = readhscx_3(sp->iobase, 0, HSCX_ISTA); |
iobase | 725 | drivers/isdn/teles/card.c | val = READISAC(sp->membase, sp->iobase, ISAC_ISTA); |
iobase | 732 | drivers/isdn/teles/card.c | r = READISAC(sp->membase, sp->iobase, ISAC_RSTA); |
iobase | 741 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_CMDR, 0x80); |
iobase | 750 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, |
iobase | 756 | drivers/isdn/teles/card.c | count = READISAC(sp->membase, sp->iobase, ISAC_RBCL) & 0x1f; |
iobase | 773 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, |
iobase | 802 | drivers/isdn/teles/card.c | sp->ph_state = (READISAC(sp->membase, sp->iobase, ISAC_CIX0) |
iobase | 815 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_MASK, 0xFF); |
iobase | 816 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 0, HSCX_MASK, 0xFF); |
iobase | 817 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 1, HSCX_MASK, 0xFF); |
iobase | 818 | drivers/isdn/teles/card.c | writeisac_3(sp->iobase, ISAC_MASK, 0x0); |
iobase | 819 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 0, HSCX_MASK, 0x0); |
iobase | 820 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, 1, HSCX_MASK, 0x0); |
iobase | 1008 | drivers/isdn/teles/card.c | initisac(byte * cardmem, int iobase) |
iobase | 1020 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_MASK, 0xff); |
iobase | 1021 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF2, 0x80); |
iobase | 1022 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_SQXR, 0x2f); |
iobase | 1023 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_SPCR, 0x00); |
iobase | 1024 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF1, 0x02); |
iobase | 1025 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_STCR, 0x70); |
iobase | 1026 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_MODE, 0xc9); |
iobase | 1027 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_TIMR, 0x00); |
iobase | 1028 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_ADF1, 0x00); |
iobase | 1029 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_CMDR, 0x41); |
iobase | 1030 | drivers/isdn/teles/card.c | writeisac_3(iobase, ISAC_CIX0, (1 << 2) | 3); |
iobase | 1041 | drivers/isdn/teles/card.c | if (!card->iobase) { |
iobase | 1053 | drivers/isdn/teles/card.c | switch (card->iobase) { |
iobase | 1058 | drivers/isdn/teles/card.c | card->iobase, (card->iobase | 0xc00)); |
iobase | 1059 | drivers/isdn/teles/card.c | card->iobase |= 0xc00; |
iobase | 1062 | drivers/isdn/teles/card.c | if (check_region(card->iobase, 8)) { |
iobase | 1065 | drivers/isdn/teles/card.c | card->iobase, |
iobase | 1066 | drivers/isdn/teles/card.c | card->iobase + 8 ); |
iobase | 1101 | drivers/isdn/teles/card.c | if (bytein(card->iobase + 0) != 0x51) { |
iobase | 1103 | drivers/isdn/teles/card.c | card->iobase + 0, |
iobase | 1104 | drivers/isdn/teles/card.c | bytein(card->iobase + 0)); |
iobase | 1107 | drivers/isdn/teles/card.c | if (bytein(card->iobase + 1) != 0x93) { |
iobase | 1109 | drivers/isdn/teles/card.c | card->iobase + 1, |
iobase | 1110 | drivers/isdn/teles/card.c | bytein(card->iobase + 1)); |
iobase | 1113 | drivers/isdn/teles/card.c | val = bytein(card->iobase + 2); /* 0x1e=without AB |
iobase | 1118 | drivers/isdn/teles/card.c | card->iobase + 2, |
iobase | 1119 | drivers/isdn/teles/card.c | bytein(card->iobase + 2)); |
iobase | 1123 | drivers/isdn/teles/card.c | request_region(card->iobase, 8, "teles"); |
iobase | 1126 | drivers/isdn/teles/card.c | byteout(card->iobase + 4, cfval); |
iobase | 1132 | drivers/isdn/teles/card.c | byteout(card->iobase + 4, cfval | 1); |
iobase | 1139 | drivers/isdn/teles/card.c | card->iobase, (long) card->membase, |
iobase | 1146 | drivers/isdn/teles/card.c | card->iobase, card->interrupt, |
iobase | 1150 | drivers/isdn/teles/card.c | READHSCX(card->membase, card->iobase, 0, |
iobase | 1152 | drivers/isdn/teles/card.c | READHSCX(card->membase, card->iobase, 1, |
iobase | 1238 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR1, 0x85); |
iobase | 1239 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XAD1, 0xFF); |
iobase | 1240 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XAD2, 0xFF); |
iobase | 1241 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RAH2, 0xFF); |
iobase | 1242 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XBCH, 0x00); |
iobase | 1243 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RLCR, 0x00); |
iobase | 1247 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1248 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0xff); |
iobase | 1249 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0xff); |
iobase | 1250 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1251 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1252 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0x84); |
iobase | 1256 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1257 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f); |
iobase | 1258 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f); |
iobase | 1259 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1260 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1262 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1263 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3); |
iobase | 1264 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3); |
iobase | 1265 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1266 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1268 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0xe4); |
iobase | 1269 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41); |
iobase | 1273 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1274 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f); |
iobase | 1275 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f); |
iobase | 1276 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1277 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1279 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30); |
iobase | 1280 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3); |
iobase | 1281 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3); |
iobase | 1282 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_XCCR, 7); |
iobase | 1283 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_RCCR, 7); |
iobase | 1285 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_MODE, 0x8c); |
iobase | 1286 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41); |
iobase | 1289 | drivers/isdn/teles/card.c | writehscx_3(sp->iobase, hscx, HSCX_ISTA, 0x00); |
iobase | 1447 | drivers/isdn/teles/card.c | hsp->iobase = sp->iobase; |
iobase | 1474 | drivers/isdn/teles/card.c | sp->iobase = card->iobase; |
iobase | 1486 | drivers/isdn/teles/card.c | initisac(card->membase, card->iobase); |
iobase | 1521 | drivers/isdn/teles/card.c | WRITEISAC(sp->membase, sp->iobase, ISAC_MASK, 0x0); |
iobase | 1583 | drivers/isdn/teles/card.c | if (cards[cardnr].iobase) |
iobase | 1584 | drivers/isdn/teles/card.c | release_region(cards[cardnr].iobase, 8); |
iobase | 1622 | drivers/isdn/teles/card.c | release_region(cards[i].iobase, 8); |
iobase | 1624 | drivers/isdn/teles/card.c | printk(KERN_WARNING "NO Teles card found at 0x%x!\n", cards[i].iobase); |
iobase | 13 | drivers/isdn/teles/mod.c | unsigned int iobase; |
iobase | 62 | drivers/isdn/teles/mod.c | io[i].iobase = ints[j]; |
iobase | 96 | drivers/isdn/teles/mod.c | cards[i].iobase = io[i].iobase; |
iobase | 298 | drivers/isdn/teles/teles.h | int iobase; |
iobase | 321 | drivers/isdn/teles/teles.h | int iobase; |
iobase | 344 | drivers/isdn/teles/teles.h | unsigned int iobase; |
iobase | 206 | drivers/net/3c509.c | unsigned short iobase = id_read_eeprom(8); |
iobase | 207 | drivers/net/3c509.c | if_port = iobase >> 14; |
iobase | 208 | drivers/net/3c509.c | ioaddr = 0x200 + ((iobase & 0x1f) << 4); |
iobase | 408 | drivers/net/de4x5.c | static int de4x5_hw_init(struct device *dev, u_long iobase); |
iobase | 429 | drivers/net/de4x5.c | static int DevicePresent(u_long iobase); |
iobase | 441 | drivers/net/de4x5.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 442 | drivers/net/de4x5.c | static void pci_probe(struct device *dev, u_long iobase); |
iobase | 443 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 495 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 497 | drivers/net/de4x5.c | if ((iobase == 0) && loading_module){ |
iobase | 501 | drivers/net/de4x5.c | eisa_probe(dev, iobase); |
iobase | 502 | drivers/net/de4x5.c | pci_probe(dev, iobase); |
iobase | 504 | drivers/net/de4x5.c | if ((tmp == num_de4x5s) && (iobase != 0) && loading_module) { |
iobase | 506 | drivers/net/de4x5.c | iobase); |
iobase | 516 | drivers/net/de4x5.c | if (iobase == 0) autoprobed = 1; |
iobase | 523 | drivers/net/de4x5.c | de4x5_hw_init(struct device *dev, u_long iobase) |
iobase | 556 | drivers/net/de4x5.c | dev->base_addr = iobase; |
iobase | 559 | drivers/net/de4x5.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 562 | drivers/net/de4x5.c | iobase, lp->bus_num, lp->device); |
iobase | 615 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
iobase | 695 | drivers/net/de4x5.c | if (status) release_region(iobase, (lp->bus == PCI ? |
iobase | 752 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 865 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 941 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1073 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1079 | drivers/net/de4x5.c | iobase = dev->base_addr; |
iobase | 1221 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1268 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1314 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1353 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1388 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1425 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1487 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1497 | drivers/net/de4x5.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1501 | drivers/net/de4x5.c | iobase = ioaddr; |
iobase | 1506 | drivers/net/de4x5.c | for (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1518 | drivers/net/de4x5.c | outl(iobase, PCI_CBIO); |
iobase | 1520 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_EISA_TOTAL_SIZE) == 0) { |
iobase | 1521 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1522 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1528 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1558 | drivers/net/de4x5.c | u_int iobase; |
iobase | 1591 | drivers/net/de4x5.c | pcibios_read_config_dword(pb, PCI_DEVICE, PCI_BASE_ADDRESS_0, &iobase); |
iobase | 1592 | drivers/net/de4x5.c | iobase &= CBIO_MASK; |
iobase | 1607 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_PCI_TOTAL_SIZE) == 0) { |
iobase | 1608 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1610 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1616 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04x.\n", dev->name, (u_short)iobase); |
iobase | 1633 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1684 | drivers/net/de4x5.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1748 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1804 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1865 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1950 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1976 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2028 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2062 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2089 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2105 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2267 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2455 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2467 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2498 | 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_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
iobase | 29 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
iobase | 30 | drivers/net/de4x5.h | #define DE4X5_GPT iobase+(0x058 << lp->bus) /* General Purpose Timer Reg.*/ |
iobase | 31 | drivers/net/de4x5.h | #define DE4X5_GEP iobase+(0x060 << lp->bus) /* General Purpose Register */ |
iobase | 32 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
iobase | 33 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
iobase | 34 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
iobase | 35 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
iobase | 40 | drivers/net/de4x5.h | #define EISA_ID iobase+0x0c80 /* EISA ID Registers */ |
iobase | 41 | drivers/net/de4x5.h | #define EISA_ID0 iobase+0x0c80 /* EISA ID Register 0 */ |
iobase | 42 | drivers/net/de4x5.h | #define EISA_ID1 iobase+0x0c81 /* EISA ID Register 1 */ |
iobase | 43 | drivers/net/de4x5.h | #define EISA_ID2 iobase+0x0c82 /* EISA ID Register 2 */ |
iobase | 44 | drivers/net/de4x5.h | #define EISA_ID3 iobase+0x0c83 /* EISA ID Register 3 */ |
iobase | 45 | drivers/net/de4x5.h | #define EISA_CR iobase+0x0c84 /* EISA Control Register */ |
iobase | 46 | drivers/net/de4x5.h | #define EISA_REG0 iobase+0x0c88 /* EISA Configuration Register 0 */ |
iobase | 47 | drivers/net/de4x5.h | #define EISA_REG1 iobase+0x0c89 /* EISA Configuration Register 1 */ |
iobase | 48 | drivers/net/de4x5.h | #define EISA_REG2 iobase+0x0c8a /* EISA Configuration Register 2 */ |
iobase | 49 | drivers/net/de4x5.h | #define EISA_REG3 iobase+0x0c8f /* EISA Configuration Register 3 */ |
iobase | 50 | drivers/net/de4x5.h | #define EISA_APROM iobase+0x0c90 /* Ethernet Address PROM */ |
iobase | 55 | drivers/net/de4x5.h | #define PCI_CFID iobase+0x0008 /* PCI Configuration ID Register */ |
iobase | 56 | drivers/net/de4x5.h | #define PCI_CFCS iobase+0x000c /* PCI Command/Status Register */ |
iobase | 57 | drivers/net/de4x5.h | #define PCI_CFRV iobase+0x0018 /* PCI Revision Register */ |
iobase | 58 | drivers/net/de4x5.h | #define PCI_CFLT iobase+0x001c /* PCI Latency Timer Register */ |
iobase | 59 | drivers/net/de4x5.h | #define PCI_CBIO iobase+0x0028 /* PCI Base I/O Register */ |
iobase | 60 | drivers/net/de4x5.h | #define PCI_CBMA iobase+0x002c /* PCI Base Memory Address Register */ |
iobase | 61 | drivers/net/de4x5.h | #define PCI_CBER iobase+0x0030 /* PCI Expansion ROM Base Address Reg. */ |
iobase | 62 | drivers/net/de4x5.h | #define PCI_CFIT iobase+0x003c /* PCI Configuration Interrupt Register */ |
iobase | 63 | drivers/net/de4x5.h | #define PCI_CFDA iobase+0x0040 /* PCI Driver Area Register */ |
iobase | 405 | drivers/net/depca.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 406 | drivers/net/depca.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 407 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 442 | drivers/net/depca.c | u_long iobase = dev->base_addr; |
iobase | 444 | drivers/net/depca.c | if ((iobase == 0) && loading_module){ |
iobase | 448 | drivers/net/depca.c | isa_probe(dev, iobase); |
iobase | 449 | drivers/net/depca.c | eisa_probe(dev, iobase); |
iobase | 451 | drivers/net/depca.c | if ((tmp == num_depcas) && (iobase != 0) && loading_module) { |
iobase | 453 | drivers/net/depca.c | iobase); |
iobase | 463 | drivers/net/depca.c | if (iobase == 0) autoprobed = 1; |
iobase | 1253 | drivers/net/depca.c | u_long iobase; |
iobase | 1260 | drivers/net/depca.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1264 | drivers/net/depca.c | iobase = ioaddr; |
iobase | 1268 | drivers/net/depca.c | if ((iobase & 0x0fff) == 0) iobase += DEPCA_EISA_IO_PORTS; |
iobase | 1270 | drivers/net/depca.c | for (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1272 | drivers/net/depca.c | if (DevicePresent(iobase) == 0) { |
iobase | 1273 | drivers/net/depca.c | if (check_region(iobase, DEPCA_TOTAL_SIZE) == 0) { |
iobase | 1274 | drivers/net/depca.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1275 | drivers/net/depca.c | if (depca_hw_init(dev, iobase) == 0) { |
iobase | 1281 | drivers/net/depca.c | printk("%s: region already allocated at 0x%04lx.\n",dev->name,iobase); |
iobase | 1294 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1345 | 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 | 299 | drivers/net/ewrk3.c | static int ewrk3_hw_init(struct device *dev, u_long iobase); |
iobase | 305 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase); |
iobase | 309 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr); |
iobase | 310 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr); |
iobase | 313 | drivers/net/ewrk3.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 314 | drivers/net/ewrk3.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 315 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 346 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 348 | drivers/net/ewrk3.c | if ((iobase == 0) && loading_module){ |
iobase | 353 | drivers/net/ewrk3.c | isa_probe(dev, iobase); |
iobase | 354 | drivers/net/ewrk3.c | eisa_probe(dev, iobase); |
iobase | 356 | drivers/net/ewrk3.c | if ((tmp == num_ewrk3s) && (iobase != 0) && loading_module) { |
iobase | 358 | drivers/net/ewrk3.c | iobase); |
iobase | 368 | drivers/net/ewrk3.c | if (iobase == 0) autoprobed = 1; |
iobase | 375 | drivers/net/ewrk3.c | ewrk3_hw_init(struct device *dev, u_long iobase) |
iobase | 387 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
iobase | 405 | drivers/net/ewrk3.c | tmp.val = (short)Read_EEPROM(iobase, (i>>1)); |
iobase | 417 | drivers/net/ewrk3.c | dev->base_addr = iobase; |
iobase | 419 | drivers/net/ewrk3.c | if (iobase > 0x400) { |
iobase | 428 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 430 | drivers/net/ewrk3.c | } else if ((iobase&0x0fff)==EWRK3_EISA_IO_PORTS) { |
iobase | 433 | drivers/net/ewrk3.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 435 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 440 | drivers/net/ewrk3.c | if (lemac!=LeMAC2) DevicePresent(iobase);/* need after EWRK3_INIT */ |
iobase | 523 | drivers/net/ewrk3.c | request_region(iobase, EWRK3_TOTAL_SIZE, lp->adapter_name); |
iobase | 575 | drivers/net/ewrk3.c | if (status) release_region(iobase, EWRK3_TOTAL_SIZE); |
iobase | 616 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 690 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 724 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 877 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 884 | drivers/net/ewrk3.c | iobase = dev->base_addr; |
iobase | 940 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1084 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1119 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1175 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1211 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1294 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1300 | drivers/net/ewrk3.c | iobase = EWRK3_IO_BASE; /* Get the first slot address */ |
iobase | 1303 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1307 | drivers/net/ewrk3.c | for (; (i<maxSlots) && (dev!=NULL);iobase+=EWRK3_IOP_INC, i++) { |
iobase | 1308 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1309 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1310 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1311 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1318 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1332 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1339 | drivers/net/ewrk3.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1343 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1348 | drivers/net/ewrk3.c | for (i=1; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1350 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1351 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1352 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1353 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1360 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1372 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1423 | drivers/net/ewrk3.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1481 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr) |
iobase | 1495 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr) |
iobase | 1551 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase) |
iobase | 1593 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1675 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1830 | drivers/net/ewrk3.c | tmp.val[i] = (short)Read_EEPROM(iobase, i); |
iobase | 1851 | 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 | 328 | drivers/scsi/eata.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 331 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
iobase | 337 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
iobase | 339 | drivers/scsi/eata.c | if (wait_on_busy(iobase)) return TRUE; |
iobase | 342 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
iobase | 343 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
iobase | 344 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
iobase | 345 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
iobase | 348 | drivers/scsi/eata.c | outb(cmd, iobase + REG_CMD); |
iobase | 352 | drivers/scsi/eata.c | static inline unchar read_pio (ushort iobase, ushort *start, ushort *end) { |
iobase | 358 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
iobase | 362 | drivers/scsi/eata.c | *p = inw(iobase); |
iobase | 600 | drivers/scsi/fdomain.c | static int fdomain_isa_detect( int *irq, int *iobase ) |
iobase | 642 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 681 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 686 | drivers/scsi/fdomain.c | static int fdomain_pci_nobios_detect( int *irq, int *iobase ) |
iobase | 714 | drivers/scsi/fdomain.c | *iobase = i; |
iobase | 737 | drivers/scsi/fdomain.c | static int fdomain_pci_bios_detect( int *irq, int *iobase ) |
iobase | 749 | drivers/scsi/fdomain.c | if (!pcibios_present()) return fdomain_pci_nobios_detect( irq, iobase ); |
iobase | 837 | drivers/scsi/fdomain.c | *iobase = (pci_base & 0xfff8); |
iobase | 841 | drivers/scsi/fdomain.c | printk( "TMC-3260: IRQ = %d, I/O base = 0x%x\n", *irq, *iobase ); |
iobase | 844 | drivers/scsi/fdomain.c | if (!fdomain_is_valid_port( *iobase )) return 0; |
iobase | 293 | drivers/scsi/u14-34f.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 296 | 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) { |