taglinefilesource code
ioaddr135drivers/net/3c501.cint ioaddr;
ioaddr145drivers/net/3c501.cioaddr = el_base;
ioaddr149drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
ioaddr150drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
ioaddr160drivers/net/3c501.csnarf_region(ioaddr, 16);
ioaddr316drivers/net/3c501.cshort ioaddr;
ioaddr323drivers/net/3c501.cioaddr = dev->base_addr;
ioaddr343drivers/net/3c501.cinw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR));
ioaddr468drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr471drivers/net/3c501.cprintk("%s: Shutting down ethercard at %#x.\n", dev->name, ioaddr);
ioaddr36drivers/net/3c503.cint el2probe1(int ioaddr, struct device *dev);
ioaddr62drivers/net/3c503.cshort ioaddr = dev->base_addr;
ioaddr64drivers/net/3c503.cif (ioaddr < 0)
ioaddr66drivers/net/3c503.cif (ioaddr > 0)
ioaddr67drivers/net/3c503.creturn ! el2probe1(ioaddr, dev);
ioaddr117drivers/net/3c503.cel2probe1(int ioaddr, struct device *dev)
ioaddr124drivers/net/3c503.cprintk("3c503 probe at %#3x:", ioaddr);
ioaddr125drivers/net/3c503.ciobase_reg = inb(ioaddr+0x403);
ioaddr126drivers/net/3c503.cmembase_reg = inb(ioaddr+0x404);
ioaddr133drivers/net/3c503.csaved_406 = inb_p(ioaddr + 0x406);
ioaddr134drivers/net/3c503.coutb_p(ECNTRL_RESET|ECNTRL_THIN, ioaddr + 0x406); /* Reset it... */
ioaddr135drivers/net/3c503.coutb_p(ECNTRL_THIN, ioaddr + 0x406);
ioaddr137drivers/net/3c503.coutb(ECNTRL_SAPROM|ECNTRL_THIN, ioaddr + 0x406);
ioaddr139drivers/net/3c503.cprintk(" %2.2X", (station_addr[i] = inb(ioaddr + i)));
ioaddr146drivers/net/3c503.coutb(saved_406, ioaddr + 0x406);
ioaddr151drivers/net/3c503.csnarf_region(ioaddr, 16);
ioaddr156drivers/net/3c503.coutb(ECNTRL_THIN, ioaddr + 0x406);
ioaddr157drivers/net/3c503.cdev->base_addr = ioaddr;
ioaddr160drivers/net/3c503.coutb(EGACFR_NORM, ioaddr + 0x405);  /* Enable RAM */
ioaddr237drivers/net/3c503.creturn ioaddr;
ioaddr270drivers/net/3c507.cstatic int  el16_probe1(struct device *dev, short ioaddr);
ioaddr312drivers/net/3c507.cshort ioaddr = *port;
ioaddr315drivers/net/3c507.cif (inb(ioaddr) == '*' && inb(ioaddr+1) == '3'
ioaddr316drivers/net/3c507.c&& inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O'
ioaddr323drivers/net/3c507.cres[0] = inb(ioaddr); res[1] = inb(ioaddr+1);
ioaddr324drivers/net/3c507.cres[2] = inb(ioaddr+2); res[3] = inb(ioaddr+3);
ioaddr336drivers/net/3c507.cint el16_probe1(struct device *dev, short ioaddr)
ioaddr340drivers/net/3c507.cprintk("%s: 3c507 at %#x,", dev->name, ioaddr);
ioaddr345drivers/net/3c507.cirq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr354drivers/net/3c507.csnarf_region(ioaddr, 16);
ioaddr355drivers/net/3c507.cdev->base_addr = ioaddr;
ioaddr357drivers/net/3c507.coutb(0x01, ioaddr + MISC_CTRL);
ioaddr359drivers/net/3c507.cdev->dev_addr[i] = inb(ioaddr + i);
ioaddr373drivers/net/3c507.cchar mem_config = inb(ioaddr + MEM_CONFIG);
ioaddr387drivers/net/3c507.cdev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0;
ioaddr388drivers/net/3c507.cdev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr430drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr452drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr475drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr479drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr497drivers/net/3c507.cint ioaddr, status, boguscount = 0;
ioaddr507drivers/net/3c507.cioaddr = dev->base_addr;
ioaddr518drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr581drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr584drivers/net/3c507.coutb(0, ioaddr + RESET_IRQ);
ioaddr587drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr595drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr603drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr606drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr681drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr686drivers/net/3c507.coutb(0x20, ioaddr + MISC_CTRL);
ioaddr709drivers/net/3c507.coutb(0xA0, ioaddr + MISC_CTRL);
ioaddr713drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr725drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr729drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr740drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr775drivers/net/3c507.cdev->name, ioaddr, length, tx_block, lp->tx_head);
ioaddr68drivers/net/3c509.c#define EL3WINDOW(win_num) outw(0x0800+(win_num), ioaddr + EL3_CMD)
ioaddr85drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index);
ioaddr102drivers/net/3c509.cushort ioaddr, irq, if_port;
ioaddr111drivers/net/3c509.cioaddr = eisa_addr;
ioaddr115drivers/net/3c509.cif (inw(ioaddr + 0xC80) != 0x6d50)
ioaddr119drivers/net/3c509.coutw(0x0800, ioaddr + 0xC80 + EL3_CMD);
ioaddr121drivers/net/3c509.cirq = inw(ioaddr + 8) >> 12;
ioaddr122drivers/net/3c509.cif_port = inw(ioaddr + 6)>>14;
ioaddr124drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
ioaddr127drivers/net/3c509.cread_eeprom(ioaddr, 3);
ioaddr139drivers/net/3c509.cioaddr = mca_pos_base_addr(i);
ioaddr140drivers/net/3c509.cirq = inw(ioaddr + 8) >> 12;
ioaddr141drivers/net/3c509.cif_port = inw(ioaddr + 6)>>14;
ioaddr143drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
ioaddr185drivers/net/3c509.cioaddr = 0x200 + ((iobase & 0x1f) << 4);
ioaddr190drivers/net/3c509.c&&  dev->base_addr != (unsigned short)ioaddr) {
ioaddr201drivers/net/3c509.cif (inw(ioaddr) != 0x6d50)
ioaddr205drivers/net/3c509.cdev->base_addr = ioaddr;
ioaddr245drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index)
ioaddr249drivers/net/3c509.coutw(EEPROM_READ + index, ioaddr + 10);
ioaddr253drivers/net/3c509.creturn inw(ioaddr + 12);
ioaddr283drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr293drivers/net/3c509.cdev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS));
ioaddr296drivers/net/3c509.coutw(0x0001, ioaddr + 4);
ioaddr301drivers/net/3c509.coutw((dev->irq << 12) | 0x0f00, ioaddr + 8);
ioaddr307drivers/net/3c509.coutb(dev->dev_addr[i], ioaddr + i);
ioaddr311drivers/net/3c509.coutw(0x1000, ioaddr + EL3_CMD);
ioaddr315drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr321drivers/net/3c509.coutw(0x8005, ioaddr + EL3_CMD); /* Accept b-case and phys addr only. */
ioaddr322drivers/net/3c509.coutw(0xA800, ioaddr + EL3_CMD); /* Turn on statistics. */
ioaddr323drivers/net/3c509.coutw(0x2000, ioaddr + EL3_CMD); /* Enable the receiver. */
ioaddr324drivers/net/3c509.coutw(0x4800, ioaddr + EL3_CMD); /* Enable transmitter. */
ioaddr325drivers/net/3c509.coutw(0x78ff, ioaddr + EL3_CMD); /* Allow all status bits to be seen. */
ioaddr329drivers/net/3c509.coutw(0x7098, ioaddr + EL3_CMD); /* Set interrupt mask. */
ioaddr333drivers/net/3c509.cdev->name, dev->irq, inw(ioaddr + EL3_STATUS));
ioaddr345drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr353drivers/net/3c509.cdev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS));
ioaddr356drivers/net/3c509.coutw(0x5800, ioaddr + EL3_CMD); /* TX_RESET */
ioaddr357drivers/net/3c509.coutw(0x4800, ioaddr + EL3_CMD); /* TX_START */
ioaddr371drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
ioaddr375drivers/net/3c509.cushort status = inw(ioaddr + EL3_STATUS);
ioaddr377drivers/net/3c509.c&& inw(ioaddr + EL3_STATUS) & 1) {       /* Make sure. */
ioaddr380drivers/net/3c509.cinw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS),
ioaddr381drivers/net/3c509.cinw(ioaddr + RX_STATUS));
ioaddr382drivers/net/3c509.coutw(0x7800, ioaddr + EL3_CMD); /* Fake interrupt trigger. */
ioaddr383drivers/net/3c509.coutw(0x6899, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr384drivers/net/3c509.coutw(0x78ff, ioaddr + EL3_CMD); /* Set all status bits visible. */
ioaddr394drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
ioaddr395drivers/net/3c509.coutw(0x00, ioaddr + TX_FIFO);
ioaddr397drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
ioaddr400drivers/net/3c509.cif (inw(ioaddr + TX_FREE) > 1536) {
ioaddr404drivers/net/3c509.coutw(0x9000 + 1536, ioaddr + EL3_CMD);
ioaddr414drivers/net/3c509.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
ioaddr418drivers/net/3c509.cif (tx_status & 0x30) outw(0x5800, ioaddr + EL3_CMD);
ioaddr419drivers/net/3c509.cif (tx_status & 0x3C) outw(0x4800, ioaddr + EL3_CMD);
ioaddr420drivers/net/3c509.coutb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */
ioaddr432drivers/net/3c509.cint ioaddr, status;
ioaddr444drivers/net/3c509.cioaddr = dev->base_addr;
ioaddr445drivers/net/3c509.cstatus = inw(ioaddr + EL3_STATUS);
ioaddr450drivers/net/3c509.cwhile ((status = inw(ioaddr + EL3_STATUS)) & 0x01) {
ioaddr459drivers/net/3c509.coutw(0x6808, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr464drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr470drivers/net/3c509.coutw(0x68FF, ioaddr + EL3_CMD);
ioaddr474drivers/net/3c509.coutw(0x6891, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr479drivers/net/3c509.cinw(ioaddr + EL3_STATUS));
ioaddr503drivers/net/3c509.cstatic void update_stats(int ioaddr, struct device *dev)
ioaddr510drivers/net/3c509.coutw(0xB000, ioaddr + EL3_CMD);
ioaddr513drivers/net/3c509.clp->stats.tx_carrier_errors   += inb(ioaddr + 0);
ioaddr514drivers/net/3c509.clp->stats.tx_heartbeat_errors  += inb(ioaddr + 1);
ioaddr515drivers/net/3c509.c/* Multiple collisions. */       inb(ioaddr + 2);
ioaddr516drivers/net/3c509.clp->stats.collisions      += inb(ioaddr + 3);
ioaddr517drivers/net/3c509.clp->stats.tx_window_errors    += inb(ioaddr + 4);
ioaddr518drivers/net/3c509.clp->stats.rx_fifo_errors    += inb(ioaddr + 5);
ioaddr519drivers/net/3c509.clp->stats.tx_packets      += inb(ioaddr + 6);
ioaddr520drivers/net/3c509.clp->stats.rx_packets      += inb(ioaddr + 7);
ioaddr521drivers/net/3c509.c/* Tx deferrals */        inb(ioaddr + 8);
ioaddr522drivers/net/3c509.cinw(ioaddr + 10);  /* Total Rx and Tx octets. */
ioaddr523drivers/net/3c509.cinw(ioaddr + 12);
ioaddr527drivers/net/3c509.coutw(0xA800, ioaddr + EL3_CMD);
ioaddr535drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr540drivers/net/3c509.cinw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS));
ioaddr541drivers/net/3c509.cwhile ((rx_status = inw(ioaddr + RX_STATUS)) > 0) {
ioaddr568drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb->data,
ioaddr573drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr581drivers/net/3c509.cinb(ioaddr + EL3_STATUS));
ioaddr582drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr583drivers/net/3c509.cwhile (inw(ioaddr + EL3_STATUS) & 0x1000)
ioaddr585drivers/net/3c509.cinw(ioaddr + EL3_STATUS) );
ioaddr588drivers/net/3c509.cinb(ioaddr + EL3_STATUS));
ioaddr600drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr601drivers/net/3c509.cwhile (inw(ioaddr + EL3_STATUS) & 0x1000)
ioaddr603drivers/net/3c509.cinw(ioaddr + EL3_STATUS) );
ioaddr608drivers/net/3c509.cinw(ioaddr+EL3_STATUS), inw(ioaddr+8));
ioaddr623drivers/net/3c509.cshort ioaddr = dev->base_addr;
ioaddr625drivers/net/3c509.coutw(0x8007, ioaddr + EL3_CMD);
ioaddr627drivers/net/3c509.coutw(0x8008, ioaddr + EL3_CMD);
ioaddr629drivers/net/3c509.coutw(0x8005, ioaddr + EL3_CMD);
ioaddr636drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr645drivers/net/3c509.coutw(0xB000, ioaddr + EL3_CMD);
ioaddr648drivers/net/3c509.coutw(0x1800, ioaddr + EL3_CMD);
ioaddr649drivers/net/3c509.coutw(0x5000, ioaddr + EL3_CMD);
ioaddr653drivers/net/3c509.coutw(0xb800, ioaddr + EL3_CMD);
ioaddr657drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr664drivers/net/3c509.coutw(0x0f00, ioaddr + 8);
ioaddr669drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr530drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr534drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ioaddr535drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ioaddr536drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ioaddr550drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr555drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x08, ioaddr + EN0_RXCR);
ioaddr557drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x18, ioaddr + EN0_RXCR);
ioaddr559drivers/net/8390.coutb_p(E8390_RXCONFIG, ioaddr + EN0_RXCR);
ioaddr59drivers/net/ac3200.cstatic int ac_probe1(int ioaddr, struct device *dev);
ioaddr78drivers/net/ac3200.cunsigned short ioaddr = dev->base_addr;
ioaddr80drivers/net/ac3200.cif (ioaddr > 0x1ff)    /* Check a single specified location. */
ioaddr81drivers/net/ac3200.creturn ac_probe1(ioaddr, dev);
ioaddr82drivers/net/ac3200.celse if (ioaddr > 0)    /* Don't probe at all. */
ioaddr89drivers/net/ac3200.cfor (ioaddr = 0x1000; ioaddr < 0x9000; ioaddr += 0x1000)
ioaddr90drivers/net/ac3200.cif (ac_probe1(ioaddr, dev) == 0)
ioaddr96drivers/net/ac3200.cstatic int ac_probe1(int ioaddr, struct device *dev)
ioaddr101drivers/net/ac3200.cprintk("AC3200 ethercard probe at %#3x:", ioaddr);
ioaddr104drivers/net/ac3200.cprintk(" %02x", inb(ioaddr + AC_SA_PROM + i));
ioaddr109drivers/net/ac3200.cif (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0
ioaddr110drivers/net/ac3200.c|| inb(ioaddr + AC_SA_PROM + 1) != AC_ADDR1
ioaddr111drivers/net/ac3200.c|| inb(ioaddr + AC_SA_PROM + 2) != AC_ADDR2 ) {
ioaddr120drivers/net/ac3200.cif (inl(ioaddr + AC_ID_PORT) != AC_EISA_ID) {
ioaddr122drivers/net/ac3200.cinl(ioaddr + AC_EISA_ID), AC_EISA_ID); 
ioaddr127drivers/net/ac3200.cdev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i);
ioaddr131drivers/net/ac3200.c" EISA ID %02x %02x %02x %02x.\n", inb(ioaddr + AC_CONFIG),
ioaddr132drivers/net/ac3200.cinb(ioaddr + AC_ID_PORT + 0), inb(ioaddr + AC_ID_PORT + 1),
ioaddr133drivers/net/ac3200.cinb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3));
ioaddr138drivers/net/ac3200.cdev->irq = config2irq(inb(ioaddr + AC_CONFIG));
ioaddr147drivers/net/ac3200.cdev->base_addr = ioaddr;
ioaddr156drivers/net/ac3200.coutb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG);
ioaddr160drivers/net/ac3200.cdev->if_port = inb(ioaddr + AC_CONFIG) >> 6;
ioaddr161drivers/net/ac3200.cdev->mem_start = config2mem(inb(ioaddr + AC_CONFIG));
ioaddr175drivers/net/ac3200.cdev->name, ioaddr, dev->irq, port_name[dev->if_port],
ioaddr195drivers/net/ac3200.cint ioaddr = dev->base_addr;
ioaddr206drivers/net/ac3200.cushort ioaddr = dev->base_addr;
ioaddr208drivers/net/ac3200.coutb(AC_RESET, ioaddr + AC_RESET_PORT);
ioaddr212drivers/net/ac3200.coutb(AC_ENABLE, ioaddr + AC_RESET_PORT);
ioaddr257drivers/net/ac3200.coutb(0x00, ioaddr + 6);  /* Disable interrupts. */
ioaddr203drivers/net/apricot.cshort ioaddr = dev->base_addr;
ioaddr239drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr249drivers/net/apricot.cshort ioaddr = dev->base_addr;
ioaddr253drivers/net/apricot.coutw(0, ioaddr);
ioaddr254drivers/net/apricot.coutw(0, ioaddr);
ioaddr255drivers/net/apricot.coutb(4, ioaddr+0xf);
ioaddr256drivers/net/apricot.coutw(((((int)&lp->scp) & 0xffff) | 2), ioaddr);
ioaddr257drivers/net/apricot.coutw((((int)&lp->scp)>>16) & 0xffff, ioaddr);
ioaddr271drivers/net/apricot.c(void) inb (ioaddr+0x10);
ioaddr272drivers/net/apricot.coutb(4, ioaddr+0xf);
ioaddr273drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr426drivers/net/apricot.ci596_reset(struct device *dev, struct i596_private *lp, int ioaddr)
ioaddr444drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr469drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr496drivers/net/apricot.coutw (0, ioaddr+4);
ioaddr512drivers/net/apricot.ci596_reset(dev, lp, ioaddr);
ioaddr543drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr561drivers/net/apricot.ci596_reset(dev,lp, ioaddr);
ioaddr567drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr654drivers/net/apricot.cint ioaddr = 0x300;
ioaddr659drivers/net/apricot.cif (check_region(ioaddr, APRICOT_TOTAL_SIZE))
ioaddr663drivers/net/apricot.cchecksum += inb(ioaddr + 8 + i);
ioaddr673drivers/net/apricot.cprintk("%s: Apricot 82596 at %#3x,", dev->name, ioaddr);
ioaddr676drivers/net/apricot.cprintk(" %2.2X", dev->dev_addr[i] = inb(ioaddr +8 + i));
ioaddr678drivers/net/apricot.cdev->base_addr = ioaddr;
ioaddr682drivers/net/apricot.csnarf_region(ioaddr, APRICOT_TOTAL_SIZE);
ioaddr708drivers/net/apricot.cshort ioaddr;
ioaddr724drivers/net/apricot.cioaddr = dev->base_addr;
ioaddr858drivers/net/apricot.c(void) inb (ioaddr+0x10);
ioaddr859drivers/net/apricot.coutb (4, ioaddr+0xf);
ioaddr860drivers/net/apricot.coutw (0, ioaddr+4);
ioaddr872drivers/net/apricot.cint ioaddr = dev->base_addr;
ioaddr883drivers/net/apricot.coutw(0, ioaddr+4);
ioaddr110drivers/net/at1700.cstatic int at1700_probe1(struct device *dev, short ioaddr);
ioaddr111drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location);
ioaddr139drivers/net/at1700.cint ioaddr = *port;
ioaddr140drivers/net/at1700.cif (check_region(ioaddr, 32))
ioaddr142drivers/net/at1700.cif (at1700_probe1(dev, ioaddr) == 0)
ioaddr157drivers/net/at1700.cint at1700_probe1(struct device *dev, short ioaddr)
ioaddr169drivers/net/at1700.cif ((inw(ioaddr + 2*i) | signature_invalid[i]) != signature[i]) {
ioaddr172drivers/net/at1700.ci, inw(ioaddr + 2*i), signature[i]);
ioaddr175drivers/net/at1700.cif (read_eeprom(ioaddr, 4) != 0x0000
ioaddr176drivers/net/at1700.c|| read_eeprom(ioaddr, 5) & 0x00ff != 0x00F4)
ioaddr181drivers/net/at1700.csnarf_region(ioaddr, 32);
ioaddr183drivers/net/at1700.cirq = irqmap[(read_eeprom(ioaddr, 12)&0x04)
ioaddr184drivers/net/at1700.c| (read_eeprom(ioaddr, 0)>>14)];
ioaddr189drivers/net/at1700.c"IRQ %d.\n", ioaddr, irq);
ioaddr194drivers/net/at1700.cioaddr, irq);
ioaddr196drivers/net/at1700.cdev->base_addr = ioaddr;
ioaddr201drivers/net/at1700.cunsigned short eeprom_val = read_eeprom(ioaddr, 4+i);
ioaddr214drivers/net/at1700.cushort setup_value = read_eeprom(ioaddr, 12);
ioaddr222drivers/net/at1700.coutb(0xe0, ioaddr + 7);
ioaddr224drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr227drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr229drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr233drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr236drivers/net/at1700.coutb(0xe8, ioaddr + 7);
ioaddr240drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr261drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location)
ioaddr265drivers/net/at1700.cshort ee_addr = ioaddr + EEPROM_Ctrl;
ioaddr266drivers/net/at1700.cshort ee_daddr = ioaddr + EEPROM_Data;
ioaddr305drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr309drivers/net/at1700.coutb(0xe0, ioaddr + CONFIG_1);
ioaddr313drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr316drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr318drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr322drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr325drivers/net/at1700.coutb(0x5a, ioaddr + CONFIG_0);
ioaddr327drivers/net/at1700.coutb(0xe8, ioaddr + CONFIG_1);
ioaddr330drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr331drivers/net/at1700.coutb(0x81, ioaddr + RX_INTR);
ioaddr346drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr355drivers/net/at1700.cinw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80
ioaddr358drivers/net/at1700.cdev->name, inw(ioaddr + 0), inw(ioaddr + 2), inw(ioaddr + 4),
ioaddr359drivers/net/at1700.cinw(ioaddr + 6), inw(ioaddr + 8), inw(ioaddr + 10),
ioaddr360drivers/net/at1700.cinw(ioaddr + 12), inw(ioaddr + 14));
ioaddr363drivers/net/at1700.coutw(0xffff, ioaddr + 24);
ioaddr364drivers/net/at1700.coutw(0xffff, ioaddr + TX_STATUS);
ioaddr365drivers/net/at1700.coutw(0xe85a, ioaddr + CONFIG_0);
ioaddr366drivers/net/at1700.coutw(0x8100, ioaddr + TX_INTR);
ioaddr388drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr390drivers/net/at1700.coutw(length, ioaddr + DATAPORT);
ioaddr391drivers/net/at1700.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr398drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr407drivers/net/at1700.coutb(0x82, ioaddr + TX_INTR);
ioaddr422drivers/net/at1700.cint ioaddr, status;
ioaddr430drivers/net/at1700.cioaddr = dev->base_addr;
ioaddr432drivers/net/at1700.cstatus = inw(ioaddr + TX_STATUS);
ioaddr433drivers/net/at1700.coutw(status, ioaddr + TX_STATUS);
ioaddr438drivers/net/at1700.c||  (inb(ioaddr + RX_MODE) & 0x40) == 0) {      /* Got a packet(s). */
ioaddr445drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr454drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr468drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr471drivers/net/at1700.cwhile ((inb(ioaddr + RX_MODE) & 0x40) == 0) {
ioaddr472drivers/net/at1700.cushort status = inw(ioaddr + DATAPORT);
ioaddr476drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), status);
ioaddr479drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr491drivers/net/at1700.cushort pkt_len = inw(ioaddr + DATAPORT);
ioaddr498drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr506drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr513drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb->data, (pkt_len + 1) >> 1);
ioaddr536drivers/net/at1700.cif ((inb(ioaddr + RX_MODE) & 0x40) == 0x40)
ioaddr538drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr543drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), i);
ioaddr552drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr560drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr565drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr593drivers/net/at1700.cshort ioaddr = dev->base_addr;
ioaddr595drivers/net/at1700.coutw(3, ioaddr + RX_MODE);  /* Enable promiscuous mode */
ioaddr597drivers/net/at1700.coutw(2, ioaddr + RX_MODE);  /* Disable promiscuous, use normal mode */
ioaddr116drivers/net/atp.c#define check_region(ioaddr, size)    0
ioaddr117drivers/net/atp.c#define snarf_region(ioaddr, size);    do ; while (0)
ioaddr133drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr);
ioaddr135drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
ioaddr138drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int mode);
ioaddr139drivers/net/atp.cstatic void trigger_send(short ioaddr, int length);
ioaddr143drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode);
ioaddr167drivers/net/atp.cint ioaddr = *port;
ioaddr168drivers/net/atp.coutb(0x57, ioaddr + PAR_DATA);
ioaddr169drivers/net/atp.cif (inb(ioaddr + PAR_DATA) != 0x57)
ioaddr171drivers/net/atp.cif (atp_probe1(dev, ioaddr) == 0)
ioaddr178drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr)
ioaddr182drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr185drivers/net/atp.csaved_ctrl_reg = inb(ioaddr + PAR_CONTROL);
ioaddr187drivers/net/atp.coutb(0x04, ioaddr + PAR_CONTROL);
ioaddr188drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr190drivers/net/atp.cstatus = read_nibble(ioaddr, CMR1);
ioaddr194drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr197drivers/net/atp.cstatus = read_nibble(ioaddr, CMR2_h);
ioaddr199drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr203drivers/net/atp.cwrite_reg_byte(ioaddr, CMR2, 0x01);      /* No accept mode, IRQ out. */
ioaddr204drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);  /* Enable Tx and Rx. */
ioaddr207drivers/net/atp.cif (ioaddr == 0x378)
ioaddr211drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_TxRxOFF); /* Disable Tx and Rx units. */
ioaddr212drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr214drivers/net/atp.cdev->base_addr = ioaddr;
ioaddr225drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr258drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr262drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_EEPROM);    /* Point to the EEPROM control registers. */
ioaddr266drivers/net/atp.cif (eeprom_op(ioaddr, EE_READ(0)) == 0xffff)
ioaddr271drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
ioaddr273drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr288drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
ioaddr295drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW);
ioaddr297drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH);
ioaddr299drivers/net/atp.cif (read_nibble(ioaddr, PROM_DATA) & EE_DATA_READ)
ioaddr303drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS);
ioaddr340drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr343drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr346drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr348drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr352drivers/net/atp.c(read_nibble(ioaddr, CMR2_h) >> 3) & 0x0f);
ioaddr355drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr356drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);
ioaddr359drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr362drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr363drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr373drivers/net/atp.cstatic void trigger_send(short ioaddr, int length)
ioaddr375drivers/net/atp.cwrite_reg_byte(ioaddr, TxCNT0, length & 0xff);
ioaddr376drivers/net/atp.cwrite_reg(ioaddr, TxCNT1, length >> 8);
ioaddr377drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_Xmit);
ioaddr380drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode)
ioaddr383drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr386drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr388drivers/net/atp.cwrite_byte_mode0(ioaddr, *packet++);
ioaddr394drivers/net/atp.coutb(Ctrl_LNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr395drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr397drivers/net/atp.coutb((outbyte & 0x0f)|0x40, ioaddr + PAR_DATA);
ioaddr398drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr400drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr401drivers/net/atp.coutb(Ctrl_HNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr403drivers/net/atp.cwrite_byte_mode1(ioaddr, *packet++);
ioaddr406drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr407drivers/net/atp.coutb(Ctrl_HNibWrite | Ctrl_SelData | Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr414drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr423drivers/net/atp.cinb(ioaddr + PAR_CONTROL) & 0x10 ? "network cable problem"
ioaddr453drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr454drivers/net/atp.cwrite_reg_high(ioaddr, IMR, 0);
ioaddr457drivers/net/atp.cwrite_packet(ioaddr, length, buf, dev->if_port);
ioaddr461drivers/net/atp.ctrigger_send(ioaddr, length);
ioaddr470drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr471drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr487drivers/net/atp.cint ioaddr, status, boguscount = 20;
ioaddr496drivers/net/atp.cioaddr = dev->base_addr;
ioaddr500drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr503drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr504drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr508drivers/net/atp.cstatus = read_nibble(ioaddr, ISR);
ioaddr512drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_RxOK); /* Clear the Rx interrupt. */
ioaddr514drivers/net/atp.cint read_status = read_nibble(ioaddr, CMR1);
ioaddr522drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr525drivers/net/atp.cwrite_reg_high(ioaddr, ISR, ISRh_RxErr);
ioaddr526drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr538drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_TxErr + ISR_TxOK);
ioaddr548drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_ReXmit + CMR1_Xmit);
ioaddr554drivers/net/atp.ctrigger_send(ioaddr, lp->saved_tx_size);
ioaddr569drivers/net/atp.c(read_nibble(ioaddr, CMR1) >> 3) & 15);
ioaddr583drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr587drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr589drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr591drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr592drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);       /* Hmmm, really needed? */
ioaddr605drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr613drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr614drivers/net/atp.cread_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port);
ioaddr640drivers/net/atp.cread_block(ioaddr, pkt_len, skb->data, dev->if_port);
ioaddr655drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_NextPkt);
ioaddr659drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *p, int data_mode)
ioaddr663drivers/net/atp.coutb(Ctrl_LNibRead, ioaddr + PAR_CONTROL);
ioaddr665drivers/net/atp.cioaddr + PAR_DATA);
ioaddr667drivers/net/atp.cdo  *p++ = read_byte_mode0(ioaddr);  while (--length > 0);
ioaddr669drivers/net/atp.cdo  *p++ = read_byte_mode2(ioaddr);  while (--length > 0);
ioaddr671drivers/net/atp.cdo      *p++ = read_byte_mode4(ioaddr);  while (--length > 0);
ioaddr673drivers/net/atp.cdo      *p++ = read_byte_mode6(ioaddr);  while (--length > 0);
ioaddr675drivers/net/atp.coutb(EOC+HNib+MAR, ioaddr + PAR_DATA);
ioaddr676drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr684drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr691drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr694drivers/net/atp.coutb(0x00, ioaddr + PAR_CONTROL);
ioaddr699drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr723drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr725drivers/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);
ioaddr323drivers/net/depca.cstatic int depca_probe1(struct device *dev, short ioaddr);
ioaddr331drivers/net/depca.cstatic int DevicePresent(short ioaddr);
ioaddr339drivers/net/depca.cstatic struct device *alloc_device(struct device *dev, int ioaddr);
ioaddr392drivers/net/depca.cdepca_probe1(struct device *dev, short ioaddr)
ioaddr433drivers/net/depca.cdev->base_addr = ioaddr;
ioaddr435drivers/net/depca.cif ((ioaddr&0x0fff)==DEPCA_EISA_IO_PORTS) {/* EISA slot address */
ioaddr437drivers/net/depca.cdev->name, name, ioaddr, ((ioaddr>>12)&0x0f));
ioaddr439drivers/net/depca.cprintk("%s: %s at %#3x", dev->name, name, ioaddr);
ioaddr468drivers/net/depca.csnarf_region(ioaddr, DEPCA_TOTAL_SIZE);
ioaddr663drivers/net/depca.cint i,nicsr,ioaddr = dev->base_addr;
ioaddr787drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr939drivers/net/depca.cint csr0, ioaddr, nicsr;
ioaddr945drivers/net/depca.cioaddr = dev->base_addr;
ioaddr1124drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1156drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1172drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1218drivers/net/depca.cshort ioaddr = dev->base_addr;
ioaddr1299drivers/net/depca.cint ioaddr = *port;
ioaddr1301drivers/net/depca.cif (DevicePresent(ioaddr) == 0) {
ioaddr1303drivers/net/depca.cdev = alloc_device(dev, ioaddr);
ioaddr1305drivers/net/depca.cif ((status = depca_probe1(dev, ioaddr)) == 0) {
ioaddr1321drivers/net/depca.cint i, ioaddr = DEPCA_EISA_IO_PORTS;
ioaddr1324drivers/net/depca.cioaddr+=0x1000;                         /* get the first slot address */
ioaddr1325drivers/net/depca.cfor (status = -ENODEV, i=1; i<MAX_EISA_SLOTS; i++, ioaddr+=0x1000) {
ioaddr1327drivers/net/depca.cif (DevicePresent(ioaddr) == 0) {
ioaddr1329drivers/net/depca.cdev = alloc_device(dev, ioaddr);
ioaddr1331drivers/net/depca.cif ((status = depca_probe1(dev, ioaddr)) == 0) {
ioaddr1345drivers/net/depca.cstatic struct device *alloc_device(struct device *dev, int ioaddr)
ioaddr1379drivers/net/depca.cdev->base_addr = ioaddr;    /* assign the io address */
ioaddr1434drivers/net/depca.cstatic int DevicePresent(short ioaddr)
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.) */
ioaddr147drivers/net/depca.h#define DEPCA_EISA_ID   ioaddr+0x80   /* ID long word for EISA card */
ioaddr148drivers/net/depca.h#define DEPCA_EISA_CTRL ioaddr+0x84   /* Control word for EISA card */
ioaddr94drivers/net/e2100.cint e21_probe1(struct device *dev, int ioaddr);
ioaddr132drivers/net/e2100.cint e21_probe1(struct device *dev, int ioaddr)
ioaddr138drivers/net/e2100.cif (inb(ioaddr + E21_SAPROM + 0) != 0x00
ioaddr139drivers/net/e2100.c|| inb(ioaddr + E21_SAPROM + 1) != 0x00
ioaddr140drivers/net/e2100.c|| inb(ioaddr + E21_SAPROM + 2) != 0x1d)
ioaddr144drivers/net/e2100.coutb(E8390_NODMA + E8390_STOP, ioaddr);
ioaddr146drivers/net/e2100.cstatus = inb(ioaddr);
ioaddr151drivers/net/e2100.csnarf_region(ioaddr, E21_IO_EXTENT);
ioaddr155drivers/net/e2100.cstation_addr[i] = inb(ioaddr + E21_SAPROM + i);
ioaddr157drivers/net/e2100.cinb(ioaddr + E21_MEDIA);     /* Point to media selection. */
ioaddr158drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);   /* and disable the secondary interface. */
ioaddr160drivers/net/e2100.cprintk("%s: E21** at %#3x,", dev->name, ioaddr);
ioaddr179drivers/net/e2100.cdev->base_addr = ioaddr;
ioaddr196drivers/net/e2100.cinb(ioaddr + E21_MEDIA);   /* Turn automatic media detection on. */
ioaddr198drivers/net/e2100.cif (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) {
ioaddr236drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr244drivers/net/e2100.cinb(ioaddr + E21_IRQ_LOW);
ioaddr245drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + (dev->irq & 7));
ioaddr246drivers/net/e2100.cinb(ioaddr + E21_IRQ_HIGH);       /* High IRQ bit, and if_port. */
ioaddr247drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + (dev->irq > 7 ? 1:0)
ioaddr249drivers/net/e2100.cinb(ioaddr + E21_MEM_BASE);
ioaddr250drivers/net/e2100.coutb(0, ioaddr + E21_ASIC + ((dev->mem_start >> 17) & 7));
ioaddr258drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr260drivers/net/e2100.coutb(0x01, ioaddr);
ioaddr276drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr280drivers/net/e2100.cmem_on(ioaddr, shared_mem, start_page);
ioaddr289drivers/net/e2100.cmem_off(ioaddr);
ioaddr298drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr304drivers/net/e2100.cmem_on(ioaddr, shared_mem, start_page);
ioaddr307drivers/net/e2100.cmem_off(ioaddr);
ioaddr313drivers/net/e2100.cshort ioaddr = dev->base_addr;
ioaddr322drivers/net/e2100.cinb(ioaddr + E21_IRQ_LOW);
ioaddr323drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);
ioaddr324drivers/net/e2100.cinb(ioaddr + E21_IRQ_HIGH);       /* High IRQ bit, and if_port. */
ioaddr325drivers/net/e2100.coutb(0, ioaddr + E21_ASIC);
ioaddr333drivers/net/e2100.cmem_off(ioaddr);
ioaddr283drivers/net/eexpress.cstatic int  eexp_probe1(struct device *dev, short ioaddr);
ioaddr292drivers/net/eexpress.cstatic int read_eeprom(int ioaddr, int location);
ioaddr338drivers/net/eexpress.cint eexp_probe1(struct device *dev, short ioaddr)
ioaddr343drivers/net/eexpress.cprintk("%s: EtherExpress at %#x,", dev->name, ioaddr);
ioaddr347drivers/net/eexpress.cstation_addr[0] = read_eeprom(ioaddr, 2);
ioaddr348drivers/net/eexpress.cstation_addr[1] = read_eeprom(ioaddr, 3);
ioaddr349drivers/net/eexpress.cstation_addr[2] = read_eeprom(ioaddr, 4);
ioaddr359drivers/net/eexpress.csnarf_region(ioaddr, 16);
ioaddr360drivers/net/eexpress.cdev->base_addr = ioaddr;
ioaddr373drivers/net/eexpress.cunsigned short setupval = read_eeprom(ioaddr, 0);
ioaddr377drivers/net/eexpress.cread_eeprom(ioaddr, 5) & 0x1 ? TP : BNC;
ioaddr381drivers/net/eexpress.coutb(0x00, ioaddr + SET_IRQ);
ioaddr385drivers/net/eexpress.coutb(ASIC_RESET, ioaddr + EEPROM_Ctrl);
ioaddr417drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr433drivers/net/eexpress.coutb(irqrmap[dev->irq] | 0x08, ioaddr + SET_IRQ);
ioaddr445drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr455drivers/net/eexpress.cinw(ioaddr+SCB_STATUS) & 0x8000 ? "IRQ conflict" :
ioaddr466drivers/net/eexpress.coutw(0xf000|CUC_START|RX_START, ioaddr + SCB_CMD);
ioaddr467drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr490drivers/net/eexpress.coutb(irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr494drivers/net/eexpress.coutb(0x08 | irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr513drivers/net/eexpress.cint ioaddr, status, boguscount = 0;
ioaddr522drivers/net/eexpress.cioaddr = dev->base_addr;
ioaddr525drivers/net/eexpress.cstatus = inw(ioaddr + SCB_STATUS);
ioaddr532drivers/net/eexpress.coutb(irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr537drivers/net/eexpress.coutw(lp->tx_reap, ioaddr + READ_PTR);
ioaddr538drivers/net/eexpress.ctx_status = inw(ioaddr);
ioaddr574drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr580drivers/net/eexpress.coutw(IDLELOOP, ioaddr + WRITE_PTR);
ioaddr581drivers/net/eexpress.coutw(0, ioaddr);
ioaddr582drivers/net/eexpress.coutw(CmdNOp, ioaddr);
ioaddr583drivers/net/eexpress.coutw(IDLELOOP, ioaddr);
ioaddr588drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
ioaddr593drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr604drivers/net/eexpress.coutw(cur_rxbuf, ioaddr + READ_PTR);
ioaddr606drivers/net/eexpress.cprintk(" %04x", inw(ioaddr));
ioaddr613drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
ioaddr617drivers/net/eexpress.coutw(ack_cmd, ioaddr + SCB_CMD);
ioaddr618drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr622drivers/net/eexpress.cinw(ioaddr + SCB_CMD));
ioaddr625drivers/net/eexpress.coutb(irqrmap[dev->irq] | 0x08, ioaddr + SET_IRQ);
ioaddr632drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr638drivers/net/eexpress.coutw(RX_SUSPEND | CUC_SUSPEND, ioaddr + SCB_CMD);
ioaddr639drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr642drivers/net/eexpress.coutb(0, ioaddr + SET_IRQ);
ioaddr674drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr681drivers/net/eexpress.coutw(SET_MC_CMD + 6, ioaddr + WRITE_PTR);
ioaddr682drivers/net/eexpress.coutw(num_addrs * 6, ioaddr);
ioaddr683drivers/net/eexpress.coutsw(ioaddr, addrs, num_addrs*3);    /* 3 = addr len in words */
ioaddr688drivers/net/eexpress.coutw(99, ioaddr);    /* Disable promiscuous mode, use normal mode */
ioaddr699drivers/net/eexpress.cread_eeprom(int ioaddr, int location)
ioaddr703drivers/net/eexpress.cshort ee_addr = ioaddr + EEPROM_Ctrl;
ioaddr740drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr744drivers/net/eexpress.coutb(inb(ioaddr + Config) | 0x02, ioaddr + Config);
ioaddr747drivers/net/eexpress.coutb(_586_RESET, ioaddr + EEPROM_Ctrl);
ioaddr750drivers/net/eexpress.coutw(0xfff6, ioaddr + WRITE_PTR);
ioaddr751drivers/net/eexpress.coutsw(ioaddr, init_words, sizeof(init_words)>>1);
ioaddr754drivers/net/eexpress.coutw(SA_OFFSET, ioaddr + WRITE_PTR);
ioaddr755drivers/net/eexpress.coutsw(ioaddr, dev->dev_addr, 3);
ioaddr768drivers/net/eexpress.coutb(0x00, ioaddr + EEPROM_Ctrl);
ioaddr772drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr776drivers/net/eexpress.cwhile (inw(ioaddr + SCB_STATUS) == 0)
ioaddr779drivers/net/eexpress.cdev->name, inw(ioaddr + SCB_STATUS), inw(ioaddr + SCB_CMD));
ioaddr783drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr787drivers/net/eexpress.coutb(inb(ioaddr + Config) & ~0x02, ioaddr + Config);
ioaddr790drivers/net/eexpress.cinw(ioaddr + SCB_STATUS));
ioaddr798drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr804drivers/net/eexpress.coutw(cur_rxbuf, ioaddr + WRITE_PTR);
ioaddr805drivers/net/eexpress.coutw(0x0000, ioaddr);         /* Status */
ioaddr806drivers/net/eexpress.coutw(0x0000, ioaddr);        /* Command */
ioaddr807drivers/net/eexpress.coutw(cur_rxbuf + RX_BUF_SIZE, ioaddr); /* Link */
ioaddr808drivers/net/eexpress.coutw(cur_rxbuf + 22, ioaddr);    /* Buffer offset */
ioaddr809drivers/net/eexpress.coutw(0xFeed, ioaddr);         /* Pad for dest addr. */
ioaddr810drivers/net/eexpress.coutw(0xF00d, ioaddr);
ioaddr811drivers/net/eexpress.coutw(0xF001, ioaddr);
ioaddr812drivers/net/eexpress.coutw(0x0505, ioaddr);         /* Pad for source addr. */
ioaddr813drivers/net/eexpress.coutw(0x2424, ioaddr);
ioaddr814drivers/net/eexpress.coutw(0x6565, ioaddr);
ioaddr815drivers/net/eexpress.coutw(0xdeaf, ioaddr);        /* Pad for protocol. */
ioaddr817drivers/net/eexpress.coutw(0x0000, ioaddr);        /* Buffer: Actual count */
ioaddr818drivers/net/eexpress.coutw(-1, ioaddr);          /* Buffer: Next (none). */
ioaddr819drivers/net/eexpress.coutw(cur_rxbuf + 0x20, ioaddr);    /* Buffer: Address low */
ioaddr820drivers/net/eexpress.coutw(0x0000, ioaddr);
ioaddr822drivers/net/eexpress.coutw(0x8000 + RX_BUF_SIZE-0x20, ioaddr);
ioaddr830drivers/net/eexpress.coutw(lp->rx_tail + 2, ioaddr + WRITE_PTR);
ioaddr831drivers/net/eexpress.coutw(0xC000, ioaddr);          /* Command, mark as last. */
ioaddr832drivers/net/eexpress.coutw(lp->rx_head, ioaddr);        /* Link */
ioaddr839drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr843drivers/net/eexpress.coutw(tx_block, ioaddr + WRITE_PTR);
ioaddr844drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Tx status */
ioaddr845drivers/net/eexpress.coutw(CMD_INTR|CmdTx, ioaddr);    /* Tx command */
ioaddr846drivers/net/eexpress.coutw(tx_block+16, ioaddr);  /* Next command is a NoOp. */
ioaddr847drivers/net/eexpress.coutw(tx_block+8, ioaddr);  /* Data Buffer offset. */
ioaddr850drivers/net/eexpress.coutw(length | 0x8000, ioaddr); /* Byte count parameter. */
ioaddr851drivers/net/eexpress.coutw(-1, ioaddr);      /* No next data buffer. */
ioaddr852drivers/net/eexpress.coutw(tx_block+22, ioaddr);  /* Buffer follows the NoOp command. */
ioaddr853drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Buffer address high bits (always zero). */
ioaddr856drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Tx status */
ioaddr857drivers/net/eexpress.coutw(CmdNOp, ioaddr);    /* Tx command */
ioaddr858drivers/net/eexpress.coutw(tx_block+16, ioaddr);  /* Next is myself. */
ioaddr862drivers/net/eexpress.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr865drivers/net/eexpress.coutw(lp->tx_cmd_link, ioaddr + WRITE_PTR);
ioaddr866drivers/net/eexpress.coutw(tx_block, ioaddr);
ioaddr876drivers/net/eexpress.c"reap %4x status %4.4x.\n", dev->name, ioaddr, length,
ioaddr877drivers/net/eexpress.ctx_block, lp->tx_head, lp->tx_reap, inw(ioaddr + SCB_STATUS));
ioaddr888drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr889drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr896drivers/net/eexpress.coutw(rx_head, ioaddr + READ_PTR);
ioaddr897drivers/net/eexpress.cwhile ((frame_status = inw(ioaddr)) < 0) {    /* Command complete */
ioaddr898drivers/net/eexpress.cshort rfd_cmd = inw(ioaddr);
ioaddr899drivers/net/eexpress.cshort next_rx_frame = inw(ioaddr);
ioaddr900drivers/net/eexpress.cshort data_buffer_addr = inw(ioaddr);
ioaddr904drivers/net/eexpress.coutw(data_buffer_addr, ioaddr + READ_PTR);
ioaddr905drivers/net/eexpress.cpkt_len = inw(ioaddr);
ioaddr935drivers/net/eexpress.coutw(data_buffer_addr + 10, ioaddr + READ_PTR);
ioaddr937drivers/net/eexpress.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
ioaddr944drivers/net/eexpress.coutw(rx_head, ioaddr + WRITE_PTR);
ioaddr945drivers/net/eexpress.coutw(0x0000, ioaddr);
ioaddr946drivers/net/eexpress.coutw(0xC000, ioaddr);
ioaddr957drivers/net/eexpress.coutw(rx_tail+2, ioaddr + WRITE_PTR);
ioaddr958drivers/net/eexpress.coutw(0x0000, ioaddr);  /* Clear the end-of-list on the prev. RFD. */
ioaddr961drivers/net/eexpress.coutw(rx_tail+4, ioaddr + READ_PTR);
ioaddr962drivers/net/eexpress.cif (inw(ioaddr) != rx_head) {
ioaddr964drivers/net/eexpress.cdev->name, rx_tail, (outw(rx_tail+4, ioaddr + READ_PTR),inw(ioaddr)),
ioaddr966drivers/net/eexpress.coutw(rx_head, ioaddr);
ioaddr974drivers/net/eexpress.coutw(rx_head, ioaddr + READ_PTR);
ioaddr981drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
ioaddr97drivers/net/hp-plus.cint hpp_probe1(struct device *dev, int ioaddr);
ioaddr118drivers/net/hp-plus.cshort ioaddr = dev->base_addr;
ioaddr120drivers/net/hp-plus.cif (ioaddr > 0x1ff)      /* Check a single specified location. */
ioaddr121drivers/net/hp-plus.creturn hpp_probe1(dev, ioaddr);
ioaddr122drivers/net/hp-plus.celse if (ioaddr > 0)        /* Don't probe at all. */
ioaddr136drivers/net/hp-plus.cint hpp_probe1(struct device *dev, int ioaddr)
ioaddr145drivers/net/hp-plus.cif (inw(ioaddr + HP_ID) != 0x4850
ioaddr146drivers/net/hp-plus.c|| (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300)
ioaddr150drivers/net/hp-plus.cprintk("%s: %s at %#3x,", dev->name, name, ioaddr);
ioaddr153drivers/net/hp-plus.coutw(MAC_Page, ioaddr + HP_PAGING);
ioaddr156drivers/net/hp-plus.cunsigned char inval = inb(ioaddr + 8 + i);
ioaddr161drivers/net/hp-plus.cchecksum += inb(ioaddr + 14);
ioaddr168drivers/net/hp-plus.coutw(ID_Page, ioaddr + HP_PAGING);
ioaddr169drivers/net/hp-plus.cprintk(" ID %4.4x", inw(ioaddr + 12));
ioaddr173drivers/net/hp-plus.csnarf_region(ioaddr, HP_IO_EXTENT);
ioaddr176drivers/net/hp-plus.coutw(HW_Page, ioaddr + HP_PAGING);
ioaddr178drivers/net/hp-plus.cint irq = inb(ioaddr + 13) & 0x0f;
ioaddr179drivers/net/hp-plus.cint option = inw(ioaddr + HPP_OPTION);
ioaddr183drivers/net/hp-plus.cmem_start = inw(ioaddr + 9) << 8;
ioaddr194drivers/net/hp-plus.coutw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14);
ioaddr197drivers/net/hp-plus.cdev->base_addr = ioaddr + NIC_OFFSET;
ioaddr224drivers/net/hp-plus.coutw(Perf_Page, ioaddr + HP_PAGING);
ioaddr227drivers/net/hp-plus.coutw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION);
ioaddr235drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr243drivers/net/hp-plus.coption_reg = inw(ioaddr + HPP_OPTION);
ioaddr244drivers/net/hp-plus.coutw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr247drivers/net/hp-plus.coutw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr250drivers/net/hp-plus.coutw(HW_Page, ioaddr + HP_PAGING);
ioaddr251drivers/net/hp-plus.coutw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14);
ioaddr254drivers/net/hp-plus.coutw(Perf_Page, ioaddr + HP_PAGING);
ioaddr262drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr263drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr269drivers/net/hp-plus.cioaddr + HPP_OPTION);
ioaddr277drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr278drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr282drivers/net/hp-plus.coutw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr287drivers/net/hp-plus.coutw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION);
ioaddr292drivers/net/hp-plus.cif ((inb_p(ioaddr+NIC_OFFSET+EN0_ISR) & ENISR_RESET) == 0)
ioaddr305drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr307drivers/net/hp-plus.coutw(ring_offset, ioaddr + HPP_IN_ADDR);
ioaddr308drivers/net/hp-plus.cinsw(ioaddr + HP_DATAPORT, buf, count>>1);
ioaddr310drivers/net/hp-plus.cbuf[count-1] = inw(ioaddr + HP_DATAPORT);
ioaddr317drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr318drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr320drivers/net/hp-plus.coutw(ring_offset, ioaddr + HPP_IN_ADDR);
ioaddr322drivers/net/hp-plus.coutw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
ioaddr325drivers/net/hp-plus.coutw(option_reg, ioaddr + HPP_OPTION);
ioaddr336drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr337drivers/net/hp-plus.coutw(start_page << 8, ioaddr + HPP_OUT_ADDR);
ioaddr338drivers/net/hp-plus.coutsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2);
ioaddr346drivers/net/hp-plus.cint ioaddr = dev->base_addr - NIC_OFFSET;
ioaddr347drivers/net/hp-plus.cint option_reg = inw(ioaddr + HPP_OPTION);
ioaddr349drivers/net/hp-plus.coutw(start_page << 8, ioaddr + HPP_OUT_ADDR);
ioaddr350drivers/net/hp-plus.coutw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
ioaddr352drivers/net/hp-plus.coutw(option_reg, ioaddr + HPP_OPTION);
ioaddr30drivers/net/hp.c#define check_region(ioaddr, size)        0
ioaddr31drivers/net/hp.c#define snarf_region(ioaddr, size);        do ; while (0)
ioaddr49drivers/net/hp.cint hpprobe1(struct device *dev, int ioaddr);
ioaddr70drivers/net/hp.cshort ioaddr = dev->base_addr;
ioaddr72drivers/net/hp.cif (ioaddr > 0x1ff)      /* Check a single specified location. */
ioaddr73drivers/net/hp.creturn hpprobe1(dev, ioaddr);
ioaddr74drivers/net/hp.celse if (ioaddr > 0)        /* Don't probe at all. */
ioaddr87drivers/net/hp.cint hpprobe1(struct device *dev, int ioaddr)
ioaddr96drivers/net/hp.cif (inb(ioaddr) != 0x08
ioaddr97drivers/net/hp.c|| inb(ioaddr+1) != 0x00
ioaddr98drivers/net/hp.c|| inb(ioaddr+2) != 0x09
ioaddr99drivers/net/hp.c|| inb(ioaddr+14) == 0x57)
ioaddr104drivers/net/hp.cif ((board_id = inb(ioaddr + HP_ID)) & 0x80) {
ioaddr113drivers/net/hp.csnarf_region(ioaddr, HP_IO_EXTENT);
ioaddr115drivers/net/hp.cprintk("%s: %s (ID %02x) at %#3x,", dev->name, name, board_id, ioaddr);
ioaddr118drivers/net/hp.cprintk(" %2.2x", station_addr[i] = inb(ioaddr + i));
ioaddr130drivers/net/hp.coutb_p(irqmap[irq] | HP_RUN, ioaddr + HP_CONFIGURE);
ioaddr131drivers/net/hp.coutb_p( 0x00 | HP_RUN, ioaddr + HP_CONFIGURE);
ioaddr157drivers/net/hp.cdev->base_addr = ioaddr + NIC_OFFSET;
ioaddr40drivers/net/lance.cunsigned long lance_probe1(short ioaddr, unsigned long mem_start);
ioaddr247drivers/net/lance.cint ioaddr = *port;
ioaddr249drivers/net/lance.cif (   check_region(ioaddr, LANCE_TOTAL_SIZE) == 0
ioaddr250drivers/net/lance.c&& inb(ioaddr + 14) == 0x57
ioaddr251drivers/net/lance.c&& inb(ioaddr + 15) == 0x57) {
ioaddr252drivers/net/lance.cmem_start = lance_probe1(ioaddr, mem_start);
ioaddr259drivers/net/lance.cunsigned long lance_probe1(short ioaddr, unsigned long mem_start)
ioaddr279drivers/net/lance.c&& ioaddr_table[inb(hp_port) & 3] == ioaddr)
ioaddr283drivers/net/lance.chpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00
ioaddr284drivers/net/lance.c&& inb(ioaddr+2) == 0x09);
ioaddr287drivers/net/lance.creset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */
ioaddr292drivers/net/lance.coutw(reset_val, ioaddr+LANCE_RESET);
ioaddr294drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR); /* Switch to window 0 */
ioaddr295drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) != 0x0004)
ioaddr299drivers/net/lance.coutw(88, ioaddr+LANCE_ADDR);
ioaddr300drivers/net/lance.cif (inw(ioaddr+LANCE_ADDR) != 88) {
ioaddr303drivers/net/lance.cint chip_version = inw(ioaddr+LANCE_DATA);
ioaddr304drivers/net/lance.coutw(89, ioaddr+LANCE_ADDR);
ioaddr305drivers/net/lance.cchip_version |= inw(ioaddr+LANCE_DATA) << 16;
ioaddr321drivers/net/lance.cprintk("%s: %s at %#3x,", dev->name, chip_table[lance_version].name, ioaddr);
ioaddr326drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr328drivers/net/lance.cdev->base_addr = ioaddr;
ioaddr329drivers/net/lance.csnarf_region(ioaddr, LANCE_TOTAL_SIZE);
ioaddr356drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr357drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr358drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr359drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr360drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr361drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr362drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr363drivers/net/lance.cinw(ioaddr+LANCE_ADDR);
ioaddr375drivers/net/lance.cshort reset_val = inw(ioaddr+LANCE_RESET);
ioaddr381drivers/net/lance.coutw(8, ioaddr+LANCE_ADDR);
ioaddr382drivers/net/lance.cbus_info = inw(ioaddr+LANCE_BUS_IF);
ioaddr400drivers/net/lance.coutw(0x0041, ioaddr+LANCE_DATA);
ioaddr412drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100)
ioaddr429drivers/net/lance.coutw(0x7f04, ioaddr+LANCE_DATA); /* Clear the memory error bits. */
ioaddr436drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr438drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0900)
ioaddr440drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100) {
ioaddr458drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr459drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr480drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr493drivers/net/lance.cinw(ioaddr+LANCE_RESET);
ioaddr501drivers/net/lance.coutw(0, ioaddr+LANCE_RESET);
ioaddr505drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr506drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr516drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr517drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr518drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr519drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr521drivers/net/lance.coutw(0x0004, ioaddr+LANCE_ADDR);
ioaddr522drivers/net/lance.coutw(0x0d15, ioaddr+LANCE_DATA);
ioaddr524drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr525drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr532drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100)
ioaddr534drivers/net/lance.coutw(0x0142, ioaddr+LANCE_DATA);
ioaddr538drivers/net/lance.cdev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA));
ioaddr577drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr585drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr587drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr588drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr607drivers/net/lance.coutw(0x0043, ioaddr+LANCE_DATA);
ioaddr624drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr626drivers/net/lance.cinw(ioaddr+LANCE_DATA));
ioaddr627drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA);
ioaddr678drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr679drivers/net/lance.coutw(0x0048, ioaddr+LANCE_DATA);
ioaddr701drivers/net/lance.cint csr0, ioaddr;
ioaddr708drivers/net/lance.cioaddr = dev->base_addr;
ioaddr792drivers/net/lance.cdev->name, inw(ioaddr + LANCE_ADDR),
ioaddr866drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr872drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr873drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr875drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr879drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr883drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA);
ioaddr898drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr902drivers/net/lance.csaved_addr = inw(ioaddr+LANCE_ADDR);
ioaddr903drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr904drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr905drivers/net/lance.coutw(saved_addr, ioaddr+LANCE_ADDR);
ioaddr920drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr923drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr924drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance.   */
ioaddr926drivers/net/lance.coutw(15, ioaddr+LANCE_ADDR);
ioaddr933drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
ioaddr934drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
ioaddr936drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */
ioaddr938drivers/net/lance.coutw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */
ioaddr941drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr942drivers/net/lance.coutw(0x0142, ioaddr+LANCE_DATA); /* Resume normal operation. */
ioaddr43drivers/net/ne.cstatic int neprobe1(int ioaddr, struct device *dev, int verbose);
ioaddr76drivers/net/ne.cshort ioaddr = dev->base_addr;
ioaddr78drivers/net/ne.cif (ioaddr < 0)
ioaddr80drivers/net/ne.cif (ioaddr > 0x100)
ioaddr81drivers/net/ne.creturn ! neprobe1(ioaddr, dev, 1);
ioaddr93drivers/net/ne.cdev->base_addr = ioaddr;
ioaddr97drivers/net/ne.cstatic int neprobe1(int ioaddr, struct device *dev, int verbose)
ioaddr105drivers/net/ne.cint reg0 = inb(ioaddr);
ioaddr112drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD);
ioaddr113drivers/net/ne.cregd = inb_p(ioaddr + 0x0d);
ioaddr114drivers/net/ne.coutb_p(0xff, ioaddr + 0x0d);
ioaddr115drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD);
ioaddr116drivers/net/ne.cinb_p(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */
ioaddr117drivers/net/ne.cif (inb_p(ioaddr + EN0_COUNTER0) != 0) {
ioaddr118drivers/net/ne.coutb_p(reg0, ioaddr);
ioaddr119drivers/net/ne.coutb(regd, ioaddr + 0x0d);  /* Restore the old values. */
ioaddr124drivers/net/ne.cprintk("NE*000 ethercard probe at %#3x:", ioaddr);
ioaddr148drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
ioaddr151drivers/net/ne.cSA_prom[i] = inb(ioaddr + NE_DATAPORT);
ioaddr152drivers/net/ne.cSA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
ioaddr159drivers/net/ne.coutb_p(0x49, ioaddr + EN0_DCFG);
ioaddr205drivers/net/ne.coutb_p(0x50, ioaddr + EN0_IMR);  /* Enable one interrupt. */
ioaddr206drivers/net/ne.coutb_p(0x00, ioaddr + EN0_RCNTLO);
ioaddr207drivers/net/ne.coutb_p(0x00, ioaddr + EN0_RCNTHI);
ioaddr208drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, ioaddr); /* Trigger it... */
ioaddr209drivers/net/ne.coutb_p(0x00, ioaddr + EN0_IMR);     /* Mask it again. */
ioaddr228drivers/net/ne.cdev->base_addr = ioaddr;
ioaddr231drivers/net/ne.csnarf_region(ioaddr, 32);
ioaddr236drivers/net/ne.cdev->name, name, ioaddr, dev->irq);
ioaddr184drivers/net/ni52.c#define check_region(ioaddr, size)     0
ioaddr185drivers/net/ni52.c#define  snarf_region(ioaddr, size);    do ; while (0)
ioaddr193drivers/net/ni52.cstatic int     ni52_probe1(struct device *dev,int ioaddr);
ioaddr362drivers/net/ni52.cint ioaddr = *port;
ioaddr363drivers/net/ni52.cif (check_region(ioaddr, NI52_TOTAL_SIZE))
ioaddr365drivers/net/ni52.cif( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || 
ioaddr366drivers/net/ni52.c!(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2))
ioaddr369drivers/net/ni52.cdev->base_addr = ioaddr;
ioaddr370drivers/net/ni52.cif (ni52_probe1(dev, ioaddr) == 0)
ioaddr378drivers/net/ni52.cstatic int ni52_probe1(struct device *dev,int ioaddr)
ioaddr392drivers/net/ni52.csnarf_region(ioaddr,NI52_TOTAL_SIZE);
ioaddr57drivers/net/ni65.c#define check_region(ioaddr, size)              0
ioaddr58drivers/net/ni65.c#define snarf_region(ioaddr, size);             do ; while (0)
ioaddr191drivers/net/ni65.cint ioaddr = *port;
ioaddr192drivers/net/ni65.cif (check_region(ioaddr, NI65_TOTAL_SIZE))
ioaddr194drivers/net/ni65.cif( !(inb(ioaddr+L_EBASE+6) == CARD_ID0) || 
ioaddr195drivers/net/ni65.c!(inb(ioaddr+L_EBASE+7) == CARD_ID1) )
ioaddr197drivers/net/ni65.cdev->base_addr = ioaddr;
ioaddr198drivers/net/ni65.cif (ni65_probe1(dev, ioaddr) == 0)
ioaddr207drivers/net/ni65.cstatic int ni65_probe1(struct device *dev,int ioaddr)
ioaddr247drivers/net/ni65.csnarf_region(ioaddr,NI65_TOTAL_SIZE);
ioaddr160drivers/net/sk_g16.c#define SK_POS0     ioaddr      /* Card-ID Low (R) */
ioaddr161drivers/net/sk_g16.c#define SK_POS1     ioaddr+1    /* Card-ID High (R) */
ioaddr162drivers/net/sk_g16.c#define SK_POS2     ioaddr+2    /* Card-Enable, Boot-ROM Disable (RW) */
ioaddr163drivers/net/sk_g16.c#define SK_POS3     ioaddr+3    /* Base address of RAM */
ioaddr164drivers/net/sk_g16.c#define SK_POS4     ioaddr+4    /* IRQ */
ioaddr332drivers/net/sk_g16.c#define check_region(ioaddr, size)              0
ioaddr333drivers/net/sk_g16.c#define snarf_region(ioaddr, size);             do ; while (0)
ioaddr487drivers/net/sk_g16.cstatic int   SK_probe(struct device *dev, short ioaddr);
ioaddr555drivers/net/sk_g16.cint ioaddr         = 0;            /* I/O port address used for POS regs */
ioaddr585drivers/net/sk_g16.cioaddr = *port;           /* we need ioaddr for accessing POS regs */
ioaddr589drivers/net/sk_g16.cif (check_region(ioaddr, ETHERCARD_TOTAL_SIZE))
ioaddr602drivers/net/sk_g16.cdev->base_addr = ioaddr;  /* Set I/O Port Address */
ioaddr604drivers/net/sk_g16.cif (SK_probe(dev, ioaddr) == 0)  
ioaddr637drivers/net/sk_g16.cint SK_probe(struct device *dev, short ioaddr)
ioaddr786drivers/net/sk_g16.csnarf_region(ioaddr, ETHERCARD_TOTAL_SIZE);
ioaddr867drivers/net/sk_g16.cint ioaddr = dev->base_addr;
ioaddr2006drivers/net/sk_g16.cint ioaddr = dev->base_addr;
ioaddr73drivers/net/skeleton.c#define check_region(ioaddr, size)     0
ioaddr74drivers/net/skeleton.c#define  snarf_region(ioaddr, size);    do ; while (0)
ioaddr101drivers/net/skeleton.cstatic int netcard_probe1(struct device *dev, short ioaddr);
ioaddr112drivers/net/skeleton.cextern void  hardware_send_packet(short ioaddr, char *buf, int length);
ioaddr134drivers/net/skeleton.cint ioaddr = *port;
ioaddr135drivers/net/skeleton.cif (check_region(ioaddr, ETHERCARD_TOTAL_SIZE))
ioaddr137drivers/net/skeleton.cif (inb(ioaddr) != 0x57)
ioaddr139drivers/net/skeleton.cdev->base_addr = ioaddr;
ioaddr140drivers/net/skeleton.cif (netcard_probe1(dev, ioaddr) == 0)
ioaddr148drivers/net/skeleton.cint netcard_probe1(struct device *dev, short ioaddr)
ioaddr155drivers/net/skeleton.cstation_addr[i] = inb(ioaddr + i);
ioaddr195drivers/net/skeleton.csnarf_region(ioaddr, ETHERCARD_TOTAL_SIZE);
ioaddr229drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr247drivers/net/skeleton.coutb(0x00, ioaddr);
ioaddr260drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr292drivers/net/skeleton.chardware_send_packet(ioaddr, buf, length);
ioaddr298drivers/net/skeleton.cif (inw(ioaddr) == /*RU*/81)
ioaddr312drivers/net/skeleton.cint ioaddr, status, boguscount = 0;
ioaddr320drivers/net/skeleton.cioaddr = dev->base_addr;
ioaddr322drivers/net/skeleton.cstatus = inw(ioaddr + 0);
ioaddr348drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr352drivers/net/skeleton.cint status = inw(ioaddr);
ioaddr353drivers/net/skeleton.cint pkt_len = inw(ioaddr);
ioaddr381drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
ioaddr399drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr411drivers/net/skeleton.coutw(0x00, ioaddr+0);    /* Release the physical interrupt line. */
ioaddr430drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr434drivers/net/skeleton.clp->stats.rx_missed_errors = inw(ioaddr+1);
ioaddr449drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr451drivers/net/skeleton.coutw(69, ioaddr);    /* Enable promiscuous mode */
ioaddr453drivers/net/skeleton.coutw(99, ioaddr);    /* Disable promiscuous mode, use normal mode */
ioaddr32drivers/net/smc-ultra.c#define check_region(ioaddr, size)              0
ioaddr33drivers/net/smc-ultra.c#define snarf_region(ioaddr, size);             do ; while (0)
ioaddr36drivers/net/smc-ultra.cint ultraprobe(int ioaddr, struct device *dev);
ioaddr37drivers/net/smc-ultra.cint ultraprobe1(int ioaddr, struct device *dev);
ioaddr63drivers/net/smc-ultra.cunsigned short ioaddr = dev->base_addr;
ioaddr65drivers/net/smc-ultra.cif (ioaddr > 0x1ff)
ioaddr66drivers/net/smc-ultra.creturn ultraprobe1(ioaddr, dev);
ioaddr67drivers/net/smc-ultra.celse if (ioaddr > 0)
ioaddr77drivers/net/smc-ultra.cdev->base_addr = ioaddr;
ioaddr81drivers/net/smc-ultra.cint ultraprobe1(int ioaddr, struct device *dev)
ioaddr89drivers/net/smc-ultra.cunsigned char num_pages, irqreg, addr, reg4 = inb(ioaddr + 4) & 0x7f;
ioaddr93drivers/net/smc-ultra.coutb(reg4, ioaddr + 4);
ioaddr96drivers/net/smc-ultra.cchecksum += inb(ioaddr + 8 + i);
ioaddr100drivers/net/smc-ultra.cprintk("%s: SMC Ultra at %#3x,", dev->name, ioaddr);
ioaddr102drivers/net/smc-ultra.cprintk(" %2.2X", station_addr[i] = inb(ioaddr + 8 + i));
ioaddr106drivers/net/smc-ultra.coutb(0x80 | reg4, ioaddr + 4);
ioaddr109drivers/net/smc-ultra.coutb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c);
ioaddr110drivers/net/smc-ultra.cirqreg = inb(ioaddr + 0xd);
ioaddr111drivers/net/smc-ultra.caddr = inb(ioaddr + 0xb);
ioaddr115drivers/net/smc-ultra.coutb(reg4, ioaddr + 4);
ioaddr136drivers/net/smc-ultra.csnarf_region(ioaddr, 32);
ioaddr139drivers/net/smc-ultra.cdev->base_addr = ioaddr+ULTRA_NIC_OFFSET;
ioaddr179drivers/net/smc-ultra.cint ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */
ioaddr184drivers/net/smc-ultra.coutb(ULTRA_MEMENB, ioaddr);  /* Enable memory, 16 bit mode. */
ioaddr185drivers/net/smc-ultra.coutb(0x80, ioaddr + 5);
ioaddr186drivers/net/smc-ultra.coutb(0x01, ioaddr + 6);  /* Enable interrupts and memory. */
ioaddr241drivers/net/smc-ultra.cint ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* CMDREG */
ioaddr249drivers/net/smc-ultra.coutb(0x00, ioaddr + 6);  /* Disable interrupts. */
ioaddr33drivers/net/wd.c#define check_region(ioaddr, size)    0
ioaddr34drivers/net/wd.c#define snarf_region(ioaddr, size)    do ; while (0)
ioaddr38drivers/net/wd.cint wdprobe1(int ioaddr, struct device *dev);
ioaddr72drivers/net/wd.cshort ioaddr = dev->base_addr;
ioaddr74drivers/net/wd.cif (ioaddr < 0)
ioaddr76drivers/net/wd.cif (ioaddr > 0x100)
ioaddr77drivers/net/wd.creturn ! wdprobe1(ioaddr, dev);
ioaddr87drivers/net/wd.cdev->base_addr = ioaddr;
ioaddr91drivers/net/wd.cint wdprobe1(int ioaddr, struct device *dev)
ioaddr101drivers/net/wd.cchecksum += inb(ioaddr + 8 + i);
ioaddr105drivers/net/wd.cprintk("%s: WD80x3 at %#3x, ", dev->name, ioaddr);
ioaddr107drivers/net/wd.cprintk(" %2.2X", station_addr[i] = inb(ioaddr + 8 + i));
ioaddr114drivers/net/wd.cif (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') {
ioaddr115drivers/net/wd.cunsigned char reg5 = inb(ioaddr+5);
ioaddr117drivers/net/wd.cswitch (inb(ioaddr+2)) {
ioaddr134drivers/net/wd.cif (inb(ioaddr+i) != inb(ioaddr+8+i))
ioaddr141drivers/net/wd.cint tmp = inb(ioaddr+1); /* fiddle with 16bit bit */
ioaddr142drivers/net/wd.coutb( tmp ^ 0x01, ioaddr+1 ); /* attempt to clear 16bit bit */
ioaddr143drivers/net/wd.cif (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */
ioaddr145drivers/net/wd.cint asic_reg5 = inb(ioaddr+WD_CMDREG5);
ioaddr147drivers/net/wd.coutb( NIC16 | (asic_reg5&0x1f), ioaddr+WD_CMDREG5);
ioaddr148drivers/net/wd.coutb(tmp, ioaddr+1);
ioaddr155drivers/net/wd.coutb(tmp, ioaddr+1);      /* Restore original reg1 value. */
ioaddr158drivers/net/wd.cif ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01))
ioaddr160drivers/net/wd.cword16 ? 16 : 8, (inb(ioaddr+1) & 0x01) ? 16 : 8);
ioaddr170drivers/net/wd.cint reg0 = inb(ioaddr);
ioaddr176drivers/net/wd.cint high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f;
ioaddr186drivers/net/wd.cdev->base_addr = ioaddr+WD_NIC_OFFSET;
ioaddr190drivers/net/wd.cint reg1 = inb(ioaddr+1);
ioaddr191drivers/net/wd.cint reg4 = inb(ioaddr+4);
ioaddr193drivers/net/wd.cshort nic_addr = ioaddr+WD_NIC_OFFSET;
ioaddr225drivers/net/wd.csnarf_region(ioaddr, 32);
ioaddr257drivers/net/wd.cint ioaddr = dev->base_addr - WD_NIC_OFFSET; /* WD_CMDREG */
ioaddr265drivers/net/wd.coutb(ei_status.reg5, ioaddr+WD_CMDREG5);
ioaddr266drivers/net/wd.coutb(ei_status.reg0, ioaddr); /* WD_CMDREG */
ioaddr192drivers/net/znet.cstatic void update_stop_hit(short ioaddr, unsigned short rx_stop_offset);
ioaddr289drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr306drivers/net/znet.cif (inb(ioaddr) != 0x10 && inb(ioaddr) != 0x00)
ioaddr320drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr331drivers/net/znet.coutb(CMD0_STAT0, ioaddr); event = inb(ioaddr);
ioaddr332drivers/net/znet.coutb(CMD0_STAT1, ioaddr); tx_status = inw(ioaddr);
ioaddr333drivers/net/znet.coutb(CMD0_STAT2, ioaddr); rx_offset = inw(ioaddr);
ioaddr334drivers/net/znet.coutb(CMD0_STAT3, ioaddr); state = inb(ioaddr);
ioaddr340drivers/net/znet.coutb(CMD0_RESET, ioaddr);
ioaddr350drivers/net/znet.coutb(CMD0_STAT0, ioaddr);
ioaddr351drivers/net/znet.cif (inw(ioaddr) == 0x0010
ioaddr352drivers/net/znet.c&& inw(ioaddr) == 0x0000
ioaddr353drivers/net/znet.c&& inw(ioaddr) == 0x0010)
ioaddr394drivers/net/znet.coutb(CMD0_TRANSMIT + CMD0_CHNL_1,ioaddr);
ioaddr410drivers/net/znet.cint ioaddr;
ioaddr419drivers/net/znet.cioaddr = dev->base_addr;
ioaddr421drivers/net/znet.coutb(CMD0_STAT0, ioaddr);
ioaddr423drivers/net/znet.cushort status = inb(ioaddr);
ioaddr426drivers/net/znet.coutb(CMD0_STAT1, ioaddr);
ioaddr427drivers/net/znet.cresult = inw(ioaddr);
ioaddr428drivers/net/znet.coutb(CMD0_STAT2, ioaddr);
ioaddr429drivers/net/znet.crx_ptr = inw(ioaddr);
ioaddr430drivers/net/znet.coutb(CMD0_STAT3, ioaddr);
ioaddr431drivers/net/znet.crunning = inb(ioaddr);
ioaddr441drivers/net/znet.coutb(CMD0_STAT1, ioaddr);
ioaddr442drivers/net/znet.ctx_status = inw(ioaddr);
ioaddr465drivers/net/znet.coutb(CMD0_ACK,ioaddr);
ioaddr475drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr481drivers/net/znet.coutb(CMD0_STAT2, ioaddr);
ioaddr482drivers/net/znet.ccur_frame_end_offset = inw(ioaddr);
ioaddr595drivers/net/znet.cupdate_stop_hit(ioaddr, (zn.rx_cur - zn.rx_start)<<1);
ioaddr611drivers/net/znet.cint ioaddr = dev->base_addr;
ioaddr616drivers/net/znet.coutb(CMD0_RESET, ioaddr);      /* CMD0_RESET */
ioaddr656drivers/net/znet.cshort ioaddr = dev->base_addr;
ioaddr673drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr679drivers/net/znet.coutb(CMD0_MULTICAST_LIST+CMD0_CHNL_1, ioaddr);
ioaddr698drivers/net/znet.cshort ioaddr = dev->base_addr;
ioaddr704drivers/net/znet.coutb(CMD0_RESET, ioaddr);
ioaddr729drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr730drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr734drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr735drivers/net/znet.coutb(CMD0_CONFIGURE+CMD0_CHNL_1, ioaddr);
ioaddr739drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr740drivers/net/znet.coutb(CMD0_IA_SETUP + CMD0_CHNL_1, ioaddr);
ioaddr741drivers/net/znet.cprintk("stat:%02x ", inb(ioaddr)); show_dma();
ioaddr743drivers/net/znet.cupdate_stop_hit(ioaddr, 8192);
ioaddr745drivers/net/znet.coutb(CMD0_Rx_ENABLE+CMD0_CHNL_0, ioaddr);
ioaddr749drivers/net/znet.cstatic void update_stop_hit(short ioaddr, unsigned short rx_stop_offset)
ioaddr751drivers/net/znet.coutb(CMD0_PORT_1, ioaddr);
ioaddr755drivers/net/znet.coutb((rx_stop_offset >> 6) | 0x80, ioaddr);
ioaddr756drivers/net/znet.coutb(CMD1_PORT_0, ioaddr);
ioaddr176drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
ioaddr191drivers/sound/dev_table.cioaddr = (val & 0x000fff00) >> 8;
ioaddr208drivers/sound/dev_table.csnd_installed_cards[ptr].config.io_base = ioaddr;
ioaddr217drivers/sound/dev_table.csound_chconf (int card_type, int ioaddr, int irq, int dma)
ioaddr234drivers/sound/dev_table.cif (ioaddr)
ioaddr235drivers/sound/dev_table.csnd_installed_cards[ptr].config.io_base = ioaddr;
ioaddr341drivers/sound/dev_table.hvoid sound_chconf(int card_type, int ioaddr, int irq, int dma);
ioaddr179drivers/sound/opl3.copl3_detect (int ioaddr)
ioaddr203drivers/sound/opl3.cioaddr = left_address;
ioaddr205drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);  /*
ioaddr212drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);  /*
ioaddr218drivers/sound/opl3.cstat1 = INB (ioaddr);    /*
ioaddr229drivers/sound/opl3.copl3_command (ioaddr, TIMER1_REGISTER, 0xff);  /*
ioaddr233drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER,
ioaddr247drivers/sound/opl3.cstat2 = INB (ioaddr);    /*
ioaddr255drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);  /*
ioaddr262drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);  /*
ioaddr280drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /*
ioaddr284drivers/sound/opl3.copl3_command (ioaddr, TEST_REGISTER, ENABLE_WAVE_SELECT);
ioaddr285drivers/sound/opl3.copl3_command (ioaddr, PERCUSSION_REGISTER, 0x00);  /*
ioaddr309drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
ioaddr476drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);  /*
ioaddr480drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);  /*
ioaddr532drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);
ioaddr533drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);
ioaddr534drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], vol3);
ioaddr535drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], vol4);
ioaddr566drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], 0xff);  /*
ioaddr571drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], 0xff);  /*
ioaddr578drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], 0xff);
ioaddr579drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], 0xff);
ioaddr582drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, 0x00);  /*
ioaddr611drivers/sound/opl3.cvoice_shift = (map->ioaddr == left_address) ? 0 : 3;
ioaddr632drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[0], instr->operators[0]);
ioaddr633drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[1], instr->operators[1]);
ioaddr638drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]);
ioaddr639drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]);
ioaddr644drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]);
ioaddr645drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]);
ioaddr650drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]);
ioaddr651drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]);
ioaddr661drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num,
ioaddr674drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]);
ioaddr675drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]);
ioaddr680drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]);
ioaddr681drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]);
ioaddr686drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]);
ioaddr687drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]);
ioaddr692drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]);
ioaddr693drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]);
ioaddr703drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num + 3, fpc);
ioaddr729drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr733drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr735drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data);
ioaddr826drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr829drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr834drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr837drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr929drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[cell-1], tmp);}
ioaddr1029drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr1040drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr1188drivers/sound/opl3.cif (physical_voices[i].ioaddr == USE_LEFT)
ioaddr1189drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
ioaddr1191drivers/sound/opl3.cphysical_voices[i].ioaddr = right_address;
ioaddr1215drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
ioaddr213drivers/sound/opl3.hunsigned short ioaddr; /* I/O port (left or right side) */
ioaddr62drivers/sound/pas2_card.cpas_read (int ioaddr)
ioaddr64drivers/sound/pas2_card.creturn INB (ioaddr ^ translat_code);
ioaddr68drivers/sound/pas2_card.cpas_write (unsigned char data, int ioaddr)
ioaddr70drivers/sound/pas2_card.cOUTB (data, ioaddr ^ translat_code);
ioaddr146drivers/sound/sound_calls.hint opl3_detect (int ioaddr);
ioaddr162drivers/sound/sound_calls.hunsigned char pas_read(int ioaddr);
ioaddr163drivers/sound/sound_calls.hvoid pas_write(unsigned char data, int ioaddr);
ioaddr100include/linux/kd.hushort ioaddr[MKDIOADDR];  /* valid i/o addresses */