taglinefilesource code
iobase726drivers/char/istallion.crelease_region(brdp->iobase, ECP_IOSIZE);
iobase728drivers/char/istallion.crelease_region(brdp->iobase, ONB_IOSIZE);
iobase1707drivers/char/istallion.csio.port = brdp->iobase;
iobase2821drivers/char/istallion.coutb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR));
iobase2823drivers/char/istallion.coutb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR));
iobase2827drivers/char/istallion.coutb(memconf, (brdp->iobase + ECP_ATMEMAR));
iobase2837drivers/char/istallion.coutb(ECP_ATENABLE, (brdp->iobase + ECP_ATCONFR));
iobase2847drivers/char/istallion.coutb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR));
iobase2869drivers/char/istallion.coutb(val, (brdp->iobase + ECP_ATMEMPR));
iobase2881drivers/char/istallion.coutb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR));
iobase2883drivers/char/istallion.coutb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR));
iobase2894drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase2911drivers/char/istallion.coutb(0x1, (brdp->iobase + ECP_EIBRDENAB));
iobase2912drivers/char/istallion.coutb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR));
iobase2914drivers/char/istallion.coutb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR));
iobase2918drivers/char/istallion.coutb(memconf, (brdp->iobase + ECP_EIMEMARL));
iobase2920drivers/char/istallion.coutb(memconf, (brdp->iobase + ECP_EIMEMARH));
iobase2927drivers/char/istallion.coutb(ECP_EIENABLE, (brdp->iobase + ECP_EICONFR));
iobase2934drivers/char/istallion.coutb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR));
iobase2959drivers/char/istallion.coutb(val, (brdp->iobase + ECP_EICONFR));
iobase2967drivers/char/istallion.coutb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR));
iobase2969drivers/char/istallion.coutb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR));
iobase2981drivers/char/istallion.coutb(ECP_MCENABLE, (brdp->iobase + ECP_MCCONFR));
iobase2988drivers/char/istallion.coutb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR));
iobase3006drivers/char/istallion.coutb(val, (brdp->iobase + ECP_MCCONFR));
iobase3014drivers/char/istallion.coutb(ECP_MCSTOP, (brdp->iobase + ECP_MCCONFR));
iobase3016drivers/char/istallion.coutb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR));
iobase3035drivers/char/istallion.coutb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR));
iobase3037drivers/char/istallion.coutb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR));
iobase3042drivers/char/istallion.coutb(memconf, (brdp->iobase + ONB_ATMEMAR));
iobase3043drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase3054drivers/char/istallion.coutb((brdp->enabval | ONB_ATENABLE), (brdp->iobase + ONB_ATCONFR));
iobase3064drivers/char/istallion.coutb((brdp->enabval | ONB_ATDISABLE), (brdp->iobase + ONB_ATCONFR));
iobase3096drivers/char/istallion.coutb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR));
iobase3098drivers/char/istallion.coutb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR));
iobase3118drivers/char/istallion.coutb(0x1, (brdp->iobase + ONB_EIBRDENAB));
iobase3119drivers/char/istallion.coutb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR));
iobase3121drivers/char/istallion.coutb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR));
iobase3126drivers/char/istallion.coutb(memconf, (brdp->iobase + ONB_EIMEMARL));
iobase3128drivers/char/istallion.coutb(memconf, (brdp->iobase + ONB_EIMEMARH));
iobase3129drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase3140drivers/char/istallion.coutb(ONB_EIENABLE, (brdp->iobase + ONB_EICONFR));
iobase3150drivers/char/istallion.coutb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR));
iobase3175drivers/char/istallion.coutb(val, (brdp->iobase + ONB_EICONFR));
iobase3189drivers/char/istallion.coutb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR));
iobase3191drivers/char/istallion.coutb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR));
iobase3210drivers/char/istallion.coutb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR));
iobase3212drivers/char/istallion.coutb(0, (brdp->iobase + BBY_ATCONFR));
iobase3215drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase3238drivers/char/istallion.coutb(val, (brdp->iobase + BBY_ATCONFR));
iobase3252drivers/char/istallion.coutb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR));
iobase3254drivers/char/istallion.coutb(0, (brdp->iobase + BBY_ATCONFR));
iobase3273drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase3310drivers/char/istallion.coutb(0, brdp->iobase);
iobase3336drivers/char/istallion.cif ((brdp->iobase == 0) || (brdp->memaddr == 0))
iobase3444drivers/char/istallion.crequest_region(brdp->iobase, ECP_IOSIZE, "serial(ECP)");
iobase3469drivers/char/istallion.cif ((brdp->iobase == 0) || (brdp->memaddr == 0))
iobase3594drivers/char/istallion.crequest_region(brdp->iobase, ONB_IOSIZE, "serial(ONB/BBY)");
iobase3754drivers/char/istallion.cprintk("STALLION: %s board not found, unit=%d io=%x mem=%x\n", stli_brdnames[brdp->brdtype], brdp->brdnr, brdp->iobase, (int) brdp->memaddr);
iobase3759drivers/char/istallion.cprintk("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);
iobase3787drivers/char/istallion.coutb(0x1, (brdp->iobase + ECP_EIBRDENAB));
iobase3788drivers/char/istallion.coutb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR));
iobase3790drivers/char/istallion.coutb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR));
iobase3794drivers/char/istallion.coutb(0x1, (brdp->iobase + ONB_EIBRDENAB));
iobase3795drivers/char/istallion.coutb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR));
iobase3797drivers/char/istallion.coutb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR));
iobase3800drivers/char/istallion.coutb(0x1, brdp->iobase);
iobase3852drivers/char/istallion.cprintk("STALLION: failed to probe shared memory region for %s in EISA slot=%d\n", stli_brdnames[brdp->brdtype], (brdp->iobase >> 12));
iobase3873drivers/char/istallion.cunsigned int  iobase, eid;
iobase3892drivers/char/istallion.cfor (iobase = 0x1000; (iobase <= 0xc000); iobase += 0x1000) {
iobase3893drivers/char/istallion.coutb(0xff, (iobase + 0xc80));
iobase3894drivers/char/istallion.ceid = inb(iobase + 0xc80);
iobase3895drivers/char/istallion.ceid |= inb(iobase + 0xc81) << 8;
iobase3907drivers/char/istallion.cif (brdp->iobase == iobase)
iobase3935drivers/char/istallion.ceid = inb(iobase + 0xc82);
iobase3942drivers/char/istallion.cbrdp->iobase = iobase;
iobase3943drivers/char/istallion.coutb(0x1, (iobase + 0xc84));
iobase3945drivers/char/istallion.coutb(0, (iobase + 0xc84));
iobase3990drivers/char/istallion.cbrdp->iobase = confp->ioaddr1;
iobase4163drivers/char/istallion.cstli_brdstats.ioaddr = brdp->iobase;
iobase1858drivers/char/riscom8.cint iobase  = 0;
iobase1872drivers/char/riscom8.cif (iobase || iobase1 || iobase2 || iobase3) {
iobase1877drivers/char/riscom8.cif (iobase)
iobase1878drivers/char/riscom8.crc_board[0].base = iobase;
iobase1753drivers/char/stallion.cint    i, panelnr, iobase;
iobase1780drivers/char/stallion.ciobase = panelp->iobase;
iobase1781drivers/char/stallion.coutb(SVRR, iobase);
iobase1782drivers/char/stallion.csvrtype = inb(iobase + EREG_DATA);
iobase1784drivers/char/stallion.coutb((SVRR + 0x80), iobase);
iobase1785drivers/char/stallion.csvrtype |= inb(iobase + EREG_DATA);
iobase1795drivers/char/stallion.ciobase = panelp->iobase;
iobase1796drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1799drivers/char/stallion.ciobase += 0x8;
iobase1800drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1808drivers/char/stallion.coutb(SVRR, iobase);
iobase1809drivers/char/stallion.csvrtype = inb(iobase + EREG_DATA);
iobase1810drivers/char/stallion.coutb((SVRR + 0x80), iobase);
iobase1811drivers/char/stallion.csvrtype |= inb(iobase + EREG_DATA);
iobase1813drivers/char/stallion.ciobase = brdp->ioaddr2;
iobase1817drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1821drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1829drivers/char/stallion.coutb(SVRR, iobase);
iobase1830drivers/char/stallion.csvrtype = inb(iobase + EREG_DATA);
iobase1831drivers/char/stallion.coutb((SVRR + 0x80), iobase);
iobase1832drivers/char/stallion.csvrtype |= inb(iobase + EREG_DATA);
iobase1840drivers/char/stallion.ciobase = panelp->iobase;
iobase1841drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1844drivers/char/stallion.ciobase += 0x8;
iobase1845drivers/char/stallion.cif (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND)
iobase1853drivers/char/stallion.coutb(SVRR, iobase);
iobase1854drivers/char/stallion.csvrtype = inb(iobase + EREG_DATA);
iobase1855drivers/char/stallion.coutb((SVRR + 0x80), iobase);
iobase1856drivers/char/stallion.csvrtype |= inb(iobase + EREG_DATA);
iobase1869drivers/char/stallion.cstl_rxisr(panelp, iobase);
iobase1871drivers/char/stallion.cstl_txisr(panelp, iobase);
iobase1873drivers/char/stallion.cstl_mdmisr(panelp, iobase);
iobase2413drivers/char/stallion.cioaddr = panelp->iobase;
iobase2415drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1));
iobase2442drivers/char/stallion.cioaddr = panelp->iobase;
iobase2446drivers/char/stallion.cioaddr = panelp->iobase;
iobase2448drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3));
iobase2547drivers/char/stallion.cpanelp->iobase = brdp->ioaddr1;
iobase2652drivers/char/stallion.cpanelp->iobase = ioaddr;
iobase40drivers/isdn/teles/card.creadisac_3(int iobase, byte offset)
iobase42drivers/isdn/teles/card.creturn (bytein(iobase - 0x420 + offset));
iobase55drivers/isdn/teles/card.cwriteisac_3(int iobase, byte offset, byte value)
iobase57drivers/isdn/teles/card.cbyteout(iobase - 0x420 + offset, value);
iobase64drivers/isdn/teles/card.creadisac_s(int iobase, byte offset, byte * dest, int count)
iobase66drivers/isdn/teles/card.cinsb(iobase - 0x420 + offset, dest, count);
iobase70drivers/isdn/teles/card.cwriteisac_s(int iobase, byte offset, byte * src, int count)
iobase72drivers/isdn/teles/card.coutsb(iobase - 0x420 + offset, src, count);
iobase83drivers/isdn/teles/card.creadhscx_3(int iobase, byte hscx, byte offset)
iobase85drivers/isdn/teles/card.creturn (bytein(iobase - (hscx ? 0x820 : 0xc20) + offset));
iobase99drivers/isdn/teles/card.cwritehscx_3(int iobase, byte hscx, byte offset, byte data)
iobase101drivers/isdn/teles/card.cbyteout(iobase - (hscx ? 0x820 : 0xc20) + offset, data);
iobase105drivers/isdn/teles/card.creadhscx_s(int iobase, byte hscx, byte offset, byte * dest, int count)
iobase107drivers/isdn/teles/card.cinsb(iobase - (hscx ? 0x820 : 0xc20) + offset, dest, count);
iobase111drivers/isdn/teles/card.cwritehscx_s(int iobase, byte hscx, byte offset, byte * src, int count)
iobase113drivers/isdn/teles/card.coutsb(iobase - (hscx ? 0x820 : 0xc20) + offset, src, count);
iobase171drivers/isdn/teles/card.cwaitforCEC_3(int iobase, byte hscx)
iobase175drivers/isdn/teles/card.cwhile ((readhscx_3(iobase, hscx, HSCX_STAR) & 0x04) && to) {
iobase199drivers/isdn/teles/card.cwaitforXFW_3(int iobase, byte hscx)
iobase203drivers/isdn/teles/card.cwaitforCEC_3(iobase, hscx);
iobase205drivers/isdn/teles/card.cwhile ((!(readhscx_3(iobase, hscx, HSCX_STAR) & 0x40)) && to) {
iobase226drivers/isdn/teles/card.cwritehscxCMDR_3(int iobase, byte hscx, byte data)
iobase232drivers/isdn/teles/card.cwaitforCEC_3(iobase, hscx);
iobase233drivers/isdn/teles/card.cwritehscx_3(iobase, hscx, HSCX_CMDR, data);
iobase263drivers/isdn/teles/card.cprintk(KERN_DEBUG "  ISTA %x\n", readhscx_3(sp->iobase,
iobase265drivers/isdn/teles/card.cprintk(KERN_DEBUG "  STAR %x\n", readhscx_3(sp->iobase,
iobase267drivers/isdn/teles/card.cprintk(KERN_DEBUG "  EXIR %x\n", readhscx_3(sp->iobase,
iobase284drivers/isdn/teles/card.cprintk(KERN_DEBUG "  ISTA %x\n", readisac_3(sp->iobase,
iobase286drivers/isdn/teles/card.cprintk(KERN_DEBUG "  STAR %x\n", readisac_3(sp->iobase,
iobase288drivers/isdn/teles/card.cprintk(KERN_DEBUG "  EXIR %x\n", readisac_3(sp->iobase,
iobase320drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx, 0x80);
iobase332drivers/isdn/teles/card.creadhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count);
iobase333drivers/isdn/teles/card.cwritehscxCMDR_3(hsp->iobase, hsp->hscx, 0x80);
iobase396drivers/isdn/teles/card.cwaitforXFW_3(hsp->iobase, hsp->hscx);
iobase397drivers/isdn/teles/card.cwritehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count);
iobase398drivers/isdn/teles/card.cwritehscxCMDR_3(hsp->iobase, hsp->hscx, more ? 0x8 : 0xa);
iobase414drivers/isdn/teles/card.cr = READHSCX(hsp->membase, sp->iobase, hsp->hscx, HSCX_RSTA);
iobase426drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase, hsp->hscx,
iobase436drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase,
iobase442drivers/isdn/teles/card.ccount = READHSCX(hsp->membase, sp->iobase, hsp->hscx,
iobase460drivers/isdn/teles/card.cWRITEHSCX_CMDR(hsp->membase, hsp->iobase,
iobase544drivers/isdn/teles/card.creadisac_s(sp->iobase, 0x3e, ptr, count);
iobase549drivers/isdn/teles/card.creadisac_s(sp->iobase, 0x3e, ptr, count);
iobase551drivers/isdn/teles/card.cwriteisac_3(sp->iobase, ISAC_CMDR, 0x80);
iobase601drivers/isdn/teles/card.cwriteisac_s(sp->iobase, 0x3e, ptr, count);
iobase607drivers/isdn/teles/card.cwriteisac_s(sp->iobase, 0x3e, ptr, count);
iobase609drivers/isdn/teles/card.cwriteisac_3(sp->iobase, ISAC_CMDR, more ? 0x8 : 0xa);
iobase631drivers/isdn/teles/card.cWRITEISAC(sp->membase, sp->iobase, ISAC_CIX0, (command << 2) | 3);
iobase687drivers/isdn/teles/card.cval = READHSCX(sp->membase, sp->iobase, 1, HSCX_ISTA);
iobase692drivers/isdn/teles/card.cREADHSCX(sp->membase, sp->iobase, 1, HSCX_EXIR),
iobase703drivers/isdn/teles/card.cREADHSCX(sp->membase, sp->iobase, 0, HSCX_EXIR));
iobase716drivers/isdn/teles/card.cval2 = readhscx_3(sp->iobase, 0, HSCX_ISTA);
iobase728drivers/isdn/teles/card.cval = READISAC(sp->membase, sp->iobase, ISAC_ISTA);
iobase735drivers/isdn/teles/card.cr = READISAC(sp->membase, sp->iobase, ISAC_RSTA);
iobase744drivers/isdn/teles/card.cWRITEISAC(sp->membase, sp->iobase, ISAC_CMDR, 0x80);
iobase753drivers/isdn/teles/card.cWRITEISAC(sp->membase, sp->iobase, 
iobase759drivers/isdn/teles/card.ccount = READISAC(sp->membase, sp->iobase, ISAC_RBCL) & 0x1f;
iobase776drivers/isdn/teles/card.cWRITEISAC(sp->membase, sp->iobase,
iobase805drivers/isdn/teles/card.csp->ph_state = (READISAC(sp->membase, sp->iobase, ISAC_CIX0)
iobase818drivers/isdn/teles/card.cwriteisac_3(sp->iobase, ISAC_MASK, 0xFF);
iobase819drivers/isdn/teles/card.cwritehscx_3(sp->iobase, 0, HSCX_MASK, 0xFF);
iobase820drivers/isdn/teles/card.cwritehscx_3(sp->iobase, 1, HSCX_MASK, 0xFF);
iobase821drivers/isdn/teles/card.cwriteisac_3(sp->iobase, ISAC_MASK, 0x0);
iobase822drivers/isdn/teles/card.cwritehscx_3(sp->iobase, 0, HSCX_MASK, 0x0);
iobase823drivers/isdn/teles/card.cwritehscx_3(sp->iobase, 1, HSCX_MASK, 0x0);
iobase1011drivers/isdn/teles/card.cinitisac(byte * cardmem, int iobase)
iobase1023drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_MASK, 0xff);
iobase1024drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_ADF2, 0x80);
iobase1025drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_SQXR, 0x2f);
iobase1026drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_SPCR, 0x00);
iobase1027drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_ADF1, 0x02);
iobase1028drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_STCR, 0x70);
iobase1029drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_MODE, 0xc9);
iobase1030drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_TIMR, 0x00);
iobase1031drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_ADF1, 0x00);
iobase1032drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_CMDR, 0x41);
iobase1033drivers/isdn/teles/card.cwriteisac_3(iobase, ISAC_CIX0, (1 << 2) | 3);
iobase1044drivers/isdn/teles/card.cif (!card->iobase) {
iobase1056drivers/isdn/teles/card.cswitch (card->iobase) {
iobase1061drivers/isdn/teles/card.ccard->iobase, (card->iobase | 0xc00));
iobase1062drivers/isdn/teles/card.ccard->iobase |= 0xc00;
iobase1065drivers/isdn/teles/card.cif (check_region(card->iobase, 8)) {
iobase1068drivers/isdn/teles/card.ccard->iobase,
iobase1069drivers/isdn/teles/card.ccard->iobase + 8 );
iobase1104drivers/isdn/teles/card.cif (bytein(card->iobase + 0) != 0x51) {
iobase1106drivers/isdn/teles/card.ccard->iobase + 0,
iobase1107drivers/isdn/teles/card.cbytein(card->iobase + 0));
iobase1110drivers/isdn/teles/card.cif (bytein(card->iobase + 1) != 0x93) {
iobase1112drivers/isdn/teles/card.ccard->iobase + 1,
iobase1113drivers/isdn/teles/card.cbytein(card->iobase + 1));
iobase1116drivers/isdn/teles/card.cval = bytein(card->iobase + 2);  /* 0x1e=without AB
iobase1121drivers/isdn/teles/card.ccard->iobase + 2,
iobase1122drivers/isdn/teles/card.cbytein(card->iobase + 2));
iobase1126drivers/isdn/teles/card.crequest_region(card->iobase, 8, "teles");
iobase1129drivers/isdn/teles/card.cbyteout(card->iobase + 4, cfval);
iobase1135drivers/isdn/teles/card.cbyteout(card->iobase + 4, cfval | 1);
iobase1142drivers/isdn/teles/card.ccard->iobase, (long) card->membase,
iobase1149drivers/isdn/teles/card.ccard->iobase, card->interrupt,
iobase1153drivers/isdn/teles/card.cREADHSCX(card->membase, card->iobase, 0,
iobase1155drivers/isdn/teles/card.cREADHSCX(card->membase, card->iobase, 1,
iobase1241drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR1, 0x85);
iobase1242drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XAD1, 0xFF);
iobase1243drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XAD2, 0xFF);
iobase1244drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RAH2, 0xFF);
iobase1245drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XBCH, 0x00);
iobase1246drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RLCR, 0x00);
iobase1250drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30);
iobase1251drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAX, 0xff);
iobase1252drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAR, 0xff);
iobase1253drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XCCR, 7);
iobase1254drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RCCR, 7);
iobase1255drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_MODE, 0x84);
iobase1259drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30);
iobase1260drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f);
iobase1261drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f);
iobase1262drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XCCR, 7);
iobase1263drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RCCR, 7);
iobase1265drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30);
iobase1266drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3);
iobase1267drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3);
iobase1268drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XCCR, 7);
iobase1269drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RCCR, 7);
iobase1271drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_MODE, 0xe4);
iobase1272drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41);
iobase1276drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30);
iobase1277drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x2f);
iobase1278drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x2f);
iobase1279drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XCCR, 7);
iobase1280drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RCCR, 7);
iobase1282drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CCR2, 0x30);
iobase1283drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAX, 0x3);
iobase1284drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_TSAR, 0x3);
iobase1285drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_XCCR, 7);
iobase1286drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_RCCR, 7);
iobase1288drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_MODE, 0x8c);
iobase1289drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_CMDR, 0x41);
iobase1292drivers/isdn/teles/card.cwritehscx_3(sp->iobase, hscx, HSCX_ISTA, 0x00);
iobase1450drivers/isdn/teles/card.chsp->iobase = sp->iobase;
iobase1477drivers/isdn/teles/card.csp->iobase = card->iobase;
iobase1489drivers/isdn/teles/card.cinitisac(card->membase, card->iobase);
iobase1524drivers/isdn/teles/card.cWRITEISAC(sp->membase, sp->iobase, ISAC_MASK, 0x0);
iobase1586drivers/isdn/teles/card.cif (cards[cardnr].iobase)
iobase1587drivers/isdn/teles/card.crelease_region(cards[cardnr].iobase, 8);
iobase1625drivers/isdn/teles/card.crelease_region(cards[i].iobase, 8);
iobase1627drivers/isdn/teles/card.cprintk(KERN_WARNING "NO Teles card found at 0x%x!\n", cards[i].iobase);
iobase19drivers/isdn/teles/mod.cunsigned int    iobase;
iobase68drivers/isdn/teles/mod.cio[i].iobase    = ints[j];
iobase102drivers/isdn/teles/mod.ccards[i].iobase    = io[i].iobase;
iobase306drivers/isdn/teles/teles.hint             iobase;
iobase329drivers/isdn/teles/teles.hint             iobase;
iobase352drivers/isdn/teles/teles.hunsigned int    iobase;
iobase242drivers/net/3c509.cunsigned short iobase = id_read_eeprom(8);
iobase243drivers/net/3c509.cif_port = iobase >> 14;
iobase244drivers/net/3c509.cioaddr = 0x200 + ((iobase & 0x1f) << 4);
iobase219drivers/net/atarilance.cstruct lance_ioreg  *iobase;
iobase514drivers/net/atarilance.cIO = lp->iobase = (struct lance_ioreg *)ioaddr;
iobase626drivers/net/atarilance.cstruct lance_ioreg   *IO = lp->iobase;
iobase716drivers/net/atarilance.cstruct lance_ioreg   *IO = lp->iobase;
iobase861drivers/net/atarilance.cIO = lp->iobase;
iobase1053drivers/net/atarilance.cstruct lance_ioreg   *IO = lp->iobase;
iobase1090drivers/net/atarilance.cstruct lance_ioreg   *IO = lp->iobase;
iobase566drivers/net/de4x5.cstatic int     de4x5_hw_init(struct device *dev, u_long iobase);
iobase609drivers/net/de4x5.cstatic void    DevicePresent(u_long iobase);
iobase633drivers/net/de4x5.cstatic void    eisa_probe(struct device *dev, u_long iobase);
iobase634drivers/net/de4x5.cstatic void    pci_probe(struct device *dev, u_long iobase);
iobase635drivers/net/de4x5.cstatic struct  device *alloc_device(struct device *dev, u_long iobase);
iobase685drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase687drivers/net/de4x5.ceisa_probe(dev, iobase);
iobase688drivers/net/de4x5.cpci_probe(dev, iobase);
iobase690drivers/net/de4x5.cif ((tmp == num_de4x5s) && (iobase != 0) && loading_module) {
iobase692drivers/net/de4x5.ciobase);
iobase702drivers/net/de4x5.cif (iobase == 0) autoprobed = 1;
iobase708drivers/net/de4x5.cde4x5_hw_init(struct device *dev, u_long iobase)
iobase740drivers/net/de4x5.cdev->base_addr = iobase;
iobase743drivers/net/de4x5.cdev->name, name, iobase, ((iobase>>12)&0x0f));
iobase746drivers/net/de4x5.ciobase, lp->bus_num, lp->device);
iobase852drivers/net/de4x5.crequest_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE :
iobase913drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase998drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1071drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1153drivers/net/de4x5.cu_long iobase;
iobase1160drivers/net/de4x5.ciobase = dev->base_addr;
iobase1302drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1375drivers/net/de4x5.cint iobase = dev->base_addr;
iobase1398drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1439drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1469drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1502drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1564drivers/net/de4x5.cu_long iobase;
iobase1573drivers/net/de4x5.ciobase = EISA_SLOT_INC;            /* Get the first slot address */
iobase1577drivers/net/de4x5.ciobase = ioaddr;
iobase1582drivers/net/de4x5.cfor (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
iobase1593drivers/net/de4x5.coutl(iobase, PCI_CBIO);
iobase1595drivers/net/de4x5.cif (check_region(iobase, DE4X5_EISA_TOTAL_SIZE) == 0) {
iobase1596drivers/net/de4x5.cif ((dev = alloc_device(dev, iobase)) != NULL) {
iobase1597drivers/net/de4x5.cif ((status = de4x5_hw_init(dev, iobase)) == 0) {
iobase1603drivers/net/de4x5.cprintk("%s: region already allocated at 0x%04lx.\n", dev->name,iobase);
iobase1633drivers/net/de4x5.cu_int iobase;
iobase1668drivers/net/de4x5.cpcibios_read_config_dword(pb, PCI_DEVICE, PCI_BASE_ADDRESS_0, &iobase);
iobase1669drivers/net/de4x5.ciobase &= CBIO_MASK;
iobase1686drivers/net/de4x5.cif (check_region(iobase, DE4X5_PCI_TOTAL_SIZE) == 0) {
iobase1687drivers/net/de4x5.cif ((dev = alloc_device(dev, iobase)) != NULL) {
iobase1689drivers/net/de4x5.cif ((status = de4x5_hw_init(dev, iobase)) == 0) {
iobase1696drivers/net/de4x5.c(u_short)iobase);
iobase1709drivers/net/de4x5.calloc_device(struct device *dev, u_long iobase)
iobase1758drivers/net/de4x5.cdev->base_addr = iobase;       /* assign the io address */
iobase1821drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase1857drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2014drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2220drivers/net/de4x5.cint ana, anlpa, cap, cr, slnk, sr, iobase = dev->base_addr;
iobase2372drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2394drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2415drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2451drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2473drivers/net/de4x5.cint iobase = dev->base_addr;
iobase2502drivers/net/de4x5.cint test, iobase = dev->base_addr;
iobase2525drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2543drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2558drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2573drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2590drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2719drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2741drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2761drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2848drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2876drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase2897drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase3054drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase3427drivers/net/de4x5.cint iobase = dev->base_addr;
iobase3522drivers/net/de4x5.cint iobase = dev->base_addr;
iobase3549drivers/net/de4x5.cint iobase = dev->base_addr;
iobase3648drivers/net/de4x5.cint iobase = dev->base_addr;
iobase3772drivers/net/de4x5.cu_long iobase = dev->base_addr;
iobase16drivers/net/de4x5.h#define DE4X5_BMR    iobase+(0x000 << lp->bus)  /* Bus Mode Register */
iobase17drivers/net/de4x5.h#define DE4X5_TPD    iobase+(0x008 << lp->bus)  /* Transmit Poll Demand Reg */
iobase18drivers/net/de4x5.h#define DE4X5_RPD    iobase+(0x010 << lp->bus)  /* Receive Poll Demand Reg */
iobase19drivers/net/de4x5.h#define DE4X5_RRBA   iobase+(0x018 << lp->bus)  /* RX Ring Base Address Reg */
iobase20drivers/net/de4x5.h#define DE4X5_TRBA   iobase+(0x020 << lp->bus)  /* TX Ring Base Address Reg */
iobase21drivers/net/de4x5.h#define DE4X5_STS    iobase+(0x028 << lp->bus)  /* Status Register */
iobase22drivers/net/de4x5.h#define DE4X5_OMR    iobase+(0x030 << lp->bus)  /* Operation Mode Register */
iobase23drivers/net/de4x5.h#define DE4X5_IMR    iobase+(0x038 << lp->bus)  /* Interrupt Mask Register */
iobase24drivers/net/de4x5.h#define DE4X5_MFC    iobase+(0x040 << lp->bus)  /* Missed Frame Counter */
iobase25drivers/net/de4x5.h#define DE4X5_APROM  iobase+(0x048 << lp->bus)  /* Ethernet Address PROM */
iobase26drivers/net/de4x5.h#define DE4X5_BROM   iobase+(0x048 << lp->bus)  /* Boot ROM Register */
iobase27drivers/net/de4x5.h#define DE4X5_SROM   iobase+(0x048 << lp->bus)  /* Serial ROM Register */
iobase28drivers/net/de4x5.h#define DE4X5_MII    iobase+(0x048 << lp->bus)  /* MII Interface Register */
iobase29drivers/net/de4x5.h#define DE4X5_DDR    iobase+(0x050 << lp->bus)  /* Data Diagnostic Register */
iobase30drivers/net/de4x5.h#define DE4X5_FDR    iobase+(0x058 << lp->bus)  /* Full Duplex Register */
iobase31drivers/net/de4x5.h#define DE4X5_GPT    iobase+(0x058 << lp->bus)  /* General Purpose Timer Reg.*/
iobase32drivers/net/de4x5.h#define DE4X5_GEP    iobase+(0x060 << lp->bus)  /* General Purpose Register */
iobase33drivers/net/de4x5.h#define DE4X5_SISR   iobase+(0x060 << lp->bus)  /* SIA Status Register */
iobase34drivers/net/de4x5.h#define DE4X5_SICR   iobase+(0x068 << lp->bus)  /* SIA Connectivity Register */
iobase35drivers/net/de4x5.h#define DE4X5_STRR   iobase+(0x070 << lp->bus)  /* SIA TX/RX Register */
iobase36drivers/net/de4x5.h#define DE4X5_SIGR   iobase+(0x078 << lp->bus)  /* SIA General Register */
iobase41drivers/net/de4x5.h#define EISA_ID      iobase+0x0c80   /* EISA ID Registers */ 
iobase42drivers/net/de4x5.h#define EISA_ID0     iobase+0x0c80   /* EISA ID Register 0 */ 
iobase43drivers/net/de4x5.h#define EISA_ID1     iobase+0x0c81   /* EISA ID Register 1 */ 
iobase44drivers/net/de4x5.h#define EISA_ID2     iobase+0x0c82   /* EISA ID Register 2 */ 
iobase45drivers/net/de4x5.h#define EISA_ID3     iobase+0x0c83   /* EISA ID Register 3 */ 
iobase46drivers/net/de4x5.h#define EISA_CR      iobase+0x0c84   /* EISA Control Register */
iobase47drivers/net/de4x5.h#define EISA_REG0    iobase+0x0c88   /* EISA Configuration Register 0 */
iobase48drivers/net/de4x5.h#define EISA_REG1    iobase+0x0c89   /* EISA Configuration Register 1 */
iobase49drivers/net/de4x5.h#define EISA_REG2    iobase+0x0c8a   /* EISA Configuration Register 2 */
iobase50drivers/net/de4x5.h#define EISA_REG3    iobase+0x0c8f   /* EISA Configuration Register 3 */
iobase51drivers/net/de4x5.h#define EISA_APROM   iobase+0x0c90   /* Ethernet Address PROM */
iobase56drivers/net/de4x5.h#define PCI_CFID     iobase+0x0008   /* PCI Configuration ID Register */
iobase57drivers/net/de4x5.h#define PCI_CFCS     iobase+0x000c   /* PCI Command/Status Register */
iobase58drivers/net/de4x5.h#define PCI_CFRV     iobase+0x0018   /* PCI Revision Register */
iobase59drivers/net/de4x5.h#define PCI_CFLT     iobase+0x001c   /* PCI Latency Timer Register */
iobase60drivers/net/de4x5.h#define PCI_CBIO     iobase+0x0028   /* PCI Base I/O Register */
iobase61drivers/net/de4x5.h#define PCI_CBMA     iobase+0x002c   /* PCI Base Memory Address Register */
iobase62drivers/net/de4x5.h#define PCI_CBER     iobase+0x0030   /* PCI Expansion ROM Base Address Reg. */
iobase63drivers/net/de4x5.h#define PCI_CFIT     iobase+0x003c   /* PCI Configuration Interrupt Register */
iobase64drivers/net/de4x5.h#define PCI_CFDA     iobase+0x0040   /* PCI Driver Area Register */
iobase407drivers/net/depca.cstatic void   isa_probe(struct device *dev, u_long iobase);
iobase408drivers/net/depca.cstatic void   eisa_probe(struct device *dev, u_long iobase);
iobase409drivers/net/depca.cstatic struct device *alloc_device(struct device *dev, u_long iobase);
iobase444drivers/net/depca.cu_long iobase = dev->base_addr;
iobase446drivers/net/depca.cif ((iobase == 0) && loading_module){
iobase450drivers/net/depca.cisa_probe(dev, iobase);
iobase451drivers/net/depca.ceisa_probe(dev, iobase);
iobase453drivers/net/depca.cif ((tmp == num_depcas) && (iobase != 0) && loading_module) {
iobase455drivers/net/depca.ciobase);
iobase465drivers/net/depca.cif (iobase == 0) autoprobed = 1;
iobase1255drivers/net/depca.cu_long iobase;
iobase1262drivers/net/depca.ciobase = EISA_SLOT_INC;                    /* Get the first slot address */
iobase1266drivers/net/depca.ciobase = ioaddr;
iobase1270drivers/net/depca.cif ((iobase & 0x0fff) == 0) iobase += DEPCA_EISA_IO_PORTS;
iobase1272drivers/net/depca.cfor (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
iobase1274drivers/net/depca.cif (DevicePresent(iobase) == 0) { 
iobase1275drivers/net/depca.cif (check_region(iobase, DEPCA_TOTAL_SIZE) == 0) {
iobase1276drivers/net/depca.cif ((dev = alloc_device(dev, iobase)) != NULL) {
iobase1277drivers/net/depca.cif (depca_hw_init(dev, iobase) == 0) {
iobase1283drivers/net/depca.cprintk("%s: region already allocated at 0x%04lx.\n",dev->name,iobase);
iobase1296drivers/net/depca.cstatic struct device *alloc_device(struct device *dev, u_long iobase)
iobase1347drivers/net/depca.cdev->base_addr = iobase;           /* assign the io address */
iobase152drivers/net/depca.h#define EISA_ID         iobase+0x0080 /* ID long word for EISA card */
iobase153drivers/net/depca.h#define EISA_CTRL       iobase+0x0084 /* Control word for EISA card */
iobase301drivers/net/ewrk3.cstatic int    ewrk3_hw_init(struct device *dev, u_long iobase);
iobase307drivers/net/ewrk3.cstatic int    DevicePresent(u_long iobase);
iobase311drivers/net/ewrk3.cstatic int    Read_EEPROM(u_long iobase, u_char eaddr);
iobase312drivers/net/ewrk3.cstatic int    Write_EEPROM(short data, u_long iobase, u_char eaddr);
iobase315drivers/net/ewrk3.cstatic void   isa_probe(struct device *dev, u_long iobase);
iobase316drivers/net/ewrk3.cstatic void   eisa_probe(struct device *dev, u_long iobase);
iobase317drivers/net/ewrk3.cstatic struct device *alloc_device(struct device *dev, u_long iobase);
iobase348drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase350drivers/net/ewrk3.cif ((iobase == 0) && loading_module){
iobase355drivers/net/ewrk3.cisa_probe(dev, iobase);
iobase356drivers/net/ewrk3.ceisa_probe(dev, iobase);
iobase358drivers/net/ewrk3.cif ((tmp == num_ewrk3s) && (iobase != 0) && loading_module) {
iobase360drivers/net/ewrk3.ciobase);
iobase370drivers/net/ewrk3.cif (iobase == 0) autoprobed = 1;
iobase377drivers/net/ewrk3.cewrk3_hw_init(struct device *dev, u_long iobase)
iobase389drivers/net/ewrk3.cif (iobase > 0x400) eisa_cr = inb(EISA_CR);
iobase407drivers/net/ewrk3.ctmp.val = (short)Read_EEPROM(iobase, (i>>1));
iobase419drivers/net/ewrk3.cdev->base_addr = iobase;
iobase421drivers/net/ewrk3.cif (iobase > 0x400) {
iobase430drivers/net/ewrk3.cprintk("%s: %s at %#4lx", dev->name, name, iobase);
iobase432drivers/net/ewrk3.c} else if ((iobase&0x0fff)==EWRK3_EISA_IO_PORTS) {
iobase435drivers/net/ewrk3.cdev->name, name, iobase, ((iobase>>12)&0x0f));
iobase437drivers/net/ewrk3.cprintk("%s: %s at %#4lx", dev->name, name, iobase);
iobase442drivers/net/ewrk3.cif (lemac!=LeMAC2) DevicePresent(iobase);/* need after EWRK3_INIT */
iobase525drivers/net/ewrk3.crequest_region(iobase, EWRK3_TOTAL_SIZE, lp->adapter_name);
iobase577drivers/net/ewrk3.cif (status) release_region(iobase, EWRK3_TOTAL_SIZE);
iobase618drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase692drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase726drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase879drivers/net/ewrk3.cu_long iobase;
iobase886drivers/net/ewrk3.ciobase = dev->base_addr;
iobase942drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1086drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1121drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1177drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1213drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1296drivers/net/ewrk3.cu_long iobase;
iobase1302drivers/net/ewrk3.ciobase = EWRK3_IO_BASE;              /* Get the first slot address */
iobase1305drivers/net/ewrk3.ciobase = ioaddr;
iobase1309drivers/net/ewrk3.cfor (; (i<maxSlots) && (dev!=NULL);iobase+=EWRK3_IOP_INC, i++) {
iobase1310drivers/net/ewrk3.cif (!check_region(iobase, EWRK3_TOTAL_SIZE)) {    
iobase1311drivers/net/ewrk3.cif (DevicePresent(iobase) == 0) {
iobase1312drivers/net/ewrk3.cif ((dev = alloc_device(dev, iobase)) != NULL) {
iobase1313drivers/net/ewrk3.cif (ewrk3_hw_init(dev, iobase) == 0) {
iobase1320drivers/net/ewrk3.cprintk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase);
iobase1334drivers/net/ewrk3.cu_long iobase;
iobase1341drivers/net/ewrk3.ciobase = EISA_SLOT_INC;              /* Get the first slot address */
iobase1345drivers/net/ewrk3.ciobase = ioaddr;
iobase1350drivers/net/ewrk3.cfor (i=1; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) {
iobase1352drivers/net/ewrk3.cif (!check_region(iobase, EWRK3_TOTAL_SIZE)) {
iobase1353drivers/net/ewrk3.cif (DevicePresent(iobase) == 0) {
iobase1354drivers/net/ewrk3.cif ((dev = alloc_device(dev, iobase)) != NULL) {
iobase1355drivers/net/ewrk3.cif (ewrk3_hw_init(dev, iobase) == 0) {
iobase1362drivers/net/ewrk3.cprintk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase);
iobase1374drivers/net/ewrk3.cstatic struct device *alloc_device(struct device *dev, u_long iobase)
iobase1425drivers/net/ewrk3.cdev->base_addr = iobase;           /* assign the io address */
iobase1483drivers/net/ewrk3.cstatic int Read_EEPROM(u_long iobase, u_char eaddr)
iobase1497drivers/net/ewrk3.cstatic int Write_EEPROM(short data, u_long iobase, u_char eaddr)
iobase1553drivers/net/ewrk3.cstatic int DevicePresent(u_long iobase)
iobase1595drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1677drivers/net/ewrk3.cu_long iobase = dev->base_addr;
iobase1832drivers/net/ewrk3.ctmp.val[i] = (short)Read_EEPROM(iobase, i);
iobase1853drivers/net/ewrk3.cWrite_EEPROM(tmp.val[i], iobase, i);
iobase18drivers/net/ewrk3.h#define EWRK3_CSR    iobase+0x00   /* Control and Status Register */
iobase19drivers/net/ewrk3.h#define EWRK3_CR     iobase+0x01   /* Control Register */
iobase20drivers/net/ewrk3.h#define EWRK3_ICR    iobase+0x02   /* Interrupt Control Register */
iobase21drivers/net/ewrk3.h#define EWRK3_TSR    iobase+0x03   /* Transmit Status Register */
iobase22drivers/net/ewrk3.h#define EWRK3_RSVD1  iobase+0x04   /* RESERVED */
iobase23drivers/net/ewrk3.h#define EWRK3_RSVD2  iobase+0x05   /* RESERVED */
iobase24drivers/net/ewrk3.h#define EWRK3_FMQ    iobase+0x06   /* Free Memory Queue */
iobase25drivers/net/ewrk3.h#define EWRK3_FMQC   iobase+0x07   /* Free Memory Queue Counter */
iobase26drivers/net/ewrk3.h#define EWRK3_RQ     iobase+0x08   /* Receive Queue */
iobase27drivers/net/ewrk3.h#define EWRK3_RQC    iobase+0x09   /* Receive Queue Counter */
iobase28drivers/net/ewrk3.h#define EWRK3_TQ     iobase+0x0a   /* Transmit Queue */
iobase29drivers/net/ewrk3.h#define EWRK3_TQC    iobase+0x0b   /* Transmit Queue Counter */
iobase30drivers/net/ewrk3.h#define EWRK3_TDQ    iobase+0x0c   /* Transmit Done Queue */
iobase31drivers/net/ewrk3.h#define EWRK3_TDQC   iobase+0x0d   /* Transmit Done Queue Counter */
iobase32drivers/net/ewrk3.h#define EWRK3_PIR1   iobase+0x0e   /* Page Index Register 1 */
iobase33drivers/net/ewrk3.h#define EWRK3_PIR2   iobase+0x0f   /* Page Index Register 2 */
iobase34drivers/net/ewrk3.h#define EWRK3_DATA   iobase+0x10   /* Data Register */
iobase35drivers/net/ewrk3.h#define EWRK3_IOPR   iobase+0x11   /* I/O Page Register */
iobase36drivers/net/ewrk3.h#define EWRK3_IOBR   iobase+0x12   /* I/O Base Register */
iobase37drivers/net/ewrk3.h#define EWRK3_MPR    iobase+0x13   /* Memory Page Register */
iobase38drivers/net/ewrk3.h#define EWRK3_MBR    iobase+0x14   /* Memory Base Register */
iobase39drivers/net/ewrk3.h#define EWRK3_APROM  iobase+0x15   /* Address PROM */
iobase40drivers/net/ewrk3.h#define EWRK3_EPROM1 iobase+0x16   /* EEPROM Data Register 1 */
iobase41drivers/net/ewrk3.h#define EWRK3_EPROM2 iobase+0x17   /* EEPROM Data Register 2 */
iobase42drivers/net/ewrk3.h#define EWRK3_PAR0   iobase+0x18   /* Physical Address Register 0 */
iobase43drivers/net/ewrk3.h#define EWRK3_PAR1   iobase+0x19   /* Physical Address Register 1 */
iobase44drivers/net/ewrk3.h#define EWRK3_PAR2   iobase+0x1a   /* Physical Address Register 2 */
iobase45drivers/net/ewrk3.h#define EWRK3_PAR3   iobase+0x1b   /* Physical Address Register 3 */
iobase46drivers/net/ewrk3.h#define EWRK3_PAR4   iobase+0x1c   /* Physical Address Register 4 */
iobase47drivers/net/ewrk3.h#define EWRK3_PAR5   iobase+0x1d   /* Physical Address Register 5 */
iobase48drivers/net/ewrk3.h#define EWRK3_CMR    iobase+0x1e   /* Configuration/Management Register */
iobase175drivers/net/ewrk3.h#define EISA_ID       iobase + 0x0c80  /* EISA ID Registers */ 
iobase176drivers/net/ewrk3.h#define EISA_ID0      iobase + 0x0c80  /* EISA ID Register 0 */ 
iobase177drivers/net/ewrk3.h#define EISA_ID1      iobase + 0x0c81  /* EISA ID Register 1 */ 
iobase178drivers/net/ewrk3.h#define EISA_ID2      iobase + 0x0c82  /* EISA ID Register 2 */ 
iobase179drivers/net/ewrk3.h#define EISA_ID3      iobase + 0x0c83  /* EISA ID Register 3 */ 
iobase180drivers/net/ewrk3.h#define EISA_CR       iobase + 0x0c84  /* EISA Control Register */
iobase778drivers/net/wavelan.cstatic unsigned short  iobase[]  =
iobase828drivers/net/wavelan.cfor (i = 0; i < nels(iobase); i++)
iobase830drivers/net/wavelan.cif (check_region(iobase[i], sizeof(ha_t)))
iobase833drivers/net/wavelan.cif (wavelan_probe1(dev, iobase[i]) == 0)
iobase331drivers/scsi/eata.cstatic inline unchar wait_on_busy(ushort iobase) {
iobase334drivers/scsi/eata.cwhile (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED)
iobase340drivers/scsi/eata.cstatic inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) {
iobase342drivers/scsi/eata.cif (wait_on_busy(iobase)) return TRUE;
iobase345drivers/scsi/eata.coutb((char)  addr,        iobase + REG_LOW);
iobase346drivers/scsi/eata.coutb((char) (addr >> 8),  iobase + REG_LM);
iobase347drivers/scsi/eata.coutb((char) (addr >> 16), iobase + REG_MID);
iobase348drivers/scsi/eata.coutb((char) (addr >> 24), iobase + REG_MSB);
iobase351drivers/scsi/eata.coutb(cmd, iobase + REG_CMD);
iobase355drivers/scsi/eata.cstatic inline unchar read_pio (ushort iobase, ushort *start, ushort *end) {
iobase361drivers/scsi/eata.cwhile (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) 
iobase365drivers/scsi/eata.c*p = inw(iobase);
iobase659drivers/scsi/fdomain.cstatic int fdomain_isa_detect( int *irq, int *iobase )
iobase701drivers/scsi/fdomain.c*iobase = base;
iobase740drivers/scsi/fdomain.c*iobase = base;
iobase745drivers/scsi/fdomain.cstatic int fdomain_pci_nobios_detect( int *irq, int *iobase )
iobase773drivers/scsi/fdomain.c*iobase = i;
iobase796drivers/scsi/fdomain.cstatic int fdomain_pci_bios_detect( int *irq, int *iobase )
iobase808drivers/scsi/fdomain.cif (!pcibios_present()) return fdomain_pci_nobios_detect( irq, iobase );
iobase896drivers/scsi/fdomain.c*iobase = (pci_base & 0xfff8);
iobase900drivers/scsi/fdomain.cprintk( "TMC-3260: IRQ = %d, I/O base = 0x%x\n", *irq, *iobase );
iobase903drivers/scsi/fdomain.cif (!fdomain_is_valid_port( *iobase )) return 0;
iobase301drivers/scsi/u14-34f.cstatic inline unchar wait_on_busy(ushort iobase) {
iobase304drivers/scsi/u14-34f.cwhile (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED)
iobase171drivers/scsi/wd7000.cint iobase;                       /* This adapter's I/O base address */
iobase196drivers/scsi/wd7000.cint iobase;                   /* I/O ports base address */
iobase543drivers/scsi/wd7000.coutb(host->control, host->iobase+ASC_CONTROL);
iobase550drivers/scsi/wd7000.coutb(host->control,host->iobase+ASC_CONTROL);
iobase580drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0);
iobase583drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
iobase584drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
iobase585drivers/scsi/wd7000.c}  while (inb(host->iobase+ASC_STAT) & CMD_REJ);
iobase809drivers/scsi/wd7000.c#define wd7000_intr_ack(host)  outb(0,host->iobase+ASC_INTR_ACK)
iobase825drivers/scsi/wd7000.cflag = inb(host->iobase+ASC_INTR_STAT);
iobase830drivers/scsi/wd7000.cif (!(inb(host->iobase+ASC_STAT) & INT_IM))  {
iobase1006drivers/scsi/wd7000.coutb(ASC_RES, host->iobase+ASC_CONTROL);
iobase1008drivers/scsi/wd7000.coutb(0,host->iobase+ASC_CONTROL);
iobase1010drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
iobase1012drivers/scsi/wd7000.cif ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1)  {
iobase1049drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0);
iobase1134drivers/scsi/wd7000.cif (check_region(cfg->iobase, 4))  {  /* ports in use */
iobase1135drivers/scsi/wd7000.cprintk("IO %xh already in use.\n", host->iobase);
iobase1154drivers/scsi/wd7000.chost->iobase = cfg->iobase;
iobase1171drivers/scsi/wd7000.chost->iobase, host->irq, host->dma);
iobase1173drivers/scsi/wd7000.crequest_region(host->iobase, 4,"wd7000"); /* Register our ports */
iobase1198drivers/scsi/wd7000.cif (inb(host->iobase+ASC_STAT) & INT_IM)  {
iobase103include/linux/istallion.hunsigned int  iobase;
iobase108include/linux/stallion.hint    iobase;