taglinefilesource code
ioaddr4293drivers/char/istallion.cstli_brdstats.ioaddr = brdp->iobase;
ioaddr234drivers/char/stallion.cint      ioaddr;
ioaddr1156drivers/char/stallion.csio.port = portp->ioaddr;
ioaddr1555drivers/char/stallion.coutb((regnr + portp->uartaddr), portp->ioaddr);
ioaddr1556drivers/char/stallion.creturn(inb(portp->ioaddr + EREG_DATA));
ioaddr1561drivers/char/stallion.coutb((regnr + portp->uartaddr), portp->ioaddr);
ioaddr1562drivers/char/stallion.coutb(value, portp->ioaddr + EREG_DATA);
ioaddr1567drivers/char/stallion.coutb((regnr + portp->uartaddr), portp->ioaddr);
ioaddr1568drivers/char/stallion.cif (inb(portp->ioaddr + EREG_DATA) != value) {
ioaddr1569drivers/char/stallion.coutb(value, portp->ioaddr + EREG_DATA);
ioaddr1589drivers/char/stallion.cstatic inline void stl_txisr(stlpanel_t *panelp, int ioaddr)
ioaddr1597drivers/char/stallion.cprintk("stl_txisr(panelp=%x,ioaddr=%x)\n", (int) panelp, ioaddr);
ioaddr1600drivers/char/stallion.cioack = inb(ioaddr + EREG_TXACK);
ioaddr1614drivers/char/stallion.coutb((TDR + portp->uartaddr), ioaddr);
ioaddr1615drivers/char/stallion.coutb(ETC_CMD, (ioaddr + EREG_DATA));
ioaddr1616drivers/char/stallion.coutb(ETC_STARTBREAK, (ioaddr + EREG_DATA));
ioaddr1617drivers/char/stallion.coutb(ETC_CMD, (ioaddr + EREG_DATA));
ioaddr1618drivers/char/stallion.coutb(ETC_DELAY, (ioaddr + EREG_DATA));
ioaddr1619drivers/char/stallion.coutb(portp->brklen, (ioaddr + EREG_DATA));
ioaddr1620drivers/char/stallion.coutb(ETC_CMD, (ioaddr + EREG_DATA));
ioaddr1621drivers/char/stallion.coutb(ETC_STOPBREAK, (ioaddr + EREG_DATA));
ioaddr1625drivers/char/stallion.coutb((COR2 + portp->uartaddr), ioaddr);
ioaddr1626drivers/char/stallion.coutb((inb(ioaddr + EREG_DATA) & ~COR2_ETC), (ioaddr + EREG_DATA));
ioaddr1640drivers/char/stallion.coutb((SRER + portp->uartaddr), ioaddr);
ioaddr1641drivers/char/stallion.csrer = inb(ioaddr + EREG_DATA);
ioaddr1648drivers/char/stallion.coutb(srer, (ioaddr + EREG_DATA));
ioaddr1653drivers/char/stallion.coutb((TDR + portp->uartaddr), ioaddr);
ioaddr1654drivers/char/stallion.coutsb((ioaddr + EREG_DATA), tail, stlen);
ioaddr1660drivers/char/stallion.coutsb((ioaddr + EREG_DATA), tail, len);
ioaddr1667drivers/char/stallion.coutb((EOSRR + portp->uartaddr), ioaddr);
ioaddr1668drivers/char/stallion.coutb(0, (ioaddr + EREG_DATA));
ioaddr1683drivers/char/stallion.cstatic inline void stl_rxisr(stlpanel_t *panelp, int ioaddr)
ioaddr1693drivers/char/stallion.cprintk("stl_rxisr(panelp=%x,ioaddr=%x)\n", (int) panelp, ioaddr);
ioaddr1696drivers/char/stallion.cioack = inb(ioaddr + EREG_RXACK);
ioaddr1705drivers/char/stallion.coutb((RDCR + portp->uartaddr), ioaddr);
ioaddr1706drivers/char/stallion.clen = inb(ioaddr + EREG_DATA);
ioaddr1709drivers/char/stallion.coutb((RDSR + portp->uartaddr), ioaddr);
ioaddr1710drivers/char/stallion.cinsb((ioaddr + EREG_DATA), &unwanted[0], len);
ioaddr1716drivers/char/stallion.coutb((RDSR + portp->uartaddr), ioaddr);
ioaddr1717drivers/char/stallion.cinsb((ioaddr + EREG_DATA), tty->flip.char_buf_ptr, len);
ioaddr1727drivers/char/stallion.coutb((RDSR + portp->uartaddr), ioaddr);
ioaddr1728drivers/char/stallion.cstatus = inb(ioaddr + EREG_DATA);
ioaddr1729drivers/char/stallion.cch = inb(ioaddr + EREG_DATA);
ioaddr1780drivers/char/stallion.coutb((EOSRR + portp->uartaddr), ioaddr);
ioaddr1781drivers/char/stallion.coutb(0, (ioaddr + EREG_DATA));
ioaddr1792drivers/char/stallion.cstatic inline void stl_mdmisr(stlpanel_t *panelp, int ioaddr)
ioaddr1802drivers/char/stallion.cioack = inb(ioaddr + EREG_MDACK);
ioaddr1809drivers/char/stallion.coutb((MISR + portp->uartaddr), ioaddr);
ioaddr1810drivers/char/stallion.cmisr = inb(ioaddr + EREG_DATA);
ioaddr1817drivers/char/stallion.coutb((EOSRR + portp->uartaddr), ioaddr);
ioaddr1818drivers/char/stallion.coutb(0, (ioaddr + EREG_DATA));
ioaddr2474drivers/char/stallion.cint    nrchips, uartaddr, ioaddr;
ioaddr2491drivers/char/stallion.cioaddr = panelp->iobase;
ioaddr2493drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1));
ioaddr2496drivers/char/stallion.coutb((GFRCR + uartaddr), ioaddr);
ioaddr2497drivers/char/stallion.coutb(0, (ioaddr + EREG_DATA));
ioaddr2498drivers/char/stallion.coutb((CCR + uartaddr), ioaddr);
ioaddr2499drivers/char/stallion.coutb(CCR_RESETFULL, (ioaddr + EREG_DATA));
ioaddr2500drivers/char/stallion.coutb(CCR_RESETFULL, (ioaddr + EREG_DATA));
ioaddr2501drivers/char/stallion.coutb((GFRCR + uartaddr), ioaddr);
ioaddr2503drivers/char/stallion.cif ((gfrcr = inb(ioaddr + EREG_DATA)) != 0)
ioaddr2511drivers/char/stallion.coutb((PPR + uartaddr), ioaddr);
ioaddr2512drivers/char/stallion.coutb(PPR_SCALAR, (ioaddr + EREG_DATA));
ioaddr2520drivers/char/stallion.cioaddr = panelp->iobase;
ioaddr2524drivers/char/stallion.cioaddr = panelp->iobase;
ioaddr2526drivers/char/stallion.cioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3));
ioaddr2539drivers/char/stallion.cportp->ioaddr = ioaddr;
ioaddr2644drivers/char/stallion.cint    panelnr, ioaddr, i;
ioaddr2707drivers/char/stallion.cioaddr = brdp->ioaddr2;
ioaddr2714drivers/char/stallion.cioaddr = brdp->ioaddr2;
ioaddr2716drivers/char/stallion.cstatus = inb(ioaddr + ECH_PNLSTATUS);
ioaddr2727drivers/char/stallion.cpanelp->iobase = ioaddr;
ioaddr2736drivers/char/stallion.cioaddr += (EREG_BANKSIZE * 2);
ioaddr2742drivers/char/stallion.cioaddr += EREG_BANKSIZE;
ioaddr2747drivers/char/stallion.cif (ioaddr >= (brdp->ioaddr2 + 0x20))
ioaddr2818drivers/char/stallion.cunsigned int  ioaddr;
ioaddr2860drivers/char/stallion.cif ((rc = pcibios_read_config_dword(busnr, devnr, PCI_BASE_ADDRESS_0, &ioaddr))) {
ioaddr2864drivers/char/stallion.cbrdp->ioaddr2 = (ioaddr & PCI_BASE_ADDRESS_IO_MASK);
ioaddr2866drivers/char/stallion.cif ((rc = pcibios_read_config_dword(busnr, devnr, PCI_BASE_ADDRESS_1, &ioaddr))) {
ioaddr2870drivers/char/stallion.cbrdp->ioaddr1 = (ioaddr & PCI_BASE_ADDRESS_IO_MASK);
ioaddr2970drivers/char/stallion.cstl_brdstats.ioaddr = brdp->ioaddr1;
ioaddr119drivers/net/3c501.cstatic int  el1_probe1(struct device *dev, int ioaddr);
ioaddr149drivers/net/3c501.c#define RX_STATUS (ioaddr + 0x06)
ioaddr151drivers/net/3c501.c#define TX_STATUS (ioaddr + 0x07)
ioaddr153drivers/net/3c501.c#define GP_LOW     (ioaddr + 0x08)
ioaddr154drivers/net/3c501.c#define GP_HIGH   (ioaddr + 0x09)
ioaddr155drivers/net/3c501.c#define RX_BUF_CLR (ioaddr + 0x0A)
ioaddr156drivers/net/3c501.c#define RX_LOW    (ioaddr + 0x0A)
ioaddr157drivers/net/3c501.c#define RX_HIGH   (ioaddr + 0x0B)
ioaddr158drivers/net/3c501.c#define SAPROM    (ioaddr + 0x0C)
ioaddr159drivers/net/3c501.c#define AX_STATUS (ioaddr + 0x0E)
ioaddr161drivers/net/3c501.c#define DATAPORT  (ioaddr + 0x0F)
ioaddr223drivers/net/3c501.cint ioaddr = netcard_portlist[i];
ioaddr224drivers/net/3c501.cif (check_region(ioaddr, EL1_IO_EXTENT))
ioaddr226drivers/net/3c501.cif (el1_probe1(dev, ioaddr) == 0)
ioaddr238drivers/net/3c501.cstatic int el1_probe1(struct device *dev, int ioaddr)
ioaddr253drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
ioaddr254drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
ioaddr277drivers/net/3c501.crequest_region(ioaddr, EL1_IO_EXTENT,"3c501");
ioaddr298drivers/net/3c501.cmname, ioaddr);
ioaddr304drivers/net/3c501.cdev->base_addr = ioaddr;
ioaddr358drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr379drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr495drivers/net/3c501.cint ioaddr;
ioaddr504drivers/net/3c501.cioaddr = dev->base_addr;
ioaddr564drivers/net/3c501.cinw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR));
ioaddr676drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr730drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr739drivers/net/3c501.coutb(dev->dev_addr[i], ioaddr + i);
ioaddr755drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr758drivers/net/3c501.cprintk("%s: Shutting down ethercard at %#x.\n", dev->name, ioaddr);
ioaddr788drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr56drivers/net/3c503.cint el2_probe1(struct device *dev, int ioaddr);
ioaddr139drivers/net/3c503.cint ioaddr = netcard_portlist[i];
ioaddr140drivers/net/3c503.cif (check_region(ioaddr, EL2_IO_EXTENT))
ioaddr142drivers/net/3c503.cif (el2_probe1(dev, ioaddr) == 0)
ioaddr154drivers/net/3c503.cel2_probe1(struct device *dev, int ioaddr)
ioaddr161drivers/net/3c503.cif (inb(ioaddr + 0x408) == 0xff) {
ioaddr168drivers/net/3c503.ciobase_reg = inb(ioaddr+0x403);
ioaddr169drivers/net/3c503.cmembase_reg = inb(ioaddr+0x404);
ioaddr175drivers/net/3c503.csaved_406 = inb_p(ioaddr + 0x406);
ioaddr176drivers/net/3c503.coutb_p(ECNTRL_RESET|ECNTRL_THIN, ioaddr + 0x406); /* Reset it... */
ioaddr177drivers/net/3c503.coutb_p(ECNTRL_THIN, ioaddr + 0x406);
ioaddr180drivers/net/3c503.coutb(ECNTRL_SAPROM|ECNTRL_THIN, ioaddr + 0x406);
ioaddr181drivers/net/3c503.cvendor_id = inb(ioaddr)*0x10000 + inb(ioaddr + 1)*0x100 + inb(ioaddr + 2);
ioaddr184drivers/net/3c503.coutb(saved_406, ioaddr + 0x406);
ioaddr197drivers/net/3c503.cdev->base_addr = ioaddr;
ioaddr204drivers/net/3c503.cprintk("%s: 3c503 at i/o base %#3x, node ", dev->name, ioaddr);
ioaddr208drivers/net/3c503.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr211drivers/net/3c503.coutb(ECNTRL_THIN, ioaddr + 0x406);
ioaddr214drivers/net/3c503.coutb_p(E8390_PAGE0, ioaddr + E8390_CMD);
ioaddr215drivers/net/3c503.coutb_p(0, ioaddr + EN0_DCFG);
ioaddr216drivers/net/3c503.coutb_p(E8390_PAGE2, ioaddr + E8390_CMD);
ioaddr217drivers/net/3c503.cwordlength = inb_p(ioaddr + EN0_DCFG) & ENDCFG_WTS;
ioaddr218drivers/net/3c503.coutb_p(E8390_PAGE0, ioaddr + E8390_CMD);
ioaddr222drivers/net/3c503.coutb(EGACFR_NORM, ioaddr + 0x405);  /* Enable RAM */
ioaddr301drivers/net/3c503.crequest_region(ioaddr, EL2_IO_EXTENT, ei_status.name);
ioaddr280drivers/net/3c507.cstatic int  el16_probe1(struct device *dev, int ioaddr);
ioaddr315drivers/net/3c507.cint ioaddr = netcard_portlist[i];
ioaddr316drivers/net/3c507.cif (check_region(ioaddr, EL16_IO_EXTENT))
ioaddr318drivers/net/3c507.cif (el16_probe1(dev, ioaddr) == 0)
ioaddr325drivers/net/3c507.cint el16_probe1(struct device *dev, int ioaddr)
ioaddr344drivers/net/3c507.cif (inb(ioaddr) == '*' && inb(ioaddr+1) == '3'
ioaddr345drivers/net/3c507.c&& inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O')
ioaddr357drivers/net/3c507.cprintk("%s: 3c507 at %#x,", dev->name, ioaddr);
ioaddr362drivers/net/3c507.cirq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr371drivers/net/3c507.crequest_region(ioaddr, EL16_IO_EXTENT, "3c507");
ioaddr372drivers/net/3c507.cdev->base_addr = ioaddr;
ioaddr374drivers/net/3c507.coutb(0x01, ioaddr + MISC_CTRL);
ioaddr376drivers/net/3c507.cdev->dev_addr[i] = inb(ioaddr + i);
ioaddr390drivers/net/3c507.cchar mem_config = inb(ioaddr + MEM_CONFIG);
ioaddr404drivers/net/3c507.cdev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0;
ioaddr405drivers/net/3c507.cdev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr454drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr476drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr499drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr503drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr520drivers/net/3c507.cint ioaddr, status, boguscount = 0;
ioaddr530drivers/net/3c507.cioaddr = dev->base_addr;
ioaddr541drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr604drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr607drivers/net/3c507.coutb(0, ioaddr + RESET_IRQ);
ioaddr610drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr618drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr626drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr629drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr706drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr711drivers/net/3c507.coutb(0x20, ioaddr + MISC_CTRL);
ioaddr734drivers/net/3c507.coutb(0xA0, ioaddr + MISC_CTRL);
ioaddr738drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr750drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr754drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr765drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr800drivers/net/3c507.cdev->name, ioaddr, length, tx_block, lp->tx_head);
ioaddr72drivers/net/3c509.c#define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
ioaddr115drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index);
ioaddr130drivers/net/3c509.cushort ioaddr, irq, if_port;
ioaddr139drivers/net/3c509.cioaddr = eisa_addr;
ioaddr143drivers/net/3c509.cif (inw(ioaddr + 0xC80) != 0x6d50)
ioaddr147drivers/net/3c509.coutw(SelectWindow | 0, ioaddr + 0xC80 + EL3_CMD);
ioaddr149drivers/net/3c509.cirq = inw(ioaddr + WN0_IRQ) >> 12;
ioaddr150drivers/net/3c509.cif_port = inw(ioaddr + 6)>>14;
ioaddr152drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
ioaddr155drivers/net/3c509.cread_eeprom(ioaddr, 3);
ioaddr167drivers/net/3c509.cioaddr = mca_pos_base_addr(i);
ioaddr168drivers/net/3c509.cirq = inw(ioaddr + WN0_IRQ) >> 12;
ioaddr169drivers/net/3c509.cif_port = inw(ioaddr + 6)>>14;
ioaddr171drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
ioaddr221drivers/net/3c509.cioaddr = 0x200 + ((iobase & 0x1f) << 4);
ioaddr226drivers/net/3c509.c&&  dev->base_addr != (unsigned short)ioaddr) {
ioaddr237drivers/net/3c509.cif (inw(ioaddr) != 0x6d50)
ioaddr241drivers/net/3c509.coutw(0x0f00, ioaddr + WN0_IRQ);
ioaddr243drivers/net/3c509.cdev->base_addr = ioaddr;
ioaddr283drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index)
ioaddr287drivers/net/3c509.coutw(EEPROM_READ + index, ioaddr + 10);
ioaddr291drivers/net/3c509.creturn inw(ioaddr + 12);
ioaddr321drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr324drivers/net/3c509.coutw(TxReset, ioaddr + EL3_CMD);
ioaddr325drivers/net/3c509.coutw(RxReset, ioaddr + EL3_CMD);
ioaddr326drivers/net/3c509.coutw(SetReadZero | 0x00, ioaddr + EL3_CMD);
ioaddr334drivers/net/3c509.cdev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS));
ioaddr337drivers/net/3c509.coutw(0x0001, ioaddr + 4);
ioaddr341drivers/net/3c509.coutw((dev->irq << 12) | 0x0f00, ioaddr + WN0_IRQ);
ioaddr347drivers/net/3c509.coutb(dev->dev_addr[i], ioaddr + i);
ioaddr351drivers/net/3c509.coutw(StartCoax, ioaddr + EL3_CMD);
ioaddr355drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr359drivers/net/3c509.coutw(StatsDisable, ioaddr + EL3_CMD);
ioaddr362drivers/net/3c509.cinb(ioaddr + i);
ioaddr363drivers/net/3c509.cinb(ioaddr + 10);
ioaddr364drivers/net/3c509.cinb(ioaddr + 12);
ioaddr370drivers/net/3c509.coutw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
ioaddr371drivers/net/3c509.coutw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */
ioaddr377drivers/net/3c509.coutw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */
ioaddr378drivers/net/3c509.coutw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */
ioaddr380drivers/net/3c509.coutw(SetReadZero | 0xff, ioaddr + EL3_CMD);
ioaddr381drivers/net/3c509.coutw(AckIntr | 0x69, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr382drivers/net/3c509.coutw(SetIntrMask | 0x98, ioaddr + EL3_CMD); /* Set interrupt mask. */
ioaddr386drivers/net/3c509.cdev->name, dev->irq, inw(ioaddr + EL3_STATUS));
ioaddr396drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr402drivers/net/3c509.coutw(AckIntr | 0x08, ioaddr + EL3_CMD);
ioaddr407drivers/net/3c509.cwhile (inw(ioaddr + TX_FREE) > 1536) {
ioaddr413drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
ioaddr414drivers/net/3c509.coutw(0x00, ioaddr + TX_FIFO);
ioaddr416drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
ioaddr425drivers/net/3c509.coutw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
ioaddr431drivers/net/3c509.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
ioaddr433drivers/net/3c509.cif (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
ioaddr434drivers/net/3c509.cif (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD);
ioaddr435drivers/net/3c509.coutb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */
ioaddr445drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr467drivers/net/3c509.cdev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS));
ioaddr470drivers/net/3c509.coutw(TxReset, ioaddr + EL3_CMD);
ioaddr471drivers/net/3c509.coutw(TxEnable, ioaddr + EL3_CMD);
ioaddr484drivers/net/3c509.cint ioaddr, status;
ioaddr496drivers/net/3c509.cioaddr = dev->base_addr;
ioaddr497drivers/net/3c509.cstatus = inw(ioaddr + EL3_STATUS);
ioaddr502drivers/net/3c509.cwhile ((status = inw(ioaddr + EL3_STATUS)) & 0x91) {
ioaddr511drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr517drivers/net/3c509.coutw(AckIntr | 0xFF, ioaddr + EL3_CMD);
ioaddr521drivers/net/3c509.coutw(AckIntr | 0x41, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr527drivers/net/3c509.cinw(ioaddr + EL3_STATUS));
ioaddr553drivers/net/3c509.cstatic void update_stats(int ioaddr, struct device *dev)
ioaddr560drivers/net/3c509.coutw(StatsDisable, ioaddr + EL3_CMD);
ioaddr563drivers/net/3c509.clp->stats.tx_carrier_errors   += inb(ioaddr + 0);
ioaddr564drivers/net/3c509.clp->stats.tx_heartbeat_errors  += inb(ioaddr + 1);
ioaddr565drivers/net/3c509.c/* Multiple collisions. */       inb(ioaddr + 2);
ioaddr566drivers/net/3c509.clp->stats.collisions      += inb(ioaddr + 3);
ioaddr567drivers/net/3c509.clp->stats.tx_window_errors    += inb(ioaddr + 4);
ioaddr568drivers/net/3c509.clp->stats.rx_fifo_errors    += inb(ioaddr + 5);
ioaddr569drivers/net/3c509.clp->stats.tx_packets      += inb(ioaddr + 6);
ioaddr570drivers/net/3c509.c/* Rx packets  */        inb(ioaddr + 7);
ioaddr571drivers/net/3c509.c/* Tx deferrals */        inb(ioaddr + 8);
ioaddr572drivers/net/3c509.cinw(ioaddr + 10);  /* Total Rx and Tx octets. */
ioaddr573drivers/net/3c509.cinw(ioaddr + 12);
ioaddr577drivers/net/3c509.coutw(StatsEnable, ioaddr + EL3_CMD);
ioaddr585drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr590drivers/net/3c509.cinw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS));
ioaddr591drivers/net/3c509.cwhile ((rx_status = inw(ioaddr + RX_STATUS)) > 0) {
ioaddr616drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb_put(skb,pkt_len),
ioaddr621drivers/net/3c509.coutw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */
ioaddr629drivers/net/3c509.coutw(RxDiscard, ioaddr + EL3_CMD);
ioaddr630drivers/net/3c509.cwhile (inw(ioaddr + EL3_STATUS) & 0x1000)
ioaddr632drivers/net/3c509.cinw(ioaddr + EL3_STATUS) );
ioaddr644drivers/net/3c509.cshort ioaddr = dev->base_addr;
ioaddr655drivers/net/3c509.cioaddr + EL3_CMD);
ioaddr659drivers/net/3c509.coutw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD);
ioaddr662drivers/net/3c509.coutw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
ioaddr668drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr677drivers/net/3c509.coutw(StatsDisable, ioaddr + EL3_CMD);
ioaddr680drivers/net/3c509.coutw(RxDisable, ioaddr + EL3_CMD);
ioaddr681drivers/net/3c509.coutw(TxDisable, ioaddr + EL3_CMD);
ioaddr685drivers/net/3c509.coutw(StopCoax, ioaddr + EL3_CMD);
ioaddr689drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr696drivers/net/3c509.coutw(0x0f00, ioaddr + WN0_IRQ);
ioaddr698drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr137drivers/net/3c59x.c#define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
ioaddr233drivers/net/3c59x.cstatic int vortex_found_device(struct device *dev, int ioaddr, int irq,
ioaddr359drivers/net/3c59x.cstatic int ioaddr = 0x1000;
ioaddr360drivers/net/3c59x.cfor (ioaddr = 0x1000; ioaddr < 0x9000; ioaddr += 0x1000) {
ioaddr362drivers/net/3c59x.cif (inw(ioaddr + 0xC80) != 0x6d50)
ioaddr365drivers/net/3c59x.cif ((inw(ioaddr + 0xC82) & 0xFFF0) != 0x5970
ioaddr366drivers/net/3c59x.c&& (inw(ioaddr + 0xC82) & 0xFFF0) != 0x5920)
ioaddr368drivers/net/3c59x.cvortex_found_device(dev, ioaddr, inw(ioaddr + 0xC88) >> 12,
ioaddr379drivers/net/3c59x.cstatic int vortex_found_device(struct device *dev, int ioaddr, int irq,
ioaddr394drivers/net/3c59x.cdev->base_addr = ioaddr;
ioaddr419drivers/net/3c59x.cdev->base_addr = ioaddr;
ioaddr441drivers/net/3c59x.cint ioaddr = dev->base_addr;
ioaddr446drivers/net/3c59x.cvp->product_name, ioaddr);
ioaddr453drivers/net/3c59x.coutw(EEPROM_Read + PhysAddr01 + i, ioaddr + Wn0EepromCmd);
ioaddr457drivers/net/3c59x.cif ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0)
ioaddr460drivers/net/3c59x.cphys_addr[i] = htons(inw(ioaddr + 12));
ioaddr473drivers/net/3c59x.cconfig.i = inl(ioaddr + Wn3_Config);
ioaddr476drivers/net/3c59x.cconfig.i, inw(ioaddr + Wn3_Options));
ioaddr488drivers/net/3c59x.crequest_region(ioaddr, VORTEX_TOTAL_SIZE, vp->product_name);
ioaddr507drivers/net/3c59x.cint ioaddr = dev->base_addr;
ioaddr515drivers/net/3c59x.coutb(0x20, ioaddr + Wn3_MAC_Ctrl); /* Set the full-duplex bit. */
ioaddr516drivers/net/3c59x.cconfig.i = inl(ioaddr + Wn3_Config);
ioaddr524drivers/net/3c59x.coutl(config.i, ioaddr + Wn3_Config);
ioaddr532drivers/net/3c59x.coutw(TxReset, ioaddr + EL3_CMD);
ioaddr534drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr537drivers/net/3c59x.coutw(RxReset, ioaddr + EL3_CMD);
ioaddr540drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr543drivers/net/3c59x.coutw(SetStatusEnb | 0x00, ioaddr + EL3_CMD);
ioaddr562drivers/net/3c59x.cdev->name, dev->irq, inw(ioaddr + Wn4_Media));
ioaddr568drivers/net/3c59x.coutb(dev->dev_addr[i], ioaddr + i);
ioaddr570drivers/net/3c59x.coutw(0, ioaddr + i);
ioaddr574drivers/net/3c59x.coutw(StartCoax, ioaddr + EL3_CMD);
ioaddr578drivers/net/3c59x.coutw(inw(ioaddr + Wn4_Media) | Media_TP, ioaddr + Wn4_Media);
ioaddr582drivers/net/3c59x.coutw(StatsDisable, ioaddr + EL3_CMD);
ioaddr585drivers/net/3c59x.cinb(ioaddr + i);
ioaddr586drivers/net/3c59x.cinw(ioaddr + 10);
ioaddr587drivers/net/3c59x.cinw(ioaddr + 12);
ioaddr590drivers/net/3c59x.cinb(ioaddr + 12);
ioaddr596drivers/net/3c59x.coutw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
ioaddr597drivers/net/3c59x.coutw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */
ioaddr603drivers/net/3c59x.coutw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */
ioaddr604drivers/net/3c59x.coutw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */
ioaddr606drivers/net/3c59x.coutw(SetStatusEnb | 0xff, ioaddr + EL3_CMD);
ioaddr609drivers/net/3c59x.cioaddr + EL3_CMD);
ioaddr611drivers/net/3c59x.c| DMADone, ioaddr + EL3_CMD);
ioaddr639drivers/net/3c59x.cint ioaddr = dev->base_addr;
ioaddr647drivers/net/3c59x.cdev->name, inb(ioaddr + TxStatus), inw(ioaddr + EL3_STATUS));
ioaddr650drivers/net/3c59x.coutw(TxReset, ioaddr + EL3_CMD);
ioaddr654drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr657drivers/net/3c59x.coutw(TxEnable, ioaddr + EL3_CMD);
ioaddr679drivers/net/3c59x.coutl(skb->len, ioaddr + TX_FIFO);
ioaddr683drivers/net/3c59x.coutl((int)(skb->data), ioaddr + Wn7_MasterAddr);
ioaddr684drivers/net/3c59x.coutw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen);
ioaddr686drivers/net/3c59x.coutw(StartDMADown, ioaddr + EL3_CMD);
ioaddr689drivers/net/3c59x.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
ioaddr691drivers/net/3c59x.cif (inw(ioaddr + TxFree) > 1536) {
ioaddr695drivers/net/3c59x.coutw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
ioaddr699drivers/net/3c59x.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
ioaddr701drivers/net/3c59x.cif (inw(ioaddr + TxFree) > 1536) {
ioaddr705drivers/net/3c59x.coutw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
ioaddr715drivers/net/3c59x.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TxStatus)) > 0) {
ioaddr724drivers/net/3c59x.coutw(TxReset, ioaddr + EL3_CMD);
ioaddr726drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr729drivers/net/3c59x.coutw(TxEnable, ioaddr + EL3_CMD);
ioaddr731drivers/net/3c59x.coutb(0x00, ioaddr + TxStatus); /* Pop the status stack. */
ioaddr747drivers/net/3c59x.cint ioaddr, status;
ioaddr760drivers/net/3c59x.cioaddr = dev->base_addr;
ioaddr761drivers/net/3c59x.clatency = inb(ioaddr + Timer);
ioaddr764drivers/net/3c59x.cstatus = inw(ioaddr + EL3_STATUS);
ioaddr792drivers/net/3c59x.coutw(AckIntr | TxAvailable, ioaddr + EL3_CMD);
ioaddr798drivers/net/3c59x.coutw(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */
ioaddr807drivers/net/3c59x.coutw(AckIntr | RxEarly, ioaddr + EL3_CMD);
ioaddr813drivers/net/3c59x.cupdate_stats(ioaddr, dev);
ioaddr817drivers/net/3c59x.cinw(ioaddr + EL3_STATUS) & StatsFull) {
ioaddr825drivers/net/3c59x.cprintk(" %2.2x", inb(ioaddr+reg));
ioaddr828drivers/net/3c59x.coutw(SetIntrEnb | 0x18, ioaddr + EL3_CMD);
ioaddr834drivers/net/3c59x.coutw(RxReset, ioaddr + EL3_CMD);
ioaddr839drivers/net/3c59x.cioaddr + EL3_CMD);
ioaddr840drivers/net/3c59x.coutw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */
ioaddr841drivers/net/3c59x.coutw(AckIntr | AdapterFailure, ioaddr + EL3_CMD);
ioaddr850drivers/net/3c59x.coutw(SetStatusEnb | ((~status) & 0xFE), ioaddr + EL3_CMD);
ioaddr851drivers/net/3c59x.coutw(AckIntr | 0xFF, ioaddr + EL3_CMD);
ioaddr855drivers/net/3c59x.coutw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD);
ioaddr857drivers/net/3c59x.c} while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete));
ioaddr870drivers/net/3c59x.cint ioaddr = dev->base_addr;
ioaddr876drivers/net/3c59x.cinw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus));
ioaddr877drivers/net/3c59x.cwhile ((rx_status = inw(ioaddr + RxStatus)) > 0) {
ioaddr879drivers/net/3c59x.cunsigned char rx_error = inb(ioaddr + RxErrors);
ioaddr901drivers/net/3c59x.cinsl(ioaddr + RX_FIFO, skb_put(skb, pkt_len),
ioaddr905drivers/net/3c59x.coutw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */
ioaddr908drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr917drivers/net/3c59x.coutw(RxDiscard, ioaddr + EL3_CMD);
ioaddr920drivers/net/3c59x.cif ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress)
ioaddr930drivers/net/3c59x.cint ioaddr = dev->base_addr;
ioaddr937drivers/net/3c59x.cdev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus));
ioaddr940drivers/net/3c59x.coutw(StatsDisable, ioaddr + EL3_CMD);
ioaddr943drivers/net/3c59x.coutw(RxDisable, ioaddr + EL3_CMD);
ioaddr944drivers/net/3c59x.coutw(TxDisable, ioaddr + EL3_CMD);
ioaddr948drivers/net/3c59x.coutw(StopCoax, ioaddr + EL3_CMD);
ioaddr952drivers/net/3c59x.coutw(inw(ioaddr + Wn4_Media) & ~Media_TP, ioaddr + Wn4_Media);
ioaddr963drivers/net/3c59x.cupdate_stats(ioaddr, dev);
ioaddr991drivers/net/3c59x.cstatic void update_stats(int ioaddr, struct device *dev)
ioaddr998drivers/net/3c59x.cvp->stats.tx_carrier_errors    += inb(ioaddr + 0);
ioaddr999drivers/net/3c59x.cvp->stats.tx_heartbeat_errors  += inb(ioaddr + 1);
ioaddr1000drivers/net/3c59x.c/* Multiple collisions. */    inb(ioaddr + 2);
ioaddr1001drivers/net/3c59x.cvp->stats.collisions      += inb(ioaddr + 3);
ioaddr1002drivers/net/3c59x.cvp->stats.tx_window_errors    += inb(ioaddr + 4);
ioaddr1003drivers/net/3c59x.cvp->stats.rx_fifo_errors    += inb(ioaddr + 5);
ioaddr1004drivers/net/3c59x.cvp->stats.tx_packets      += inb(ioaddr + 6);
ioaddr1005drivers/net/3c59x.cvp->stats.tx_packets      += (inb(ioaddr + 9)&0x30) << 4;
ioaddr1006drivers/net/3c59x.c/* Rx packets  */        inb(ioaddr + 7);   /* Must read to clear */
ioaddr1007drivers/net/3c59x.c/* Tx deferrals */        inb(ioaddr + 8);
ioaddr1011drivers/net/3c59x.cinw(ioaddr + 10);  /* Total Rx and Tx octets. */
ioaddr1012drivers/net/3c59x.cinw(ioaddr + 12);
ioaddr1015drivers/net/3c59x.cinb(ioaddr + 12);
ioaddr1027drivers/net/3c59x.cshort ioaddr = dev->base_addr;
ioaddr1030drivers/net/3c59x.coutw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD);
ioaddr1037drivers/net/3c59x.cioaddr + EL3_CMD);
ioaddr1039drivers/net/3c59x.coutw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
ioaddr560drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr567drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ioaddr568drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ioaddr569drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ioaddr580drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr584drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x18, ioaddr + EN0_RXCR);
ioaddr590drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x08, ioaddr + EN0_RXCR);
ioaddr593drivers/net/8390.coutb_p(E8390_RXCONFIG, ioaddr + EN0_RXCR);
ioaddr71drivers/net/ac3200.cstatic int ac_probe1(int ioaddr, struct device *dev);
ioaddr93drivers/net/ac3200.cunsigned short ioaddr = dev->base_addr;
ioaddr95drivers/net/ac3200.cif (ioaddr > 0x1ff)    /* Check a single specified location. */
ioaddr96drivers/net/ac3200.creturn ac_probe1(ioaddr, dev);
ioaddr97drivers/net/ac3200.celse if (ioaddr > 0)    /* Don't probe at all. */
ioaddr104drivers/net/ac3200.cfor (ioaddr = 0x1000; ioaddr < 0x9000; ioaddr += 0x1000) {
ioaddr105drivers/net/ac3200.cif (check_region(ioaddr, AC_IO_EXTENT))
ioaddr107drivers/net/ac3200.cif (ac_probe1(ioaddr, dev) == 0)
ioaddr114drivers/net/ac3200.cstatic int ac_probe1(int ioaddr, struct device *dev)
ioaddr119drivers/net/ac3200.cprintk("AC3200 ethercard probe at %#3x:", ioaddr);
ioaddr122drivers/net/ac3200.cprintk(" %02x", inb(ioaddr + AC_SA_PROM + i));
ioaddr127drivers/net/ac3200.cif (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0
ioaddr128drivers/net/ac3200.c|| inb(ioaddr + AC_SA_PROM + 1) != AC_ADDR1
ioaddr129drivers/net/ac3200.c|| inb(ioaddr + AC_SA_PROM + 2) != AC_ADDR2 ) {
ioaddr138drivers/net/ac3200.cif (inl(ioaddr + AC_ID_PORT) != AC_EISA_ID) {
ioaddr140drivers/net/ac3200.cinl(ioaddr + AC_EISA_ID), AC_EISA_ID); 
ioaddr152drivers/net/ac3200.cdev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i);
ioaddr156drivers/net/ac3200.c" EISA ID %02x %02x %02x %02x.\n", inb(ioaddr + AC_CONFIG),
ioaddr157drivers/net/ac3200.cinb(ioaddr + AC_ID_PORT + 0), inb(ioaddr + AC_ID_PORT + 1),
ioaddr158drivers/net/ac3200.cinb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3));
ioaddr163drivers/net/ac3200.cdev->irq = config2irq(inb(ioaddr + AC_CONFIG));
ioaddr179drivers/net/ac3200.crequest_region(ioaddr, AC_IO_EXTENT, "ac3200");
ioaddr181drivers/net/ac3200.cdev->base_addr = ioaddr;
ioaddr190drivers/net/ac3200.coutb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG);
ioaddr194drivers/net/ac3200.cdev->if_port = inb(ioaddr + AC_CONFIG) >> 6;
ioaddr195drivers/net/ac3200.cdev->mem_start = config2mem(inb(ioaddr + AC_CONFIG));
ioaddr207drivers/net/ac3200.cdev->name, ioaddr, dev->irq, port_name[dev->if_port],
ioaddr228drivers/net/ac3200.cint ioaddr = dev->base_addr;
ioaddr243drivers/net/ac3200.cushort ioaddr = dev->base_addr;
ioaddr245drivers/net/ac3200.coutb(AC_RESET, ioaddr + AC_RESET_PORT);
ioaddr249drivers/net/ac3200.coutb(AC_ENABLE, ioaddr + AC_RESET_PORT);
ioaddr304drivers/net/ac3200.coutb(0x00, ioaddr + 6);  /* Disable interrupts. */
ioaddr253drivers/net/apricot.cshort ioaddr = dev->base_addr;
ioaddr257drivers/net/apricot.coutw(0, ioaddr);
ioaddr258drivers/net/apricot.coutw(0, ioaddr);
ioaddr259drivers/net/apricot.coutb(4, ioaddr+0xf);
ioaddr260drivers/net/apricot.coutw(((((int)&lp->scp) & 0xffff) | 2), ioaddr);
ioaddr261drivers/net/apricot.coutw((((int)&lp->scp)>>16) & 0xffff, ioaddr);
ioaddr275drivers/net/apricot.c(void) inb (ioaddr+0x10);
ioaddr276drivers/net/apricot.coutb(4, ioaddr+0xf);
ioaddr277drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr310drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr442drivers/net/apricot.ci596_reset(struct device *dev, struct i596_private *lp, int ioaddr)
ioaddr460drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr485drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr512drivers/net/apricot.coutw (0, ioaddr+4);
ioaddr528drivers/net/apricot.ci596_reset(dev, lp, ioaddr);
ioaddr572drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr590drivers/net/apricot.ci596_reset(dev,lp, ioaddr);
ioaddr596drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr683drivers/net/apricot.cint ioaddr = 0x300;
ioaddr689drivers/net/apricot.cif (check_region(ioaddr, APRICOT_TOTAL_SIZE))
ioaddr694drivers/net/apricot.ceth_addr[i] = inb(ioaddr+8+i);
ioaddr710drivers/net/apricot.crequest_region(ioaddr, APRICOT_TOTAL_SIZE, "apricot");
ioaddr712drivers/net/apricot.cdev->base_addr = ioaddr;
ioaddr714drivers/net/apricot.cprintk("%s: Apricot 82596 at %#3x,", dev->name, ioaddr);
ioaddr719drivers/net/apricot.cdev->base_addr = ioaddr;
ioaddr750drivers/net/apricot.cshort ioaddr;
ioaddr766drivers/net/apricot.cioaddr = dev->base_addr;
ioaddr900drivers/net/apricot.c(void) inb (ioaddr+0x10);
ioaddr901drivers/net/apricot.coutb (4, ioaddr+0xf);
ioaddr902drivers/net/apricot.coutw (0, ioaddr+4);
ioaddr914drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr926drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr379drivers/net/arcnet.c#define INTMASK  (ioaddr+0)    /* writable */
ioaddr380drivers/net/arcnet.c#define STATUS  (ioaddr+0)    /* readable */
ioaddr381drivers/net/arcnet.c#define COMMAND (ioaddr+1)  /* writable, returns random vals on read (?) */
ioaddr382drivers/net/arcnet.c#define RESET  (ioaddr+8)    /* software reset writable */
ioaddr736drivers/net/arcnet.cint count,status,delayval,ioaddr,numprint,airq,retval=-ENODEV,
ioaddr805drivers/net/arcnet.cioaddr=*port;
ioaddr964drivers/net/arcnet.cioaddr=*port;
ioaddr1204drivers/net/arcnet.cshort ioaddr=dev->base_addr;
ioaddr1310drivers/net/arcnet.cint ioaddr=dev->base_addr;
ioaddr1399drivers/net/arcnet.cint ioaddr = dev->base_addr;
ioaddr1461drivers/net/arcnet.cint ioaddr=dev->base_addr;
ioaddr1577drivers/net/arcnet.cint ioaddr=dev->base_addr,bad;
ioaddr1687drivers/net/arcnet.cint ioaddr=dev->base_addr,maxsegsize=XMTU-4;
ioaddr1841drivers/net/arcnet.cint ioaddr=dev->base_addr;
ioaddr1890drivers/net/arcnet.cint ioaddr;
ioaddr1904drivers/net/arcnet.cioaddr=dev->base_addr;
ioaddr1924drivers/net/arcnet.cint ioaddr=dev->base_addr, status, boguscount = 3, didsomething;
ioaddr2167drivers/net/arcnet.cint ioaddr = dev->base_addr;
ioaddr2562drivers/net/arcnet.cshort ioaddr = dev->base_addr;
ioaddr2564drivers/net/arcnet.coutw(69, ioaddr);    /* Enable promiscuous mode */
ioaddr2566drivers/net/arcnet.coutw(99, ioaddr);    /* Disable promiscuous mode, use normal mode */
ioaddr2766drivers/net/arcnet.cint ioaddr=dev->base_addr,bad;
ioaddr2937drivers/net/arcnet.cint ioaddr=dev->base_addr,bad,length;
ioaddr3235drivers/net/arcnet.cint ioaddr=thiscard.base_addr;
ioaddr3240drivers/net/arcnet.cif (ioaddr)
ioaddr116drivers/net/at1700.cstatic int at1700_probe1(struct device *dev, short ioaddr);
ioaddr117drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location);
ioaddr151drivers/net/at1700.cint ioaddr = at1700_probe_list[i];
ioaddr152drivers/net/at1700.cif (check_region(ioaddr, AT1700_IO_EXTENT))
ioaddr154drivers/net/at1700.cif (at1700_probe1(dev, ioaddr) == 0)
ioaddr170drivers/net/at1700.cint at1700_probe1(struct device *dev, short ioaddr)
ioaddr180drivers/net/at1700.cioaddr, read_eeprom(ioaddr, 4), read_eeprom(ioaddr, 5),
ioaddr181drivers/net/at1700.cread_eeprom(ioaddr, 6), inw(ioaddr + EEPROM_Ctrl));
ioaddr183drivers/net/at1700.cif (at1700_probe_list[inb(ioaddr + IOCONFIG) & 0x07] != ioaddr
ioaddr184drivers/net/at1700.c|| read_eeprom(ioaddr, 4) != 0x0000
ioaddr185drivers/net/at1700.c|| (read_eeprom(ioaddr, 5) & 0xff00) != 0xF400)
ioaddr189drivers/net/at1700.coutb(0, ioaddr + RESET);
ioaddr191drivers/net/at1700.cirq = irqmap[(read_eeprom(ioaddr, 12)&0x04)
ioaddr192drivers/net/at1700.c| (read_eeprom(ioaddr, 0)>>14)];
ioaddr197drivers/net/at1700.c"IRQ %d.\n", ioaddr, irq);
ioaddr207drivers/net/at1700.crequest_region(ioaddr, AT1700_IO_EXTENT, "at1700");
ioaddr210drivers/net/at1700.cioaddr, irq);
ioaddr212drivers/net/at1700.cdev->base_addr = ioaddr;
ioaddr217drivers/net/at1700.cunsigned short eeprom_val = read_eeprom(ioaddr, 4+i);
ioaddr230drivers/net/at1700.cushort setup_value = read_eeprom(ioaddr, 12);
ioaddr237drivers/net/at1700.coutb(0xe0, ioaddr + 7);
ioaddr239drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr242drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr244drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr248drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr251drivers/net/at1700.coutb(0xe8, ioaddr + 7);
ioaddr255drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr278drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location)
ioaddr282drivers/net/at1700.cshort ee_addr = ioaddr + EEPROM_Ctrl;
ioaddr283drivers/net/at1700.cshort ee_daddr = ioaddr + EEPROM_Data;
ioaddr322drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr326drivers/net/at1700.coutb(0xe0, ioaddr + CONFIG_1);
ioaddr330drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr333drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr335drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr339drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr342drivers/net/at1700.coutb(0x5a, ioaddr + CONFIG_0);
ioaddr344drivers/net/at1700.coutb(0xe8, ioaddr + CONFIG_1);
ioaddr351drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr352drivers/net/at1700.coutb(0x81, ioaddr + RX_INTR);
ioaddr367drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr376drivers/net/at1700.cinw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80
ioaddr379drivers/net/at1700.cdev->name, inw(ioaddr + 0), inw(ioaddr + 2), inw(ioaddr + 4),
ioaddr380drivers/net/at1700.cinw(ioaddr + 6), inw(ioaddr + 8), inw(ioaddr + 10),
ioaddr381drivers/net/at1700.cinw(ioaddr + 12), inw(ioaddr + 14));
ioaddr384drivers/net/at1700.coutw(0xffff, ioaddr + 24);
ioaddr385drivers/net/at1700.coutw(0xffff, ioaddr + TX_STATUS);
ioaddr386drivers/net/at1700.coutw(0xe85a, ioaddr + CONFIG_0);
ioaddr387drivers/net/at1700.coutw(0x8100, ioaddr + TX_INTR);
ioaddr412drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr414drivers/net/at1700.coutw(length, ioaddr + DATAPORT);
ioaddr415drivers/net/at1700.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr422drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr433drivers/net/at1700.coutb(0x82, ioaddr + TX_INTR);
ioaddr447drivers/net/at1700.cint ioaddr, status;
ioaddr455drivers/net/at1700.cioaddr = dev->base_addr;
ioaddr457drivers/net/at1700.cstatus = inw(ioaddr + TX_STATUS);
ioaddr458drivers/net/at1700.coutw(status, ioaddr + TX_STATUS);
ioaddr463drivers/net/at1700.c||  (inb(ioaddr + RX_MODE) & 0x40) == 0) {      /* Got a packet(s). */
ioaddr470drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr479drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr495drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr498drivers/net/at1700.cwhile ((inb(ioaddr + RX_MODE) & 0x40) == 0) {
ioaddr499drivers/net/at1700.cushort status = inw(ioaddr + DATAPORT);
ioaddr500drivers/net/at1700.cushort pkt_len = inw(ioaddr + DATAPORT);
ioaddr504drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), status);
ioaddr507drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr526drivers/net/at1700.cinw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT);
ioaddr527drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr536drivers/net/at1700.cinw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT);
ioaddr537drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr544drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
ioaddr559drivers/net/at1700.cif ((inb(ioaddr + RX_MODE) & 0x40) == 0x40)
ioaddr561drivers/net/at1700.cinw(ioaddr + DATAPORT);        /* dummy status read */
ioaddr562drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr567drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), i);
ioaddr575drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr581drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr586drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr616drivers/net/at1700.cshort ioaddr = dev->base_addr;
ioaddr626drivers/net/at1700.coutb(3, ioaddr + RX_MODE);  /* Enable promiscuous mode */
ioaddr629drivers/net/at1700.coutb(2, ioaddr + RX_MODE);  /* Disable promiscuous, use normal mode */
ioaddr130drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr);
ioaddr132drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
ioaddr135drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int mode);
ioaddr136drivers/net/atp.cstatic void trigger_send(short ioaddr, int length);
ioaddr140drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode);
ioaddr164drivers/net/atp.cint ioaddr = *port;
ioaddr165drivers/net/atp.coutb(0x57, ioaddr + PAR_DATA);
ioaddr166drivers/net/atp.cif (inb(ioaddr + PAR_DATA) != 0x57)
ioaddr168drivers/net/atp.cif (atp_probe1(dev, ioaddr) == 0)
ioaddr175drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr)
ioaddr179drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr182drivers/net/atp.csaved_ctrl_reg = inb(ioaddr + PAR_CONTROL);
ioaddr184drivers/net/atp.coutb(0x04, ioaddr + PAR_CONTROL);
ioaddr185drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr187drivers/net/atp.cstatus = read_nibble(ioaddr, CMR1);
ioaddr191drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr194drivers/net/atp.cstatus = read_nibble(ioaddr, CMR2_h);
ioaddr196drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr200drivers/net/atp.cwrite_reg_byte(ioaddr, CMR2, 0x01);      /* No accept mode, IRQ out. */
ioaddr201drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);  /* Enable Tx and Rx. */
ioaddr204drivers/net/atp.cif (ioaddr == 0x378)
ioaddr208drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_TxRxOFF); /* Disable Tx and Rx units. */
ioaddr209drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr211drivers/net/atp.cdev->base_addr = ioaddr;
ioaddr222drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr263drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr267drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_EEPROM);    /* Point to the EEPROM control registers. */
ioaddr271drivers/net/atp.cif (eeprom_op(ioaddr, EE_READ(0)) == 0xffff)
ioaddr276drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
ioaddr278drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr293drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
ioaddr300drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW);
ioaddr302drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH);
ioaddr304drivers/net/atp.cif (read_nibble(ioaddr, PROM_DATA) & EE_DATA_READ)
ioaddr308drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS);
ioaddr345drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr348drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr351drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr353drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr357drivers/net/atp.c(read_nibble(ioaddr, CMR2_h) >> 3) & 0x0f);
ioaddr360drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr361drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);
ioaddr364drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr367drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr368drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr378drivers/net/atp.cstatic void trigger_send(short ioaddr, int length)
ioaddr380drivers/net/atp.cwrite_reg_byte(ioaddr, TxCNT0, length & 0xff);
ioaddr381drivers/net/atp.cwrite_reg(ioaddr, TxCNT1, length >> 8);
ioaddr382drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_Xmit);
ioaddr385drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode)
ioaddr388drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr391drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr393drivers/net/atp.cwrite_byte_mode0(ioaddr, *packet++);
ioaddr399drivers/net/atp.coutb(Ctrl_LNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr400drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr402drivers/net/atp.coutb((outbyte & 0x0f)|0x40, ioaddr + PAR_DATA);
ioaddr403drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr405drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr406drivers/net/atp.coutb(Ctrl_HNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr408drivers/net/atp.cwrite_byte_mode1(ioaddr, *packet++);
ioaddr411drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr412drivers/net/atp.coutb(Ctrl_HNibWrite | Ctrl_SelData | Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr419drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr428drivers/net/atp.cinb(ioaddr + PAR_CONTROL) & 0x10 ? "network cable problem"
ioaddr458drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr459drivers/net/atp.cwrite_reg_high(ioaddr, IMR, 0);
ioaddr462drivers/net/atp.cwrite_packet(ioaddr, length, buf, dev->if_port);
ioaddr466drivers/net/atp.ctrigger_send(ioaddr, length);
ioaddr475drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr476drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr491drivers/net/atp.cint ioaddr, status, boguscount = 20;
ioaddr500drivers/net/atp.cioaddr = dev->base_addr;
ioaddr504drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr507drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr508drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr512drivers/net/atp.cstatus = read_nibble(ioaddr, ISR);
ioaddr516drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_RxOK); /* Clear the Rx interrupt. */
ioaddr518drivers/net/atp.cint read_status = read_nibble(ioaddr, CMR1);
ioaddr526drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr529drivers/net/atp.cwrite_reg_high(ioaddr, ISR, ISRh_RxErr);
ioaddr530drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr542drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_TxErr + ISR_TxOK);
ioaddr552drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_ReXmit + CMR1_Xmit);
ioaddr558drivers/net/atp.ctrigger_send(ioaddr, lp->saved_tx_size);
ioaddr573drivers/net/atp.c(read_nibble(ioaddr, CMR1) >> 3) & 15);
ioaddr587drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr596drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr598drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr600drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr601drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);       /* Hmmm, really needed? */
ioaddr616drivers/net/atp.cint ioaddr = atp_timed_dev->base_addr;
ioaddr622drivers/net/atp.cif (read_cmd_byte(ioaddr, PAR0 + i) != atp_timed_dev->dev_addr[i])
ioaddr625drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]);
ioaddr636drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]);
ioaddr649drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr657drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr658drivers/net/atp.cread_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port);
ioaddr683drivers/net/atp.cread_block(ioaddr, pkt_len, skb_put(skb,pkt_len), dev->if_port);
ioaddr699drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_NextPkt);
ioaddr703drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *p, int data_mode)
ioaddr707drivers/net/atp.coutb(Ctrl_LNibRead, ioaddr + PAR_CONTROL);
ioaddr709drivers/net/atp.cioaddr + PAR_DATA);
ioaddr711drivers/net/atp.cdo  *p++ = read_byte_mode0(ioaddr);  while (--length > 0);
ioaddr713drivers/net/atp.cdo  *p++ = read_byte_mode2(ioaddr);  while (--length > 0);
ioaddr715drivers/net/atp.cdo      *p++ = read_byte_mode4(ioaddr);  while (--length > 0);
ioaddr717drivers/net/atp.cdo      *p++ = read_byte_mode6(ioaddr);  while (--length > 0);
ioaddr719drivers/net/atp.coutb(EOC+HNib+MAR, ioaddr + PAR_DATA);
ioaddr720drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr728drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr735drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr738drivers/net/atp.coutb(0x00, ioaddr + PAR_CONTROL);
ioaddr743drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr764drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr777drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr107drivers/net/atp.hextern inline unsigned char read_byte_mode0(short ioaddr)
ioaddr111drivers/net/atp.houtb(Ctrl_LNibRead, ioaddr + PAR_CONTROL);
ioaddr112drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);
ioaddr113drivers/net/atp.hlow_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f;
ioaddr114drivers/net/atp.houtb(Ctrl_HNibRead, ioaddr + PAR_CONTROL);
ioaddr115drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);  /* Settling time delay -- needed!  */
ioaddr116drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);  /* Settling time delay -- needed!  */
ioaddr117drivers/net/atp.hreturn low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0);
ioaddr121drivers/net/atp.hextern inline unsigned char read_byte_mode2(short ioaddr)
ioaddr125drivers/net/atp.houtb(Ctrl_LNibRead, ioaddr + PAR_CONTROL);
ioaddr126drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);
ioaddr127drivers/net/atp.hlow_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f;
ioaddr128drivers/net/atp.houtb(Ctrl_HNibRead, ioaddr + PAR_CONTROL);
ioaddr129drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);  /* Settling time delay -- needed!  */
ioaddr130drivers/net/atp.hreturn low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0);
ioaddr134drivers/net/atp.hextern inline unsigned char read_byte_mode4(short ioaddr)
ioaddr138drivers/net/atp.houtb(RdAddr | MAR, ioaddr + PAR_DATA);
ioaddr139drivers/net/atp.hlow_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f;
ioaddr140drivers/net/atp.houtb(RdAddr | HNib | MAR, ioaddr + PAR_DATA);
ioaddr141drivers/net/atp.hreturn low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0);
ioaddr145drivers/net/atp.hextern inline unsigned char read_byte_mode6(short ioaddr)
ioaddr149drivers/net/atp.houtb(RdAddr | MAR, ioaddr + PAR_DATA);
ioaddr150drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);
ioaddr151drivers/net/atp.hlow_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f;
ioaddr152drivers/net/atp.houtb(RdAddr | HNib | MAR, ioaddr + PAR_DATA);
ioaddr153drivers/net/atp.hinbyte(ioaddr + PAR_STATUS);
ioaddr154drivers/net/atp.hreturn low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0);
ioaddr222drivers/net/atp.hextern inline void write_byte_mode0(short ioaddr, unsigned char value)
ioaddr224drivers/net/atp.houtb(value & 0x0f, ioaddr + PAR_DATA);
ioaddr225drivers/net/atp.houtb((value>>4) | 0x10, ioaddr + PAR_DATA);
ioaddr228drivers/net/atp.hextern inline void write_byte_mode1(short ioaddr, unsigned char value)
ioaddr230drivers/net/atp.houtb(value & 0x0f, ioaddr + PAR_DATA);
ioaddr231drivers/net/atp.houtb(Ctrl_IRQEN | Ctrl_LNibWrite, ioaddr + PAR_CONTROL);
ioaddr232drivers/net/atp.houtb((value>>4) | 0x10, ioaddr + PAR_DATA);
ioaddr233drivers/net/atp.houtb(Ctrl_IRQEN | Ctrl_HNibWrite, ioaddr + PAR_CONTROL);
ioaddr237drivers/net/atp.hextern inline void write_word_mode0(short ioaddr, unsigned short value)
ioaddr239drivers/net/atp.houtb(value & 0x0f, ioaddr + PAR_DATA);
ioaddr241drivers/net/atp.houtb((value & 0x0f) | 0x10, ioaddr + PAR_DATA);
ioaddr243drivers/net/atp.houtb(value & 0x0f, ioaddr + PAR_DATA);
ioaddr245drivers/net/atp.houtb((value & 0x0f) | 0x10, ioaddr + PAR_DATA);
ioaddr591drivers/net/de4x5.cstatic int     mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr);
ioaddr592drivers/net/de4x5.cstatic void    mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr);
ioaddr593drivers/net/de4x5.cstatic int     mii_rdata(u_long ioaddr);
ioaddr594drivers/net/de4x5.cstatic void    mii_wdata(int data, int len, u_long ioaddr);
ioaddr595drivers/net/de4x5.cstatic void    mii_ta(u_long rw, u_long ioaddr);
ioaddr597drivers/net/de4x5.cstatic void    mii_address(u_char addr, u_long ioaddr);
ioaddr598drivers/net/de4x5.cstatic void    sendto_mii(u32 command, int data, u_long ioaddr);
ioaddr599drivers/net/de4x5.cstatic int     getfrom_mii(u32 command, u_long ioaddr);
ioaddr600drivers/net/de4x5.cstatic int     mii_get_oui(u_char phyaddr, u_long ioaddr);
ioaddr1504drivers/net/de4x5.cstatic void eisa_probe(struct device *dev, u_long ioaddr)
ioaddr1513drivers/net/de4x5.cif (!ioaddr && autoprobed) return;     /* Been here before ! */
ioaddr1517drivers/net/de4x5.cif (ioaddr == 0) {                     /* Autoprobing */
ioaddr1522drivers/net/de4x5.ciobase = ioaddr;
ioaddr1523drivers/net/de4x5.ci = (ioaddr >> 12);
ioaddr1571drivers/net/de4x5.cstatic void pci_probe(struct device *dev, u_long ioaddr)
ioaddr1580drivers/net/de4x5.cif (!ioaddr && autoprobed) return;       /* Been here before ! */
ioaddr1586drivers/net/de4x5.cif (ioaddr < 0x1000) {
ioaddr1587drivers/net/de4x5.cpbus = (u_short)(ioaddr >> 8);
ioaddr1588drivers/net/de4x5.cdnum = (u_short)(ioaddr & 0xff);
ioaddr3036drivers/net/de4x5.cstatic int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr)
ioaddr3038drivers/net/de4x5.cmii_wdata(MII_PREAMBLE,  2, ioaddr);   /* Start of 34 bit preamble...    */
ioaddr3039drivers/net/de4x5.cmii_wdata(MII_PREAMBLE, 32, ioaddr);   /* ...continued                   */
ioaddr3040drivers/net/de4x5.cmii_wdata(MII_STRD, 4, ioaddr);        /* SFD and Read operation         */
ioaddr3041drivers/net/de4x5.cmii_address(phyaddr, ioaddr);          /* PHY address to be accessed     */
ioaddr3042drivers/net/de4x5.cmii_address(phyreg, ioaddr);           /* PHY Register to read           */
ioaddr3043drivers/net/de4x5.cmii_ta(MII_STRD, ioaddr);              /* Turn around time - 2 MDC       */
ioaddr3045drivers/net/de4x5.creturn mii_rdata(ioaddr);              /* Read data                      */
ioaddr3048drivers/net/de4x5.cstatic void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr)
ioaddr3050drivers/net/de4x5.cmii_wdata(MII_PREAMBLE,  2, ioaddr);   /* Start of 34 bit preamble...    */
ioaddr3051drivers/net/de4x5.cmii_wdata(MII_PREAMBLE, 32, ioaddr);   /* ...continued                   */
ioaddr3052drivers/net/de4x5.cmii_wdata(MII_STWR, 4, ioaddr);        /* SFD and Write operation        */
ioaddr3053drivers/net/de4x5.cmii_address(phyaddr, ioaddr);          /* PHY address to be accessed     */
ioaddr3054drivers/net/de4x5.cmii_address(phyreg, ioaddr);           /* PHY Register to write          */
ioaddr3055drivers/net/de4x5.cmii_ta(MII_STWR, ioaddr);              /* Turn around time - 2 MDC       */
ioaddr3057drivers/net/de4x5.cmii_wdata(data, 16, ioaddr);           /* Write data                     */
ioaddr3062drivers/net/de4x5.cstatic int mii_rdata(u_long ioaddr)
ioaddr3069drivers/net/de4x5.ctmp |= getfrom_mii(MII_MRD | MII_RD, ioaddr);
ioaddr3075drivers/net/de4x5.cstatic void mii_wdata(int data, int len, u_long ioaddr)
ioaddr3080drivers/net/de4x5.csendto_mii(MII_MWR | MII_WR, data, ioaddr);
ioaddr3087drivers/net/de4x5.cstatic void mii_address(u_char addr, u_long ioaddr)
ioaddr3093drivers/net/de4x5.csendto_mii(MII_MWR | MII_WR, addr, ioaddr);
ioaddr3100drivers/net/de4x5.cstatic void mii_ta(u_long rw, u_long ioaddr)
ioaddr3103drivers/net/de4x5.csendto_mii(MII_MWR | MII_WR, 1, ioaddr);  
ioaddr3104drivers/net/de4x5.cgetfrom_mii(MII_MRD | MII_RD, ioaddr);
ioaddr3106drivers/net/de4x5.cgetfrom_mii(MII_MRD | MII_RD, ioaddr);        /* Tri-state MDIO */
ioaddr3125drivers/net/de4x5.cstatic void sendto_mii(u32 command, int data, u_long ioaddr)
ioaddr3130drivers/net/de4x5.coutl(command | j, ioaddr);
ioaddr3132drivers/net/de4x5.coutl(command | MII_MDC | j, ioaddr);
ioaddr3138drivers/net/de4x5.cstatic int getfrom_mii(u32 command, u_long ioaddr)
ioaddr3140drivers/net/de4x5.coutl(command, ioaddr);
ioaddr3142drivers/net/de4x5.coutl(command | MII_MDC, ioaddr);
ioaddr3145drivers/net/de4x5.creturn ((inl(ioaddr) >> 19) & 1);
ioaddr3152drivers/net/de4x5.cstatic int mii_get_oui(u_char phyaddr, u_long ioaddr)
ioaddr3163drivers/net/de4x5.cr2 = mii_rd(MII_ID0, phyaddr, ioaddr);
ioaddr3164drivers/net/de4x5.cr3 = mii_rd(MII_ID1, phyaddr, ioaddr);
ioaddr393drivers/net/depca.cstatic int    depca_hw_init(struct device *dev, u_long ioaddr);
ioaddr401drivers/net/depca.cstatic int    DevicePresent(u_long ioaddr);
ioaddr470drivers/net/depca.cdepca_hw_init(struct device *dev, u_long ioaddr)
ioaddr500drivers/net/depca.cdev->base_addr = ioaddr;
ioaddr502drivers/net/depca.cif ((ioaddr&0x0fff)==DEPCA_EISA_IO_PORTS) {/* EISA slot address */
ioaddr504drivers/net/depca.cdev->name, name, ioaddr, (int)((ioaddr>>12)&0x0f));
ioaddr506drivers/net/depca.cprintk("%s: %s at 0x%04lx", dev->name, name, ioaddr);
ioaddr549drivers/net/depca.crequest_region(ioaddr, DEPCA_TOTAL_SIZE, lp->adapter_name);
ioaddr641drivers/net/depca.cif (status) release_region(ioaddr, DEPCA_TOTAL_SIZE);
ioaddr687drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr782drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr844drivers/net/depca.cu_long ioaddr;
ioaddr850drivers/net/depca.cioaddr = dev->base_addr;
ioaddr995drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1032drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1073drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1090drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1135drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1212drivers/net/depca.cstatic void isa_probe(struct device *dev, u_long ioaddr)
ioaddr1217drivers/net/depca.cif (!ioaddr && autoprobed) return ;          /* Been here before ! */
ioaddr1218drivers/net/depca.cif (ioaddr > 0x400) return;                  /* EISA Address */
ioaddr1221drivers/net/depca.cif (ioaddr == 0) {                           /* Autoprobing */
ioaddr1224drivers/net/depca.cports[i] = ioaddr;
ioaddr1250drivers/net/depca.cstatic void eisa_probe(struct device *dev, u_long ioaddr)
ioaddr1256drivers/net/depca.cif (!ioaddr && autoprobed) return ;            /* Been here before ! */
ioaddr1257drivers/net/depca.cif ((ioaddr < 0x400) && (ioaddr > 0)) return;  /* ISA Address */
ioaddr1259drivers/net/depca.cif (ioaddr == 0) {                           /* Autoprobing */
ioaddr1264drivers/net/depca.ciobase = ioaddr;
ioaddr1265drivers/net/depca.ci = (ioaddr >> 12);
ioaddr1449drivers/net/depca.cstatic int DevicePresent(u_long ioaddr)
ioaddr1503drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1623drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr1704drivers/net/depca.cu_long ioaddr = dev->base_addr;
ioaddr13drivers/net/depca.h#define DEPCA_NICSR ioaddr+0x00   /* Network interface CSR */
ioaddr14drivers/net/depca.h#define DEPCA_RBI   ioaddr+0x02   /* RAM buffer index (2k buffer mode) */
ioaddr15drivers/net/depca.h#define DEPCA_DATA  ioaddr+0x04   /* LANCE registers' data port */
ioaddr16drivers/net/depca.h#define DEPCA_ADDR  ioaddr+0x06   /* LANCE registers' address port */
ioaddr17drivers/net/depca.h#define DEPCA_HBASE ioaddr+0x08   /* EISA high memory base address reg. */
ioaddr18drivers/net/depca.h#define DEPCA_PROM  ioaddr+0x0c   /* Ethernet address ROM data port */
ioaddr19drivers/net/depca.h#define DEPCA_CNFG  ioaddr+0x0c   /* EISA Configuration port */
ioaddr20drivers/net/depca.h#define DEPCA_RBSA  ioaddr+0x0e   /* RAM buffer starting address (2k buff.) */
ioaddr97drivers/net/e2100.cint e21_probe1(struct device *dev, int ioaddr);
ioaddr138drivers/net/e2100.cint e21_probe1(struct device *dev, int ioaddr)
ioaddr145drivers/net/e2100.cif (inb(ioaddr + E21_SAPROM + 0) != 0x00
ioaddr146drivers/net/e2100.c|| inb(ioaddr + E21_SAPROM + 1) != 0x00
ioaddr147drivers/net/e2100.c|| inb(ioaddr + E21_SAPROM + 2) != 0x1d)
ioaddr151drivers/net/e2100.coutb(E8390_NODMA + E8390_STOP, ioaddr);
ioaddr153drivers/net/e2100.cstatus = inb(ioaddr);
ioaddr159drivers/net/e2100.cstation_addr[i] = inb(ioaddr + E21_SAPROM + i);
ioaddr161drivers/net/e2100.cinb(ioaddr + E21_MEDIA);     /* Point to media selection. */
ioaddr162drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);   /* and disable the secondary interface. */
ioaddr173drivers/net/e2100.cprintk("%s: E21** at %#3x,", dev->name, ioaddr);
ioaddr198drivers/net/e2100.crequest_region(ioaddr, E21_IO_EXTENT, "e2100");
ioaddr201drivers/net/e2100.cdev->base_addr = ioaddr;
ioaddr216drivers/net/e2100.cinb(ioaddr + E21_MEDIA);   /* Turn automatic media detection on. */
ioaddr218drivers/net/e2100.cif (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) {
ioaddr254drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr262drivers/net/e2100.cinb(ioaddr + E21_IRQ_LOW);
ioaddr263drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + (dev->irq & 7));
ioaddr264drivers/net/e2100.cinb(ioaddr + E21_IRQ_HIGH);       /* High IRQ bit, and if_port. */
ioaddr265drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + (dev->irq > 7 ? 1:0)
ioaddr267drivers/net/e2100.cinb(ioaddr + E21_MEM_BASE);
ioaddr268drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + ((dev->mem_start >> 17) & 7));
ioaddr278drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr280drivers/net/e2100.coutb(0x01, ioaddr);
ioaddr297drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr300drivers/net/e2100.cmem_on(ioaddr, shared_mem, ring_page);
ioaddr310drivers/net/e2100.cmem_off(ioaddr);
ioaddr320drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr323drivers/net/e2100.cmem_on(ioaddr, shared_mem, (ring_offset>>8));
ioaddr328drivers/net/e2100.cmem_off(ioaddr);
ioaddr335drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr341drivers/net/e2100.cmem_on(ioaddr, shared_mem, start_page);
ioaddr344drivers/net/e2100.cmem_off(ioaddr);
ioaddr350drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr359drivers/net/e2100.cinb(ioaddr + E21_IRQ_LOW);
ioaddr360drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);
ioaddr361drivers/net/e2100.cinb(ioaddr + E21_IRQ_HIGH);       /* High IRQ bit, and if_port. */
ioaddr362drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);
ioaddr370drivers/net/e2100.cmem_off(ioaddr);
ioaddr135drivers/net/eepro.cstatic int  eepro_probe1(struct device *dev, short ioaddr);
ioaddr145drivers/net/eepro.cstatic int read_eeprom(int ioaddr, int location);
ioaddr287drivers/net/eepro.cint ioaddr = eepro_portlist[i];
ioaddr288drivers/net/eepro.cif (check_region(ioaddr, EEPRO_IO_EXTENT))
ioaddr290drivers/net/eepro.cif (eepro_probe1(dev, ioaddr) == 0)
ioaddr302drivers/net/eepro.cint eepro_probe1(struct device *dev, short ioaddr)
ioaddr314drivers/net/eepro.cif (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) {
ioaddr321drivers/net/eepro.cif (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == 
ioaddr329drivers/net/eepro.cstation_addr[0] = read_eeprom(ioaddr, 2);
ioaddr330drivers/net/eepro.cstation_addr[1] = read_eeprom(ioaddr, 3);
ioaddr331drivers/net/eepro.cstation_addr[2] = read_eeprom(ioaddr, 4);
ioaddr338drivers/net/eepro.cdev->name, ioaddr);
ioaddr343drivers/net/eepro.cdev->name, ioaddr);
ioaddr347drivers/net/eepro.cdev->base_addr = ioaddr;
ioaddr354drivers/net/eepro.coutb(BANK2_SELECT, ioaddr); /* be CAREFUL, BANK 2 now */
ioaddr355drivers/net/eepro.cid = inb(ioaddr + REG3);
ioaddr361drivers/net/eepro.ci = read_eeprom(ioaddr, 1);
ioaddr390drivers/net/eepro.ci = read_eeprom(ioaddr, 5);
ioaddr400drivers/net/eepro.crequest_region(ioaddr, EEPRO_IO_EXTENT, "eepro");
ioaddr419drivers/net/eepro.coutb(RESET_CMD, ioaddr); /* RESET the 82595 */
ioaddr442drivers/net/eepro.cint *irqp = irqlist, temp_reg, ioaddr = dev->base_addr;
ioaddr444drivers/net/eepro.coutb(BANK1_SELECT, ioaddr); /* be CAREFUL, BANK 1 now */
ioaddr447drivers/net/eepro.ctemp_reg = inb(ioaddr + REG1);
ioaddr448drivers/net/eepro.coutb(temp_reg | INT_ENABLE, ioaddr + REG1); 
ioaddr450drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* be CAREFUL, BANK 0 now */
ioaddr453drivers/net/eepro.coutb(ALL_MASK, ioaddr + STATUS_REG); 
ioaddr455drivers/net/eepro.coutb(ALL_MASK & ~(EXEC_MASK), ioaddr + INT_MASK_REG); 
ioaddr458drivers/net/eepro.coutb(BANK1_SELECT, ioaddr); /* be CAREFUL, BANK 1 now */
ioaddr460drivers/net/eepro.ctemp_reg = inb(ioaddr + INT_NO_REG);
ioaddr461drivers/net/eepro.coutb((temp_reg & 0xf8) | irqrmap[*irqp], ioaddr + INT_NO_REG); 
ioaddr463drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Switch back to Bank 0 */
ioaddr469drivers/net/eepro.coutb(DIAGNOSE_CMD, ioaddr); /* RESET the 82595 */
ioaddr476drivers/net/eepro.coutb(ALL_MASK, ioaddr + STATUS_REG); 
ioaddr480drivers/net/eepro.coutb(BANK1_SELECT, ioaddr); /* Switch back to Bank 1 */
ioaddr483drivers/net/eepro.ctemp_reg = inb(ioaddr + REG1);
ioaddr484drivers/net/eepro.coutb(temp_reg & 0x7f, ioaddr + REG1); 
ioaddr486drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Switch back to Bank 0 */
ioaddr489drivers/net/eepro.coutb(ALL_MASK, ioaddr + INT_MASK_REG); 
ioaddr492drivers/net/eepro.coutb(ALL_MASK, ioaddr + STATUS_REG); 
ioaddr501drivers/net/eepro.cint i, ioaddr = dev->base_addr;
ioaddr525drivers/net/eepro.coutb(BANK2_SELECT, ioaddr); /* be CAREFUL, BANK 2 now */
ioaddr526drivers/net/eepro.ctemp_reg = inb(ioaddr + EEPROM_REG);
ioaddr528drivers/net/eepro.coutb(temp_reg & 0xef, ioaddr + EEPROM_REG);
ioaddr530drivers/net/eepro.coutb(dev->dev_addr[i] , ioaddr + I_ADD_REG0 + i); 
ioaddr532drivers/net/eepro.ctemp_reg = inb(ioaddr + REG1);    /* Setup Transmit Chaining */
ioaddr534drivers/net/eepro.c| RCV_Discard_BadFrame, ioaddr + REG1);  
ioaddr536drivers/net/eepro.ctemp_reg = inb(ioaddr + REG2); /* Match broadcast */
ioaddr537drivers/net/eepro.coutb(temp_reg | 0x14, ioaddr + REG2);
ioaddr539drivers/net/eepro.ctemp_reg = inb(ioaddr + REG3);
ioaddr540drivers/net/eepro.coutb(temp_reg & 0x3f, ioaddr + REG3); /* clear test mode */
ioaddr543drivers/net/eepro.coutb(BANK1_SELECT, ioaddr); /* be CAREFUL, BANK 1 now */
ioaddr545drivers/net/eepro.ctemp_reg = inb(ioaddr + INT_NO_REG);
ioaddr546drivers/net/eepro.coutb((temp_reg & 0xf8) | irqrmap[dev->irq], ioaddr + INT_NO_REG); 
ioaddr549drivers/net/eepro.coutb(RCV_LOWER_LIMIT, ioaddr + RCV_LOWER_LIMIT_REG); 
ioaddr550drivers/net/eepro.coutb(RCV_UPPER_LIMIT, ioaddr + RCV_UPPER_LIMIT_REG); 
ioaddr551drivers/net/eepro.coutb(XMT_LOWER_LIMIT, ioaddr + XMT_LOWER_LIMIT_REG); 
ioaddr552drivers/net/eepro.coutb(XMT_UPPER_LIMIT, ioaddr + XMT_UPPER_LIMIT_REG); 
ioaddr555drivers/net/eepro.ctemp_reg = inb(ioaddr + REG1);
ioaddr556drivers/net/eepro.coutb(temp_reg | INT_ENABLE, ioaddr + REG1); 
ioaddr558drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Switch back to Bank 0 */
ioaddr561drivers/net/eepro.coutb(ALL_MASK & ~(RX_MASK | TX_MASK), ioaddr + INT_MASK_REG); 
ioaddr563drivers/net/eepro.coutb(ALL_MASK, ioaddr + STATUS_REG); 
ioaddr566drivers/net/eepro.coutw(RCV_LOWER_LIMIT << 8, ioaddr + RCV_BAR); 
ioaddr568drivers/net/eepro.coutw((RCV_UPPER_LIMIT << 8) | 0xfe, ioaddr + RCV_STOP); 
ioaddr571drivers/net/eepro.coutw(XMT_LOWER_LIMIT << 8, ioaddr + XMT_BAR); 
ioaddr573drivers/net/eepro.coutb(SEL_RESET_CMD, ioaddr);
ioaddr588drivers/net/eepro.coutb(RCV_ENABLE_CMD, ioaddr);
ioaddr598drivers/net/eepro.cint ioaddr = dev->base_addr;
ioaddr614drivers/net/eepro.coutb(SEL_RESET_CMD, ioaddr); 
ioaddr626drivers/net/eepro.coutb(RCV_ENABLE_CMD, ioaddr);
ioaddr667drivers/net/eepro.cint ioaddr, status, boguscount = 0;
ioaddr678drivers/net/eepro.cioaddr = dev->base_addr;
ioaddr681drivers/net/eepro.cstatus = inb(ioaddr + STATUS_REG);
ioaddr688drivers/net/eepro.coutb(RX_INT, ioaddr + STATUS_REG); 
ioaddr698drivers/net/eepro.coutb(TX_INT, ioaddr + STATUS_REG); 
ioaddr718drivers/net/eepro.cint ioaddr = dev->base_addr;
ioaddr724drivers/net/eepro.coutb(BANK1_SELECT, ioaddr); /* Switch back to Bank 1 */
ioaddr727drivers/net/eepro.ctemp_reg = inb(ioaddr + REG1);
ioaddr728drivers/net/eepro.coutb(temp_reg & 0x7f, ioaddr + REG1); 
ioaddr730drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Switch back to Bank 0 */
ioaddr733drivers/net/eepro.coutb(STOP_RCV_CMD, ioaddr); 
ioaddr738drivers/net/eepro.coutb(ALL_MASK, ioaddr + INT_MASK_REG); 
ioaddr741drivers/net/eepro.coutb(ALL_MASK, ioaddr + STATUS_REG); 
ioaddr744drivers/net/eepro.coutb(RESET_CMD, ioaddr); 
ioaddr777drivers/net/eepro.cshort ioaddr = dev->base_addr;
ioaddr791drivers/net/eepro.coutb(BANK2_SELECT, ioaddr); /* be CAREFUL, BANK 2 now */
ioaddr792drivers/net/eepro.cmode = inb(ioaddr + REG2);
ioaddr793drivers/net/eepro.coutb(mode | PRMSC_Mode, ioaddr + REG2);  
ioaddr794drivers/net/eepro.cmode = inb(ioaddr + REG3);
ioaddr795drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
ioaddr796drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Return to BANK 0 now */
ioaddr801drivers/net/eepro.coutb(BANK2_SELECT, ioaddr); /* be CAREFUL, BANK 2 now */
ioaddr802drivers/net/eepro.cmode = inb(ioaddr + REG2);
ioaddr803drivers/net/eepro.coutb(mode & 0xd6, ioaddr + REG2); /* Turn off Multi-IA and PRMSC_Mode bits */
ioaddr804drivers/net/eepro.cmode = inb(ioaddr + REG3);
ioaddr805drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
ioaddr806drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Return to BANK 0 now */
ioaddr816drivers/net/eepro.coutb(ALL_MASK, ioaddr + INT_MASK_REG);
ioaddr818drivers/net/eepro.coutb(BANK2_SELECT, ioaddr); /* be CAREFUL, BANK 2 now */
ioaddr819drivers/net/eepro.cmode = inb(ioaddr + REG2);
ioaddr820drivers/net/eepro.coutb(mode | Multi_IA, ioaddr + REG2);  
ioaddr821drivers/net/eepro.cmode = inb(ioaddr + REG3);
ioaddr822drivers/net/eepro.coutb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */
ioaddr823drivers/net/eepro.coutb(BANK0_SELECT, ioaddr); /* Return to BANK 0 now */
ioaddr824drivers/net/eepro.coutw(lp->tx_end, ioaddr + HOST_ADDRESS_REG);
ioaddr825drivers/net/eepro.coutw(MC_SETUP, ioaddr + IO_PORT);
ioaddr826drivers/net/eepro.coutw(0, ioaddr + IO_PORT);
ioaddr827drivers/net/eepro.coutw(0, ioaddr + IO_PORT);
ioaddr828drivers/net/eepro.coutw(6*(dev->mc_count + 1), ioaddr + IO_PORT);
ioaddr833drivers/net/eepro.coutw(*eaddrs++, ioaddr + IO_PORT);
ioaddr834drivers/net/eepro.coutw(*eaddrs++, ioaddr + IO_PORT);
ioaddr835drivers/net/eepro.coutw(*eaddrs++, ioaddr + IO_PORT);
ioaddr838drivers/net/eepro.coutw(eaddrs[0], ioaddr + IO_PORT);
ioaddr839drivers/net/eepro.coutw(eaddrs[1], ioaddr + IO_PORT);
ioaddr840drivers/net/eepro.coutw(eaddrs[2], ioaddr + IO_PORT);
ioaddr841drivers/net/eepro.coutw(lp->tx_end, ioaddr + XMT_BAR);
ioaddr842drivers/net/eepro.coutb(MC_SETUP, ioaddr);
ioaddr850drivers/net/eepro.coutw(lp->tx_last + XMT_CHAIN, ioaddr + HOST_ADDRESS_REG);
ioaddr851drivers/net/eepro.coutw(i, ioaddr + IO_PORT);
ioaddr852drivers/net/eepro.coutw(lp->tx_last + XMT_COUNT, ioaddr + HOST_ADDRESS_REG);
ioaddr853drivers/net/eepro.cstatus = inw(ioaddr + IO_PORT);
ioaddr854drivers/net/eepro.coutw(status | CHAIN_BIT, ioaddr + IO_PORT);
ioaddr863drivers/net/eepro.cif (inb(ioaddr + STATUS_REG) & 0x08) 
ioaddr865drivers/net/eepro.ci = inb(ioaddr);
ioaddr866drivers/net/eepro.coutb(0x08, ioaddr + STATUS_REG);
ioaddr880drivers/net/eepro.coutb(ALL_MASK & ~(RX_MASK | TX_MASK), ioaddr + INT_MASK_REG); 
ioaddr883drivers/net/eepro.coutb(RCV_ENABLE_CMD, ioaddr);
ioaddr894drivers/net/eepro.cread_eeprom(int ioaddr, int location)
ioaddr898drivers/net/eepro.cshort ee_addr = ioaddr + EEPROM_REG;
ioaddr902drivers/net/eepro.coutb(BANK2_SELECT, ioaddr);
ioaddr929drivers/net/eepro.coutb(BANK0_SELECT, ioaddr);
ioaddr937drivers/net/eepro.cshort ioaddr = dev->base_addr;
ioaddr955drivers/net/eepro.coutb(ALL_MASK, ioaddr + INT_MASK_REG);
ioaddr974drivers/net/eepro.coutw(last, ioaddr + HOST_ADDRESS_REG);
ioaddr975drivers/net/eepro.coutw(XMT_CMD, ioaddr + IO_PORT);
ioaddr976drivers/net/eepro.coutw(0, ioaddr + IO_PORT);
ioaddr977drivers/net/eepro.coutw(end, ioaddr + IO_PORT);
ioaddr978drivers/net/eepro.coutw(length, ioaddr + IO_PORT);
ioaddr979drivers/net/eepro.coutsw(ioaddr + IO_PORT, buf, (length + 1) >> 1);
ioaddr985drivers/net/eepro.coutw(lp->tx_last + XMT_CHAIN, ioaddr + HOST_ADDRESS_REG);
ioaddr986drivers/net/eepro.coutw(last, ioaddr + IO_PORT);
ioaddr988drivers/net/eepro.coutw(lp->tx_last + XMT_COUNT, ioaddr + HOST_ADDRESS_REG);
ioaddr989drivers/net/eepro.cstatus = inw(ioaddr + IO_PORT);
ioaddr990drivers/net/eepro.coutw(status | CHAIN_BIT, ioaddr + IO_PORT);
ioaddr994drivers/net/eepro.cstatus = inw(ioaddr + IO_PORT); 
ioaddr997drivers/net/eepro.coutb(ALL_MASK & ~(RX_MASK | TX_MASK), ioaddr + INT_MASK_REG); 
ioaddr1000drivers/net/eepro.coutw(last, ioaddr + XMT_BAR);
ioaddr1001drivers/net/eepro.coutb(XMT_CMD, ioaddr);
ioaddr1004drivers/net/eepro.celse  outb(RESUME_XMT_CMD, ioaddr);
ioaddr1027drivers/net/eepro.cshort ioaddr = dev->base_addr;
ioaddr1036drivers/net/eepro.coutw(rcv_car, ioaddr + HOST_ADDRESS_REG);
ioaddr1037drivers/net/eepro.crcv_event = inw(ioaddr + IO_PORT);
ioaddr1040drivers/net/eepro.crcv_status = inw(ioaddr + IO_PORT);
ioaddr1041drivers/net/eepro.crcv_next_frame = inw(ioaddr + IO_PORT);
ioaddr1042drivers/net/eepro.crcv_size = inw(ioaddr + IO_PORT);
ioaddr1058drivers/net/eepro.cinsw(ioaddr+IO_PORT, skb_put(skb,rcv_size), (rcv_size + 1) >> 1);
ioaddr1083drivers/net/eepro.coutw(rcv_next_frame, ioaddr + HOST_ADDRESS_REG);
ioaddr1084drivers/net/eepro.crcv_event = inw(ioaddr + IO_PORT);
ioaddr1089drivers/net/eepro.coutw(rcv_car - 1, ioaddr + RCV_STOP);
ioaddr1099drivers/net/eepro.cshort ioaddr = dev->base_addr;
ioaddr1105drivers/net/eepro.coutw(lp->tx_start, ioaddr + HOST_ADDRESS_REG);
ioaddr1106drivers/net/eepro.cxmt_status = inw(ioaddr+IO_PORT);
ioaddr1108drivers/net/eepro.cxmt_status = inw(ioaddr+IO_PORT);
ioaddr1109drivers/net/eepro.clp->tx_start = inw(ioaddr+IO_PORT);
ioaddr240drivers/net/eexpress.cstatic int            eexp_hw_probe     (struct device *dev,unsigned short ioaddr);
ioaddr241drivers/net/eexpress.cstatic unsigned short eexp_hw_readeeprom(unsigned short ioaddr, unsigned char location);
ioaddr264drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr266drivers/net/eexpress.cif (ioaddr&0xfe00)
ioaddr267drivers/net/eexpress.creturn eexp_hw_probe(dev,ioaddr);
ioaddr268drivers/net/eexpress.celse if (ioaddr)
ioaddr294drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr309drivers/net/eexpress.crequest_region(ioaddr, EEXP_IO_EXTENT, "eexpress");
ioaddr323drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr329drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[irq],ioaddr+SET_IRQ);
ioaddr331drivers/net/eexpress.coutw(SCB_CUsuspend|SCB_RUsuspend,ioaddr+SCB_CMD);
ioaddr332drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr335drivers/net/eexpress.coutb(i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr336drivers/net/eexpress.crelease_region(ioaddr,16);
ioaddr365drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr371drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr386drivers/net/eexpress.cdev->name,inw(ioaddr+SCB_STATUS));
ioaddr389drivers/net/eexpress.coutw(lp->tx_link,ioaddr+SCB_CBL);
ioaddr390drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr391drivers/net/eexpress.coutw(SCB_CUstart,ioaddr+SCB_CMD);
ioaddr392drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr393drivers/net/eexpress.cwhile (!SCB_complete(rsst=inw(ioaddr+SCB_STATUS))) 
ioaddr400drivers/net/eexpress.coutw(lp->tx_link,ioaddr+SCB_CBL);
ioaddr401drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr402drivers/net/eexpress.coutw(SCB_CUstart,ioaddr+SCB_CMD);
ioaddr403drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr411drivers/net/eexpress.cunsigned short status = inw(ioaddr+SCB_STATUS);
ioaddr438drivers/net/eexpress.cunsigned short status = inw(ioaddr+SCB_STATUS);
ioaddr450drivers/net/eexpress.cunsigned short status = inw(ioaddr+SCB_STATUS);
ioaddr460drivers/net/eexpress.coutb(SIRQ_en|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr474drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr476drivers/net/eexpress.coutb(SIRQ_en|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr479drivers/net/eexpress.coutb(SIRQ_en|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr494drivers/net/eexpress.cunsigned short ioaddr,status,ack_cmd;
ioaddr510drivers/net/eexpress.cioaddr = dev->base_addr;
ioaddr512drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[irq],ioaddr+SET_IRQ);
ioaddr513drivers/net/eexpress.cold_rp = inw(ioaddr+READ_PTR);
ioaddr514drivers/net/eexpress.cold_wp = inw(ioaddr+WRITE_PTR);
ioaddr515drivers/net/eexpress.cstatus = inw(ioaddr+SCB_STATUS);
ioaddr521drivers/net/eexpress.cwhile (SCB_CUstat(inw(ioaddr+SCB_STATUS))==2);
ioaddr523drivers/net/eexpress.coutw(lp->tx_link,ioaddr+SCB_CBL);
ioaddr524drivers/net/eexpress.coutw(PRIV(dev)->rx_buf_start,ioaddr+SCB_RFA);
ioaddr544drivers/net/eexpress.coutw(PRIV(dev)->rx_buf_start,ioaddr+SCB_RFA);
ioaddr550drivers/net/eexpress.coutw(ack_cmd,ioaddr+SCB_CMD);
ioaddr551drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr552drivers/net/eexpress.coutw(old_rp,ioaddr+READ_PTR);
ioaddr553drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr554drivers/net/eexpress.coutb(SIRQ_en|irqrmap[irq],ioaddr+SET_IRQ);
ioaddr571drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr572drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr573drivers/net/eexpress.cunsigned short old_rp = inw(ioaddr+READ_PTR);
ioaddr581drivers/net/eexpress.cwhile (outw(rx_block,ioaddr+READ_PTR),boguscount--) 
ioaddr583drivers/net/eexpress.cunsigned short status = inw(ioaddr);
ioaddr584drivers/net/eexpress.cunsigned short rfd_cmd = inw(ioaddr);
ioaddr585drivers/net/eexpress.cunsigned short rx_next = inw(ioaddr);
ioaddr586drivers/net/eexpress.cunsigned short pbuf = inw(ioaddr);
ioaddr591drivers/net/eexpress.coutw(pbuf,ioaddr+READ_PTR);
ioaddr592drivers/net/eexpress.cpkt_len = inw(ioaddr);
ioaddr631drivers/net/eexpress.coutw(pbuf+10,ioaddr+READ_PTR);
ioaddr632drivers/net/eexpress.cinsw(ioaddr,skb_put(skb,pkt_len),(pkt_len+1)>>1);
ioaddr637drivers/net/eexpress.coutw(rx_block,ioaddr+WRITE_PTR);
ioaddr638drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr639drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr643drivers/net/eexpress.coutw(old_rp,ioaddr+READ_PTR);
ioaddr644drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr657drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr658drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr660drivers/net/eexpress.coutw(lp->tx_head,ioaddr+WRITE_PTR);
ioaddr661drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr662drivers/net/eexpress.coutw(Cmd_INT|Cmd_Xmit,ioaddr);
ioaddr663drivers/net/eexpress.coutw(lp->tx_head+0x08,ioaddr);
ioaddr664drivers/net/eexpress.coutw(lp->tx_head+0x0e,ioaddr);
ioaddr665drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr666drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr667drivers/net/eexpress.coutw(lp->tx_head+0x08,ioaddr);
ioaddr668drivers/net/eexpress.coutw(0x8000|len,ioaddr);
ioaddr669drivers/net/eexpress.coutw(-1,ioaddr);
ioaddr670drivers/net/eexpress.coutw(lp->tx_head+0x16,ioaddr);
ioaddr671drivers/net/eexpress.coutw(0,ioaddr);
ioaddr672drivers/net/eexpress.coutsw(ioaddr,buf,(len+1)>>1);
ioaddr673drivers/net/eexpress.coutw(lp->tx_tail+0x0c,ioaddr+WRITE_PTR);
ioaddr674drivers/net/eexpress.coutw(lp->tx_head,ioaddr);
ioaddr683drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr694drivers/net/eexpress.cstatic int eexp_hw_probe(struct device *dev, unsigned short ioaddr)
ioaddr700drivers/net/eexpress.cprintk("%s: EtherExpress at %#x, ",dev->name,ioaddr);
ioaddr702drivers/net/eexpress.chw_addr[0] = eexp_hw_readeeprom(ioaddr,2);
ioaddr703drivers/net/eexpress.chw_addr[1] = eexp_hw_readeeprom(ioaddr,3);
ioaddr704drivers/net/eexpress.chw_addr[2] = eexp_hw_readeeprom(ioaddr,4);
ioaddr713drivers/net/eexpress.cdev->base_addr = ioaddr;
ioaddr721drivers/net/eexpress.cunsigned short setupval = eexp_hw_readeeprom(ioaddr,0);
ioaddr725drivers/net/eexpress.ceexp_hw_readeeprom(ioaddr,5) & 0x1 ? TP : BNC;
ioaddr729drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr730drivers/net/eexpress.coutb(0,ioaddr+SET_IRQ);
ioaddr746drivers/net/eexpress.cold_wp = inw(ioaddr+WRITE_PTR);
ioaddr747drivers/net/eexpress.cold_rp = inw(ioaddr+READ_PTR);
ioaddr748drivers/net/eexpress.coutw(0x8000+i586mso,ioaddr+READ_PTR);
ioaddr749drivers/net/eexpress.cold_a1 = inw(ioaddr);
ioaddr750drivers/net/eexpress.coutw(i586mso,ioaddr+READ_PTR);
ioaddr751drivers/net/eexpress.cold_a0 = inw(ioaddr);
ioaddr752drivers/net/eexpress.coutw(i586mso,ioaddr+WRITE_PTR);
ioaddr753drivers/net/eexpress.coutw(0x55aa,ioaddr);
ioaddr754drivers/net/eexpress.coutw(i586mso,ioaddr+READ_PTR);
ioaddr755drivers/net/eexpress.ca0_0 = inw(ioaddr);
ioaddr756drivers/net/eexpress.coutw(0x8000+i586mso,ioaddr+WRITE_PTR);
ioaddr757drivers/net/eexpress.coutw(0x5a5a,ioaddr);
ioaddr758drivers/net/eexpress.coutw(0x8000+i586mso,ioaddr+READ_PTR);
ioaddr759drivers/net/eexpress.ca1_0 = inw(ioaddr);
ioaddr760drivers/net/eexpress.coutw(i586mso,ioaddr+READ_PTR);
ioaddr761drivers/net/eexpress.ca0_1 = inw(ioaddr);
ioaddr762drivers/net/eexpress.coutw(i586mso,ioaddr+WRITE_PTR);
ioaddr763drivers/net/eexpress.coutw(0x1234,ioaddr);
ioaddr764drivers/net/eexpress.coutw(0x8000+i586mso,ioaddr+READ_PTR);
ioaddr765drivers/net/eexpress.ca1_1 = inw(ioaddr);
ioaddr782drivers/net/eexpress.coutw(0x8000+i586mso,ioaddr+WRITE_PTR);
ioaddr783drivers/net/eexpress.coutw(old_a1,ioaddr);
ioaddr784drivers/net/eexpress.coutw(i586mso,ioaddr+WRITE_PTR);
ioaddr785drivers/net/eexpress.coutw(old_a0,ioaddr);
ioaddr786drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr787drivers/net/eexpress.coutw(old_rp,ioaddr+READ_PTR);
ioaddr803drivers/net/eexpress.cstatic unsigned short eexp_hw_readeeprom(unsigned short ioaddr, unsigned char location)
ioaddr809drivers/net/eexpress.coutb(EC_CS|i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr817drivers/net/eexpress.coutb(wval,ioaddr+EEPROM_Ctrl);
ioaddr818drivers/net/eexpress.coutb(wval|EC_Clk,ioaddr+EEPROM_Ctrl);
ioaddr820drivers/net/eexpress.coutb(wval,ioaddr+EEPROM_Ctrl);
ioaddr824drivers/net/eexpress.coutb(wval,ioaddr+EEPROM_Ctrl);
ioaddr827drivers/net/eexpress.coutb(wval|EC_Clk,ioaddr+EEPROM_Ctrl);
ioaddr829drivers/net/eexpress.cif (inb(ioaddr+EEPROM_Ctrl)&EC_Rd) 
ioaddr831drivers/net/eexpress.coutb(wval,ioaddr+EEPROM_Ctrl);
ioaddr835drivers/net/eexpress.coutb(wval|EC_Clk,ioaddr+EEPROM_Ctrl);
ioaddr837drivers/net/eexpress.coutb(wval,ioaddr+EEPROM_Ctrl);
ioaddr855drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr856drivers/net/eexpress.cunsigned short old_rp = inw(ioaddr+READ_PTR);
ioaddr857drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr866drivers/net/eexpress.coutw(tx_block,ioaddr+READ_PTR);
ioaddr867drivers/net/eexpress.cstatus = inw(ioaddr);
ioaddr871drivers/net/eexpress.coutw(old_rp,ioaddr+READ_PTR);
ioaddr872drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr901drivers/net/eexpress.coutw(old_rp,ioaddr+READ_PTR);
ioaddr902drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr917drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr920drivers/net/eexpress.coutw(lp->tx_link,ioaddr+SCB_CBL);
ioaddr921drivers/net/eexpress.coutw(SCB_CUstart,ioaddr+SCB_CMD);
ioaddr922drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr923drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr927drivers/net/eexpress.cwhile (!inw(ioaddr+SCB_STATUS)) 
ioaddr934drivers/net/eexpress.cdev->name, inw(ioaddr+SCB_STATUS), inw(ioaddr+SCB_CMD));
ioaddr935drivers/net/eexpress.coutw(lp->tx_link,ioaddr+SCB_CBL);
ioaddr936drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr937drivers/net/eexpress.coutw(SCB_CUstart,ioaddr+SCB_CMD);
ioaddr938drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr970drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr971drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr977drivers/net/eexpress.coutw(tx_block,ioaddr+WRITE_PTR);
ioaddr978drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr979drivers/net/eexpress.coutw(Cmd_INT|Cmd_Xmit,ioaddr);
ioaddr980drivers/net/eexpress.coutw(tx_block+0x08,ioaddr);
ioaddr981drivers/net/eexpress.coutw(tx_block+0x0e,ioaddr);
ioaddr982drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr983drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr984drivers/net/eexpress.coutw(tx_block+0x08,ioaddr);
ioaddr985drivers/net/eexpress.coutw(0x8000,ioaddr);
ioaddr986drivers/net/eexpress.coutw(-1,ioaddr);
ioaddr987drivers/net/eexpress.coutw(tx_block+0x16,ioaddr);
ioaddr988drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr996drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr1018drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr1019drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr1027drivers/net/eexpress.coutw(rx_block,ioaddr+WRITE_PTR);
ioaddr1028drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1029drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1030drivers/net/eexpress.coutw(rx_block+RX_BUF_SIZE,ioaddr);
ioaddr1031drivers/net/eexpress.coutw(rx_block+0x16,ioaddr);
ioaddr1032drivers/net/eexpress.coutsw(ioaddr, rx_words, sizeof(rx_words)>>1);
ioaddr1033drivers/net/eexpress.coutw(0x8000,ioaddr);
ioaddr1034drivers/net/eexpress.coutw(-1,ioaddr);
ioaddr1035drivers/net/eexpress.coutw(rx_block+0x20,ioaddr);
ioaddr1036drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1037drivers/net/eexpress.coutw(0x8000|(RX_BUF_SIZE-0x20),ioaddr);
ioaddr1042drivers/net/eexpress.coutw(lp->rx_last+4,ioaddr+WRITE_PTR);
ioaddr1043drivers/net/eexpress.coutw(lp->rx_first,ioaddr);
ioaddr1045drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr1057drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr1058drivers/net/eexpress.cunsigned short old_wp = inw(ioaddr+WRITE_PTR);
ioaddr1060drivers/net/eexpress.coutw(rx_buf,ioaddr+WRITE_PTR);
ioaddr1061drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1062drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1063drivers/net/eexpress.coutw((rx_buf==lp->rx_last)?lp->rx_first:(rx_buf+RX_BUF_SIZE),ioaddr);
ioaddr1064drivers/net/eexpress.coutw(rx_buf+0x16,ioaddr);
ioaddr1065drivers/net/eexpress.coutsw(ioaddr, rx_words, sizeof(rx_words)>>1);
ioaddr1066drivers/net/eexpress.coutw(0x8000,ioaddr);
ioaddr1067drivers/net/eexpress.coutw(-1,ioaddr);
ioaddr1068drivers/net/eexpress.coutw(rx_buf+0x20,ioaddr);
ioaddr1069drivers/net/eexpress.coutw(0x0000,ioaddr);
ioaddr1070drivers/net/eexpress.coutw(0x8000|(RX_BUF_SIZE-0x20),ioaddr);
ioaddr1071drivers/net/eexpress.coutw(old_wp,ioaddr+WRITE_PTR);
ioaddr1086drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr1091drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr1092drivers/net/eexpress.coutb(i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr1097drivers/net/eexpress.coutw(0,ioaddr+WRITE_PTR);
ioaddr1099drivers/net/eexpress.coutw(0,ioaddr);
ioaddr1102drivers/net/eexpress.coutw(lp->rx_buf_end,ioaddr+WRITE_PTR);
ioaddr1103drivers/net/eexpress.coutsw(ioaddr, start_code, sizeof(start_code)>>1);
ioaddr1104drivers/net/eexpress.coutw(CONF_HW_ADDR,ioaddr+WRITE_PTR);
ioaddr1105drivers/net/eexpress.coutsw(ioaddr,dev->dev_addr,3);
ioaddr1108drivers/net/eexpress.coutw(0,ioaddr+WRITE_PTR);
ioaddr1109drivers/net/eexpress.coutw(1,ioaddr);
ioaddr1110drivers/net/eexpress.coutb(0,ioaddr+EEPROM_Ctrl);
ioaddr1111drivers/net/eexpress.coutw(0,ioaddr+SCB_CMD);
ioaddr1112drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr1115drivers/net/eexpress.cwhile (outw(0,ioaddr+READ_PTR),inw(ioaddr)) 
ioaddr1121drivers/net/eexpress.coutw(0,ioaddr+SCB_CMD);
ioaddr1122drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr1134drivers/net/eexpress.coutw(CONF_LINK,ioaddr+SCB_CBL);
ioaddr1135drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr1136drivers/net/eexpress.coutw(0xf000|SCB_CUstart,ioaddr+SCB_CMD);
ioaddr1137drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr1140drivers/net/eexpress.cwhile (!inw(ioaddr+SCB_STATUS)) 
ioaddr1147drivers/net/eexpress.cdev->name, inw(ioaddr+SCB_STATUS), inw(ioaddr+SCB_CMD));
ioaddr1148drivers/net/eexpress.coutw(CONF_LINK,ioaddr+SCB_CBL);
ioaddr1149drivers/net/eexpress.coutw(0,ioaddr+SCB_STATUS);
ioaddr1150drivers/net/eexpress.coutw(0xf000|SCB_CUstart,ioaddr+SCB_CMD);
ioaddr1151drivers/net/eexpress.coutb(0,ioaddr+SIGNAL_CA);
ioaddr1163drivers/net/eexpress.coutb(SIRQ_en|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr1179drivers/net/eexpress.cunsigned short ioaddr = dev->base_addr;
ioaddr1182drivers/net/eexpress.coutb(SIRQ_dis|irqrmap[dev->irq],ioaddr+SET_IRQ);
ioaddr1188drivers/net/eexpress.coutb(ASIC_RST|i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr1193drivers/net/eexpress.coutw(0,ioaddr+WRITE_PTR);
ioaddr1194drivers/net/eexpress.coutw(wrval,ioaddr);
ioaddr1195drivers/net/eexpress.coutw(0,ioaddr+READ_PTR);
ioaddr1196drivers/net/eexpress.cif (wrval++ == inw(ioaddr)) 
ioaddr1207drivers/net/eexpress.coutb(ASIC_RST|i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr1211drivers/net/eexpress.coutb(i586_RST,ioaddr+EEPROM_Ctrl);
ioaddr102drivers/net/eth16i.c#define BITSET(ioaddr, bnum)   ((outb(((inb(ioaddr)) | (bnum)), ioaddr))) 
ioaddr103drivers/net/eth16i.c#define BITCLR(ioaddr, bnum)   ((outb(((inb(ioaddr)) & (~(bnum))), ioaddr)))
ioaddr315drivers/net/eth16i.cstatic int eth16i_probe1(struct device *dev, short ioaddr);
ioaddr316drivers/net/eth16i.cstatic int eth16i_check_signature(short ioaddr);
ioaddr317drivers/net/eth16i.cstatic int eth16i_probe_port(short ioaddr);
ioaddr318drivers/net/eth16i.cstatic void eth16i_set_port(short ioaddr, int porttype);
ioaddr319drivers/net/eth16i.cstatic int eth16i_send_probe_packet(short ioaddr, unsigned char *b, int l);
ioaddr320drivers/net/eth16i.cstatic int eth16i_receive_probe_packet(short ioaddr);
ioaddr321drivers/net/eth16i.cstatic int eth16i_get_irq(short ioaddr);
ioaddr322drivers/net/eth16i.cstatic int eth16i_read_eeprom(int ioaddr, int offset);
ioaddr323drivers/net/eth16i.cstatic int eth16i_read_eeprom_word(int ioaddr);
ioaddr324drivers/net/eth16i.cstatic void eth16i_eeprom_cmd(int ioaddr, unsigned char command);
ioaddr331drivers/net/eth16i.cstatic void eth16i_select_regbank(unsigned char regbank, short ioaddr);
ioaddr346drivers/net/eth16i.cint ioaddr;
ioaddr358drivers/net/eth16i.cfor(i = 0; (ioaddr = eth16i_portlist[i]) ; i++) {
ioaddr359drivers/net/eth16i.cif(check_region(ioaddr, ETH16I_IO_EXTENT))
ioaddr361drivers/net/eth16i.cif(eth16i_probe1(dev, ioaddr) == 0)
ioaddr366drivers/net/eth16i.cfor(i = 0; (ioaddr = eth32i_portlist[i]) ; i++) {
ioaddr367drivers/net/eth16i.cif(check_region(ioaddr, ETH16I_IO_EXTENT))
ioaddr369drivers/net/eth16i.cif(eth16i_probe1(dev, ioaddr) == 0)
ioaddr377drivers/net/eth16i.cstatic int eth16i_probe1(struct device *dev, short ioaddr)
ioaddr390drivers/net/eth16i.cif(ioaddr < 0x1000) {
ioaddr391drivers/net/eth16i.cif(eth16i_portlist[(inb(ioaddr + JUMPERLESS_CONFIG) & 0x07)] != ioaddr)
ioaddr397drivers/net/eth16i.cif(eth16i_check_signature(ioaddr) != 0) /* Can we find the signature here */
ioaddr408drivers/net/eth16i.ceth16i_select_regbank(TRANSCEIVER_MODE_RB, ioaddr);
ioaddr409drivers/net/eth16i.coutb(0x00, ioaddr + TRANSCEIVER_MODE_REG);
ioaddr411drivers/net/eth16i.coutb(0x00, ioaddr + RESET);             /* Will reset some parts of chip */
ioaddr412drivers/net/eth16i.cBITSET(ioaddr + CONFIG_REG_0, BIT(7));  /* This will disable the data link */
ioaddr420drivers/net/eth16i.cdev->base_addr = ioaddr;
ioaddr422drivers/net/eth16i.cirq = eth16i_get_irq(ioaddr);
ioaddr428drivers/net/eth16i.cconflict on IRQ %d.\n", dev->name, cardname, ioaddr, irq);
ioaddr433drivers/net/eth16i.cdev->name, cardname, ioaddr, dev->irq);
ioaddr436drivers/net/eth16i.crequest_region(ioaddr, ETH16I_IO_EXTENT, "eth16i");
ioaddr439drivers/net/eth16i.ceth16i_select_regbank(TRANSCEIVER_MODE_RB, ioaddr);
ioaddr440drivers/net/eth16i.coutb(0x38, ioaddr + TRANSCEIVER_MODE_REG); 
ioaddr445drivers/net/eth16i.cBITCLR(ioaddr + CONFIG_REG_1, POWERUP);
ioaddr469drivers/net/eth16i.cshort ioaddr = dev->base_addr;
ioaddr474drivers/net/eth16i.ceth16i_select_regbank(NODE_ID_RB, ioaddr);
ioaddr476drivers/net/eth16i.cunsigned short node_val = eth16i_read_eeprom(ioaddr, E_NODEID_0 + i);
ioaddr481drivers/net/eth16i.coutb( ((unsigned char *)dev->dev_addr)[i], ioaddr + NODE_ID_0 + i);
ioaddr483drivers/net/eth16i.cprintk("%02x", inb(ioaddr + NODE_ID_0 + i));
ioaddr490drivers/net/eth16i.ceth16i_select_regbank(HASH_TABLE_RB, ioaddr);
ioaddr492drivers/net/eth16i.coutb(0x00, ioaddr + HASH_TABLE_0 + i);
ioaddr500drivers/net/eth16i.ceth16i_select_regbank(2, ioaddr);
ioaddr503drivers/net/eth16i.cnode_w = eth16i_read_eeprom(ioaddr, E_PRODUCT_CFG);
ioaddr515drivers/net/eth16i.coutb(node_byte, ioaddr + CONFIG_REG_0);
ioaddr518drivers/net/eth16i.coutb(RETRANS_AND_HALT_ON_16, ioaddr + COL_16_REG);
ioaddr524drivers/net/eth16i.cushort ptype = eth16i_read_eeprom(ioaddr, E_PORT_SELECT);
ioaddr530drivers/net/eth16i.cptype = eth16i_probe_port(ioaddr);
ioaddr532drivers/net/eth16i.ceth16i_set_port(ioaddr, ptype);
ioaddr536drivers/net/eth16i.coutb(MODE_2, ioaddr + RECEIVE_MODE_REG);
ioaddr539drivers/net/eth16i.cstatic int eth16i_probe_port(short ioaddr)
ioaddr546drivers/net/eth16i.coutb(0xc0 | POWERUP, ioaddr + CONFIG_REG_1);
ioaddr548drivers/net/eth16i.cBITSET(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr550drivers/net/eth16i.ceth16i_select_regbank(NODE_ID_RB, ioaddr);
ioaddr553drivers/net/eth16i.cdummy_packet[i] = inb(ioaddr + NODE_ID_0 + i);
ioaddr554drivers/net/eth16i.cdummy_packet[i+6] = inb(ioaddr + NODE_ID_0 + i);
ioaddr560drivers/net/eth16i.ceth16i_select_regbank(2, ioaddr);
ioaddr563drivers/net/eth16i.cBITSET(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr564drivers/net/eth16i.cBITCLR(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr565drivers/net/eth16i.ceth16i_set_port(ioaddr, i);
ioaddr570drivers/net/eth16i.cretcode = eth16i_send_probe_packet(ioaddr, dummy_packet, 64);
ioaddr572drivers/net/eth16i.cretcode = eth16i_receive_probe_packet(ioaddr);
ioaddr591drivers/net/eth16i.cstatic void eth16i_set_port(short ioaddr, int porttype)
ioaddr595drivers/net/eth16i.ceth16i_select_regbank(TRANSCEIVER_MODE_RB, ioaddr);
ioaddr596drivers/net/eth16i.coutb(LOOPBACK_CONTROL, ioaddr + TRANSMIT_MODE_REG);
ioaddr611drivers/net/eth16i.cBITSET(ioaddr + TRANSMIT_MODE_REG, CONTROL_OUTPUT);
ioaddr614drivers/net/eth16i.coutb(temp, ioaddr + TRANSCEIVER_MODE_REG);
ioaddr617drivers/net/eth16i.cprintk("TRANSMIT_MODE_REG = %x\n", inb(ioaddr + TRANSMIT_MODE_REG));
ioaddr618drivers/net/eth16i.cprintk("TRANSCEIVER_MODE_REG = %x\n", inb(ioaddr+TRANSCEIVER_MODE_REG));
ioaddr622drivers/net/eth16i.cstatic int eth16i_send_probe_packet(short ioaddr, unsigned char *b, int l)
ioaddr626drivers/net/eth16i.coutb(0xff, ioaddr + TX_STATUS_REG);
ioaddr628drivers/net/eth16i.coutw(l, ioaddr + DATAPORT);
ioaddr629drivers/net/eth16i.coutsw(ioaddr + DATAPORT, (unsigned short *)b, (l + 1) >> 1);  
ioaddr632drivers/net/eth16i.coutb(TX_START | 1, ioaddr + TRANSMIT_START_REG); 
ioaddr634drivers/net/eth16i.cwhile( (inb(ioaddr + TX_STATUS_REG) & 0x80) == 0) {
ioaddr643drivers/net/eth16i.cstatic int eth16i_receive_probe_packet(short ioaddr)
ioaddr649drivers/net/eth16i.cwhile((inb(ioaddr + TX_STATUS_REG) & 0x20) == 0) {
ioaddr655drivers/net/eth16i.cwhile((inb(ioaddr + RX_STATUS_REG) & 0x80) == 0) {
ioaddr670drivers/net/eth16i.cprintk("TRANSMIT_PACKET_RECEIVED %x\n", inb(ioaddr + TX_STATUS_REG));
ioaddr671drivers/net/eth16i.cprintk("RX_STATUS_REG = %x\n", inb(ioaddr + RX_STATUS_REG));
ioaddr677drivers/net/eth16i.cstatic int eth16i_get_irq(short ioaddr)
ioaddr681drivers/net/eth16i.cif( ioaddr < 0x1000) {
ioaddr682drivers/net/eth16i.ccbyte = inb(ioaddr + JUMPERLESS_CONFIG);
ioaddr686drivers/net/eth16i.ccbyte = inb(ioaddr + EISA_IRQ_REG);
ioaddr695drivers/net/eth16i.cstatic int eth16i_check_signature(short ioaddr)
ioaddr702drivers/net/eth16i.ccreg[i] = inb(ioaddr + TRANSMIT_MODE_REG + i);
ioaddr706drivers/net/eth16i.cioaddr + TRANSMIT_MODE_REG + i);
ioaddr732drivers/net/eth16i.cif(eth16i_read_eeprom(ioaddr, E_NODEID_0) != 0)
ioaddr734drivers/net/eth16i.cif((eth16i_read_eeprom(ioaddr, E_NODEID_1) & 0xFF00) != 0x4B00)
ioaddr740drivers/net/eth16i.cstatic int eth16i_read_eeprom(int ioaddr, int offset)
ioaddr744drivers/net/eth16i.ceth16i_eeprom_cmd(ioaddr, EEPROM_READ | offset);
ioaddr745drivers/net/eth16i.coutb(CS_1, ioaddr + EEPROM_CTRL_REG);
ioaddr746drivers/net/eth16i.cdata = eth16i_read_eeprom_word(ioaddr);
ioaddr747drivers/net/eth16i.coutb(CS_0 | SK_0, ioaddr + EEPROM_CTRL_REG);
ioaddr752drivers/net/eth16i.cstatic int eth16i_read_eeprom_word(int ioaddr)
ioaddr758drivers/net/eth16i.coutb(CS_1 | SK_0, ioaddr + EEPROM_CTRL_REG);
ioaddr760drivers/net/eth16i.coutb(CS_1 | SK_1, ioaddr + EEPROM_CTRL_REG);
ioaddr762drivers/net/eth16i.cdata = (data << 1) | ((inb(ioaddr + EEPROM_DATA_REG) & DI_1) ? 1 : 0);
ioaddr769drivers/net/eth16i.cstatic void eth16i_eeprom_cmd(int ioaddr, unsigned char command)
ioaddr773drivers/net/eth16i.coutb(CS_0 | SK_0, ioaddr + EEPROM_CTRL_REG);
ioaddr774drivers/net/eth16i.coutb(DI_0, ioaddr + EEPROM_DATA_REG);
ioaddr775drivers/net/eth16i.coutb(CS_1 | SK_0, ioaddr + EEPROM_CTRL_REG);
ioaddr776drivers/net/eth16i.coutb(DI_1, ioaddr + EEPROM_DATA_REG);
ioaddr777drivers/net/eth16i.coutb(CS_1 | SK_1, ioaddr + EEPROM_CTRL_REG);
ioaddr781drivers/net/eth16i.coutb(cmd, ioaddr + EEPROM_DATA_REG);
ioaddr782drivers/net/eth16i.coutb(CS_1 | SK_0, ioaddr + EEPROM_CTRL_REG);
ioaddr784drivers/net/eth16i.coutb(CS_1 | SK_1, ioaddr + EEPROM_CTRL_REG);
ioaddr792drivers/net/eth16i.cint ioaddr = dev->base_addr;
ioaddr797drivers/net/eth16i.coutb(0xc0 | POWERUP, ioaddr + CONFIG_REG_1);
ioaddr809drivers/net/eth16i.cBITCLR(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr812drivers/net/eth16i.ceth16i_select_regbank(2, ioaddr);
ioaddr820drivers/net/eth16i.coutw(ETH16I_INTR_ON, ioaddr + TX_INTR_REG);  
ioaddr836drivers/net/eth16i.cint ioaddr = dev->base_addr;
ioaddr844drivers/net/eth16i.cBITSET(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr847drivers/net/eth16i.coutb(0xff, ioaddr + RESET);
ioaddr850drivers/net/eth16i.cBITCLR(ioaddr + CONFIG_REG_1, POWERUP);
ioaddr862drivers/net/eth16i.cint ioaddr = dev->base_addr;
ioaddr875drivers/net/eth16i.cinw(ioaddr + TX_STATUS_REG), 
ioaddr876drivers/net/eth16i.c(inb(ioaddr + TX_STATUS_REG) & TX_DONE) ? 
ioaddr882drivers/net/eth16i.cdev->name, inb(ioaddr + 0), inb(ioaddr + 1), inb(ioaddr + 2), 
ioaddr883drivers/net/eth16i.cinb(ioaddr + 3), inb(ioaddr + 4), inb(ioaddr + 5),
ioaddr884drivers/net/eth16i.cinb(ioaddr + 6), inb(ioaddr + 7));
ioaddr897drivers/net/eth16i.cBITSET(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr898drivers/net/eth16i.coutw(0xffff, ioaddr + RESET);
ioaddr900drivers/net/eth16i.coutw(0xffff, ioaddr + TX_STATUS_REG);
ioaddr901drivers/net/eth16i.cBITCLR(ioaddr + CONFIG_REG_0, DLC_EN);
ioaddr907drivers/net/eth16i.coutw(ETH16I_INTR_ON, ioaddr + TX_INTR_REG);
ioaddr927drivers/net/eth16i.coutw(ETH16I_INTR_OFF, ioaddr + TX_INTR_REG);
ioaddr935drivers/net/eth16i.coutw(length, ioaddr + DATAPORT);
ioaddr937drivers/net/eth16i.cif( ioaddr < 0x1000 ) 
ioaddr938drivers/net/eth16i.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr942drivers/net/eth16i.coutsl(ioaddr + DATAPORT, buf, length >> 2);
ioaddr945drivers/net/eth16i.coutsw(ioaddr + DATAPORT, (buf + (length & 0xFFFC)), 1);
ioaddr947drivers/net/eth16i.coutsw(ioaddr + DATAPORT, (buf + (length & 0xFFFC) + 2), 1);
ioaddr956drivers/net/eth16i.coutb(TX_START | lp->tx_queue, ioaddr + TRANSMIT_START_REG);
ioaddr968drivers/net/eth16i.coutw(ETH16I_INTR_ON, ioaddr + TX_INTR_REG);
ioaddr981drivers/net/eth16i.cint ioaddr = dev->base_addr;
ioaddr985drivers/net/eth16i.cwhile( (inb(ioaddr + RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == 0) {
ioaddr988drivers/net/eth16i.cushort status = inw(ioaddr + DATAPORT);
ioaddr992drivers/net/eth16i.cdev->name, inb(ioaddr + RECEIVE_MODE_REG), status);
ioaddr1006drivers/net/eth16i.cushort pkt_len = inw(ioaddr + DATAPORT);
ioaddr1011drivers/net/eth16i.coutb(RX_BUF_SKIP_PACKET, ioaddr + FILTER_SELF_RX_REG);
ioaddr1020drivers/net/eth16i.coutb(RX_BUF_SKIP_PACKET, ioaddr + FILTER_SELF_RX_REG);
ioaddr1033drivers/net/eth16i.cif( ioaddr < 0x1000) 
ioaddr1034drivers/net/eth16i.cinsw(ioaddr + DATAPORT, skb_put(skb, pkt_len), (pkt_len + 1) >> 1);
ioaddr1039drivers/net/eth16i.cinsl(ioaddr + DATAPORT, buf, pkt_len >> 2);
ioaddr1043drivers/net/eth16i.crest[0] = inw( ioaddr + DATAPORT );
ioaddr1045drivers/net/eth16i.crest[1] = inw( ioaddr + DATAPORT );
ioaddr1075drivers/net/eth16i.cif( (inb(ioaddr+RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == RX_BUFFER_EMPTY)
ioaddr1077drivers/net/eth16i.cinw(ioaddr + DATAPORT);
ioaddr1078drivers/net/eth16i.coutb(RX_BUF_SKIP_PACKET, ioaddr + FILTER_SELF_RX_REG);
ioaddr1093drivers/net/eth16i.cint ioaddr = 0,
ioaddr1102drivers/net/eth16i.coutw(ETH16I_INTR_OFF, ioaddr + TX_INTR_REG); 
ioaddr1106drivers/net/eth16i.cioaddr = dev->base_addr;
ioaddr1108drivers/net/eth16i.cstatus = inw(ioaddr + TX_STATUS_REG);      /* Get the status */
ioaddr1109drivers/net/eth16i.coutw(status, ioaddr + TX_STATUS_REG);      /* Clear status bits */
ioaddr1122drivers/net/eth16i.coutb(TX_START | lp->tx_queue, ioaddr + TRANSMIT_START_REG);
ioaddr1138drivers/net/eth16i.c( (inb(ioaddr + RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == 0) ) {
ioaddr1145drivers/net/eth16i.coutw(ETH16I_INTR_ON, ioaddr + TX_INTR_REG);
ioaddr1152drivers/net/eth16i.cshort ioaddr = dev->base_addr;
ioaddr1157drivers/net/eth16i.coutb(3, ioaddr + RECEIVE_MODE_REG);    
ioaddr1159drivers/net/eth16i.coutb(2, ioaddr + RECEIVE_MODE_REG);
ioaddr1170drivers/net/eth16i.cstatic void eth16i_select_regbank(unsigned char banknbr, short ioaddr)
ioaddr1174drivers/net/eth16i.cdata = inb(ioaddr + CONFIG_REG_1);
ioaddr1175drivers/net/eth16i.coutb( ((data & 0xF3) | ( (banknbr & 0x03) << 2)), ioaddr + CONFIG_REG_1); 
ioaddr50drivers/net/eth82586.h#define set_loopback outb(inb(ioaddr+Config)|0x02,ioaddr+Config)
ioaddr51drivers/net/eth82586.h#define clear_loopback outb(inb(ioaddr+Config)&0xfd,ioaddr+Config)
ioaddr1292drivers/net/ewrk3.cstatic void isa_probe(struct device *dev, u_long ioaddr)
ioaddr1297drivers/net/ewrk3.cif (!ioaddr && autoprobed) return ;            /* Been here before ! */
ioaddr1298drivers/net/ewrk3.cif (ioaddr >= 0x400) return;                   /* Not ISA */
ioaddr1300drivers/net/ewrk3.cif (ioaddr == 0) {                     /* Autoprobing */
ioaddr1304drivers/net/ewrk3.ciobase = ioaddr;
ioaddr1330drivers/net/ewrk3.cstatic void eisa_probe(struct device *dev, u_long ioaddr)
ioaddr1336drivers/net/ewrk3.cif (!ioaddr && autoprobed) return ;            /* Been here before ! */
ioaddr1337drivers/net/ewrk3.cif (ioaddr < 0x1000) return;                   /* Not EISA */
ioaddr1339drivers/net/ewrk3.cif (ioaddr == 0) {                     /* Autoprobing */
ioaddr1344drivers/net/ewrk3.ciobase = ioaddr;
ioaddr1345drivers/net/ewrk3.ci = (ioaddr >> 12);
ioaddr110drivers/net/fmv18x.cstatic int fmv18x_probe1(struct device *dev, short ioaddr);
ioaddr144drivers/net/fmv18x.cint ioaddr = fmv18x_probe_list[i];
ioaddr145drivers/net/fmv18x.cif (check_region(ioaddr, FMV18X_IO_EXTENT))
ioaddr147drivers/net/fmv18x.cif (fmv18x_probe1(dev, ioaddr) == 0)
ioaddr163drivers/net/fmv18x.cint fmv18x_probe1(struct device *dev, short ioaddr)
ioaddr173drivers/net/fmv18x.cif (fmv18x_probe_list[inb(ioaddr + FJ_CONFIG0) & 0x07] != ioaddr
ioaddr174drivers/net/fmv18x.c||  inb(ioaddr+FJ_MACADDR  ) != 0x00
ioaddr175drivers/net/fmv18x.c||  inb(ioaddr+FJ_MACADDR+1) != 0x00
ioaddr176drivers/net/fmv18x.c||  inb(ioaddr+FJ_MACADDR+2) != 0x0e)
ioaddr179drivers/net/fmv18x.cirq = irqmap[(inb(ioaddr + FJ_CONFIG0)>>6) & 0x03];
ioaddr184drivers/net/fmv18x.c"IRQ %d.\n", ioaddr, irq);
ioaddr194drivers/net/fmv18x.crequest_region(ioaddr, FMV18X_IO_EXTENT, "fmv18x");
ioaddr197drivers/net/fmv18x.cioaddr, irq);
ioaddr199drivers/net/fmv18x.cdev->base_addr = ioaddr;
ioaddr204drivers/net/fmv18x.cunsigned char val = inb(ioaddr + FJ_MACADDR + i);
ioaddr217drivers/net/fmv18x.cushort setup_value = inb(ioaddr + FJ_STATUS0);
ioaddr229drivers/net/fmv18x.coutb(0xda, ioaddr + CONFIG_0);   /* Initialize LAN Controller */
ioaddr230drivers/net/fmv18x.coutb(0x00, ioaddr + CONFIG_1);   /* Stand by mode */
ioaddr231drivers/net/fmv18x.coutb(0x00, ioaddr + FJ_CONFIG1); /* Disable IRQ of LAN Card */
ioaddr232drivers/net/fmv18x.coutb(0x00, ioaddr + FJ_BUFCNTL); /* Reset ? I'm not sure (TAMIYA) */
ioaddr238drivers/net/fmv18x.coutb(0x00, ioaddr + CONFIG_1);
ioaddr240drivers/net/fmv18x.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr243drivers/net/fmv18x.coutb(0x04, ioaddr + CONFIG_1);
ioaddr245drivers/net/fmv18x.coutb(0x00, ioaddr + 8 + i);
ioaddr248drivers/net/fmv18x.coutb(0x08, ioaddr + CONFIG_1);
ioaddr249drivers/net/fmv18x.coutb(dev->if_port, ioaddr + MODE13);
ioaddr276drivers/net/fmv18x.cint ioaddr = dev->base_addr;
ioaddr280drivers/net/fmv18x.coutb(0x5a, ioaddr + CONFIG_0);
ioaddr283drivers/net/fmv18x.coutb(0xe8, ioaddr + CONFIG_1);
ioaddr290drivers/net/fmv18x.coutb(0xff, ioaddr + TX_STATUS);
ioaddr291drivers/net/fmv18x.coutb(0xff, ioaddr + RX_STATUS);
ioaddr299drivers/net/fmv18x.coutb(0x80, ioaddr + FJ_CONFIG1);
ioaddr302drivers/net/fmv18x.coutw(0x8182, ioaddr+TX_INTR);
ioaddr313drivers/net/fmv18x.cint ioaddr = dev->base_addr;
ioaddr322drivers/net/fmv18x.chtons(inw(ioaddr + TX_STATUS)),
ioaddr323drivers/net/fmv18x.cinb(ioaddr + TX_STATUS) & 0x80
ioaddr326drivers/net/fmv18x.cdev->name, htons(inw(ioaddr + 0)),
ioaddr327drivers/net/fmv18x.chtons(inw(ioaddr + 2)), htons(inw(ioaddr + 4)),
ioaddr328drivers/net/fmv18x.chtons(inw(ioaddr + 6)), htons(inw(ioaddr + 8)),
ioaddr329drivers/net/fmv18x.chtons(inw(ioaddr +10)), htons(inw(ioaddr +12)),
ioaddr330drivers/net/fmv18x.chtons(inw(ioaddr +14)));
ioaddr332drivers/net/fmv18x.chtons(inw(ioaddr+FJ_STATUS0)),
ioaddr333drivers/net/fmv18x.chtons(inw(ioaddr+FJ_CONFIG0)));
ioaddr339drivers/net/fmv18x.coutb(0xda, ioaddr + CONFIG_0);   /* Initialize LAN Controller */
ioaddr340drivers/net/fmv18x.coutb(0x00, ioaddr + CONFIG_1);   /* Stand by mode */
ioaddr341drivers/net/fmv18x.coutb(0x00, ioaddr + FJ_CONFIG1); /* Disable IRQ of LAN Card */
ioaddr342drivers/net/fmv18x.coutb(0x00, ioaddr + FJ_BUFCNTL); /* Reset ? I'm not sure */
ioaddr376drivers/net/fmv18x.coutw(0x0000, ioaddr + TX_INTR);
ioaddr378drivers/net/fmv18x.coutw(length, ioaddr + DATAPORT);
ioaddr379drivers/net/fmv18x.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr386drivers/net/fmv18x.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr397drivers/net/fmv18x.coutw(0x8182, ioaddr + TX_INTR);
ioaddr411drivers/net/fmv18x.cint ioaddr, status;
ioaddr419drivers/net/fmv18x.cioaddr = dev->base_addr;
ioaddr423drivers/net/fmv18x.coutw(0x0000, ioaddr + TX_INTR);
ioaddr425drivers/net/fmv18x.cstatus = inw(ioaddr + TX_STATUS);
ioaddr426drivers/net/fmv18x.coutw(status, ioaddr + TX_STATUS);
ioaddr431drivers/net/fmv18x.c||  (inb(ioaddr + RX_MODE) & 0x40) == 0) {      /* Got a packet(s). */
ioaddr438drivers/net/fmv18x.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr454drivers/net/fmv18x.coutb(0x02, ioaddr + COL16CNTL);
ioaddr459drivers/net/fmv18x.coutw(0x8182, ioaddr + TX_INTR);
ioaddr468drivers/net/fmv18x.cint ioaddr = dev->base_addr;
ioaddr471drivers/net/fmv18x.cwhile ((inb(ioaddr + RX_MODE) & 0x40) == 0) {
ioaddr474drivers/net/fmv18x.cushort status = inw(ioaddr + DATAPORT);
ioaddr478drivers/net/fmv18x.cdev->name, inb(ioaddr + RX_MODE), status);
ioaddr481drivers/net/fmv18x.coutb(0x05, ioaddr + 14);
ioaddr493drivers/net/fmv18x.cushort pkt_len = inw(ioaddr + DATAPORT);
ioaddr500drivers/net/fmv18x.coutb(0x05, ioaddr + 14);
ioaddr508drivers/net/fmv18x.coutb(0x05, ioaddr + 14);
ioaddr515drivers/net/fmv18x.cinsw(ioaddr + DATAPORT, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
ioaddr539drivers/net/fmv18x.cif ((inb(ioaddr + RX_MODE) & 0x40) == 0x40)
ioaddr541drivers/net/fmv18x.c(void)inw(ioaddr + DATAPORT);        /* dummy status read */
ioaddr542drivers/net/fmv18x.coutb(0x05, ioaddr + 14);
ioaddr547drivers/net/fmv18x.cdev->name, inb(ioaddr + RX_MODE), i);
ioaddr556drivers/net/fmv18x.cint ioaddr = dev->base_addr;
ioaddr564drivers/net/fmv18x.coutb(0xda, ioaddr + CONFIG_0);
ioaddr569drivers/net/fmv18x.coutb(0x00, ioaddr + CONFIG_1);
ioaddr574drivers/net/fmv18x.coutb(0x00, ioaddr + FJ_CONFIG1);
ioaddr602drivers/net/fmv18x.cshort ioaddr = dev->base_addr;
ioaddr612drivers/net/fmv18x.coutb(3, ioaddr + RX_MODE);  /* Enable promiscuous mode */
ioaddr615drivers/net/fmv18x.coutb(2, ioaddr + RX_MODE);  /* Disable promiscuous, use normal mode */
ioaddr96drivers/net/hp-plus.cint hpp_probe1(struct device *dev, int ioaddr);
ioaddr135drivers/net/hp-plus.cint ioaddr = hpplus_portlist[i];
ioaddr136drivers/net/hp-plus.cif (check_region(ioaddr, HP_IO_EXTENT))
ioaddr138drivers/net/hp-plus.cif (hpp_probe1(dev, ioaddr) == 0)
ioaddr147drivers/net/hp-plus.cint hpp_probe1(struct device *dev, int ioaddr)
ioaddr156drivers/net/hp-plus.cif (inw(ioaddr + HP_ID) != 0x4850
ioaddr157drivers/net/hp-plus.c|| (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300)
ioaddr169drivers/net/hp-plus.cprintk("%s: %s at %#3x,", dev->name, name, ioaddr);
ioaddr172drivers/net/hp-plus.coutw(MAC_Page, ioaddr + HP_PAGING);
ioaddr175drivers/net/hp-plus.cunsigned char inval = inb(ioaddr + 8 + i);
ioaddr180drivers/net/hp-plus.cchecksum += inb(ioaddr + 14);
ioaddr187drivers/net/hp-plus.coutw(ID_Page, ioaddr + HP_PAGING);
ioaddr188drivers/net/hp-plus.cprintk(" ID %4.4x", inw(ioaddr + 12));
ioaddr198drivers/net/hp-plus.crequest_region(ioaddr, HP_IO_EXTENT,"hp-plus");
ioaddr201drivers/net/hp-plus.coutw(HW_Page, ioaddr + HP_PAGING);
ioaddr203drivers/net/hp-plus.cint irq = inb(ioaddr + 13) & 0x0f;
ioaddr204drivers/net/hp-plus.cint option = inw(ioaddr + HPP_OPTION);
ioaddr208drivers/net/hp-plus.cmem_start = inw(ioaddr + 9) << 8;
ioaddr217drivers/net/hp-plus.coutw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14);
ioaddr220drivers/net/hp-plus.cdev->base_addr = ioaddr + NIC_OFFSET;
ioaddr247drivers/net/hp-plus.coutw(Perf_Page, ioaddr + HP_PAGING);
ioaddr250drivers/net/hp-plus.coutw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION);
ioaddr258drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr266drivers/net/hp-plus.coption_reg = inw(ioaddr + HPP_OPTION);
ioaddr267drivers/net/hp-plus.coutw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr270drivers/net/hp-plus.coutw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr273drivers/net/hp-plus.coutw(HW_Page, ioaddr + HP_PAGING);
ioaddr274drivers/net/hp-plus.coutw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14);
ioaddr277drivers/net/hp-plus.coutw(Perf_Page, ioaddr + HP_PAGING);
ioaddr287drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr288drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr294drivers/net/hp-plus.cioaddr + HPP_OPTION);
ioaddr303drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr304drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr308drivers/net/hp-plus.coutw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr313drivers/net/hp-plus.coutw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr318drivers/net/hp-plus.cif ((inb_p(ioaddr+NIC_OFFSET+EN0_ISR) & ENISR_RESET) == 0)
ioaddr331drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr333drivers/net/hp-plus.coutw((ring_page<<8), ioaddr + HPP_IN_ADDR);
ioaddr334drivers/net/hp-plus.cinsw(ioaddr + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
ioaddr342drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr345drivers/net/hp-plus.coutw(ring_offset, ioaddr + HPP_IN_ADDR);
ioaddr346drivers/net/hp-plus.cinsw(ioaddr + HP_DATAPORT, buf, count>>1);
ioaddr348drivers/net/hp-plus.cbuf[count-1] = inw(ioaddr + HP_DATAPORT);
ioaddr356drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr357drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr359drivers/net/hp-plus.coutw((ring_page<<8), ioaddr + HPP_IN_ADDR);
ioaddr360drivers/net/hp-plus.coutw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
ioaddr362drivers/net/hp-plus.coutw(option_reg, ioaddr + HPP_OPTION);
ioaddr369drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr370drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr372drivers/net/hp-plus.coutw(ring_offset, ioaddr + HPP_IN_ADDR);
ioaddr374drivers/net/hp-plus.coutw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
ioaddr381drivers/net/hp-plus.coutw(option_reg, ioaddr + HPP_OPTION);
ioaddr390drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr391drivers/net/hp-plus.coutw(start_page << 8, ioaddr + HPP_OUT_ADDR);
ioaddr392drivers/net/hp-plus.coutsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2);
ioaddr400drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr401drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr403drivers/net/hp-plus.coutw(start_page << 8, ioaddr + HPP_OUT_ADDR);
ioaddr404drivers/net/hp-plus.coutw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
ioaddr406drivers/net/hp-plus.coutw(option_reg, ioaddr + HPP_OPTION);
ioaddr465drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr468drivers/net/hp-plus.crelease_region(ioaddr, HP_IO_EXTENT);
ioaddr58drivers/net/hp.cint hp_probe1(struct device *dev, int ioaddr);
ioaddr96drivers/net/hp.cint ioaddr = hppclan_portlist[i];
ioaddr97drivers/net/hp.cif (check_region(ioaddr, HP_IO_EXTENT))
ioaddr99drivers/net/hp.cif (hp_probe1(dev, ioaddr) == 0)
ioaddr107drivers/net/hp.cint hp_probe1(struct device *dev, int ioaddr)
ioaddr116drivers/net/hp.cif (inb(ioaddr) != 0x08
ioaddr117drivers/net/hp.c|| inb(ioaddr+1) != 0x00
ioaddr118drivers/net/hp.c|| inb(ioaddr+2) != 0x09
ioaddr119drivers/net/hp.c|| inb(ioaddr+14) == 0x57)
ioaddr124drivers/net/hp.cif ((board_id = inb(ioaddr + HP_ID)) & 0x80) {
ioaddr141drivers/net/hp.cprintk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr);
ioaddr144drivers/net/hp.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr156drivers/net/hp.coutb_p(irqmap[irq] | HP_RUN, ioaddr + HP_CONFIGURE);
ioaddr157drivers/net/hp.coutb_p( 0x00 | HP_RUN, ioaddr + HP_CONFIGURE);
ioaddr187drivers/net/hp.crequest_region(ioaddr, HP_IO_EXTENT,"hp");
ioaddr190drivers/net/hp.cdev->base_addr = ioaddr + NIC_OFFSET;
ioaddr431drivers/net/hp.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr436drivers/net/hp.crelease_region(ioaddr, HP_IO_EXTENT);
ioaddr190drivers/net/hp100.cstatic int hp100_probe1( struct device *dev, int ioaddr, int bus );
ioaddr197drivers/net/hp100.cstatic void hp100_clear_stats( int ioaddr );
ioaddr215drivers/net/hp100.cint ioaddr;
ioaddr255drivers/net/hp100.cPCI_BASE_ADDRESS_0, &ioaddr );
ioaddr257drivers/net/hp100.cioaddr &= ~3;    /* remove I/O space marker in bit 0. */
ioaddr259drivers/net/hp100.cif ( check_region( ioaddr, HP100_REGION_SIZE ) ) continue;
ioaddr273drivers/net/hp100.cprintk( "hp100: PCI adapter found at 0x%x\n", ioaddr );
ioaddr275drivers/net/hp100.cif ( hp100_probe1( dev, ioaddr, HP100_BUS_PCI ) == 0 ) return 0;
ioaddr283drivers/net/hp100.cfor ( ioaddr = 0x1c38; EISA_bus && ioaddr < 0x10000; ioaddr += 0x400 )
ioaddr285drivers/net/hp100.cif ( check_region( ioaddr, HP100_REGION_SIZE ) ) continue;
ioaddr286drivers/net/hp100.cif ( hp100_probe1( dev, ioaddr, HP100_BUS_EISA ) == 0 ) return 0;
ioaddr291drivers/net/hp100.cfor ( ioaddr = 0x100; ioaddr < 0x400; ioaddr += 0x20 )
ioaddr293drivers/net/hp100.cif ( check_region( ioaddr, HP100_REGION_SIZE ) ) continue;
ioaddr294drivers/net/hp100.cif ( hp100_probe1( dev, ioaddr, HP100_BUS_ISA ) == 0 ) return 0;
ioaddr300drivers/net/hp100.cstatic int hp100_probe1( struct device *dev, int ioaddr, int bus )
ioaddr319drivers/net/hp100.cif ( inb( ioaddr + 0 ) != HP100_HW_ID_0 ||
ioaddr320drivers/net/hp100.cinb( ioaddr + 1 ) != HP100_HW_ID_1 ||
ioaddr321drivers/net/hp100.c( inb( ioaddr + 2 ) & 0xf0 ) != HP100_HW_ID_2_REVA ||
ioaddr322drivers/net/hp100.cinb( ioaddr + 3 ) != HP100_HW_ID_3 ) 
ioaddr325drivers/net/hp100.cdev -> base_addr = ioaddr;
ioaddr328drivers/net/hp100.cprintk( "hp100_probe1: card found at port 0x%x\n", ioaddr );
ioaddr347drivers/net/hp100.cprintk( "hp100_probe: bad EISA ID checksum at base port 0x%x\n", ioaddr );
ioaddr356drivers/net/hp100.cprintk( "hp100_probe1: card at port 0x%x isn't known (id = 0x%x)\n", ioaddr, eisa_id );
ioaddr363drivers/net/hp100.ceid -> name, ioaddr );
ioaddr372drivers/net/hp100.ceid -> name, ioaddr );
ioaddr420drivers/net/hp100.cdev -> base_addr = ioaddr;
ioaddr439drivers/net/hp100.chp100_clear_stats( ioaddr );
ioaddr446drivers/net/hp100.cdev -> name, lp -> id -> name, ioaddr, dev -> irq );
ioaddr488drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr550drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr577drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr681drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
ioaddr707drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr775drivers/net/hp100.cinsl( ioaddr + HP100_REG_DATA32, ptr, ( pkt_len + 3 ) >> 2 );
ioaddr803drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr813drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr830drivers/net/hp100.cstatic void hp100_clear_stats( int ioaddr )
ioaddr851drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr897drivers/net/hp100.cint ioaddr;
ioaddr901drivers/net/hp100.cioaddr = dev -> base_addr;
ioaddr939drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr963drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr984drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr999drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr1023drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr1048drivers/net/hp100.cint ioaddr = dev -> base_addr;
ioaddr341drivers/net/hp100.hinb( ioaddr + HP100_REG_##reg )
ioaddr343drivers/net/hp100.hinw( ioaddr + HP100_REG_##reg )
ioaddr345drivers/net/hp100.hinl( ioaddr + HP100_REG_##reg )
ioaddr347drivers/net/hp100.houtb( data, ioaddr + HP100_REG_##reg )
ioaddr349drivers/net/hp100.houtw( data, ioaddr + HP100_REG_##reg )
ioaddr351drivers/net/hp100.houtl( data, ioaddr + HP100_REG_##reg )
ioaddr353drivers/net/hp100.houtb( inb( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg )
ioaddr355drivers/net/hp100.houtw( inw( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg )
ioaddr357drivers/net/hp100.houtb( inb( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg )
ioaddr359drivers/net/hp100.houtw( inw( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg )
ioaddr362drivers/net/hp100.houtw( HP100_PAGE_##page, ioaddr + HP100_REG_PAGING )
ioaddr364drivers/net/hp100.houtw( HP100_INT_EN | HP100_RESET_LB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr366drivers/net/hp100.houtw( HP100_INT_EN | HP100_SET_LB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr368drivers/net/hp100.houtw( HP100_MMAP_DIS | HP100_RESET_HB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr370drivers/net/hp100.houtw( HP100_MMAP_DIS | HP100_SET_HB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr372drivers/net/hp100.houtw( HP100_HW_RST | HP100_RESET_LB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr374drivers/net/hp100.houtw( HP100_HW_RST | HP100_SET_LB, ioaddr + HP100_REG_OPTION_LSW )
ioaddr57drivers/net/lance.cvoid lance_probe1(int ioaddr);
ioaddr338drivers/net/lance.cint ioaddr = *port;
ioaddr340drivers/net/lance.cif ( check_region(ioaddr, LANCE_TOTAL_SIZE) == 0) {
ioaddr343drivers/net/lance.cchar offset15, offset14 = inb(ioaddr + 14);
ioaddr346drivers/net/lance.c((offset15 = inb(ioaddr + 15)) == 0x57 || offset15 == 0x44))
ioaddr347drivers/net/lance.clance_probe1(ioaddr);
ioaddr354drivers/net/lance.cvoid lance_probe1(int ioaddr)
ioaddr376drivers/net/lance.c&& ioaddr_table[inb(hp_port) & 3] == ioaddr)
ioaddr380drivers/net/lance.chpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00
ioaddr381drivers/net/lance.c&& inb(ioaddr+2) == 0x09);
ioaddr384drivers/net/lance.creset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */
ioaddr389drivers/net/lance.coutw(reset_val, ioaddr+LANCE_RESET);
ioaddr391drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR); /* Switch to window 0 */
ioaddr392drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) != 0x0004)
ioaddr396drivers/net/lance.coutw(88, ioaddr+LANCE_ADDR);
ioaddr397drivers/net/lance.cif (inw(ioaddr+LANCE_ADDR) != 88) {
ioaddr400drivers/net/lance.cint chip_version = inw(ioaddr+LANCE_DATA);
ioaddr401drivers/net/lance.coutw(89, ioaddr+LANCE_ADDR);
ioaddr402drivers/net/lance.cchip_version |= inw(ioaddr+LANCE_DATA) << 16;
ioaddr416drivers/net/lance.cprintk("%s: %s at %#3x,", dev->name, chipname, ioaddr);
ioaddr421drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr423drivers/net/lance.cdev->base_addr = ioaddr;
ioaddr424drivers/net/lance.crequest_region(ioaddr, LANCE_TOTAL_SIZE, chip_table[lance_version].name);
ioaddr448drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr449drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr450drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr451drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr452drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr453drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr454drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr455drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr470drivers/net/lance.cshort reset_val = inw(ioaddr+LANCE_RESET);
ioaddr476drivers/net/lance.coutw(8, ioaddr+LANCE_ADDR);
ioaddr477drivers/net/lance.cbus_info = inw(ioaddr+LANCE_BUS_IF);
ioaddr501drivers/net/lance.coutw(0x0041, ioaddr+LANCE_DATA);
ioaddr513drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100)
ioaddr535drivers/net/lance.coutw(0x7f04, ioaddr+LANCE_DATA); /* Clear the memory error bits. */
ioaddr542drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr544drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0900)
ioaddr546drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100) {
ioaddr564drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr565drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr586drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr600drivers/net/lance.cinw(ioaddr+LANCE_RESET);
ioaddr610drivers/net/lance.coutw(0, ioaddr+LANCE_RESET);
ioaddr614drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr615drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr625drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr626drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr627drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr628drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr630drivers/net/lance.coutw(0x0004, ioaddr+LANCE_ADDR);
ioaddr631drivers/net/lance.coutw(0x0915, ioaddr+LANCE_DATA);
ioaddr633drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr634drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr641drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100)
ioaddr647drivers/net/lance.coutw(0x0042, ioaddr+LANCE_DATA);
ioaddr651drivers/net/lance.cdev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA));
ioaddr731drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr740drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr742drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr743drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA);
ioaddr779drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr781drivers/net/lance.cinw(ioaddr+LANCE_DATA));
ioaddr782drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA);
ioaddr833drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr834drivers/net/lance.coutw(0x0048, ioaddr+LANCE_DATA);
ioaddr856drivers/net/lance.cint csr0, ioaddr, boguscnt=10;
ioaddr864drivers/net/lance.cioaddr = dev->base_addr;
ioaddr972drivers/net/lance.cdev->name, inw(ioaddr + LANCE_ADDR),
ioaddr1059drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr1066drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr1067drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr1069drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr1073drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr1077drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA);
ioaddr1093drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr1100drivers/net/lance.csaved_addr = inw(ioaddr+LANCE_ADDR);
ioaddr1101drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr1102drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr1103drivers/net/lance.coutw(saved_addr, ioaddr+LANCE_ADDR);
ioaddr1115drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr1117drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr1118drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance.   */
ioaddr1123drivers/net/lance.coutw(15, ioaddr+LANCE_ADDR);
ioaddr1124drivers/net/lance.coutw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */
ioaddr1134drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
ioaddr1135drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
ioaddr1137drivers/net/lance.coutw(15, ioaddr+LANCE_ADDR);
ioaddr1138drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */
ioaddr100drivers/net/ne.cstatic int ne_probe1(struct device *dev, int ioaddr);
ioaddr191drivers/net/ne.cint ioaddr = netcard_portlist[i];
ioaddr192drivers/net/ne.cif (check_region(ioaddr, NE_IO_EXTENT))
ioaddr194drivers/net/ne.cif (ne_probe1(dev, ioaddr) == 0)
ioaddr202drivers/net/ne.cstatic int ne_probe1(struct device *dev, int ioaddr)
ioaddr210drivers/net/ne.cint reg0 = inb_p(ioaddr);
ioaddr218drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD);
ioaddr219drivers/net/ne.cregd = inb_p(ioaddr + 0x0d);
ioaddr220drivers/net/ne.coutb_p(0xff, ioaddr + 0x0d);
ioaddr221drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD);
ioaddr222drivers/net/ne.cinb_p(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */
ioaddr223drivers/net/ne.cif (inb_p(ioaddr + EN0_COUNTER0) != 0) {
ioaddr224drivers/net/ne.coutb_p(reg0, ioaddr);
ioaddr225drivers/net/ne.coutb_p(regd, ioaddr + 0x0d);  /* Restore the old values. */
ioaddr233drivers/net/ne.cprintk("NE*000 ethercard probe at %#3x:", ioaddr);
ioaddr239drivers/net/ne.coutb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET);
ioaddr241drivers/net/ne.cwhile ((inb_p(ioaddr + EN0_ISR) & ENISR_RESET) == 0)
ioaddr247drivers/net/ne.coutb_p(0xff, ioaddr + EN0_ISR);    /* Ack all intr. */
ioaddr271drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
ioaddr275drivers/net/ne.cSA_prom[i] = inb(ioaddr + NE_DATAPORT);
ioaddr276drivers/net/ne.cSA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
ioaddr283drivers/net/ne.coutb_p(0x49, ioaddr + EN0_DCFG);
ioaddr346drivers/net/ne.coutb_p(0x50, ioaddr + EN0_IMR);  /* Enable one interrupt. */
ioaddr347drivers/net/ne.coutb_p(0x00, ioaddr + EN0_RCNTLO);
ioaddr348drivers/net/ne.coutb_p(0x00, ioaddr + EN0_RCNTHI);
ioaddr349drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, ioaddr); /* Trigger it... */
ioaddr350drivers/net/ne.coutb_p(0x00, ioaddr + EN0_IMR);     /* Mask it again. */
ioaddr374drivers/net/ne.cdev->base_addr = ioaddr;
ioaddr383drivers/net/ne.crequest_region(ioaddr, NE_IO_EXTENT, name);
ioaddr391drivers/net/ne.cdev->name, name, ioaddr, dev->irq);
ioaddr190drivers/net/ni52.cstatic int     ni52_probe1(struct device *dev,int ioaddr);
ioaddr377drivers/net/ni52.cint ioaddr = *port;
ioaddr378drivers/net/ni52.cif (check_region(ioaddr, NI52_TOTAL_SIZE))
ioaddr380drivers/net/ni52.cif( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || 
ioaddr381drivers/net/ni52.c!(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2))
ioaddr384drivers/net/ni52.cdev->base_addr = ioaddr;
ioaddr385drivers/net/ni52.cif (ni52_probe1(dev, ioaddr) == 0)
ioaddr392drivers/net/ni52.cint ioaddr = dev->base_addr;
ioaddr393drivers/net/ni52.cif (check_region(ioaddr, NI52_TOTAL_SIZE))
ioaddr395drivers/net/ni52.cif( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || 
ioaddr396drivers/net/ni52.c!(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2))
ioaddr398drivers/net/ni52.cif (ni52_probe1(dev, ioaddr) == 0)
ioaddr409drivers/net/ni52.cstatic int ni52_probe1(struct device *dev,int ioaddr)
ioaddr422drivers/net/ni52.crequest_region(ioaddr,NI52_TOTAL_SIZE,"ni5210");
ioaddr200drivers/net/ni65.cint ioaddr = *port;
ioaddr202drivers/net/ni65.cif (check_region(ioaddr, NI65_TOTAL_SIZE))
ioaddr204drivers/net/ni65.cif( !(inb(ioaddr+L_EBASE+6) == NI65_ID0) || 
ioaddr205drivers/net/ni65.c!(inb(ioaddr+L_EBASE+7) == NI65_ID1) )
ioaddr207drivers/net/ni65.cif (ni65_probe1(&dev, ioaddr) == 0)
ioaddr220drivers/net/ni65.cstatic int ni65_probe1(struct device **dev1,int ioaddr)
ioaddr227drivers/net/ni65.cif(inb(ioaddr+L_EBASE+0) != NI65_ADDR0 || inb(ioaddr+L_EBASE+1) != NI65_ADDR1 
ioaddr228drivers/net/ni65.c|| inb(ioaddr+L_EBASE+2) != NI65_ADDR2)
ioaddr238drivers/net/ni65.cdev->base_addr = ioaddr;
ioaddr270drivers/net/ni65.crequest_region(ioaddr,NI65_TOTAL_SIZE,"ni6510");
ioaddr940drivers/net/pi2.cstatic int hw_probe(int ioaddr)
ioaddr949drivers/net/pi2.cbase = ioaddr & 0x3f0;
ioaddr1212drivers/net/pi2.cint ioaddr = 0;
ioaddr1221drivers/net/pi2.cioaddr = *port;
ioaddr1223drivers/net/pi2.cif (check_region(ioaddr, PI_TOTAL_SIZE) == 0) {
ioaddr1224drivers/net/pi2.cprintk("PI: Probing for card at address %#3x\n",ioaddr);
ioaddr1225drivers/net/pi2.ccard_type = hw_probe(ioaddr);
ioaddr1231drivers/net/pi2.cprintk("PI: Found a PI card at address %#3x\n", ioaddr);
ioaddr1234drivers/net/pi2.cprintk("PI: Found a PI2 card at address %#3x\n", ioaddr);
ioaddr1252drivers/net/pi2.cpi0a.base_addr = ioaddr + 2;
ioaddr1257drivers/net/pi2.cpi0b.base_addr = ioaddr;
ioaddr1302drivers/net/pi2.cshort ioaddr;
ioaddr1308drivers/net/pi2.cioaddr = dev->base_addr;
ioaddr1410drivers/net/pi2.crequest_region(ioaddr & 0x3f0, PI_TOTAL_SIZE, "pi2" );
ioaddr134drivers/net/pt.cstatic int hw_probe(int ioaddr);
ioaddr519drivers/net/pt.cint ioaddr = 0;
ioaddr528drivers/net/pt.cioaddr = *port;
ioaddr530drivers/net/pt.cif (check_region(ioaddr, PT_TOTAL_SIZE) == 0) {
ioaddr531drivers/net/pt.cprintk("PT: Probing for card at address %#3x\n", ioaddr);
ioaddr532drivers/net/pt.ccard_type = hw_probe(ioaddr);
ioaddr536drivers/net/pt.cprintk("PT: Found a PT at address %#3x\n",ioaddr);
ioaddr555drivers/net/pt.cpt0a.base_addr = ioaddr + CHANA;
ioaddr563drivers/net/pt.cpt0b.base_addr = ioaddr + CHANB;
ioaddr578drivers/net/pt.cstatic int hw_probe(int ioaddr)
ioaddr585drivers/net/pt.cinb_p(ioaddr + TMR1CLR);
ioaddr586drivers/net/pt.cinb_p(ioaddr + TMR2CLR);
ioaddr589drivers/net/pt.coutb_p(SC0 | LSB_MSB | MODE3, ioaddr + TMRCMD);
ioaddr590drivers/net/pt.coutb_p(0x00, ioaddr + TMR0);
ioaddr591drivers/net/pt.coutb_p(0x18, ioaddr + TMR0);
ioaddr594drivers/net/pt.coutb_p(SC1 | LSB_MSB | MODE0, ioaddr + TMRCMD);
ioaddr595drivers/net/pt.coutb_p((time << 1) & 0xff, ioaddr + TMR1);
ioaddr596drivers/net/pt.coutb_p((time >> 7) & 0xff, ioaddr + TMR1);
ioaddr601drivers/net/pt.coutb_p(SC1, ioaddr + TMRCMD);
ioaddr602drivers/net/pt.ca = inb_p(ioaddr + TMR1);
ioaddr603drivers/net/pt.cb = inb_p(ioaddr + TMR1);
ioaddr609drivers/net/pt.coutb_p(SC1, ioaddr + TMRCMD);
ioaddr610drivers/net/pt.ca = inb_p(ioaddr + TMR1);
ioaddr611drivers/net/pt.cb = inb_p(ioaddr + TMR1);
ioaddr616drivers/net/pt.cinb_p(ioaddr + TMR1CLR);
ioaddr624drivers/net/pt.cinb_p(ioaddr + TMR1CLR);
ioaddr625drivers/net/pt.cinb_p(ioaddr + TMR2CLR);
ioaddr627drivers/net/pt.coutb_p(SC1 | LSB_MSB | MODE0, ioaddr + TMRCMD);
ioaddr628drivers/net/pt.cinb_p(ioaddr + TMR1CLR);
ioaddr630drivers/net/pt.coutb_p(SC2 | LSB_MSB | MODE0, ioaddr + TMRCMD);
ioaddr632drivers/net/pt.cinb_p(ioaddr + TMR1CLR);
ioaddr769drivers/net/pt.cshort ioaddr;
ioaddr775drivers/net/pt.cioaddr = dev->base_addr;
ioaddr880drivers/net/pt.crequest_region(ioaddr & 0x3f0, PT_TOTAL_SIZE, "pt" );
ioaddr81drivers/net/seeq8005.cstatic int seeq8005_probe1(struct device *dev, int ioaddr);
ioaddr121drivers/net/seeq8005.cint ioaddr = seeq8005_portlist[i];
ioaddr122drivers/net/seeq8005.cif (check_region(ioaddr, SEEQ8005_IO_EXTENT))
ioaddr124drivers/net/seeq8005.cif (seeq8005_probe1(dev, ioaddr) == 0)
ioaddr136drivers/net/seeq8005.cstatic int seeq8005_probe1(struct device *dev, int ioaddr)
ioaddr148drivers/net/seeq8005.cprintk("seeq8005: probing at 0x%x\n",ioaddr);
ioaddr279drivers/net/seeq8005.cprintk("%s: %s found at %#3x, ", dev->name, "seeq8005", ioaddr);
ioaddr282drivers/net/seeq8005.cdev->base_addr = ioaddr;
ioaddr317drivers/net/seeq8005.crequest_region(ioaddr, SEEQ8005_IO_EXTENT,"seeq8005");
ioaddr376drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr425drivers/net/seeq8005.cint ioaddr, status, boguscount = 0;
ioaddr436drivers/net/seeq8005.cioaddr = dev->base_addr;
ioaddr478drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr574drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr618drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr636drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr695drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr740drivers/net/seeq8005.cint ioaddr = dev->base_addr;
ioaddr15drivers/net/seeq8005.h#define SEEQ_B    (ioaddr)
ioaddr158drivers/net/sk_g16.c#define SK_POS0     ioaddr      /* Card-ID Low (R) */
ioaddr159drivers/net/sk_g16.c#define SK_POS1     ioaddr+1    /* Card-ID High (R) */
ioaddr160drivers/net/sk_g16.c#define SK_POS2     ioaddr+2    /* Card-Enable, Boot-ROM Disable (RW) */
ioaddr161drivers/net/sk_g16.c#define SK_POS3     ioaddr+3    /* Base address of RAM */
ioaddr162drivers/net/sk_g16.c#define SK_POS4     ioaddr+4    /* IRQ */
ioaddr330drivers/net/sk_g16.c#define check_region(ioaddr, size)              0
ioaddr331drivers/net/sk_g16.c#define request_region(ioaddr, size,name)       do ; while (0)
ioaddr485drivers/net/sk_g16.cstatic int   SK_probe(struct device *dev, short ioaddr);
ioaddr551drivers/net/sk_g16.cint ioaddr         = 0;            /* I/O port address used for POS regs */
ioaddr581drivers/net/sk_g16.cioaddr = *port;           /* we need ioaddr for accessing POS regs */
ioaddr585drivers/net/sk_g16.cif (check_region(ioaddr, ETHERCARD_TOTAL_SIZE))
ioaddr598drivers/net/sk_g16.cdev->base_addr = ioaddr;  /* Set I/O Port Address */
ioaddr600drivers/net/sk_g16.cif (SK_probe(dev, ioaddr) == 0)  
ioaddr633drivers/net/sk_g16.cint SK_probe(struct device *dev, short ioaddr)
ioaddr782drivers/net/sk_g16.crequest_region(ioaddr, ETHERCARD_TOTAL_SIZE,"sk_g16");
ioaddr864drivers/net/sk_g16.cint ioaddr = dev->base_addr;
ioaddr1997drivers/net/sk_g16.cint ioaddr = dev->base_addr;
ioaddr100drivers/net/skeleton.cstatic int netcard_probe1(struct device *dev, int ioaddr);
ioaddr111drivers/net/skeleton.cextern void  hardware_send_packet(short ioaddr, char *buf, int length);
ioaddr141drivers/net/skeleton.cint ioaddr = netcard_portlist[i];
ioaddr142drivers/net/skeleton.cif (check_region(ioaddr, NETCARD_IO_EXTENT))
ioaddr144drivers/net/skeleton.cif (netcard_probe1(dev, ioaddr) == 0)
ioaddr157drivers/net/skeleton.cstatic int netcard_probe1(struct device *dev, int ioaddr)
ioaddr167drivers/net/skeleton.cif (inb(ioaddr + 0) != SA_ADDR0
ioaddr168drivers/net/skeleton.c||   inb(ioaddr + 1) != SA_ADDR1
ioaddr169drivers/net/skeleton.c||   inb(ioaddr + 2) != SA_ADDR2) {
ioaddr188drivers/net/skeleton.cprintk(KERN_INFO "%s: %s found at %#3x, ", dev->name, cardname, ioaddr);
ioaddr191drivers/net/skeleton.cdev->base_addr = ioaddr;
ioaddr195drivers/net/skeleton.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr249drivers/net/skeleton.coutw(0x1234, ioaddr + 8);
ioaddr285drivers/net/skeleton.crequest_region(ioaddr, NETCARD_IO_EXTENT, cardname);
ioaddr311drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr331drivers/net/skeleton.coutb(0x00, ioaddr);
ioaddr347drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr383drivers/net/skeleton.chardware_send_packet(ioaddr, buf, length);
ioaddr389drivers/net/skeleton.cif (inw(ioaddr) == /*RU*/81)
ioaddr404drivers/net/skeleton.cint ioaddr, status, boguscount = 0;
ioaddr412drivers/net/skeleton.cioaddr = dev->base_addr;
ioaddr414drivers/net/skeleton.cstatus = inw(ioaddr + 0);
ioaddr441drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr445drivers/net/skeleton.cint status = inw(ioaddr);
ioaddr446drivers/net/skeleton.cint pkt_len = inw(ioaddr);
ioaddr474drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
ioaddr494drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr506drivers/net/skeleton.coutw(0x00, ioaddr+0);  /* Release the physical interrupt line. */
ioaddr529drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr533drivers/net/skeleton.clp->stats.rx_missed_errors = inw(ioaddr+1);
ioaddr549drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr553drivers/net/skeleton.coutw(MULTICAST|PROMISC, ioaddr);
ioaddr560drivers/net/skeleton.coutw(MULTICAST, ioaddr);
ioaddr567drivers/net/skeleton.coutw(MULTICAST, ioaddr);
ioaddr570drivers/net/skeleton.coutw(0, ioaddr);
ioaddr66drivers/net/smc-ultra.cint ultra_probe1(struct device *dev, int ioaddr);
ioaddr107drivers/net/smc-ultra.cint ioaddr = ultra_portlist[i];
ioaddr108drivers/net/smc-ultra.cif (check_region(ioaddr, ULTRA_IO_EXTENT))
ioaddr110drivers/net/smc-ultra.cif (ultra_probe1(dev, ioaddr) == 0)
ioaddr118drivers/net/smc-ultra.cint ultra_probe1(struct device *dev, int ioaddr)
ioaddr127drivers/net/smc-ultra.cunsigned char idreg = inb(ioaddr + 7);
ioaddr128drivers/net/smc-ultra.cunsigned char reg4 = inb(ioaddr + 4) & 0x7f;
ioaddr136drivers/net/smc-ultra.coutb(reg4, ioaddr + 4);
ioaddr139drivers/net/smc-ultra.cchecksum += inb(ioaddr + 8 + i);
ioaddr154drivers/net/smc-ultra.cprintk("%s: %s at %#3x,", dev->name, model_name, ioaddr);
ioaddr157drivers/net/smc-ultra.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
ioaddr161drivers/net/smc-ultra.coutb(0x80 | reg4, ioaddr + 4);
ioaddr164drivers/net/smc-ultra.coutb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c);
ioaddr165drivers/net/smc-ultra.cirqreg = inb(ioaddr + 0xd);
ioaddr166drivers/net/smc-ultra.caddr = inb(ioaddr + 0xb);
ioaddr170drivers/net/smc-ultra.coutb(reg4, ioaddr + 4);
ioaddr194drivers/net/smc-ultra.crequest_region(ioaddr, ULTRA_IO_EXTENT, model_name);
ioaddr197drivers/net/smc-ultra.cdev->base_addr = ioaddr+ULTRA_NIC_OFFSET;
ioaddr234drivers/net/smc-ultra.cint ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */
ioaddr239drivers/net/smc-ultra.coutb(ULTRA_MEMENB, ioaddr);  /* Enable memory, 16 bit mode. */
ioaddr240drivers/net/smc-ultra.coutb(0x80, ioaddr + 5);
ioaddr241drivers/net/smc-ultra.coutb(0x01, ioaddr + 6);    /* Enable interrupts and memory. */
ioaddr324drivers/net/smc-ultra.cint ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* CMDREG */
ioaddr332drivers/net/smc-ultra.coutb(0x00, ioaddr + 6);    /* Disable interrupts. */
ioaddr400drivers/net/smc-ultra.cint ioaddr = dev->base_addr - ULTRA_NIC_OFFSET;
ioaddr403drivers/net/smc-ultra.crelease_region(ioaddr, ULTRA_IO_EXTENT);
ioaddr287drivers/net/smc9194.cstatic int smc_probe( int ioaddr );
ioaddr295drivers/net/smc9194.cstatic int smc_initcard( struct device *, int ioaddr ); 
ioaddr316drivers/net/smc9194.cstatic void smc_reset( int ioaddr );
ioaddr319drivers/net/smc9194.cstatic void smc_enable( int ioaddr );
ioaddr322drivers/net/smc9194.cstatic void smc_shutdown( int ioaddr );
ioaddr327drivers/net/smc9194.cstatic int smc_findirq( int ioaddr );
ioaddr335drivers/net/smc9194.cstatic void smc_setmulticast( int ioaddr, int count, struct dev_mc_list *  );
ioaddr361drivers/net/smc9194.cstatic void smc_reset( int ioaddr ) 
ioaddr366drivers/net/smc9194.coutw( RCR_SOFTRESET, ioaddr + RCR ); 
ioaddr373drivers/net/smc9194.coutw( RCR_CLEAR, ioaddr + RCR );
ioaddr374drivers/net/smc9194.coutw( TCR_CLEAR, ioaddr + TCR );
ioaddr380drivers/net/smc9194.coutw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL );  
ioaddr384drivers/net/smc9194.coutw( MC_RESET, ioaddr + MMU_CMD );
ioaddr390drivers/net/smc9194.coutb( 0, ioaddr + INT_MASK );
ioaddr401drivers/net/smc9194.cstatic void smc_enable( int ioaddr ) 
ioaddr405drivers/net/smc9194.coutw( TCR_NORMAL, ioaddr + TCR );
ioaddr406drivers/net/smc9194.coutw( RCR_NORMAL, ioaddr + RCR );
ioaddr410drivers/net/smc9194.coutb( SMC_INTERRUPT_MASK, ioaddr + INT_MASK );
ioaddr427drivers/net/smc9194.cstatic void smc_shutdown( int ioaddr ) 
ioaddr431drivers/net/smc9194.coutb( 0, ioaddr + INT_MASK );
ioaddr435drivers/net/smc9194.coutb( RCR_CLEAR, ioaddr + RCR );
ioaddr436drivers/net/smc9194.coutb( TCR_CLEAR, ioaddr + TCR );
ioaddr440drivers/net/smc9194.coutw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL  );
ioaddr464drivers/net/smc9194.cstatic void smc_setmulticast( int ioaddr, int count, struct dev_mc_list * addrs ) {
ioaddr498drivers/net/smc9194.coutb( multicast_table[i], ioaddr + MULTICAST1 + i );
ioaddr550drivers/net/smc9194.cunsigned short ioaddr   = dev->base_addr;
ioaddr585drivers/net/smc9194.coutw( MC_ALLOC | numPages, ioaddr + MMU_CMD );
ioaddr602drivers/net/smc9194.cstatus = inb( ioaddr + INTERRUPT );
ioaddr605drivers/net/smc9194.coutb( IM_ALLOC_INT, ioaddr + INTERRUPT );
ioaddr647drivers/net/smc9194.cunsigned short    ioaddr;
ioaddr650drivers/net/smc9194.cioaddr = dev->base_addr;  
ioaddr660drivers/net/smc9194.cpacket_no = inb( ioaddr + PNR_ARR + 1 ); 
ioaddr671drivers/net/smc9194.coutb( packet_no, ioaddr + PNR_ARR );
ioaddr674drivers/net/smc9194.coutw( PTR_AUTOINC , ioaddr + POINTER );
ioaddr684drivers/net/smc9194.coutl(  (length +6 ) << 16 , ioaddr + DATA_1 );
ioaddr686drivers/net/smc9194.coutw( 0, ioaddr + DATA_1 );   
ioaddr688drivers/net/smc9194.coutb( (length+6) & 0xFF,ioaddr + DATA_1 );
ioaddr689drivers/net/smc9194.coutb( (length+6) >> 8 , ioaddr + DATA_1 );
ioaddr701drivers/net/smc9194.coutsl(ioaddr + DATA_1, buf,  length >> 2 ); 
ioaddr702drivers/net/smc9194.coutw( *((word *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1);
ioaddr705drivers/net/smc9194.coutsl(ioaddr + DATA_1, buf,  length >> 2 ); 
ioaddr707drivers/net/smc9194.coutsw(ioaddr + DATA_1 , buf, (length ) >> 1);
ioaddr712drivers/net/smc9194.coutw( 0, ioaddr + DATA_1 );
ioaddr714drivers/net/smc9194.coutb( buf[length -1 ], ioaddr + DATA_1 );
ioaddr715drivers/net/smc9194.coutb( 0x20, ioaddr + DATA_1);
ioaddr722drivers/net/smc9194.coutw( MC_ENQUEUE , ioaddr + MMU_CMD );
ioaddr774drivers/net/smc9194.cint ioaddr = smc_portlist[i];
ioaddr777drivers/net/smc9194.cif (check_region( ioaddr , SMC_IO_EXTENT))
ioaddr781drivers/net/smc9194.cif ( smc_probe( ioaddr ) == 0)  {  
ioaddr782drivers/net/smc9194.creturn smc_initcard( dev, ioaddr  ); 
ioaddr798drivers/net/smc9194.cint smc_findirq( int ioaddr ) 
ioaddr819drivers/net/smc9194.coutb( IM_ALLOC_INT, ioaddr + INT_MASK );  
ioaddr825drivers/net/smc9194.coutw( MC_ALLOC | 1, ioaddr + MMU_CMD );    
ioaddr833drivers/net/smc9194.cint_status = inb( ioaddr + INTERRUPT );
ioaddr854drivers/net/smc9194.coutb( 0, ioaddr + INT_MASK );
ioaddr880drivers/net/smc9194.cstatic int smc_probe( int ioaddr ) 
ioaddr887drivers/net/smc9194.cbank = inw( ioaddr + BANK_SELECT );
ioaddr893drivers/net/smc9194.coutw( 0x0, ioaddr + BANK_SELECT );
ioaddr894drivers/net/smc9194.cbank = inw( ioaddr + BANK_SELECT );
ioaddr902drivers/net/smc9194.cbase_address_register = inw( ioaddr + BASE );
ioaddr903drivers/net/smc9194.cif ( ioaddr != ( base_address_register >> 3 & 0x3E0 ) )  {
ioaddr906drivers/net/smc9194.cioaddr, base_address_register >> 3 & 0x3E0 );
ioaddr916drivers/net/smc9194.crevision_register  = inw( ioaddr + REVISION );
ioaddr920drivers/net/smc9194.c" %x, Contact author. \n", ioaddr, revision_register );
ioaddr945drivers/net/smc9194.cstatic int  smc_initcard(struct device *dev, int ioaddr)
ioaddr981drivers/net/smc9194.cdev->base_addr = ioaddr;
ioaddr990drivers/net/smc9194.caddress = inw( ioaddr + ADDR0 + i  );
ioaddr998drivers/net/smc9194.cmemory_info_register = inw( ioaddr + MIR );
ioaddr999drivers/net/smc9194.cmemory_cfg_register  = inw( ioaddr + MCR );
ioaddr1009drivers/net/smc9194.crevision_register  = inw( ioaddr + REVISION );
ioaddr1019drivers/net/smc9194.cconfiguration_register = inw( ioaddr + CONFIG );
ioaddr1028drivers/net/smc9194.csmc_reset( ioaddr );
ioaddr1052drivers/net/smc9194.cdev->irq = smc_findirq( ioaddr );
ioaddr1056drivers/net/smc9194.csmc_reset( ioaddr );
ioaddr1080drivers/net/smc9194.cversion_string, revision_register & 0xF, ioaddr, dev->irq, 
ioaddr1113drivers/net/smc9194.crequest_region(ioaddr, SMC_IO_EXTENT, CARDNAME);
ioaddr1171drivers/net/smc9194.cint  ioaddr = dev->base_addr;
ioaddr1187drivers/net/smc9194.csmc_reset( ioaddr );
ioaddr1188drivers/net/smc9194.csmc_enable( ioaddr );
ioaddr1194drivers/net/smc9194.coutw( inw( ioaddr + CONFIG ) & ~CFG_AUI_SELECT, 
ioaddr1195drivers/net/smc9194.cioaddr + CONFIG );              
ioaddr1198drivers/net/smc9194.coutw( inw( ioaddr + CONFIG ) | CFG_AUI_SELECT, 
ioaddr1199drivers/net/smc9194.cioaddr + CONFIG );              
ioaddr1213drivers/net/smc9194.coutw( address, ioaddr + ADDR0 + i );
ioaddr1285drivers/net/smc9194.cint ioaddr     = dev->base_addr;
ioaddr1314drivers/net/smc9194.csaved_bank = inw( ioaddr + BANK_SELECT );
ioaddr1317drivers/net/smc9194.csaved_pointer = inw( ioaddr + POINTER );
ioaddr1319drivers/net/smc9194.cmask = inb( ioaddr + INT_MASK );
ioaddr1321drivers/net/smc9194.coutb( 0, ioaddr + INT_MASK );
ioaddr1330drivers/net/smc9194.cstatus = inb( ioaddr + INTERRUPT ) & mask;
ioaddr1346drivers/net/smc9194.coutb(IM_TX_INT, ioaddr + INTERRUPT ); 
ioaddr1350drivers/net/smc9194.ccard_stats = inw( ioaddr + COUNTER );
ioaddr1367drivers/net/smc9194.coutb( IM_TX_EMPTY_INT, ioaddr + INTERRUPT );
ioaddr1390drivers/net/smc9194.coutb( IM_RX_OVRN_INT, ioaddr + INTERRUPT );
ioaddr1395drivers/net/smc9194.coutb( IM_ERCV_INT, ioaddr + INTERRUPT );
ioaddr1402drivers/net/smc9194.coutb( mask, ioaddr + INT_MASK );
ioaddr1405drivers/net/smc9194.coutw( saved_pointer, ioaddr + POINTER );
ioaddr1429drivers/net/smc9194.cint   ioaddr = dev->base_addr;
ioaddr1436drivers/net/smc9194.cpacket_number = inw( ioaddr + FIFO_PORTS );
ioaddr1446drivers/net/smc9194.coutw( PTR_READ | PTR_RCV | PTR_AUTOINC, ioaddr + POINTER );
ioaddr1449drivers/net/smc9194.cstatus     = inw( ioaddr + DATA_1 );
ioaddr1450drivers/net/smc9194.cpacket_length   = inw( ioaddr + DATA_1 );
ioaddr1509drivers/net/smc9194.cinsl(ioaddr + DATA_1 , data, packet_length >> 2 ); 
ioaddr1511drivers/net/smc9194.cinsb( ioaddr + DATA_1, data + (packet_length & 0xFFFFFC), 
ioaddr1517drivers/net/smc9194.c*(data++) = inb( ioaddr + DATA_1 ); 
ioaddr1518drivers/net/smc9194.cinsw(ioaddr + DATA_1 , data, (packet_length + 1 ) >> 1);
ioaddr1521drivers/net/smc9194.c*((data++) = inb( ioaddr + DATA_1 ); 
ioaddr1543drivers/net/smc9194.coutw( MC_RELEASE, ioaddr + MMU_CMD );
ioaddr1567drivers/net/smc9194.cint  ioaddr = dev->base_addr;
ioaddr1576drivers/net/smc9194.csaved_packet = inb( ioaddr + PNR_ARR );
ioaddr1577drivers/net/smc9194.cpacket_no = inw( ioaddr + FIFO_PORTS );
ioaddr1581drivers/net/smc9194.coutb( packet_no, ioaddr + PNR_ARR ); 
ioaddr1584drivers/net/smc9194.coutw( PTR_AUTOINC | PTR_READ, ioaddr + POINTER );
ioaddr1586drivers/net/smc9194.ctx_status = inw( ioaddr + DATA_1 );
ioaddr1605drivers/net/smc9194.coutw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR );
ioaddr1609drivers/net/smc9194.coutw( MC_FREEPKT, ioaddr + MMU_CMD );
ioaddr1614drivers/net/smc9194.coutb( saved_packet, ioaddr + PNR_ARR );
ioaddr1667drivers/net/smc9194.cshort ioaddr = dev->base_addr;
ioaddr1675drivers/net/smc9194.coutw( inw(ioaddr + RCR ) | RCR_PROMISC, ioaddr + RCR );
ioaddr1691drivers/net/smc9194.coutw( inw(ioaddr + RCR ) | RCR_ALMUL, ioaddr + RCR ); 
ioaddr1703drivers/net/smc9194.coutw( inw( ioaddr + RCR ) & ~RCR_PROMISC, ioaddr + RCR );
ioaddr1711drivers/net/smc9194.coutw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), 
ioaddr1712drivers/net/smc9194.cioaddr + RCR );
ioaddr1715drivers/net/smc9194.csmc_setmulticast( ioaddr, dev->mc_count, dev->mc_list );
ioaddr1719drivers/net/smc9194.coutw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), 
ioaddr1720drivers/net/smc9194.cioaddr + RCR );
ioaddr1727drivers/net/smc9194.coutw( 0, ioaddr + MULTICAST1 ); 
ioaddr1728drivers/net/smc9194.coutw( 0, ioaddr + MULTICAST2 ); 
ioaddr1729drivers/net/smc9194.coutw( 0, ioaddr + MULTICAST3 ); 
ioaddr1730drivers/net/smc9194.coutw( 0, ioaddr + MULTICAST4 ); 
ioaddr203drivers/net/smc9194.h#define SMC_SELECT_BANK(x)  { outw( x, ioaddr + BANK_SELECT ); } 
ioaddr206drivers/net/smc9194.h#define SMC_DELAY() { inw( ioaddr + RCR );\
ioaddr207drivers/net/smc9194.hinw( ioaddr + RCR );\
ioaddr208drivers/net/smc9194.hinw( ioaddr + RCR );  }
ioaddr214drivers/net/smc9194.hmask = inb( ioaddr + INT_MASK );\
ioaddr216drivers/net/smc9194.houtb( mask, ioaddr + INT_MASK ); \
ioaddr224drivers/net/smc9194.hmask = inb( ioaddr + INT_MASK );\
ioaddr226drivers/net/smc9194.houtb( mask, ioaddr + INT_MASK ); \
ioaddr153drivers/net/tulip.cstatic void tulip_probe1(int ioaddr, int irq);
ioaddr208drivers/net/tulip.cstatic void tulip_probe1(int ioaddr, int irq)
ioaddr220drivers/net/tulip.cprintk("%s: DEC 21040 Tulip at %#3x,", dev->name, ioaddr);
ioaddr223drivers/net/tulip.coutl(inl(ioaddr + CSR6) & ~0x2002, ioaddr + CSR6);
ioaddr225drivers/net/tulip.cinl(ioaddr + CSR8) & 0xffff;
ioaddr231drivers/net/tulip.coutl(0, ioaddr + CSR9);    /* Reset the pointer with a dummy write. */
ioaddr235drivers/net/tulip.cvalue = inl(ioaddr + CSR9);
ioaddr242drivers/net/tulip.crequest_region(ioaddr, TULIP_TOTAL_SIZE, "DEC Tulip Ethernet");
ioaddr244drivers/net/tulip.cdev->base_addr = ioaddr;
ioaddr268drivers/net/tulip.cint ioaddr = dev->base_addr;
ioaddr271drivers/net/tulip.coutl(0xfff80001, ioaddr + CSR0);
ioaddr281drivers/net/tulip.coutl(0xfff84800, ioaddr + CSR0);
ioaddr319drivers/net/tulip.coutl((int)tp->rx_ring, ioaddr + CSR3);
ioaddr320drivers/net/tulip.coutl((int)tp->tx_ring, ioaddr + CSR4);
ioaddr323drivers/net/tulip.coutl(0x00000000, ioaddr + CSR13);
ioaddr324drivers/net/tulip.coutl(0x00000004, ioaddr + CSR13);
ioaddr327drivers/net/tulip.coutl(0xfffe2002, ioaddr + CSR6);
ioaddr330drivers/net/tulip.coutl(0, ioaddr + CSR1);
ioaddr337drivers/net/tulip.coutl(0xFFFFFFFF, ioaddr + CSR7);
ioaddr341drivers/net/tulip.cdev->name, inl(ioaddr + CSR0), inl(ioaddr + CSR13));
ioaddr379drivers/net/tulip.cint ioaddr = dev->base_addr;
ioaddr389drivers/net/tulip.cdev->name, inl(ioaddr + CSR5), inl(ioaddr + CSR12),
ioaddr390drivers/net/tulip.cinl(ioaddr + CSR13), inl(ioaddr + CSR14), inl(ioaddr + CSR15));
ioaddr438drivers/net/tulip.coutl(0, ioaddr + CSR1);
ioaddr451drivers/net/tulip.cint csr5, ioaddr, boguscnt=10;
ioaddr458drivers/net/tulip.cioaddr = dev->base_addr;
ioaddr466drivers/net/tulip.ccsr5 = inl(ioaddr + CSR5);
ioaddr468drivers/net/tulip.coutl(csr5 & 0x0001ffff, ioaddr + CSR5);
ioaddr538drivers/net/tulip.clp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff;
ioaddr550drivers/net/tulip.coutl(0x0001ffff, ioaddr + CSR5);
ioaddr557drivers/net/tulip.cdev->name, inl(ioaddr + CSR5));
ioaddr637drivers/net/tulip.cint ioaddr = dev->base_addr;
ioaddr645drivers/net/tulip.cdev->name, inl(ioaddr + CSR5));
ioaddr648drivers/net/tulip.coutl(0x00000000, ioaddr + CSR7);
ioaddr650drivers/net/tulip.coutl(inl(ioaddr + CSR6) & ~0x2002, ioaddr + CSR6);
ioaddr652drivers/net/tulip.ctp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff;
ioaddr665drivers/net/tulip.cshort ioaddr = dev->base_addr;
ioaddr667drivers/net/tulip.ctp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff;
ioaddr678drivers/net/tulip.cshort ioaddr = dev->base_addr;
ioaddr679drivers/net/tulip.cint csr6 = inl(ioaddr + CSR6) & ~0x00D5;
ioaddr683drivers/net/tulip.coutl(csr6 | 0x00C0, ioaddr + CSR6);
ioaddr690drivers/net/tulip.coutl(csr6 | 0x0080, ioaddr + CSR6);
ioaddr703drivers/net/tulip.coutl(csr6 | 0x0000, ioaddr + CSR6);
ioaddr127drivers/net/wavelan.chasr_read(unsigned short ioaddr)
ioaddr129drivers/net/wavelan.creturn inw(HASR(ioaddr));
ioaddr134drivers/net/wavelan.chacr_write(unsigned short ioaddr, int hacr)
ioaddr136drivers/net/wavelan.coutw(hacr, HACR(ioaddr));
ioaddr141drivers/net/wavelan.chacr_write_slow(unsigned short ioaddr, int hacr)
ioaddr143drivers/net/wavelan.chacr_write(ioaddr, hacr);
ioaddr153drivers/net/wavelan.cset_chan_attn(unsigned short ioaddr, unsigned short current_hacr)
ioaddr155drivers/net/wavelan.chacr_write(ioaddr, current_hacr | HACR_CA);
ioaddr163drivers/net/wavelan.cwavelan_reset(unsigned short ioaddr)
ioaddr165drivers/net/wavelan.chacr_write_slow(ioaddr, HACR_RESET);
ioaddr166drivers/net/wavelan.chacr_write(ioaddr, HACR_DEFAULT);
ioaddr171drivers/net/wavelan.cwavelan_16_off(unsigned short ioaddr, unsigned short hacr)
ioaddr175drivers/net/wavelan.chacr_write(ioaddr, hacr);
ioaddr180drivers/net/wavelan.cwavelan_16_on(unsigned short ioaddr, unsigned short hacr)
ioaddr184drivers/net/wavelan.chacr_write(ioaddr, hacr);
ioaddr191drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr195drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr201drivers/net/wavelan.chacr_write(ioaddr, lp->hacr);
ioaddr210drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr214drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr220drivers/net/wavelan.chacr_write(ioaddr, lp->hacr);
ioaddr230drivers/net/wavelan.cpsa_read(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n)
ioaddr232drivers/net/wavelan.cwavelan_16_off(ioaddr, hacr);
ioaddr236drivers/net/wavelan.coutw(o, PIOR2(ioaddr));
ioaddr238drivers/net/wavelan.c*b++ = inb(PIOP2(ioaddr));
ioaddr241drivers/net/wavelan.cwavelan_16_on(ioaddr, hacr);
ioaddr250drivers/net/wavelan.cpsa_write(unsigned short ioaddr, unsigned short hacr, int o, unsigned char *b, int n)
ioaddr252drivers/net/wavelan.cwavelan_16_off(ioaddr, hacr);
ioaddr256drivers/net/wavelan.coutw(o, PIOR2(ioaddr));
ioaddr258drivers/net/wavelan.coutb(*b, PIOP2(ioaddr));
ioaddr262drivers/net/wavelan.cwavelan_16_on(ioaddr, hacr);
ioaddr271drivers/net/wavelan.cobram_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n)
ioaddr275drivers/net/wavelan.coutw(o, PIOR1(ioaddr));
ioaddr277drivers/net/wavelan.cinsw(PIOP1(ioaddr), (unsigned short *)b, n);
ioaddr285drivers/net/wavelan.cobram_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n)
ioaddr289drivers/net/wavelan.coutw(o, PIOR1(ioaddr));
ioaddr291drivers/net/wavelan.coutsw(PIOP1(ioaddr), (unsigned short *)b, n);
ioaddr299drivers/net/wavelan.cmmc_read(unsigned short ioaddr, unsigned short o, unsigned char *b, int n)
ioaddr303drivers/net/wavelan.cwhile (inw(HASR(ioaddr)) & HASR_MMC_BUSY)
ioaddr306drivers/net/wavelan.coutw(o << 1, MMCR(ioaddr));
ioaddr309drivers/net/wavelan.cwhile (inw(HASR(ioaddr)) & HASR_MMC_BUSY)
ioaddr312drivers/net/wavelan.c*b++ = (unsigned char)(inw(MMCR(ioaddr)) >> 8);
ioaddr321drivers/net/wavelan.cmmc_write(unsigned short ioaddr, unsigned short o, unsigned char *b, int n)
ioaddr325drivers/net/wavelan.cwhile (inw(HASR(ioaddr)) & HASR_MMC_BUSY)
ioaddr328drivers/net/wavelan.coutw((unsigned short)(((unsigned short)*b << 8) | (o << 1) | 1), MMCR(ioaddr));
ioaddr381drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr386drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr451drivers/net/wavelan.cmmc_write(ioaddr, 0, (unsigned char *)&m, sizeof(m));
ioaddr458drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr463drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr466drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_status), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr472drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr474drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr478drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr497drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr503drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr507drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cmd, sizeof(scb_cmd));
ioaddr509drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr513drivers/net/wavelan.cobram_read(ioaddr, OFFSET_CU, (unsigned char *)&cb, sizeof(cb));
ioaddr523drivers/net/wavelan.cwavelan_scb_show(ioaddr);
ioaddr536drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr550drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr555drivers/net/wavelan.cwavelan_reset(ioaddr);
ioaddr567drivers/net/wavelan.cobram_write(ioaddr, i, &zeroes[0], sizeof(zeroes));
ioaddr570drivers/net/wavelan.cpsa_read(ioaddr, lp->hacr, 0, (unsigned char *)&psa, sizeof(psa));
ioaddr581drivers/net/wavelan.cobram_write(ioaddr, OFFSET_SCP, (unsigned char *)&scp, sizeof(scp));
ioaddr586drivers/net/wavelan.cobram_write(ioaddr, OFFSET_ISCP, (unsigned char *)&iscp, sizeof(iscp));
ioaddr592drivers/net/wavelan.cobram_write(ioaddr, OFFSET_SCB, (unsigned char *)&scb, sizeof(scb));
ioaddr594drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr598drivers/net/wavelan.cobram_read(ioaddr, OFFSET_ISCP, (unsigned char *)&iscp, sizeof(iscp));
ioaddr616drivers/net/wavelan.cobram_read(ioaddr, OFFSET_SCB, (unsigned char *)&scb, sizeof(scb));
ioaddr637drivers/net/wavelan.cobram_write(ioaddr, OFFSET_CU, (unsigned char *)&cb, sizeof(cb));
ioaddr646drivers/net/wavelan.cobram_read(ioaddr, OFFSET_CU, (unsigned char *)&cb, sizeof(cb));
ioaddr709drivers/net/wavelan.cobram_write(ioaddr, OFFSET_CU, (unsigned char *)&cfg, sizeof(cfg));
ioaddr723drivers/net/wavelan.cobram_write(ioaddr, OFFSET_CU, (unsigned char *)&ias, sizeof(ias));
ioaddr736drivers/net/wavelan.cwavelan_scb_show(ioaddr);
ioaddr856drivers/net/wavelan.cwavelan_probe1(device *dev, unsigned short ioaddr)
ioaddr865drivers/net/wavelan.cprintk("%s: ->wavelan_probe1(dev=0x%x, ioaddr=0x%x)\n", dev->name, (unsigned int)dev, ioaddr);
ioaddr867drivers/net/wavelan.cwavelan_reset(ioaddr);
ioaddr869drivers/net/wavelan.cpsa_read(ioaddr, HACR_DEFAULT, 0, (unsigned char *)&psa, sizeof(psa));
ioaddr889drivers/net/wavelan.cprintk("%s: WaveLAN at %#x,", dev->name, ioaddr);
ioaddr903drivers/net/wavelan.cpsa_write(ioaddr, HACR_DEFAULT, (char *)&psa.psa_int_req_no - (char *)&psa, (unsigned char *)&psa.psa_int_req_no, sizeof(psa.psa_int_req_no));
ioaddr904drivers/net/wavelan.cwavelan_reset(ioaddr);
ioaddr919drivers/net/wavelan.crequest_region(ioaddr, sizeof(ha_t), "wavelan");
ioaddr920drivers/net/wavelan.cdev->base_addr = ioaddr;
ioaddr1072drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1081drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1084drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_status), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr1098drivers/net/wavelan.cobram_write(ioaddr, rx, (unsigned char *)&fd, sizeof(fd));
ioaddr1105drivers/net/wavelan.cobram_write(ioaddr, rx + sizeof(fd), (unsigned char *)&rbd, sizeof(rbd));
ioaddr1110drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_rfa_offset), (unsigned char *)&lp->rx_head, sizeof(lp->rx_head));
ioaddr1113drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr1115drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr1119drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr1139drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1146drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1176drivers/net/wavelan.cobram_write(ioaddr, tx_addr, (unsigned char *)&tx, sizeof(tx));
ioaddr1181drivers/net/wavelan.cobram_write(ioaddr, nop_addr, (unsigned char *)&nop, sizeof(nop));
ioaddr1187drivers/net/wavelan.cobram_write(ioaddr, tbd_addr, (unsigned char *)&tbd, sizeof(tbd));
ioaddr1191drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_cbl_offset), (unsigned char *)&first_nop, sizeof(first_nop));
ioaddr1194drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr1196drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr1200drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cs, sizeof(scb_cs));
ioaddr1218drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1226drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1281drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1294drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1323drivers/net/wavelan.cobram_write(ioaddr, toff(ac_tx_t, tx_addr, tx_h.ac_status), (unsigned char *)&tx.tx_h.ac_status, sizeof(tx.tx_h.ac_status));
ioaddr1329drivers/net/wavelan.cobram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), (unsigned char *)&nop.nop_h.ac_status, sizeof(nop.nop_h.ac_status));
ioaddr1331drivers/net/wavelan.cobram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), (unsigned char *)&nop.nop_h.ac_link, sizeof(nop.nop_h.ac_link));
ioaddr1340drivers/net/wavelan.cobram_write(ioaddr, tbd_addr, (unsigned char *)&tbd, sizeof(tbd));
ioaddr1345drivers/net/wavelan.cobram_write(ioaddr, buf_addr, buf, length);
ioaddr1353drivers/net/wavelan.cobram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), (unsigned char *)&nop.nop_h.ac_status, sizeof(nop.nop_h.ac_status));
ioaddr1355drivers/net/wavelan.cobram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), (unsigned char *)&nop.nop_h.ac_link, sizeof(nop.nop_h.ac_link));
ioaddr1391drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1393drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1414drivers/net/wavelan.cwavelan_scb_show(ioaddr);
ioaddr1483drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1487drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1499drivers/net/wavelan.cobram_read(ioaddr, lp->rx_head, (unsigned char *)&fd, sizeof(fd));
ioaddr1566drivers/net/wavelan.cobram_read(ioaddr, fd.fd_rbd_offset, (unsigned char *)&rbd, sizeof(rbd));
ioaddr1585drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr));
ioaddr1622drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl, &addr[0], sizeof(addr));
ioaddr1628drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr));
ioaddr1634drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl + sizeof(addr) * 2, (unsigned char *)&ltype, sizeof(ltype));
ioaddr1649drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl, skb_put(skb,pkt_len), pkt_len);
ioaddr1686drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_status), (unsigned char *)&fd.fd_status, sizeof(fd.fd_status));
ioaddr1689drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
ioaddr1692drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_last, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
ioaddr1710drivers/net/wavelan.cwavelan_complete(device *dev, unsigned short ioaddr, net_local *lp)
ioaddr1723drivers/net/wavelan.cobram_read(ioaddr, acoff(lp->tx_first_in_use, ac_status), (unsigned char *)&tx_status, sizeof(tx_status));
ioaddr1818drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1825drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1843drivers/net/wavelan.cnreaped = wavelan_complete(dev, ioaddr, lp);
ioaddr1862drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1874drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1879drivers/net/wavelan.cif ((hasr = hasr_read(ioaddr)) & HASR_MMC_INTR)
ioaddr1887drivers/net/wavelan.cmmc_read(ioaddr, mmroff(0, mmr_dce_status), &dce_status, sizeof(dce_status));
ioaddr1900drivers/net/wavelan.cobram_read(ioaddr, scboff(OFFSET_SCB, scb_status), (unsigned char *)&status, sizeof(status));
ioaddr1907drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&ack_cmd, sizeof(ack_cmd));
ioaddr1909drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr1921drivers/net/wavelan.c(void)wavelan_complete(dev, ioaddr, lp);
ioaddr1965drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr1972drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr1982drivers/net/wavelan.cobram_write(ioaddr, scboff(OFFSET_SCB, scb_command), (unsigned char *)&scb_cmd, sizeof(scb_cmd));
ioaddr1983drivers/net/wavelan.cset_chan_attn(ioaddr, lp->hacr);
ioaddr1993drivers/net/wavelan.crelease_region(ioaddr, sizeof(ha_t));
ioaddr2206drivers/net/wavelan.cunsigned short  ioaddr;
ioaddr2209drivers/net/wavelan.cioaddr = dev->base_addr;
ioaddr2213drivers/net/wavelan.cobram_read(ioaddr, p, (unsigned char *)&actx, sizeof(actx));
ioaddr2302drivers/net/wavelan.cwavelan_mmc_show(unsigned short ioaddr)
ioaddr2306drivers/net/wavelan.cmmc_read(ioaddr, 0, (unsigned char *)&m, sizeof(m));
ioaddr2335drivers/net/wavelan.cwavelan_scb_show(unsigned short ioaddr)
ioaddr2339drivers/net/wavelan.cobram_read(ioaddr, OFFSET_SCB, (unsigned char *)&scb, sizeof(scb));   
ioaddr48drivers/net/wd.cint wd_probe1(struct device *dev, int ioaddr);
ioaddr99drivers/net/wd.cint ioaddr = wd_portlist[i];
ioaddr100drivers/net/wd.cif (check_region(ioaddr, WD_IO_EXTENT))
ioaddr102drivers/net/wd.cif (wd_probe1(dev, ioaddr) == 0)
ioaddr110drivers/net/wd.cint wd_probe1(struct device *dev, int ioaddr)
ioaddr120drivers/net/wd.cchecksum += inb(ioaddr + 8 + i);
ioaddr121drivers/net/wd.cif (inb(ioaddr + 8) == 0xff   /* Extra check to avoid soundcard. */
ioaddr122drivers/net/wd.c|| inb(ioaddr + 9) == 0xff
ioaddr142drivers/net/wd.cprintk("%s: WD80x3 at %#3x, ", dev->name, ioaddr);
ioaddr144drivers/net/wd.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i));
ioaddr151drivers/net/wd.cif (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') {
ioaddr152drivers/net/wd.cunsigned char reg5 = inb(ioaddr+5);
ioaddr154drivers/net/wd.cswitch (inb(ioaddr+2)) {
ioaddr171drivers/net/wd.cif (inb(ioaddr+i) != inb(ioaddr+8+i))
ioaddr178drivers/net/wd.cint tmp = inb(ioaddr+1); /* fiddle with 16bit bit */
ioaddr179drivers/net/wd.coutb( tmp ^ 0x01, ioaddr+1 ); /* attempt to clear 16bit bit */
ioaddr180drivers/net/wd.cif (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */
ioaddr182drivers/net/wd.cint asic_reg5 = inb(ioaddr+WD_CMDREG5);
ioaddr184drivers/net/wd.coutb( NIC16 | (asic_reg5&0x1f), ioaddr+WD_CMDREG5);
ioaddr185drivers/net/wd.coutb(tmp, ioaddr+1);
ioaddr192drivers/net/wd.coutb(tmp, ioaddr+1);      /* Restore original reg1 value. */
ioaddr195drivers/net/wd.cif ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01))
ioaddr197drivers/net/wd.cword16 ? 16 : 8, (inb(ioaddr+1) & 0x01) ? 16 : 8);
ioaddr207drivers/net/wd.cint reg0 = inb(ioaddr);
ioaddr213drivers/net/wd.cint high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f;
ioaddr223drivers/net/wd.cdev->base_addr = ioaddr+WD_NIC_OFFSET;
ioaddr227drivers/net/wd.cint reg1 = inb(ioaddr+1);
ioaddr228drivers/net/wd.cint reg4 = inb(ioaddr+4);
ioaddr230drivers/net/wd.cshort nic_addr = ioaddr+WD_NIC_OFFSET;
ioaddr269drivers/net/wd.crequest_region(ioaddr, WD_IO_EXTENT, model_name);
ioaddr302drivers/net/wd.cif (inb(ioaddr+14) & 0x20)
ioaddr303drivers/net/wd.coutb(inb(ioaddr+4)|0x80, ioaddr+4);
ioaddr312drivers/net/wd.cint ioaddr = dev->base_addr - WD_NIC_OFFSET; /* WD_CMDREG */
ioaddr320drivers/net/wd.coutb(ei_status.reg5, ioaddr+WD_CMDREG5);
ioaddr321drivers/net/wd.coutb(ei_status.reg0, ioaddr); /* WD_CMDREG */
ioaddr493drivers/net/wd.cint ioaddr = dev->base_addr - WD_NIC_OFFSET;
ioaddr498drivers/net/wd.crelease_region(ioaddr, WD_IO_EXTENT);
ioaddr191drivers/net/znet.cstatic void update_stop_hit(short ioaddr, unsigned short rx_stop_offset);
ioaddr288drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr305drivers/net/znet.cif (inb(ioaddr) != 0x10 && inb(ioaddr) != 0x00)
ioaddr319drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr330drivers/net/znet.coutb(CMD0_STAT0, ioaddr); event = inb(ioaddr);
ioaddr331drivers/net/znet.coutb(CMD0_STAT1, ioaddr); tx_status = inw(ioaddr);
ioaddr332drivers/net/znet.coutb(CMD0_STAT2, ioaddr); rx_offset = inw(ioaddr);
ioaddr333drivers/net/znet.coutb(CMD0_STAT3, ioaddr); state = inb(ioaddr);
ioaddr339drivers/net/znet.coutb(CMD0_RESET, ioaddr);
ioaddr349drivers/net/znet.coutb(CMD0_STAT0, ioaddr);
ioaddr350drivers/net/znet.cif (inw(ioaddr) == 0x0010
ioaddr351drivers/net/znet.c&& inw(ioaddr) == 0x0000
ioaddr352drivers/net/znet.c&& inw(ioaddr) == 0x0010)
ioaddr393drivers/net/znet.coutb(CMD0_TRANSMIT + CMD0_CHNL_1,ioaddr);
ioaddr408drivers/net/znet.cint ioaddr;
ioaddr417drivers/net/znet.cioaddr = dev->base_addr;
ioaddr419drivers/net/znet.coutb(CMD0_STAT0, ioaddr);
ioaddr421drivers/net/znet.cushort status = inb(ioaddr);
ioaddr424drivers/net/znet.coutb(CMD0_STAT1, ioaddr);
ioaddr425drivers/net/znet.cresult = inw(ioaddr);
ioaddr426drivers/net/znet.coutb(CMD0_STAT2, ioaddr);
ioaddr427drivers/net/znet.crx_ptr = inw(ioaddr);
ioaddr428drivers/net/znet.coutb(CMD0_STAT3, ioaddr);
ioaddr429drivers/net/znet.crunning = inb(ioaddr);
ioaddr439drivers/net/znet.coutb(CMD0_STAT1, ioaddr);
ioaddr440drivers/net/znet.ctx_status = inw(ioaddr);
ioaddr463drivers/net/znet.coutb(CMD0_ACK,ioaddr);
ioaddr473drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr479drivers/net/znet.coutb(CMD0_STAT2, ioaddr);
ioaddr480drivers/net/znet.ccur_frame_end_offset = inw(ioaddr);
ioaddr580drivers/net/znet.cupdate_stop_hit(ioaddr, (zn.rx_cur - zn.rx_start)<<1);
ioaddr596drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr601drivers/net/znet.coutb(CMD0_RESET, ioaddr);      /* CMD0_RESET */
ioaddr636drivers/net/znet.cshort ioaddr = dev->base_addr;
ioaddr653drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr659drivers/net/znet.coutb(CMD0_MULTICAST_LIST+CMD0_CHNL_1, ioaddr);
ioaddr677drivers/net/znet.cshort ioaddr = dev->base_addr;
ioaddr683drivers/net/znet.coutb(CMD0_RESET, ioaddr);
ioaddr708drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr709drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr713drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr714drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr718drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr719drivers/net/znet.coutb(CMD0_IA_SETUP + CMD0_CHNL_1, ioaddr);
ioaddr720drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr722drivers/net/znet.cupdate_stop_hit(ioaddr, 8192);
ioaddr724drivers/net/znet.coutb(CMD0_Rx_ENABLE+CMD0_CHNL_0, ioaddr);
ioaddr728drivers/net/znet.cstatic void update_stop_hit(short ioaddr, unsigned short rx_stop_offset)
ioaddr730drivers/net/znet.coutb(CMD0_PORT_1, ioaddr);
ioaddr734drivers/net/znet.coutb((rx_stop_offset >> 6) | 0x80, ioaddr);
ioaddr735drivers/net/znet.coutb(CMD1_PORT_0, ioaddr);
ioaddr364drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
ioaddr379drivers/sound/dev_table.cioaddr = (val & 0x000fff00) >> 8;
ioaddr396drivers/sound/dev_table.csnd_installed_cards[ptr].config.io_base = ioaddr;
ioaddr513drivers/sound/dev_table.hvoid sound_chconf(int card_type, int ioaddr, int irq, int dma);
ioaddr173drivers/sound/opl3.copl3_detect (int ioaddr, int *osp)
ioaddr206drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);
ioaddr209drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);
ioaddr211drivers/sound/opl3.csignature = stat1 = inb (ioaddr);  /* Status register */
ioaddr220drivers/sound/opl3.copl3_command (ioaddr, TIMER1_REGISTER, 0xff);    /* Set timer1 to 0xff */
ioaddr222drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER,
ioaddr234drivers/sound/opl3.cstat2 = inb (ioaddr);    /*
ioaddr243drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);
ioaddr245drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);
ioaddr274drivers/sound/opl3.copl3_command (ioaddr + 2, OPL3_MODE_REGISTER, 0x00);
ioaddr275drivers/sound/opl3.copl3_command (ioaddr + 2, OPL3_MODE_REGISTER, OPL3_ENABLE | OPL4_ENABLE);
ioaddr277drivers/sound/opl3.cif ((tmp = inb (ioaddr)) == 0x02)    /* Have a OPL4 */
ioaddr282drivers/sound/opl3.cif (!check_region (ioaddr - 8, 2))  /* OPL4 port is free */
ioaddr286drivers/sound/opl3.coutb (0x02, ioaddr - 8);  /* Select OPL4 ID register */
ioaddr288drivers/sound/opl3.ctmp = inb (ioaddr - 7);  /* Read it */
ioaddr295drivers/sound/opl3.coutb (0xF8, ioaddr - 8);  /* Select OPL4 FM mixer control */
ioaddr297drivers/sound/opl3.coutb (0x1B, ioaddr - 7);  /* Write value */
ioaddr304drivers/sound/opl3.copl3_command (ioaddr + 2, OPL3_MODE_REGISTER, 0);
ioaddr309drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /*
ioaddr313drivers/sound/opl3.copl3_command (ioaddr, TEST_REGISTER, ENABLE_WAVE_SELECT);
ioaddr314drivers/sound/opl3.copl3_command (ioaddr, PERCUSSION_REGISTER, 0x00);  /*
ioaddr338drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20);
ioaddr472drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);
ioaddr473drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);
ioaddr518drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);
ioaddr519drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);
ioaddr520drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], vol3);
ioaddr521drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], vol4);
ioaddr552drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], 0xff);  /*
ioaddr557drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], 0xff);  /*
ioaddr564drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], 0xff);
ioaddr565drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], 0xff);
ioaddr568drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, 0x00);  /*
ioaddr597drivers/sound/opl3.cvoice_shift = (map->ioaddr == devc->left_io) ? 0 : 3;
ioaddr618drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[0], instr->operators[0]);
ioaddr619drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[1], instr->operators[1]);
ioaddr624drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]);
ioaddr625drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]);
ioaddr630drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]);
ioaddr631drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]);
ioaddr636drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]);
ioaddr637drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]);
ioaddr647drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num,
ioaddr660drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]);
ioaddr661drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]);
ioaddr666drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]);
ioaddr667drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]);
ioaddr672drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]);
ioaddr673drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]);
ioaddr678drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]);
ioaddr679drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]);
ioaddr689drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num + 3, fpc);
ioaddr715drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr719drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr721drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data);
ioaddr809drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
ioaddr812drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
ioaddr817drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
ioaddr820drivers/sound/opl3.copl3_command (pv_map[devc->lv_map[i]].ioaddr,
ioaddr919drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[cell-1], tmp);}
ioaddr1019drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr1030drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr1177drivers/sound/opl3.copl3_init (long mem_start, int ioaddr, int *osp)
ioaddr1207drivers/sound/opl3.cdevc->left_io = ioaddr;
ioaddr1208drivers/sound/opl3.cdevc->right_io = ioaddr + 2;
ioaddr1228drivers/sound/opl3.cconf_printf2 ("Yamaha OPL4/OPL3 FM", ioaddr, 0, -1, -1);
ioaddr1230drivers/sound/opl3.cconf_printf2 ("Yamaha OPL3 FM", ioaddr, 0, -1, -1);
ioaddr1239drivers/sound/opl3.cif (pv_map[i].ioaddr == USE_LEFT)
ioaddr1240drivers/sound/opl3.cpv_map[i].ioaddr = devc->left_io;
ioaddr1242drivers/sound/opl3.cpv_map[i].ioaddr = devc->right_io;
ioaddr1249drivers/sound/opl3.cconf_printf2 ("Yamaha OPL2 FM", ioaddr, 0, -1, -1);
ioaddr1254drivers/sound/opl3.cpv_map[i].ioaddr = devc->left_io;
ioaddr213drivers/sound/opl3.hunsigned short ioaddr; /* I/O port (left or right side) */
ioaddr64drivers/sound/pas2_card.cextern void     mix_write (unsigned char data, int ioaddr);
ioaddr67drivers/sound/pas2_card.cpas_read (int ioaddr)
ioaddr69drivers/sound/pas2_card.creturn inb (ioaddr ^ translat_code);
ioaddr73drivers/sound/pas2_card.cpas_write (unsigned char data, int ioaddr)
ioaddr75drivers/sound/pas2_card.coutb (data, ioaddr ^ translat_code);
ioaddr74drivers/sound/pas2_mixer.cmix_write (unsigned char data, int ioaddr)
ioaddr86drivers/sound/pas2_mixer.coutw (data | (data << 8), (ioaddr ^ translat_code) - 1);
ioaddr90drivers/sound/pas2_mixer.cpas_write (data, ioaddr);
ioaddr133drivers/sound/sound_calls.hint opl3_detect (int ioaddr, int *osp);
ioaddr134drivers/sound/sound_calls.hlong opl3_init(long mem_start, int ioaddr, int *osp);
ioaddr149drivers/sound/sound_calls.hunsigned char pas_read(int ioaddr);
ioaddr150drivers/sound/sound_calls.hvoid pas_write(unsigned char data, int ioaddr);
ioaddr88include/linux/comstats.hunsigned long  ioaddr;