taglinefilesource code
ioaddr138drivers/net/3c501.cint ioaddr;
ioaddr148drivers/net/3c501.cioaddr = el_base;
ioaddr152drivers/net/3c501.coutw(i, ioaddr + EL1_DATAPTR);
ioaddr153drivers/net/3c501.cstation_addr[i] = inb(ioaddr + EL1_SAPROM);
ioaddr163drivers/net/3c501.csnarf_region(ioaddr, 16);
ioaddr343drivers/net/3c501.cshort ioaddr;
ioaddr350drivers/net/3c501.cioaddr = dev->base_addr;
ioaddr370drivers/net/3c501.cinw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR));
ioaddr507drivers/net/3c501.cint ioaddr = dev->base_addr;
ioaddr510drivers/net/3c501.cprintk("%s: Shutting down ethercard at %#x.\n", dev->name, ioaddr);
ioaddr35drivers/net/3c503.cint el2probe1(int ioaddr, struct device *dev);
ioaddr61drivers/net/3c503.cshort ioaddr = dev->base_addr;
ioaddr63drivers/net/3c503.cif (ioaddr < 0)
ioaddr65drivers/net/3c503.cif (ioaddr > 0)
ioaddr66drivers/net/3c503.creturn ! el2probe1(ioaddr, dev);
ioaddr116drivers/net/3c503.cel2probe1(int ioaddr, struct device *dev)
ioaddr123drivers/net/3c503.cprintk("3c503 probe at %#3x:", ioaddr);
ioaddr124drivers/net/3c503.ciobase_reg = inb(ioaddr+0x403);
ioaddr125drivers/net/3c503.cmembase_reg = inb(ioaddr+0x404);
ioaddr132drivers/net/3c503.csaved_406 = inb_p(ioaddr + 0x406);
ioaddr133drivers/net/3c503.coutb_p(ECNTRL_RESET|ECNTRL_THIN, ioaddr + 0x406); /* Reset it... */
ioaddr134drivers/net/3c503.coutb_p(ECNTRL_THIN, ioaddr + 0x406);
ioaddr136drivers/net/3c503.coutb(ECNTRL_SAPROM|ECNTRL_THIN, ioaddr + 0x406);
ioaddr138drivers/net/3c503.cprintk(" %2.2X", (station_addr[i] = inb(ioaddr + i)));
ioaddr145drivers/net/3c503.coutb(saved_406, ioaddr + 0x406);
ioaddr150drivers/net/3c503.csnarf_region(ioaddr, 16);
ioaddr155drivers/net/3c503.coutb(ECNTRL_THIN, ioaddr + 0x406);
ioaddr156drivers/net/3c503.cdev->base_addr = ioaddr;
ioaddr159drivers/net/3c503.coutb(EGACFR_NORM, ioaddr + 0x405);  /* Enable RAM */
ioaddr236drivers/net/3c503.creturn ioaddr;
ioaddr277drivers/net/3c507.cstatic int  el16_probe1(struct device *dev, short ioaddr);
ioaddr319drivers/net/3c507.cshort ioaddr = *port;
ioaddr322drivers/net/3c507.cif (inb(ioaddr) == '*' && inb(ioaddr+1) == '3'
ioaddr323drivers/net/3c507.c&& inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O'
ioaddr330drivers/net/3c507.cres[0] = inb(ioaddr); res[1] = inb(ioaddr+1);
ioaddr331drivers/net/3c507.cres[2] = inb(ioaddr+2); res[3] = inb(ioaddr+3);
ioaddr343drivers/net/3c507.cint el16_probe1(struct device *dev, short ioaddr)
ioaddr347drivers/net/3c507.cprintk("%s: 3c507 at %#x,", dev->name, ioaddr);
ioaddr352drivers/net/3c507.cirq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr361drivers/net/3c507.csnarf_region(ioaddr, 16);
ioaddr362drivers/net/3c507.cdev->base_addr = ioaddr;
ioaddr364drivers/net/3c507.coutb(0x01, ioaddr + MISC_CTRL);
ioaddr366drivers/net/3c507.cdev->dev_addr[i] = inb(ioaddr + i);
ioaddr380drivers/net/3c507.cchar mem_config = inb(ioaddr + MEM_CONFIG);
ioaddr394drivers/net/3c507.cdev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0;
ioaddr395drivers/net/3c507.cdev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
ioaddr462drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr484drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr516drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr520drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr539drivers/net/3c507.cint ioaddr, status, boguscount = 0;
ioaddr549drivers/net/3c507.cioaddr = dev->base_addr;
ioaddr560drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr623drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);      /* Issue channel-attn. */
ioaddr626drivers/net/3c507.coutb(0, ioaddr + RESET_IRQ);
ioaddr629drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr637drivers/net/3c507.cint ioaddr = dev->base_addr;
ioaddr645drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr648drivers/net/3c507.coutb(0x80, ioaddr + MISC_CTRL);
ioaddr723drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr728drivers/net/3c507.coutb(0x20, ioaddr + MISC_CTRL);
ioaddr751drivers/net/3c507.coutb(0xA0, ioaddr + MISC_CTRL);
ioaddr755drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr767drivers/net/3c507.coutb(0, ioaddr + SIGNAL_CA);
ioaddr771drivers/net/3c507.coutb(0x84, ioaddr + MISC_CTRL);
ioaddr782drivers/net/3c507.cshort ioaddr = dev->base_addr;
ioaddr817drivers/net/3c507.cdev->name, ioaddr, length, tx_block, lp->tx_head);
ioaddr57drivers/net/3c509.c#define EL3WINDOW(win_num) outw(0x0800+(win_num), ioaddr + EL3_CMD)
ioaddr74drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index);
ioaddr91drivers/net/3c509.cushort ioaddr, irq, if_port;
ioaddr97drivers/net/3c509.cfor (ioaddr = 0x1000; ioaddr < 0x9000; ioaddr += 0x1000) {
ioaddr98drivers/net/3c509.cif (inw(ioaddr) != 0x6d50)
ioaddr101drivers/net/3c509.cirq = inw(ioaddr + 8) >> 12;
ioaddr102drivers/net/3c509.cif_port = inw(ioaddr + 6)>>14;
ioaddr104drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
ioaddr108drivers/net/3c509.cread_eeprom(ioaddr, 7);
ioaddr120drivers/net/3c509.cioaddr = mca_pos_base_addr(i);
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));
ioaddr163drivers/net/3c509.cioaddr = 0x200 + ((iobase & 0x1f) << 4);
ioaddr171drivers/net/3c509.c&&  dev->base_addr != (unsigned short)ioaddr) {
ioaddr182drivers/net/3c509.cif (inw(ioaddr) != 0x6d50)
ioaddr186drivers/net/3c509.cdev->base_addr = ioaddr;
ioaddr250drivers/net/3c509.cstatic ushort read_eeprom(short ioaddr, int index)
ioaddr254drivers/net/3c509.coutw(EEPROM_READ + index, ioaddr + 10);
ioaddr258drivers/net/3c509.creturn inw(ioaddr + 12);
ioaddr288drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr298drivers/net/3c509.cdev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS));
ioaddr301drivers/net/3c509.coutw(0x0001, ioaddr + 4);
ioaddr306drivers/net/3c509.coutw((dev->irq << 12) | 0x0f00, ioaddr + 8);
ioaddr312drivers/net/3c509.coutb(dev->dev_addr[i], ioaddr + i);
ioaddr316drivers/net/3c509.coutw(0x1000, ioaddr + EL3_CMD);
ioaddr320drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr326drivers/net/3c509.coutw(0x8005, ioaddr + EL3_CMD); /* Accept b-case and phys addr only. */
ioaddr327drivers/net/3c509.coutw(0xA800, ioaddr + EL3_CMD); /* Turn on statistics. */
ioaddr328drivers/net/3c509.coutw(0x2000, ioaddr + EL3_CMD); /* Enable the receiver. */
ioaddr329drivers/net/3c509.coutw(0x4800, ioaddr + EL3_CMD); /* Enable transmitter. */
ioaddr330drivers/net/3c509.coutw(0x78ff, ioaddr + EL3_CMD); /* Allow all status bits to be seen. */
ioaddr334drivers/net/3c509.coutw(0x7098, ioaddr + EL3_CMD); /* Set interrupt mask. */
ioaddr338drivers/net/3c509.cdev->name, dev->irq, inw(ioaddr + EL3_STATUS));
ioaddr347drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr355drivers/net/3c509.cdev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS));
ioaddr358drivers/net/3c509.coutw(0x5800, ioaddr + EL3_CMD); /* TX_RESET */
ioaddr359drivers/net/3c509.coutw(0x4800, ioaddr + EL3_CMD); /* TX_START */
ioaddr381drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
ioaddr385drivers/net/3c509.cushort status = inw(ioaddr + EL3_STATUS);
ioaddr387drivers/net/3c509.c&& inw(ioaddr + EL3_STATUS) & 1) {       /* Make sure. */
ioaddr390drivers/net/3c509.cinw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS),
ioaddr391drivers/net/3c509.cinw(ioaddr + RX_STATUS));
ioaddr392drivers/net/3c509.coutw(0x7800, ioaddr + EL3_CMD); /* Fake interrupt trigger. */
ioaddr393drivers/net/3c509.coutw(0x6899, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr394drivers/net/3c509.coutw(0x78ff, ioaddr + EL3_CMD); /* Set all status bits visible. */
ioaddr404drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
ioaddr405drivers/net/3c509.coutw(0x00, ioaddr + TX_FIFO);
ioaddr407drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
ioaddr410drivers/net/3c509.cif (inw(ioaddr + TX_FREE) > 1536) {
ioaddr414drivers/net/3c509.coutw(0x9000 + 1536, ioaddr + EL3_CMD);
ioaddr425drivers/net/3c509.cwhile (--i > 0  &&  (tx_status = inb(ioaddr + TX_STATUS)) > 0) {
ioaddr429drivers/net/3c509.cif (tx_status & 0x30) outw(0x5800, ioaddr + EL3_CMD);
ioaddr430drivers/net/3c509.cif (tx_status & 0x3C) outw(0x4800, ioaddr + EL3_CMD);
ioaddr431drivers/net/3c509.coutb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */
ioaddr443drivers/net/3c509.cint ioaddr, status;
ioaddr455drivers/net/3c509.cioaddr = dev->base_addr;
ioaddr456drivers/net/3c509.cstatus = inw(ioaddr + EL3_STATUS);
ioaddr461drivers/net/3c509.cwhile ((status = inw(ioaddr + EL3_STATUS)) & 0x01) {
ioaddr470drivers/net/3c509.coutw(0x6808, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr475drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr481drivers/net/3c509.coutw(0x68FF, ioaddr + EL3_CMD);
ioaddr485drivers/net/3c509.coutw(0x6891, ioaddr + EL3_CMD); /* Ack IRQ */
ioaddr490drivers/net/3c509.cinw(ioaddr + EL3_STATUS));
ioaddr514drivers/net/3c509.cstatic void update_stats(int ioaddr, struct device *dev)
ioaddr521drivers/net/3c509.coutw(0xB000, ioaddr + EL3_CMD);
ioaddr524drivers/net/3c509.clp->stats.tx_carrier_errors   += inb(ioaddr + 0);
ioaddr525drivers/net/3c509.clp->stats.tx_heartbeat_errors  += inb(ioaddr + 1);
ioaddr526drivers/net/3c509.c/* Multiple collisions. */       inb(ioaddr + 2);
ioaddr527drivers/net/3c509.clp->stats.collisions      += inb(ioaddr + 3);
ioaddr528drivers/net/3c509.clp->stats.tx_window_errors    += inb(ioaddr + 4);
ioaddr529drivers/net/3c509.clp->stats.rx_fifo_errors    += inb(ioaddr + 5);
ioaddr530drivers/net/3c509.clp->stats.tx_packets      += inb(ioaddr + 6);
ioaddr531drivers/net/3c509.clp->stats.rx_packets      += inb(ioaddr + 7);
ioaddr532drivers/net/3c509.c/* Tx deferrals */        inb(ioaddr + 8);
ioaddr533drivers/net/3c509.cinw(ioaddr + 10);  /* Total Rx and Tx octets. */
ioaddr534drivers/net/3c509.cinw(ioaddr + 12);
ioaddr538drivers/net/3c509.coutw(0xA800, ioaddr + EL3_CMD);
ioaddr546drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr551drivers/net/3c509.cinw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS));
ioaddr552drivers/net/3c509.cwhile ((rx_status = inw(ioaddr + RX_STATUS)) > 0) {
ioaddr582drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb->data,
ioaddr587drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr595drivers/net/3c509.cinb(ioaddr + EL3_STATUS));
ioaddr596drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr597drivers/net/3c509.cwhile (inw(ioaddr + EL3_STATUS) & 0x1000)
ioaddr599drivers/net/3c509.cinw(ioaddr + EL3_STATUS) );
ioaddr602drivers/net/3c509.cinb(ioaddr + EL3_STATUS));
ioaddr614drivers/net/3c509.coutw(0x4000, ioaddr + EL3_CMD); /* Rx discard */
ioaddr615drivers/net/3c509.cwhile (inw(ioaddr + EL3_STATUS) & 0x1000)
ioaddr617drivers/net/3c509.cinw(ioaddr + EL3_STATUS) );
ioaddr622drivers/net/3c509.cinw(ioaddr+EL3_STATUS), inw(ioaddr+8));
ioaddr637drivers/net/3c509.cshort ioaddr = dev->base_addr;
ioaddr639drivers/net/3c509.coutw(0x8007, ioaddr + EL3_CMD);
ioaddr641drivers/net/3c509.coutw(0x8008, ioaddr + EL3_CMD);
ioaddr643drivers/net/3c509.coutw(0x8005, ioaddr + EL3_CMD);
ioaddr650drivers/net/3c509.cint ioaddr = dev->base_addr;
ioaddr659drivers/net/3c509.coutw(0xB000, ioaddr + EL3_CMD);
ioaddr662drivers/net/3c509.coutw(0x1800, ioaddr + EL3_CMD);
ioaddr663drivers/net/3c509.coutw(0x5000, ioaddr + EL3_CMD);
ioaddr667drivers/net/3c509.coutw(0xb800, ioaddr + EL3_CMD);
ioaddr671drivers/net/3c509.coutw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA);
ioaddr678drivers/net/3c509.coutw(0x0f00, ioaddr + 8);
ioaddr683drivers/net/3c509.cupdate_stats(ioaddr, dev);
ioaddr546drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr550drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ioaddr551drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ioaddr552drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ioaddr566drivers/net/8390.cshort ioaddr = dev->base_addr;
ioaddr571drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x08, ioaddr + EN0_RXCR);
ioaddr573drivers/net/8390.coutb_p(E8390_RXCONFIG | 0x10, ioaddr + EN0_RXCR);
ioaddr575drivers/net/8390.coutb_p(E8390_RXCONFIG, ioaddr + EN0_RXCR);
ioaddr116drivers/net/at1700.cstatic int at1700_probe1(struct device *dev, short ioaddr);
ioaddr117drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location);
ioaddr147drivers/net/at1700.cint ioaddr = *port;
ioaddr148drivers/net/at1700.cif (check_region(ioaddr, 32))
ioaddr150drivers/net/at1700.cif (at1700_probe1(dev, ioaddr) == 0)
ioaddr165drivers/net/at1700.cint at1700_probe1(struct device *dev, short ioaddr)
ioaddr177drivers/net/at1700.cif ((inw(ioaddr + 2*i) | signature_invalid[i]) != signature[i]) {
ioaddr180drivers/net/at1700.ci, inw(ioaddr + 2*i), signature[i]);
ioaddr183drivers/net/at1700.cif (read_eeprom(ioaddr, 4) != 0x0000
ioaddr184drivers/net/at1700.c|| read_eeprom(ioaddr, 5) & 0x00ff != 0x00F4)
ioaddr189drivers/net/at1700.csnarf_region(ioaddr, 32);
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);
ioaddr202drivers/net/at1700.cioaddr, irq);
ioaddr204drivers/net/at1700.cdev->base_addr = ioaddr;
ioaddr209drivers/net/at1700.cunsigned short eeprom_val = read_eeprom(ioaddr, 4+i);
ioaddr222drivers/net/at1700.cushort setup_value = read_eeprom(ioaddr, 12);
ioaddr230drivers/net/at1700.coutb(0xe0, ioaddr + 7);
ioaddr232drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr235drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr237drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr241drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr244drivers/net/at1700.coutb(0xe8, ioaddr + 7);
ioaddr248drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr295drivers/net/at1700.cstatic int read_eeprom(int ioaddr, int location)
ioaddr299drivers/net/at1700.cshort ee_addr = ioaddr + EEPROM_Ctrl;
ioaddr300drivers/net/at1700.cshort ee_daddr = ioaddr + EEPROM_Data;
ioaddr339drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr343drivers/net/at1700.coutb(0xe0, ioaddr + CONFIG_1);
ioaddr347drivers/net/at1700.coutb(dev->dev_addr[i], ioaddr + 8 + i);
ioaddr350drivers/net/at1700.coutb(0xe4, ioaddr + 7);
ioaddr352drivers/net/at1700.coutb(0x00, ioaddr + 8 + i);
ioaddr356drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr359drivers/net/at1700.coutb(0x5a, ioaddr + CONFIG_0);
ioaddr361drivers/net/at1700.coutb(0xe8, ioaddr + CONFIG_1);
ioaddr364drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr365drivers/net/at1700.coutb(0x81, ioaddr + RX_INTR);
ioaddr380drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr389drivers/net/at1700.cinw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80
ioaddr392drivers/net/at1700.cdev->name, inw(ioaddr + 0), inw(ioaddr + 2), inw(ioaddr + 4),
ioaddr393drivers/net/at1700.cinw(ioaddr + 6), inw(ioaddr + 8), inw(ioaddr + 10),
ioaddr394drivers/net/at1700.cinw(ioaddr + 12), inw(ioaddr + 14));
ioaddr397drivers/net/at1700.coutw(0xffff, ioaddr + 24);
ioaddr398drivers/net/at1700.coutw(0xffff, ioaddr + TX_STATUS);
ioaddr399drivers/net/at1700.coutw(0xe85a, ioaddr + CONFIG_0);
ioaddr400drivers/net/at1700.coutw(0x8100, ioaddr + TX_INTR);
ioaddr431drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr433drivers/net/at1700.coutw(length, ioaddr + DATAPORT);
ioaddr434drivers/net/at1700.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr441drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr450drivers/net/at1700.coutb(0x82, ioaddr + TX_INTR);
ioaddr466drivers/net/at1700.cint ioaddr, status;
ioaddr474drivers/net/at1700.cioaddr = dev->base_addr;
ioaddr476drivers/net/at1700.cstatus = inw(ioaddr + TX_STATUS);
ioaddr477drivers/net/at1700.coutw(status, ioaddr + TX_STATUS);
ioaddr482drivers/net/at1700.c||  (inb(ioaddr + RX_MODE) & 0x40) == 0) {      /* Got a packet(s). */
ioaddr489drivers/net/at1700.coutb(0x80 | lp->tx_queue, ioaddr + TX_START);
ioaddr498drivers/net/at1700.coutb(0x00, ioaddr + TX_INTR);
ioaddr512drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr515drivers/net/at1700.cwhile ((inb(ioaddr + RX_MODE) & 0x40) == 0) {
ioaddr516drivers/net/at1700.cushort status = inw(ioaddr + DATAPORT);
ioaddr520drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), status);
ioaddr523drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr535drivers/net/at1700.cushort pkt_len = inw(ioaddr + DATAPORT);
ioaddr543drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr551drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr560drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb->data, (pkt_len + 1) >> 1);
ioaddr592drivers/net/at1700.cif ((inb(ioaddr + RX_MODE) & 0x40) == 0x40)
ioaddr594drivers/net/at1700.coutb(0x05, ioaddr + 14);
ioaddr599drivers/net/at1700.cdev->name, inb(ioaddr + RX_MODE), i);
ioaddr608drivers/net/at1700.cint ioaddr = dev->base_addr;
ioaddr616drivers/net/at1700.coutb(0xda, ioaddr + CONFIG_0);
ioaddr621drivers/net/at1700.coutb(0x00, ioaddr + CONFIG_1);
ioaddr650drivers/net/at1700.cshort ioaddr = dev->base_addr;
ioaddr652drivers/net/at1700.coutw(3, ioaddr + RX_MODE);  /* Enable promiscuous mode */
ioaddr654drivers/net/at1700.coutw(2, ioaddr + RX_MODE);  /* Disable promiscuous, use normal mode */
ioaddr117drivers/net/atp.c#define check_region(ioaddr, size)    0
ioaddr118drivers/net/atp.c#define snarf_region(ioaddr, size);    do ; while (0)
ioaddr134drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr);
ioaddr137drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
ioaddr140drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int mode);
ioaddr141drivers/net/atp.cstatic void trigger_send(short ioaddr, int length);
ioaddr145drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode);
ioaddr171drivers/net/atp.cint ioaddr = *port;
ioaddr172drivers/net/atp.coutb(0x57, ioaddr + PAR_DATA);
ioaddr173drivers/net/atp.cif (inb(ioaddr + PAR_DATA) != 0x57)
ioaddr175drivers/net/atp.cif (atp_probe1(dev, ioaddr) == 0)
ioaddr182drivers/net/atp.cstatic int atp_probe1(struct device *dev, short ioaddr)
ioaddr186drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr189drivers/net/atp.csaved_ctrl_reg = inb(ioaddr + PAR_CONTROL);
ioaddr191drivers/net/atp.coutb(0x04, ioaddr + PAR_CONTROL);
ioaddr192drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr194drivers/net/atp.cstatus = read_nibble(ioaddr, CMR1);
ioaddr198drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr201drivers/net/atp.cstatus = read_nibble(ioaddr, CMR2_h);
ioaddr203drivers/net/atp.coutb(saved_ctrl_reg, ioaddr + PAR_CONTROL);
ioaddr207drivers/net/atp.cwrite_reg_byte(ioaddr, CMR2, 0x01);      /* No accept mode, IRQ out. */
ioaddr208drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);  /* Enable Tx and Rx. */
ioaddr211drivers/net/atp.cif (ioaddr == 0x378)
ioaddr215drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_TxRxOFF); /* Diable Tx and Rx units. */
ioaddr216drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr218drivers/net/atp.cdev->base_addr = ioaddr;
ioaddr229drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr296drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr300drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_EEPROM);    /* Point to the EEPROM control registers. */
ioaddr304drivers/net/atp.cif (eeprom_op(ioaddr, EE_READ(0)) == 0xffff)
ioaddr309drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
ioaddr311drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr326drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
ioaddr333drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW);
ioaddr335drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH);
ioaddr337drivers/net/atp.cif (read_nibble(ioaddr, PROM_DATA) & EE_DATA_READ)
ioaddr341drivers/net/atp.cwrite_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS);
ioaddr378drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr381drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr384drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr386drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr390drivers/net/atp.c(read_nibble(ioaddr, CMR2_h) >> 3) & 0x0f);
ioaddr393drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr394drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE);
ioaddr397drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr400drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr401drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr411drivers/net/atp.cstatic void trigger_send(short ioaddr, int length)
ioaddr413drivers/net/atp.cwrite_reg_byte(ioaddr, TxCNT0, length & 0xff);
ioaddr414drivers/net/atp.cwrite_reg(ioaddr, TxCNT1, length >> 8);
ioaddr415drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_Xmit);
ioaddr418drivers/net/atp.cstatic void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode)
ioaddr421drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr424drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr426drivers/net/atp.cwrite_byte_mode0(ioaddr, *packet++);
ioaddr432drivers/net/atp.coutb(Ctrl_LNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr433drivers/net/atp.coutb(WrAddr+MAR, ioaddr + PAR_DATA);
ioaddr435drivers/net/atp.coutb((outbyte & 0x0f)|0x40, ioaddr + PAR_DATA);
ioaddr436drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr438drivers/net/atp.coutb(outbyte & 0x0f, ioaddr + PAR_DATA);
ioaddr439drivers/net/atp.coutb(Ctrl_HNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr441drivers/net/atp.cwrite_byte_mode1(ioaddr, *packet++);
ioaddr444drivers/net/atp.coutb(0xff, ioaddr + PAR_DATA);
ioaddr445drivers/net/atp.coutb(Ctrl_HNibWrite | Ctrl_SelData | Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr452drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr461drivers/net/atp.cinb(ioaddr + PAR_CONTROL) & 0x10 ? "network cable problem"
ioaddr500drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr501drivers/net/atp.cwrite_reg_high(ioaddr, IMR, 0);
ioaddr504drivers/net/atp.cwrite_packet(ioaddr, length, buf, dev->if_port);
ioaddr508drivers/net/atp.ctrigger_send(ioaddr, length);
ioaddr517drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr518drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);
ioaddr535drivers/net/atp.cint ioaddr, status, boguscount = 20;
ioaddr544drivers/net/atp.cioaddr = dev->base_addr;
ioaddr548drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr551drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_NULL);
ioaddr552drivers/net/atp.cwrite_reg(ioaddr, IMR, 0);
ioaddr556drivers/net/atp.cstatus = read_nibble(ioaddr, ISR);
ioaddr560drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_RxOK); /* Clear the Rx interrupt. */
ioaddr562drivers/net/atp.cint read_status = read_nibble(ioaddr, CMR1);
ioaddr570drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr573drivers/net/atp.cwrite_reg_high(ioaddr, ISR, ISRh_RxErr);
ioaddr574drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, lp->addr_mode);
ioaddr586drivers/net/atp.cwrite_reg(ioaddr, ISR, ISR_TxErr + ISR_TxOK);
ioaddr596drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_ReXmit + CMR1_Xmit);
ioaddr602drivers/net/atp.ctrigger_send(ioaddr, lp->saved_tx_size);
ioaddr617drivers/net/atp.c(read_nibble(ioaddr, CMR1) >> 3) & 15);
ioaddr631drivers/net/atp.cwrite_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]);
ioaddr635drivers/net/atp.cwrite_reg(ioaddr, CMR2, CMR2_IRQOUT);
ioaddr637drivers/net/atp.coutb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL);
ioaddr639drivers/net/atp.cwrite_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK);
ioaddr640drivers/net/atp.cwrite_reg_high(ioaddr, IMR, ISRh_RxErr);       /* Hmmm, really needed? */
ioaddr653drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr661drivers/net/atp.coutb(EOC+MAR, ioaddr + PAR_DATA);
ioaddr662drivers/net/atp.cread_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port);
ioaddr691drivers/net/atp.cread_block(ioaddr, pkt_len, skb->data, dev->if_port);
ioaddr715drivers/net/atp.cwrite_reg(ioaddr, CMR1, CMR1_NextPkt);
ioaddr719drivers/net/atp.cstatic void read_block(short ioaddr, int length, unsigned char *p, int data_mode)
ioaddr723drivers/net/atp.coutb(Ctrl_LNibRead, ioaddr + PAR_CONTROL);
ioaddr725drivers/net/atp.cioaddr + PAR_DATA);
ioaddr727drivers/net/atp.cdo  *p++ = read_byte_mode0(ioaddr);  while (--length > 0);
ioaddr729drivers/net/atp.cdo  *p++ = read_byte_mode2(ioaddr);  while (--length > 0);
ioaddr731drivers/net/atp.cdo      *p++ = read_byte_mode4(ioaddr);  while (--length > 0);
ioaddr733drivers/net/atp.cdo      *p++ = read_byte_mode6(ioaddr);  while (--length > 0);
ioaddr735drivers/net/atp.coutb(EOC+HNib+MAR, ioaddr + PAR_DATA);
ioaddr736drivers/net/atp.coutb(Ctrl_SelData, ioaddr + PAR_CONTROL);
ioaddr744drivers/net/atp.cint ioaddr = dev->base_addr;
ioaddr751drivers/net/atp.cwrite_reg_high(ioaddr, CMR2, CMR2h_OFF);
ioaddr754drivers/net/atp.coutb(0x00, ioaddr + PAR_CONTROL);
ioaddr759drivers/net/atp.cwrite_reg_high(ioaddr, CMR1, CMR1h_RESET);
ioaddr784drivers/net/atp.cshort ioaddr = dev->base_addr;
ioaddr786drivers/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);
ioaddr265drivers/net/depca.cstatic int depca_probe1(struct device *dev, short ioaddr);
ioaddr273drivers/net/depca.cstatic int DevicePresent(short ioaddr);
ioaddr305drivers/net/depca.cint ioaddr = *port;
ioaddr308drivers/net/depca.cif (check_region(ioaddr, DEPCA_TOTAL_SIZE))
ioaddr346drivers/net/depca.cdev->base_addr = ioaddr; /* assign the io address */
ioaddr352drivers/net/depca.cstatus = depca_probe1(dev, ioaddr);
ioaddr367drivers/net/depca.cdepca_probe1(struct device *dev, short ioaddr)
ioaddr408drivers/net/depca.cdev->base_addr = ioaddr;
ioaddr410drivers/net/depca.cprintk("%s: DEPCA at %#3x is a %s, ", dev->name, ioaddr, name);
ioaddr438drivers/net/depca.csnarf_region(ioaddr, DEPCA_TOTAL_SIZE);
ioaddr637drivers/net/depca.cint i,nicsr,ioaddr = dev->base_addr;
ioaddr757drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr916drivers/net/depca.cint csr0, ioaddr, nicsr;
ioaddr923drivers/net/depca.cioaddr = dev->base_addr;
ioaddr1086drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1114drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1128drivers/net/depca.cint ioaddr = dev->base_addr;
ioaddr1174drivers/net/depca.cshort ioaddr = dev->base_addr;
ioaddr1283drivers/net/depca.cstatic int DevicePresent(short ioaddr)
ioaddr1321drivers/net/depca.cdata = inb(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_PROM  ioaddr+0x0c   /* Ethernet address ROM data port */
ioaddr18drivers/net/depca.h#define DEPCA_RBSA  ioaddr+0x0e   /* RAM buffer starting address (2k buff.) */
ioaddr288drivers/net/eexpress.cstatic int  eexp_probe1(struct device *dev, short ioaddr);
ioaddr299drivers/net/eexpress.cstatic int read_eeprom(int ioaddr, int location);
ioaddr345drivers/net/eexpress.cint eexp_probe1(struct device *dev, short ioaddr)
ioaddr350drivers/net/eexpress.cprintk("%s: EtherExpress at %#x,", dev->name, ioaddr);
ioaddr354drivers/net/eexpress.cstation_addr[0] = read_eeprom(ioaddr, 2);
ioaddr355drivers/net/eexpress.cstation_addr[1] = read_eeprom(ioaddr, 3);
ioaddr356drivers/net/eexpress.cstation_addr[2] = read_eeprom(ioaddr, 4);
ioaddr366drivers/net/eexpress.csnarf_region(ioaddr, 16);
ioaddr367drivers/net/eexpress.cdev->base_addr = ioaddr;
ioaddr380drivers/net/eexpress.cunsigned short setupval = read_eeprom(ioaddr, 0);
ioaddr384drivers/net/eexpress.cread_eeprom(ioaddr, 5) & 0x1 ? TP : BNC;
ioaddr388drivers/net/eexpress.coutb(0x00, ioaddr + SET_IRQ);
ioaddr392drivers/net/eexpress.coutb(ASIC_RESET, ioaddr + EEPROM_Ctrl);
ioaddr449drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr465drivers/net/eexpress.coutb(irqrmap[dev->irq] | 0x08, ioaddr + SET_IRQ);
ioaddr477drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr487drivers/net/eexpress.cinw(ioaddr+SCB_STATUS) & 0x8000 ? "IRQ conflict" :
ioaddr498drivers/net/eexpress.coutw(0xf000|CUC_START|RX_START, ioaddr + SCB_CMD);
ioaddr499drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr531drivers/net/eexpress.coutb(irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr535drivers/net/eexpress.coutb(0x08 | irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr555drivers/net/eexpress.cint ioaddr, status, boguscount = 0;
ioaddr564drivers/net/eexpress.cioaddr = dev->base_addr;
ioaddr567drivers/net/eexpress.cstatus = inw(ioaddr + SCB_STATUS);
ioaddr574drivers/net/eexpress.coutb(irqrmap[dev->irq], ioaddr + SET_IRQ);
ioaddr579drivers/net/eexpress.coutw(lp->tx_reap, ioaddr + READ_PTR);
ioaddr580drivers/net/eexpress.ctx_status = inw(ioaddr);
ioaddr616drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr622drivers/net/eexpress.coutw(IDLELOOP, ioaddr + WRITE_PTR);
ioaddr623drivers/net/eexpress.coutw(0, ioaddr);
ioaddr624drivers/net/eexpress.coutw(CmdNOp, ioaddr);
ioaddr625drivers/net/eexpress.coutw(IDLELOOP, ioaddr);
ioaddr630drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
ioaddr635drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr646drivers/net/eexpress.coutw(cur_rxbuf, ioaddr + READ_PTR);
ioaddr648drivers/net/eexpress.cprintk(" %04x", inw(ioaddr));
ioaddr655drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
ioaddr659drivers/net/eexpress.coutw(ack_cmd, ioaddr + SCB_CMD);
ioaddr660drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr664drivers/net/eexpress.cinw(ioaddr + SCB_CMD));
ioaddr667drivers/net/eexpress.coutb(irqrmap[dev->irq] | 0x08, ioaddr + SET_IRQ);
ioaddr674drivers/net/eexpress.cint ioaddr = dev->base_addr;
ioaddr680drivers/net/eexpress.coutw(RX_SUSPEND | CUC_SUSPEND, ioaddr + SCB_CMD);
ioaddr681drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr684drivers/net/eexpress.coutb(0, ioaddr + SET_IRQ);
ioaddr717drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr724drivers/net/eexpress.coutw(SET_MC_CMD + 6, ioaddr + WRITE_PTR);
ioaddr725drivers/net/eexpress.coutw(num_addrs * 6, ioaddr);
ioaddr726drivers/net/eexpress.coutsw(ioaddr, addrs, num_addrs*3);    /* 3 = addr len in words */
ioaddr731drivers/net/eexpress.coutw(99, ioaddr);    /* Disable promiscuous mode, use normal mode */
ioaddr743drivers/net/eexpress.cread_eeprom(int ioaddr, int location)
ioaddr747drivers/net/eexpress.cshort ee_addr = ioaddr + EEPROM_Ctrl;
ioaddr784drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr788drivers/net/eexpress.coutb(inb(ioaddr + Config) | 0x02, ioaddr + Config);
ioaddr791drivers/net/eexpress.coutb(_586_RESET, ioaddr + EEPROM_Ctrl);
ioaddr794drivers/net/eexpress.coutw(0xfff6, ioaddr + WRITE_PTR);
ioaddr795drivers/net/eexpress.coutsw(ioaddr, init_words, sizeof(init_words)>>1);
ioaddr798drivers/net/eexpress.coutw(SA_OFFSET, ioaddr + WRITE_PTR);
ioaddr799drivers/net/eexpress.coutsw(ioaddr, dev->dev_addr, 3);
ioaddr812drivers/net/eexpress.coutb(0x00, ioaddr + EEPROM_Ctrl);
ioaddr816drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr820drivers/net/eexpress.cwhile (inw(ioaddr + SCB_STATUS) == 0)
ioaddr823drivers/net/eexpress.cdev->name, inw(ioaddr + SCB_STATUS), inw(ioaddr + SCB_CMD));
ioaddr827drivers/net/eexpress.coutb(0, ioaddr + SIGNAL_CA);
ioaddr831drivers/net/eexpress.coutb(inb(ioaddr + Config) & ~0x02, ioaddr + Config);
ioaddr834drivers/net/eexpress.cinw(ioaddr + SCB_STATUS));
ioaddr842drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr848drivers/net/eexpress.coutw(cur_rxbuf, ioaddr + WRITE_PTR);
ioaddr849drivers/net/eexpress.coutw(0x0000, ioaddr);         /* Status */
ioaddr850drivers/net/eexpress.coutw(0x0000, ioaddr);        /* Command */
ioaddr851drivers/net/eexpress.coutw(cur_rxbuf + RX_BUF_SIZE, ioaddr); /* Link */
ioaddr852drivers/net/eexpress.coutw(cur_rxbuf + 22, ioaddr);    /* Buffer offset */
ioaddr853drivers/net/eexpress.coutw(0xFeed, ioaddr);         /* Pad for dest addr. */
ioaddr854drivers/net/eexpress.coutw(0xF00d, ioaddr);
ioaddr855drivers/net/eexpress.coutw(0xF001, ioaddr);
ioaddr856drivers/net/eexpress.coutw(0x0505, ioaddr);         /* Pad for source addr. */
ioaddr857drivers/net/eexpress.coutw(0x2424, ioaddr);
ioaddr858drivers/net/eexpress.coutw(0x6565, ioaddr);
ioaddr859drivers/net/eexpress.coutw(0xdeaf, ioaddr);        /* Pad for protocol. */
ioaddr861drivers/net/eexpress.coutw(0x0000, ioaddr);        /* Buffer: Actual count */
ioaddr862drivers/net/eexpress.coutw(-1, ioaddr);          /* Buffer: Next (none). */
ioaddr863drivers/net/eexpress.coutw(cur_rxbuf + 0x20, ioaddr);    /* Buffer: Address low */
ioaddr864drivers/net/eexpress.coutw(0x0000, ioaddr);
ioaddr866drivers/net/eexpress.coutw(0x8000 + RX_BUF_SIZE-0x20, ioaddr);
ioaddr874drivers/net/eexpress.coutw(lp->rx_tail + 2, ioaddr + WRITE_PTR);
ioaddr875drivers/net/eexpress.coutw(0xC000, ioaddr);          /* Command, mark as last. */
ioaddr876drivers/net/eexpress.coutw(lp->rx_head, ioaddr);        /* Link */
ioaddr883drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr887drivers/net/eexpress.coutw(tx_block, ioaddr + WRITE_PTR);
ioaddr888drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Tx status */
ioaddr889drivers/net/eexpress.coutw(CMD_INTR|CmdTx, ioaddr);    /* Tx command */
ioaddr890drivers/net/eexpress.coutw(tx_block+16, ioaddr);  /* Next command is a NoOp. */
ioaddr891drivers/net/eexpress.coutw(tx_block+8, ioaddr);  /* Data Buffer offset. */
ioaddr894drivers/net/eexpress.coutw(length | 0x8000, ioaddr); /* Byte count parameter. */
ioaddr895drivers/net/eexpress.coutw(-1, ioaddr);      /* No next data buffer. */
ioaddr896drivers/net/eexpress.coutw(tx_block+22, ioaddr);  /* Buffer follows the NoOp command. */
ioaddr897drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Buffer address high bits (always zero). */
ioaddr900drivers/net/eexpress.coutw(0x0000, ioaddr);    /* Tx status */
ioaddr901drivers/net/eexpress.coutw(CmdNOp, ioaddr);    /* Tx command */
ioaddr902drivers/net/eexpress.coutw(tx_block+16, ioaddr);  /* Next is myself. */
ioaddr906drivers/net/eexpress.coutsw(ioaddr + DATAPORT, buf, (length + 1) >> 1);
ioaddr909drivers/net/eexpress.coutw(lp->tx_cmd_link, ioaddr + WRITE_PTR);
ioaddr910drivers/net/eexpress.coutw(tx_block, ioaddr);
ioaddr920drivers/net/eexpress.c"reap %4x status %4.4x.\n", dev->name, ioaddr, length,
ioaddr921drivers/net/eexpress.ctx_block, lp->tx_head, lp->tx_reap, inw(ioaddr + SCB_STATUS));
ioaddr932drivers/net/eexpress.cshort ioaddr = dev->base_addr;
ioaddr933drivers/net/eexpress.cshort saved_write_ptr = inw(ioaddr + WRITE_PTR);
ioaddr940drivers/net/eexpress.coutw(rx_head, ioaddr + READ_PTR);
ioaddr941drivers/net/eexpress.cwhile ((frame_status = inw(ioaddr)) < 0) {    /* Command complete */
ioaddr942drivers/net/eexpress.cshort rfd_cmd = inw(ioaddr);
ioaddr943drivers/net/eexpress.cshort next_rx_frame = inw(ioaddr);
ioaddr944drivers/net/eexpress.cshort data_buffer_addr = inw(ioaddr);
ioaddr948drivers/net/eexpress.coutw(data_buffer_addr, ioaddr + READ_PTR);
ioaddr949drivers/net/eexpress.cpkt_len = inw(ioaddr);
ioaddr983drivers/net/eexpress.coutw(data_buffer_addr + 10, ioaddr + READ_PTR);
ioaddr985drivers/net/eexpress.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
ioaddr1001drivers/net/eexpress.coutw(rx_head, ioaddr + WRITE_PTR);
ioaddr1002drivers/net/eexpress.coutw(0x0000, ioaddr);
ioaddr1003drivers/net/eexpress.coutw(0xC000, ioaddr);
ioaddr1014drivers/net/eexpress.coutw(rx_tail+2, ioaddr + WRITE_PTR);
ioaddr1015drivers/net/eexpress.coutw(0x0000, ioaddr);  /* Clear the end-of-list on the prev. RFD. */
ioaddr1018drivers/net/eexpress.coutw(rx_tail+4, ioaddr + READ_PTR);
ioaddr1019drivers/net/eexpress.cif (inw(ioaddr) != rx_head) {
ioaddr1021drivers/net/eexpress.cdev->name, rx_tail, (outw(rx_tail+4, ioaddr + READ_PTR),inw(ioaddr)),
ioaddr1023drivers/net/eexpress.coutw(rx_head, ioaddr);
ioaddr1031drivers/net/eexpress.coutw(rx_head, ioaddr + READ_PTR);
ioaddr1038drivers/net/eexpress.coutw(saved_write_ptr, ioaddr + WRITE_PTR);
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;
ioaddr208drivers/net/lance.cunsigned long lance_probe1(short ioaddr, unsigned long mem_start);
ioaddr227drivers/net/lance.cint ioaddr = *port;
ioaddr229drivers/net/lance.cif (   check_region(ioaddr, LANCE_TOTAL_SIZE) == 0
ioaddr230drivers/net/lance.c&& inb(ioaddr + 14) == 0x57
ioaddr231drivers/net/lance.c&& inb(ioaddr + 15) == 0x57) {
ioaddr232drivers/net/lance.cmem_start = lance_probe1(ioaddr, mem_start);
ioaddr239drivers/net/lance.cunsigned long lance_probe1(short ioaddr, unsigned long mem_start)
ioaddr246drivers/net/lance.chpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00
ioaddr247drivers/net/lance.c&& inb(ioaddr+2) == 0x09);
ioaddr250drivers/net/lance.creset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */
ioaddr255drivers/net/lance.coutw(reset_val, ioaddr+LANCE_RESET);
ioaddr257drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR); /* Switch to window 0 */
ioaddr258drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) != 0x0004)
ioaddr265drivers/net/lance.cprintk("%s: LANCE at %#3x,", dev->name, ioaddr);
ioaddr270drivers/net/lance.cprintk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i));
ioaddr272drivers/net/lance.cdev->base_addr = ioaddr;
ioaddr273drivers/net/lance.csnarf_region(ioaddr, LANCE_TOTAL_SIZE);
ioaddr290drivers/net/lance.coutw(88, ioaddr+LANCE_ADDR);
ioaddr291drivers/net/lance.clp->old_lance = (inw(ioaddr+LANCE_DATA) != 0x3003);
ioaddr295drivers/net/lance.cinw(ioaddr+LANCE_DATA));
ioaddr306drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr307drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr308drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr309drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr310drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr315drivers/net/lance.cshort reset_val = inw(ioaddr+LANCE_RESET);
ioaddr333drivers/net/lance.coutw(0x0041, ioaddr+LANCE_DATA);
ioaddr350drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr351drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr374drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr388drivers/net/lance.cinw(ioaddr+LANCE_RESET);
ioaddr396drivers/net/lance.coutw(0, ioaddr+LANCE_RESET);
ioaddr400drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr401drivers/net/lance.coutw(0x0002, ioaddr+LANCE_BUS_IF);
ioaddr411drivers/net/lance.coutw(0x0001, ioaddr+LANCE_ADDR);
ioaddr412drivers/net/lance.coutw((short) (int) &lp->init_block, ioaddr+LANCE_DATA);
ioaddr413drivers/net/lance.coutw(0x0002, ioaddr+LANCE_ADDR);
ioaddr414drivers/net/lance.coutw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA);
ioaddr416drivers/net/lance.coutw(0x0004, ioaddr+LANCE_ADDR);
ioaddr417drivers/net/lance.coutw(0x0d15, ioaddr+LANCE_DATA);
ioaddr419drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr420drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr427drivers/net/lance.cif (inw(ioaddr+LANCE_DATA) & 0x0100)
ioaddr429drivers/net/lance.coutw(0x0142, ioaddr+LANCE_DATA);
ioaddr433drivers/net/lance.cdev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA));
ioaddr471drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr479drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr481drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr482drivers/net/lance.coutw(0x0001, ioaddr+LANCE_DATA);
ioaddr501drivers/net/lance.coutw(0x0043, ioaddr+LANCE_DATA);
ioaddr526drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr528drivers/net/lance.cinw(ioaddr+LANCE_DATA));
ioaddr529drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA);
ioaddr575drivers/net/lance.coutw(0x0000, ioaddr+LANCE_ADDR);
ioaddr576drivers/net/lance.coutw(0x0048, ioaddr+LANCE_DATA);
ioaddr593drivers/net/lance.cint csr0, ioaddr;
ioaddr600drivers/net/lance.cioaddr = dev->base_addr;
ioaddr692drivers/net/lance.cdev->name, inw(ioaddr + LANCE_ADDR),
ioaddr765drivers/net/lance.cint ioaddr = dev->base_addr;
ioaddr771drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr772drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr774drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr778drivers/net/lance.cdev->name, inw(ioaddr+LANCE_DATA));
ioaddr782drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA);
ioaddr798drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr802drivers/net/lance.csaved_addr = inw(ioaddr+LANCE_ADDR);
ioaddr803drivers/net/lance.coutw(112, ioaddr+LANCE_ADDR);
ioaddr804drivers/net/lance.clp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA);
ioaddr805drivers/net/lance.coutw(saved_addr, ioaddr+LANCE_ADDR);
ioaddr821drivers/net/lance.cshort ioaddr = dev->base_addr;
ioaddr824drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr825drivers/net/lance.coutw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance.  */
ioaddr827drivers/net/lance.coutw(15, ioaddr+LANCE_ADDR);
ioaddr834drivers/net/lance.coutw(8 + i, ioaddr+LANCE_ADDR);
ioaddr835drivers/net/lance.coutw(multicast_table[i], ioaddr+LANCE_DATA);
ioaddr837drivers/net/lance.coutw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */
ioaddr839drivers/net/lance.coutw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */
ioaddr842drivers/net/lance.coutw(0, ioaddr+LANCE_ADDR);
ioaddr843drivers/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);
ioaddr136drivers/net/plip.cextern int plip_probe(int ioaddr, struct device *dev);
ioaddr79drivers/net/skeleton.c#define check_region(ioaddr, size)     0
ioaddr80drivers/net/skeleton.c#define  snarf_region(ioaddr, size);    do ; while (0)
ioaddr107drivers/net/skeleton.cstatic int netcard_probe1(struct device *dev, short ioaddr);
ioaddr120drivers/net/skeleton.cextern void  hardware_send_packet(short ioaddr, char *buf, int length);
ioaddr142drivers/net/skeleton.cint ioaddr = *port;
ioaddr143drivers/net/skeleton.cif (check_region(ioaddr, ETHERCARD_TOTAL_SIZE))
ioaddr145drivers/net/skeleton.cif (inb(ioaddr) != 0x57)
ioaddr147drivers/net/skeleton.cdev->base_addr = ioaddr;
ioaddr148drivers/net/skeleton.cif (netcard_probe1(dev, ioaddr) == 0)
ioaddr156drivers/net/skeleton.cint netcard_probe1(struct device *dev, short ioaddr)
ioaddr163drivers/net/skeleton.cstation_addr[i] = inb(ioaddr + i);
ioaddr203drivers/net/skeleton.csnarf_region(ioaddr, ETHERCARD_TOTAL_SIZE);
ioaddr262drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr280drivers/net/skeleton.coutb(0x00, ioaddr);
ioaddr293drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr334drivers/net/skeleton.chardware_send_packet(ioaddr, buf, length);
ioaddr341drivers/net/skeleton.cif (inw(ioaddr) == /*RU*/81)
ioaddr355drivers/net/skeleton.cint ioaddr, status, boguscount = 0;
ioaddr363drivers/net/skeleton.cioaddr = dev->base_addr;
ioaddr365drivers/net/skeleton.cstatus = inw(ioaddr + 0);
ioaddr391drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr395drivers/net/skeleton.cint status = inw(ioaddr);
ioaddr396drivers/net/skeleton.cint pkt_len = inw(ioaddr);
ioaddr427drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
ioaddr454drivers/net/skeleton.cint ioaddr = dev->base_addr;
ioaddr466drivers/net/skeleton.coutw(0x00, ioaddr+0);    /* Release the physical interrupt line. */
ioaddr485drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr489drivers/net/skeleton.clp->stats.rx_missed_errors = inw(ioaddr+1);
ioaddr505drivers/net/skeleton.cshort ioaddr = dev->base_addr;
ioaddr507drivers/net/skeleton.coutw(69, ioaddr);    /* Enable promiscuous mode */
ioaddr509drivers/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 */
ioaddr136drivers/sound/dev_table.cint card_type, ioaddr, irq, dma, ptr, j;
ioaddr149drivers/sound/dev_table.cioaddr    = (val & 0x000fff00) >> 8;
ioaddr163drivers/sound/dev_table.csupported_drivers[ptr].config.io_base = ioaddr;
ioaddr170drivers/sound/dev_table.cvoid sound_chconf(int card_type, int ioaddr, int irq, int dma)
ioaddr184drivers/sound/dev_table.cif (ioaddr) supported_drivers[ptr].config.io_base = ioaddr;
ioaddr238drivers/sound/dev_table.hvoid sound_chconf(int card_type, int ioaddr, int irq, int dma);
ioaddr165drivers/sound/opl3.copl3_detect (int ioaddr)
ioaddr187drivers/sound/opl3.cioaddr = left_address;
ioaddr189drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);  /* Reset timers 1 and 2 */
ioaddr190drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);  /* Reset the IRQ of FM
ioaddr193drivers/sound/opl3.cstat1 = INB (ioaddr);    /* Read status register */
ioaddr200drivers/sound/opl3.copl3_command (ioaddr, TIMER1_REGISTER, 0xff);  /* Set timer 1 to 0xff */
ioaddr201drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER,
ioaddr211drivers/sound/opl3.cstat2 = INB (ioaddr);    /* Read status after timers have expired */
ioaddr215drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, TIMER1_MASK | TIMER2_MASK);  /* Reset timers 1 and 2 */
ioaddr216drivers/sound/opl3.copl3_command (ioaddr, TIMER_CONTROL_REGISTER, IRQ_RESET);  /* Reset the IRQ of FM
ioaddr227drivers/sound/opl3.copl3_command (ioaddr, KEYON_BLOCK + i, 0);  /* Note off */
ioaddr229drivers/sound/opl3.copl3_command (ioaddr, TEST_REGISTER, ENABLE_WAVE_SELECT);
ioaddr230drivers/sound/opl3.copl3_command (ioaddr, PERCUSSION_REGISTER, 0x00);  /* Melodic mode. */
ioaddr250drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, voices[voice].keyon_byte & ~0x20);
ioaddr376drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);  /* Modulator volume */
ioaddr377drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);  /* Carrier volume */
ioaddr420drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], vol1);
ioaddr421drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], vol2);
ioaddr422drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], vol3);
ioaddr423drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], vol4);
ioaddr450drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[1], 0xff);  /* Carrier volume to min */
ioaddr451drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[0], 0xff);  /* Modulator volume to */
ioaddr455drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[2], 0xff);
ioaddr456drivers/sound/opl3.copl3_command (map->ioaddr, KSL_LEVEL + map->op[3], 0xff);
ioaddr459drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, 0x00);  /* Note off */
ioaddr483drivers/sound/opl3.cvoice_shift = (map->ioaddr == left_address) ? 0 : 3;
ioaddr500drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[0], instr->operators[0]);
ioaddr501drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[1], instr->operators[1]);
ioaddr504drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[0], instr->operators[4]);
ioaddr505drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[1], instr->operators[5]);
ioaddr508drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[0], instr->operators[6]);
ioaddr509drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[1], instr->operators[7]);
ioaddr512drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[0], instr->operators[8]);
ioaddr513drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[1], instr->operators[9]);
ioaddr519drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num,
ioaddr530drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[2], instr->operators[OFFS_4OP + 0]);
ioaddr531drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[3], instr->operators[OFFS_4OP + 1]);
ioaddr534drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[2], instr->operators[OFFS_4OP + 4]);
ioaddr535drivers/sound/opl3.copl3_command (map->ioaddr, ATTACK_DECAY + map->op[3], instr->operators[OFFS_4OP + 5]);
ioaddr538drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[2], instr->operators[OFFS_4OP + 6]);
ioaddr539drivers/sound/opl3.copl3_command (map->ioaddr, SUSTAIN_RELEASE + map->op[3], instr->operators[OFFS_4OP + 7]);
ioaddr542drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[2], instr->operators[OFFS_4OP + 8]);
ioaddr543drivers/sound/opl3.copl3_command (map->ioaddr, WAVE_SELECT + map->op[3], instr->operators[OFFS_4OP + 9]);
ioaddr549drivers/sound/opl3.copl3_command (map->ioaddr, FEEDBACK_CONNECTION + map->voice_num + 3, fpc);
ioaddr571drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr575drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr577drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num + 3, data);
ioaddr658drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr661drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr666drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr669drivers/sound/opl3.copl3_command (physical_voices[logical_voices[i]].ioaddr,
ioaddr754drivers/sound/opl3.copl3_command (map->ioaddr, AM_VIB + map->op[cell-1], tmp);}
ioaddr852drivers/sound/opl3.copl3_command (map->ioaddr, FNUM_LOW + map->voice_num, data);
ioaddr857drivers/sound/opl3.copl3_command (map->ioaddr, KEYON_BLOCK + map->voice_num, data);
ioaddr915drivers/sound/opl3.cif (physical_voices[i].ioaddr == USE_LEFT)
ioaddr916drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
ioaddr918drivers/sound/opl3.cphysical_voices[i].ioaddr = right_address;
ioaddr933drivers/sound/opl3.cphysical_voices[i].ioaddr = left_address;
ioaddr213drivers/sound/opl3.hunsigned short ioaddr; /* I/O port (left or right side) */
ioaddr57drivers/sound/pas2_card.cpas_read (int ioaddr)
ioaddr59drivers/sound/pas2_card.creturn INB (ioaddr ^ translat_code);
ioaddr63drivers/sound/pas2_card.cpas_write (unsigned char data, int ioaddr)
ioaddr65drivers/sound/pas2_card.cOUTB (data, ioaddr ^ translat_code);
ioaddr140drivers/sound/sound_calls.hint opl3_detect (int ioaddr);
ioaddr156drivers/sound/sound_calls.hunsigned char pas_read(int ioaddr);
ioaddr157drivers/sound/sound_calls.hvoid pas_write(unsigned char data, int ioaddr);
ioaddr27include/linux/ddi.hint    ioaddr;      /* main I/O (port) address  */
ioaddr100include/linux/kd.hushort ioaddr[MKDIOADDR];  /* valid i/o addresses */