tag | line | file | source code |
inw | 434 | drivers/net/3c501.c | printk(" txsr=%02x gp=%04x rp=%04x", txsr, inw(GP_LOW), |
inw | 435 | drivers/net/3c501.c | inw(RX_LOW)); |
inw | 444 | drivers/net/3c501.c | inw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR)); |
inw | 491 | drivers/net/3c501.c | inw(RX_LOW)); |
inw | 538 | drivers/net/3c501.c | pkt_len = inw(RX_LOW); |
inw | 594 | drivers/net/3c505.c | d = inw(adapter->io_addr+PORT_DATA); |
inw | 632 | drivers/net/3c505.c | *ptr = inw(adapter->io_addr+PORT_DATA); |
inw | 132 | drivers/net/3c509.c | if (inw(ioaddr + 0xC80) != 0x6d50) |
inw | 138 | drivers/net/3c509.c | irq = inw(ioaddr + WN0_IRQ) >> 12; |
inw | 139 | drivers/net/3c509.c | if_port = inw(ioaddr + 6)>>14; |
inw | 157 | drivers/net/3c509.c | irq = inw(ioaddr + WN0_IRQ) >> 12; |
inw | 158 | drivers/net/3c509.c | if_port = inw(ioaddr + 6)>>14; |
inw | 218 | drivers/net/3c509.c | if (inw(ioaddr) != 0x6d50) |
inw | 272 | drivers/net/3c509.c | return inw(ioaddr + 12); |
inw | 316 | drivers/net/3c509.c | dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); |
inw | 338 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA); |
inw | 369 | drivers/net/3c509.c | dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); |
inw | 389 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS)); |
inw | 407 | drivers/net/3c509.c | dev->name, skb->len, inw(ioaddr + EL3_STATUS)); |
inw | 411 | drivers/net/3c509.c | ushort status = inw(ioaddr + EL3_STATUS); |
inw | 413 | drivers/net/3c509.c | && inw(ioaddr + EL3_STATUS) & 1) { /* Make sure. */ |
inw | 416 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS), |
inw | 417 | drivers/net/3c509.c | inw(ioaddr + RX_STATUS)); |
inw | 437 | drivers/net/3c509.c | if (inw(ioaddr + TX_FREE) > 1536) { |
inw | 479 | drivers/net/3c509.c | status = inw(ioaddr + EL3_STATUS); |
inw | 484 | drivers/net/3c509.c | while ((status = inw(ioaddr + EL3_STATUS)) & 0x91) { |
inw | 514 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS)); |
inw | 559 | drivers/net/3c509.c | inw(ioaddr + 10); /* Total Rx and Tx octets. */ |
inw | 560 | drivers/net/3c509.c | inw(ioaddr + 12); |
inw | 577 | drivers/net/3c509.c | inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); |
inw | 578 | drivers/net/3c509.c | while ((rx_status = inw(ioaddr + RX_STATUS)) > 0) { |
inw | 616 | drivers/net/3c509.c | while (inw(ioaddr + EL3_STATUS) & 0x1000) |
inw | 618 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS) ); |
inw | 676 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA); |
inw | 183 | drivers/net/at1700.c | read_eeprom(ioaddr, 6), inw(ioaddr + EEPROM_Ctrl)); |
inw | 375 | drivers/net/at1700.c | inw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80 |
inw | 378 | drivers/net/at1700.c | dev->name, inw(ioaddr + 0), inw(ioaddr + 2), inw(ioaddr + 4), |
inw | 379 | drivers/net/at1700.c | inw(ioaddr + 6), inw(ioaddr + 8), inw(ioaddr + 10), |
inw | 380 | drivers/net/at1700.c | inw(ioaddr + 12), inw(ioaddr + 14)); |
inw | 456 | drivers/net/at1700.c | status = inw(ioaddr + TX_STATUS); |
inw | 498 | drivers/net/at1700.c | ushort status = inw(ioaddr + DATAPORT); |
inw | 499 | drivers/net/at1700.c | ushort pkt_len = inw(ioaddr + DATAPORT); |
inw | 525 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT); |
inw | 535 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT); |
inw | 559 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); /* dummy status read */ |
inw | 431 | drivers/net/depca.c | if (inw(DEPCA_DATA) == STOP) { |
inw | 743 | drivers/net/depca.c | printk("CSR2&1: 0x%4.4x",inw(DEPCA_DATA)); |
inw | 745 | drivers/net/depca.c | printk("%4.4x\n",inw(DEPCA_DATA)); |
inw | 747 | drivers/net/depca.c | printk("CSR3: 0x%4.4x\n",inw(DEPCA_DATA)); |
inw | 764 | drivers/net/depca.c | printk("CSR0: 0x%4.4x\n",inw(DEPCA_DATA)); |
inw | 822 | drivers/net/depca.c | dev->name, inw(DEPCA_DATA)); |
inw | 846 | drivers/net/depca.c | inw(DEPCA_DATA)); |
inw | 982 | drivers/net/depca.c | csr0 = inw(DEPCA_DATA); |
inw | 989 | drivers/net/depca.c | dev->name, csr0, inw(DEPCA_DATA)); |
inw | 1003 | drivers/net/depca.c | dev->name, inw(DEPCA_ADDR), |
inw | 1004 | drivers/net/depca.c | inw(DEPCA_DATA)); |
inw | 1158 | drivers/net/depca.c | dev->name, inw(DEPCA_DATA)); |
inw | 1211 | drivers/net/depca.c | for (i=0;(i<100) && !(inw(DEPCA_DATA) & IDON); i++); |
inw | 1218 | drivers/net/depca.c | dev->name, i, (long) &lp->init_block, inw(DEPCA_DATA)); |
inw | 1223 | drivers/net/depca.c | dev->name, i, (long) &lp->init_block, inw(DEPCA_DATA)); |
inw | 465 | drivers/net/eexpress.c | inw(ioaddr+SCB_STATUS) & 0x8000 ? "IRQ conflict" : |
inw | 534 | drivers/net/eexpress.c | status = inw(ioaddr + SCB_STATUS); |
inw | 547 | drivers/net/eexpress.c | tx_status = inw(ioaddr); |
inw | 583 | drivers/net/eexpress.c | short saved_write_ptr = inw(ioaddr + WRITE_PTR); |
inw | 602 | drivers/net/eexpress.c | short saved_write_ptr = inw(ioaddr + WRITE_PTR); |
inw | 615 | drivers/net/eexpress.c | printk(" %04x", inw(ioaddr)); |
inw | 631 | drivers/net/eexpress.c | inw(ioaddr + SCB_CMD)); |
inw | 794 | drivers/net/eexpress.c | while (inw(ioaddr + SCB_STATUS) == 0) |
inw | 797 | drivers/net/eexpress.c | dev->name, inw(ioaddr + SCB_STATUS), inw(ioaddr + SCB_CMD)); |
inw | 808 | drivers/net/eexpress.c | inw(ioaddr + SCB_STATUS)); |
inw | 895 | drivers/net/eexpress.c | tx_block, lp->tx_head, lp->tx_reap, inw(ioaddr + SCB_STATUS)); |
inw | 907 | drivers/net/eexpress.c | short saved_write_ptr = inw(ioaddr + WRITE_PTR); |
inw | 915 | drivers/net/eexpress.c | while ((frame_status = inw(ioaddr)) < 0) { /* Command complete */ |
inw | 916 | drivers/net/eexpress.c | short rfd_cmd = inw(ioaddr); |
inw | 917 | drivers/net/eexpress.c | short next_rx_frame = inw(ioaddr); |
inw | 918 | drivers/net/eexpress.c | short data_buffer_addr = inw(ioaddr); |
inw | 923 | drivers/net/eexpress.c | pkt_len = inw(ioaddr); |
inw | 980 | drivers/net/eexpress.c | if (inw(ioaddr) != rx_head) { |
inw | 982 | drivers/net/eexpress.c | dev->name, rx_tail, (outw(rx_tail+4, ioaddr + READ_PTR),inw(ioaddr)), |
inw | 1465 | drivers/net/ewrk3.c | return inw(EWRK3_EPROM1); /* 16 bits data return */ |
inw | 1593 | drivers/net/ewrk3.c | k += inw(EWRK3_PAR0 + (j<<1)); |
inw | 151 | drivers/net/hp-plus.c | if (inw(ioaddr + HP_ID) != 0x4850 |
inw | 152 | drivers/net/hp-plus.c | || (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300) |
inw | 177 | drivers/net/hp-plus.c | printk(" ID %4.4x", inw(ioaddr + 12)); |
inw | 187 | drivers/net/hp-plus.c | int option = inw(ioaddr + HPP_OPTION); |
inw | 191 | drivers/net/hp-plus.c | mem_start = inw(ioaddr + 9) << 8; |
inw | 235 | drivers/net/hp-plus.c | outw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION); |
inw | 251 | drivers/net/hp-plus.c | option_reg = inw(ioaddr + HPP_OPTION); |
inw | 271 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 286 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 318 | drivers/net/hp-plus.c | buf[count-1] = inw(ioaddr + HP_DATAPORT); |
inw | 326 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 355 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 341 | drivers/net/lance.c | reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ |
inw | 349 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) != 0x0004) |
inw | 354 | drivers/net/lance.c | if (inw(ioaddr+LANCE_ADDR) != 88) { |
inw | 357 | drivers/net/lance.c | int chip_version = inw(ioaddr+LANCE_DATA); |
inw | 359 | drivers/net/lance.c | chip_version |= inw(ioaddr+LANCE_DATA) << 16; |
inw | 413 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 416 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 419 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 434 | drivers/net/lance.c | short reset_val = inw(ioaddr+LANCE_RESET); |
inw | 441 | drivers/net/lance.c | bus_info = inw(ioaddr+LANCE_BUS_IF); |
inw | 477 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) |
inw | 508 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0900) |
inw | 510 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) { |
inw | 564 | drivers/net/lance.c | inw(ioaddr+LANCE_RESET); |
inw | 605 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) |
inw | 615 | drivers/net/lance.c | dev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA)); |
inw | 664 | drivers/net/lance.c | dev->name, inw(ioaddr+LANCE_DATA)); |
inw | 704 | drivers/net/lance.c | inw(ioaddr+LANCE_DATA)); |
inw | 793 | drivers/net/lance.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
inw | 800 | drivers/net/lance.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
inw | 884 | drivers/net/lance.c | dev->name, inw(ioaddr + LANCE_ADDR), |
inw | 885 | drivers/net/lance.c | inw(dev->base_addr + LANCE_DATA)); |
inw | 966 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
inw | 972 | drivers/net/lance.c | dev->name, inw(ioaddr+LANCE_DATA)); |
inw | 997 | drivers/net/lance.c | saved_addr = inw(ioaddr+LANCE_ADDR); |
inw | 999 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
inw | 108 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
inw | 109 | drivers/net/ni65.c | outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
inw | 110 | drivers/net/ni65.c | #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ |
inw | 111 | drivers/net/ni65.c | inw(PORT+L_DATAREG)) |
inw | 112 | drivers/net/ni65.c | #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
inw | 222 | drivers/net/ni65.c | dev->irq = irqtab[(inw(PORT+L_CONFIG)>>2)&3]; |
inw | 224 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
inw | 322 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) != 0x4) |
inw | 324 | drivers/net/ni65.c | printk("%s: can't RESET ni6510 card: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
inw | 380 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) & CSR0_IDON) break; /* init ok ? */ |
inw | 384 | drivers/net/ni65.c | printk("%s: can't init am7990, status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
inw | 410 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
inw | 524 | drivers/net/ni65.c | printk("%s: lance-status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
inw | 349 | drivers/net/skeleton.c | if (inw(ioaddr) == /*RU*/81) |
inw | 372 | drivers/net/skeleton.c | status = inw(ioaddr + 0); |
inw | 403 | drivers/net/skeleton.c | int status = inw(ioaddr); |
inw | 404 | drivers/net/skeleton.c | int pkt_len = inw(ioaddr); |
inw | 485 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
inw | 130 | drivers/net/wavelan.c | return inw(HASR(ioaddr)); |
inw | 282 | drivers/net/wavelan.c | while (inw(HASR(ioaddr)) & HASR_MMC_BUSY) |
inw | 288 | drivers/net/wavelan.c | while (inw(HASR(ioaddr)) & HASR_MMC_BUSY) |
inw | 291 | drivers/net/wavelan.c | *b++ = (unsigned char)(inw(MMCR(ioaddr)) >> 8); |
inw | 304 | drivers/net/wavelan.c | while (inw(HASR(ioaddr)) & HASR_MMC_BUSY) |
inw | 331 | drivers/net/znet.c | outb(CMD0_STAT1, ioaddr); tx_status = inw(ioaddr); |
inw | 332 | drivers/net/znet.c | outb(CMD0_STAT2, ioaddr); rx_offset = inw(ioaddr); |
inw | 350 | drivers/net/znet.c | if (inw(ioaddr) == 0x0010 |
inw | 351 | drivers/net/znet.c | && inw(ioaddr) == 0x0000 |
inw | 352 | drivers/net/znet.c | && inw(ioaddr) == 0x0010) |
inw | 425 | drivers/net/znet.c | result = inw(ioaddr); |
inw | 427 | drivers/net/znet.c | rx_ptr = inw(ioaddr); |
inw | 440 | drivers/net/znet.c | tx_status = inw(ioaddr); |
inw | 480 | drivers/net/znet.c | cur_frame_end_offset = inw(ioaddr); |
inw | 1271 | drivers/scsi/53c7,8xx.h | inw(NCR53c7x0_address_io + (address))) |
inw | 323 | drivers/scsi/aha152x.h | inw( PORT ) |
inw | 449 | drivers/scsi/aha274x.c | } while (inw(O_SEQADDR(p->base)) != 0); \ |
inw | 488 | drivers/scsi/aha274x.c | inb(O_ERROR(base)), inw(O_SEQADDR(base))); |
inw | 854 | drivers/scsi/aha274x.c | } while (inw(O_SEQADDR(base)) != 0); |
inw | 345 | drivers/scsi/eata.c | *p = inw(iobase); |
inw | 654 | drivers/scsi/eata_dma.c | *p = inw((uint) base + HA_RDATA); |
inw | 667 | drivers/scsi/eata_dma.c | inw((uint) base + HA_RDATA); |
inw | 1215 | drivers/scsi/fdomain.c | while ( (data_count = FIFO_Size - inw( FIFO_Data_Count_port )) > 512 ) { |
inw | 1248 | drivers/scsi/fdomain.c | while ((data_count = inw( FIFO_Data_Count_port )) > 0) { |
inw | 84 | drivers/scsi/in2000.c | #ifndef inw |
inw | 253 | drivers/scsi/in2000.c | *in2000_dataptr++ = inw(INFIFO); |