tag | line | file | source code |
iobase | 305 | drivers/char/istallion.c | unsigned int iobase; |
iobase | 842 | drivers/char/istallion.c | release_region(brdp->iobase, ECP_IOSIZE); |
iobase | 844 | drivers/char/istallion.c | release_region(brdp->iobase, ONB_IOSIZE); |
iobase | 1815 | drivers/char/istallion.c | sio.port = brdp->iobase; |
iobase | 2914 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2916 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2920 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_ATMEMAR)); |
iobase | 2930 | drivers/char/istallion.c | outb(ECP_ATENABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2940 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2962 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_ATMEMPR)); |
iobase | 2974 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2976 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2987 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3004 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 3005 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3007 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3011 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARL)); |
iobase | 3013 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARH)); |
iobase | 3020 | drivers/char/istallion.c | outb(ECP_EIENABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3027 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3052 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_EICONFR)); |
iobase | 3060 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3062 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3074 | drivers/char/istallion.c | outb(ECP_MCENABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3081 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3099 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3107 | drivers/char/istallion.c | outb(ECP_MCSTOP, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3109 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3128 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3130 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3135 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_ATMEMAR)); |
iobase | 3136 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3147 | drivers/char/istallion.c | outb((ONB_ATENABLE | ONB_HIMEMENAB), (brdp->iobase + ONB_ATCONFR)); |
iobase | 3157 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3189 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3191 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3211 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3212 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3214 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3219 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARL)); |
iobase | 3221 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARH)); |
iobase | 3222 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3233 | drivers/char/istallion.c | outb(ONB_EIENABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3243 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3268 | drivers/char/istallion.c | outb(val, (brdp->iobase + ONB_EICONFR)); |
iobase | 3282 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3284 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3303 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3305 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3308 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3331 | drivers/char/istallion.c | outb(val, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3345 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3347 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3366 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3403 | drivers/char/istallion.c | outb(0, brdp->iobase); |
iobase | 3463 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3573 | drivers/char/istallion.c | request_region(brdp->iobase, ECP_IOSIZE, "serial(ECP)"); |
iobase | 3598 | drivers/char/istallion.c | if ((brdp->iobase == 0) || (brdp->memaddr == 0)) |
iobase | 3721 | drivers/char/istallion.c | request_region(brdp->iobase, ONB_IOSIZE, "serial(ONB/BBY)"); |
iobase | 3881 | 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 | 3886 | 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 | 3914 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 3915 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 3917 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 3921 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3922 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3924 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3927 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3983 | 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 | 4004 | drivers/char/istallion.c | unsigned int iobase, eid; |
iobase | 4023 | drivers/char/istallion.c | for (iobase = 0x1000; (iobase <= 0xc000); iobase += 0x1000) { |
iobase | 4024 | drivers/char/istallion.c | outb(0xff, (iobase + 0xc80)); |
iobase | 4025 | drivers/char/istallion.c | eid = inb(iobase + 0xc80); |
iobase | 4026 | drivers/char/istallion.c | eid |= inb(iobase + 0xc81) << 8; |
iobase | 4038 | drivers/char/istallion.c | if (brdp->iobase == iobase) |
iobase | 4065 | drivers/char/istallion.c | eid = inb(iobase + 0xc82); |
iobase | 4072 | drivers/char/istallion.c | brdp->iobase = iobase; |
iobase | 4073 | drivers/char/istallion.c | outb(0x1, (iobase + 0xc84)); |
iobase | 4075 | drivers/char/istallion.c | outb(0, (iobase + 0xc84)); |
iobase | 4119 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 4292 | drivers/char/istallion.c | stli_brdstats.ioaddr = brdp->iobase; |
iobase | 268 | drivers/char/stallion.c | int iobase; |
iobase | 1836 | drivers/char/stallion.c | int i, panelnr, iobase; |
iobase | 1863 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1864 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1865 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1867 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1868 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1878 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1879 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1882 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1883 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1891 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1892 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1893 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1894 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1896 | drivers/char/stallion.c | iobase = brdp->ioaddr2; |
iobase | 1900 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1904 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1912 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1913 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1914 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1915 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1923 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1924 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1927 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1928 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1936 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1937 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1938 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1939 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1952 | drivers/char/stallion.c | stl_rxisr(panelp, iobase); |
iobase | 1954 | drivers/char/stallion.c | stl_txisr(panelp, iobase); |
iobase | 1956 | drivers/char/stallion.c | stl_mdmisr(panelp, iobase); |
iobase | 2491 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2493 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1)); |
iobase | 2520 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2524 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2526 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3)); |
iobase | 2623 | drivers/char/stallion.c | panelp->iobase = brdp->ioaddr1; |
iobase | 2727 | 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 | 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 | 548 | drivers/net/de4x5.c | static int de4x5_hw_init(struct device *dev, u_long iobase); |
iobase | 587 | drivers/net/de4x5.c | static void DevicePresent(u_long iobase); |
iobase | 611 | drivers/net/de4x5.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 612 | drivers/net/de4x5.c | static void pci_probe(struct device *dev, u_long iobase); |
iobase | 613 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 661 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 663 | drivers/net/de4x5.c | eisa_probe(dev, iobase); |
iobase | 664 | drivers/net/de4x5.c | pci_probe(dev, iobase); |
iobase | 666 | drivers/net/de4x5.c | if ((tmp == num_de4x5s) && (iobase != 0) && loading_module) { |
iobase | 668 | drivers/net/de4x5.c | iobase); |
iobase | 678 | drivers/net/de4x5.c | if (iobase == 0) autoprobed = 1; |
iobase | 684 | drivers/net/de4x5.c | de4x5_hw_init(struct device *dev, u_long iobase) |
iobase | 716 | drivers/net/de4x5.c | dev->base_addr = iobase; |
iobase | 719 | drivers/net/de4x5.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 722 | drivers/net/de4x5.c | iobase, lp->bus_num, lp->device); |
iobase | 810 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
iobase | 841 | drivers/net/de4x5.c | release_region(iobase, (lp->bus == PCI ? |
iobase | 885 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 962 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1042 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1125 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1132 | drivers/net/de4x5.c | iobase = dev->base_addr; |
iobase | 1279 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1349 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1389 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1418 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1455 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1516 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1525 | drivers/net/de4x5.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1529 | drivers/net/de4x5.c | iobase = ioaddr; |
iobase | 1534 | drivers/net/de4x5.c | for (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1545 | drivers/net/de4x5.c | outl(iobase, PCI_CBIO); |
iobase | 1547 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_EISA_TOTAL_SIZE) == 0) { |
iobase | 1548 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1549 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1555 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name,iobase); |
iobase | 1584 | drivers/net/de4x5.c | u_int iobase; |
iobase | 1619 | drivers/net/de4x5.c | pcibios_read_config_dword(pb, PCI_DEVICE, PCI_BASE_ADDRESS_0, &iobase); |
iobase | 1620 | drivers/net/de4x5.c | iobase &= CBIO_MASK; |
iobase | 1638 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_PCI_TOTAL_SIZE) == 0) { |
iobase | 1639 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1641 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1648 | drivers/net/de4x5.c | (u_short)iobase); |
iobase | 1660 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1709 | drivers/net/de4x5.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1771 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1806 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1959 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2153 | drivers/net/de4x5.c | int ana, anlpa, cap, cr, sr, iobase = dev->base_addr; |
iobase | 2292 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2310 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2331 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2366 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2391 | drivers/net/de4x5.c | int test, iobase = dev->base_addr; |
iobase | 2413 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2430 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2444 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2458 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2474 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2513 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2546 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2576 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2659 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2686 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2706 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2856 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 3208 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3299 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3325 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3422 | drivers/net/de4x5.c | int iobase = dev->base_addr; |
iobase | 3507 | 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 | 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 | 300 | drivers/net/ewrk3.c | static int ewrk3_hw_init(struct device *dev, u_long iobase); |
iobase | 306 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase); |
iobase | 310 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr); |
iobase | 311 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr); |
iobase | 314 | drivers/net/ewrk3.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 315 | drivers/net/ewrk3.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 316 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 347 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 349 | drivers/net/ewrk3.c | if ((iobase == 0) && loading_module){ |
iobase | 354 | drivers/net/ewrk3.c | isa_probe(dev, iobase); |
iobase | 355 | drivers/net/ewrk3.c | eisa_probe(dev, iobase); |
iobase | 357 | drivers/net/ewrk3.c | if ((tmp == num_ewrk3s) && (iobase != 0) && loading_module) { |
iobase | 359 | drivers/net/ewrk3.c | iobase); |
iobase | 369 | drivers/net/ewrk3.c | if (iobase == 0) autoprobed = 1; |
iobase | 376 | drivers/net/ewrk3.c | ewrk3_hw_init(struct device *dev, u_long iobase) |
iobase | 388 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
iobase | 406 | drivers/net/ewrk3.c | tmp.val = (short)Read_EEPROM(iobase, (i>>1)); |
iobase | 418 | drivers/net/ewrk3.c | dev->base_addr = iobase; |
iobase | 420 | drivers/net/ewrk3.c | if (iobase > 0x400) { |
iobase | 429 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 431 | drivers/net/ewrk3.c | } else if ((iobase&0x0fff)==EWRK3_EISA_IO_PORTS) { |
iobase | 434 | drivers/net/ewrk3.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 436 | drivers/net/ewrk3.c | printk("%s: %s at %#4lx", dev->name, name, iobase); |
iobase | 441 | drivers/net/ewrk3.c | if (lemac!=LeMAC2) DevicePresent(iobase);/* need after EWRK3_INIT */ |
iobase | 524 | drivers/net/ewrk3.c | request_region(iobase, EWRK3_TOTAL_SIZE, lp->adapter_name); |
iobase | 576 | drivers/net/ewrk3.c | if (status) release_region(iobase, EWRK3_TOTAL_SIZE); |
iobase | 617 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 691 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 725 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 878 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 885 | drivers/net/ewrk3.c | iobase = dev->base_addr; |
iobase | 941 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1085 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1120 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1176 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1212 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1295 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1301 | drivers/net/ewrk3.c | iobase = EWRK3_IO_BASE; /* Get the first slot address */ |
iobase | 1304 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1308 | drivers/net/ewrk3.c | for (; (i<maxSlots) && (dev!=NULL);iobase+=EWRK3_IOP_INC, i++) { |
iobase | 1309 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1310 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1311 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1312 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1319 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1333 | drivers/net/ewrk3.c | u_long iobase; |
iobase | 1340 | drivers/net/ewrk3.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1344 | drivers/net/ewrk3.c | iobase = ioaddr; |
iobase | 1349 | drivers/net/ewrk3.c | for (i=1; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1351 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1352 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1353 | drivers/net/ewrk3.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1354 | drivers/net/ewrk3.c | if (ewrk3_hw_init(dev, iobase) == 0) { |
iobase | 1361 | drivers/net/ewrk3.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1373 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1424 | drivers/net/ewrk3.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1482 | drivers/net/ewrk3.c | static int Read_EEPROM(u_long iobase, u_char eaddr) |
iobase | 1496 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, u_long iobase, u_char eaddr) |
iobase | 1552 | drivers/net/ewrk3.c | static int DevicePresent(u_long iobase) |
iobase | 1594 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1676 | drivers/net/ewrk3.c | u_long iobase = dev->base_addr; |
iobase | 1831 | drivers/net/ewrk3.c | tmp.val[i] = (short)Read_EEPROM(iobase, i); |
iobase | 1852 | 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 | 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 | 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) { |