tag | line | file | source code |
inw | 138 | arch/alpha/lib/io.c | *(unsigned short* ) dst = inw(port); |
inw | 145 | arch/alpha/lib/io.c | w = inw(port); |
inw | 146 | arch/alpha/lib/io.c | w |= inw(port) << 16; |
inw | 152 | arch/alpha/lib/io.c | *(unsigned short*) dst = inw(port); |
inw | 37 | arch/ppc/kernel/port_io.c | unsigned short inw_p(int port) {return (inw(port)); } |
inw | 240 | drivers/block/cmd640.c | v_id = inw(i); |
inw | 241 | drivers/block/cmd640.c | d_id = inw(i + 2); |
inw | 1559 | drivers/cdrom/aztcd.c | if ((0xFF00 & inw(AZT_SW32_ID_REG)) != 0x4500) |
inw | 1566 | drivers/cdrom/aztcd.c | AZT_SW32_BASE_ADDR, inw(AZT_SW32_ID_REG)); |
inw | 193 | drivers/cdrom/cm206.c | while (!(inw(r_line_status) & ls_transmitter_buffer_empty) && loop>0) |
inw | 201 | drivers/cdrom/cm206.c | while (!(inw(r_line_status) & ls_receive_buffer_full) && loop>0) --loop; |
inw | 202 | drivers/cdrom/cm206.c | return ((uch) inw(r_uart_receive)); |
inw | 227 | drivers/cdrom/cm206.c | cd->intr_ds = inw(r_data_status); /* resets data_ready, data_error, |
inw | 230 | drivers/cdrom/cm206.c | cd->intr_ls = inw(r_line_status); /* resets overrun bit */ |
inw | 234 | drivers/cdrom/cm206.c | cd->intr_ls = inw(r_line_status); /* resets rbf interrupt */ |
inw | 246 | drivers/cdrom/cm206.c | outw(dc_normal | (inw(r_data_status) & 0x7f), r_data_control); |
inw | 254 | drivers/cdrom/cm206.c | fool = inw(r_fifo_output_buffer); /* de-assert the interrupt */ |
inw | 315 | drivers/cdrom/cm206.c | if (!(inw(r_line_status) & ls_transmitter_buffer_empty)) { |
inw | 319 | drivers/cdrom/cm206.c | (inw(r_data_status) & 0x7f), r_data_control); |
inw | 332 | drivers/cdrom/cm206.c | if (!(inw(r_line_status) & ls_receive_buffer_full) && |
inw | 336 | drivers/cdrom/cm206.c | return ((uch) inw(r_uart_receive)); |
inw | 349 | drivers/cdrom/cm206.c | if (!(inw(r_line_status) & ls_receive_buffer_full) && |
inw | 353 | drivers/cdrom/cm206.c | return ((uch) inw(r_uart_receive)); |
inw | 491 | drivers/cdrom/cm206.c | (inw(r_data_status) & 0x7f), r_data_control); |
inw | 1085 | drivers/cdrom/cm206.c | fool = inw(base+2); /* empty possibly uart_receive_buffer */ |
inw | 1086 | drivers/cdrom/cm206.c | if((inw(base+6) & 0xffef) != 0x0001 || /* line_status */ |
inw | 1087 | drivers/cdrom/cm206.c | (inw(base) & 0xad00) != 0) /* data status */ |
inw | 1091 | drivers/cdrom/cm206.c | if ((inw(base) & 0x7f) != pattern1) continue; |
inw | 1093 | drivers/cdrom/cm206.c | if ((inw(base) & 0x7f) != pattern2) continue; |
inw | 1178 | drivers/cdrom/cm206.c | cd->max_sectors = (inw(r_data_status) & ds_ram_size) ? 24 : 97; |
inw | 838 | drivers/cdrom/gscd.c | *pb = inw(GSCDPORT(2)); |
inw | 1270 | drivers/cdrom/sbpcd.c | i=inw(CDi_data); |
inw | 1297 | drivers/cdrom/sbpcd.c | if (do_16bit) i=inw(CDi_data); |
inw | 4740 | drivers/cdrom/sbpcd.c | if (do_16bit) i=inw(CDi_data); |
inw | 3106 | drivers/char/cyclades.c | outw(inw(cy_pci_io+0x68)|0x0900,cy_pci_io+0x68); |
inw | 3107 | drivers/char/cyclades.c | pci_intr_ctrl = (unsigned long)(inw(cy_pci_io+0x68) | inw(cy_pci_io+0x6a)<<16); |
inw | 546 | drivers/net/3c501.c | printk(" txsr=%02x gp=%04x rp=%04x]\n", txsr, inw(GP_LOW),inw(RX_LOW)); |
inw | 554 | drivers/net/3c501.c | printk(" txsr=%02x gp=%04x rp=%04x", txsr, inw(GP_LOW),inw(RX_LOW)); |
inw | 564 | drivers/net/3c501.c | inw(ioaddr + EL1_DATAPTR), inw(ioaddr + EL1_RXPTR)); |
inw | 622 | drivers/net/3c501.c | printk(" rxsr=%02x txsr=%02x rp=%04x", rxsr, inb(TX_STATUS),inw(RX_LOW)); |
inw | 680 | drivers/net/3c501.c | pkt_len = inw(RX_LOW); |
inw | 170 | drivers/net/3c505.c | return inw(base_addr+PORT_DATA); |
inw | 143 | drivers/net/3c509.c | if (inw(ioaddr + 0xC80) != 0x6d50) |
inw | 149 | drivers/net/3c509.c | irq = inw(ioaddr + WN0_IRQ) >> 12; |
inw | 150 | drivers/net/3c509.c | if_port = inw(ioaddr + 6)>>14; |
inw | 168 | drivers/net/3c509.c | irq = inw(ioaddr + WN0_IRQ) >> 12; |
inw | 169 | drivers/net/3c509.c | if_port = inw(ioaddr + 6)>>14; |
inw | 237 | drivers/net/3c509.c | if (inw(ioaddr) != 0x6d50) |
inw | 291 | drivers/net/3c509.c | return inw(ioaddr + 12); |
inw | 334 | drivers/net/3c509.c | dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); |
inw | 355 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA); |
inw | 386 | drivers/net/3c509.c | dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); |
inw | 407 | drivers/net/3c509.c | while (inw(ioaddr + TX_FREE) > 1536) { |
inw | 467 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS)); |
inw | 497 | drivers/net/3c509.c | status = inw(ioaddr + EL3_STATUS); |
inw | 502 | drivers/net/3c509.c | while ((status = inw(ioaddr + EL3_STATUS)) & 0x91) { |
inw | 527 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS)); |
inw | 572 | drivers/net/3c509.c | inw(ioaddr + 10); /* Total Rx and Tx octets. */ |
inw | 573 | drivers/net/3c509.c | inw(ioaddr + 12); |
inw | 590 | drivers/net/3c509.c | inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); |
inw | 591 | drivers/net/3c509.c | while ((rx_status = inw(ioaddr + RX_STATUS)) > 0) { |
inw | 630 | drivers/net/3c509.c | while (inw(ioaddr + EL3_STATUS) & 0x1000) |
inw | 632 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS) ); |
inw | 689 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA); |
inw | 362 | drivers/net/3c59x.c | if (inw(ioaddr + 0xC80) != 0x6d50) |
inw | 365 | drivers/net/3c59x.c | if ((inw(ioaddr + 0xC82) & 0xFFF0) != 0x5970 |
inw | 366 | drivers/net/3c59x.c | && (inw(ioaddr + 0xC82) & 0xFFF0) != 0x5920) |
inw | 368 | drivers/net/3c59x.c | vortex_found_device(dev, ioaddr, inw(ioaddr + 0xC88) >> 12, |
inw | 457 | drivers/net/3c59x.c | if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) |
inw | 460 | drivers/net/3c59x.c | phys_addr[i] = htons(inw(ioaddr + 12)); |
inw | 476 | drivers/net/3c59x.c | config.i, inw(ioaddr + Wn3_Options)); |
inw | 534 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 540 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 562 | drivers/net/3c59x.c | dev->name, dev->irq, inw(ioaddr + Wn4_Media)); |
inw | 578 | drivers/net/3c59x.c | outw(inw(ioaddr + Wn4_Media) | Media_TP, ioaddr + Wn4_Media); |
inw | 586 | drivers/net/3c59x.c | inw(ioaddr + 10); |
inw | 587 | drivers/net/3c59x.c | inw(ioaddr + 12); |
inw | 647 | drivers/net/3c59x.c | dev->name, inb(ioaddr + TxStatus), inw(ioaddr + EL3_STATUS)); |
inw | 654 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 691 | drivers/net/3c59x.c | if (inw(ioaddr + TxFree) > 1536) { |
inw | 701 | drivers/net/3c59x.c | if (inw(ioaddr + TxFree) > 1536) { |
inw | 726 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 764 | drivers/net/3c59x.c | status = inw(ioaddr + EL3_STATUS); |
inw | 817 | drivers/net/3c59x.c | inw(ioaddr + EL3_STATUS) & StatsFull) { |
inw | 857 | drivers/net/3c59x.c | } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); |
inw | 876 | drivers/net/3c59x.c | inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); |
inw | 877 | drivers/net/3c59x.c | while ((rx_status = inw(ioaddr + RxStatus)) > 0) { |
inw | 908 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 920 | drivers/net/3c59x.c | if ( ! inw(ioaddr + EL3_STATUS) & CmdInProgress) |
inw | 937 | drivers/net/3c59x.c | dev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus)); |
inw | 952 | drivers/net/3c59x.c | outw(inw(ioaddr + Wn4_Media) & ~Media_TP, ioaddr + Wn4_Media); |
inw | 1011 | drivers/net/3c59x.c | inw(ioaddr + 10); /* Total Rx and Tx octets. */ |
inw | 1012 | drivers/net/3c59x.c | inw(ioaddr + 12); |
inw | 181 | drivers/net/at1700.c | read_eeprom(ioaddr, 6), inw(ioaddr + EEPROM_Ctrl)); |
inw | 376 | drivers/net/at1700.c | inw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80 |
inw | 379 | drivers/net/at1700.c | dev->name, inw(ioaddr + 0), inw(ioaddr + 2), inw(ioaddr + 4), |
inw | 380 | drivers/net/at1700.c | inw(ioaddr + 6), inw(ioaddr + 8), inw(ioaddr + 10), |
inw | 381 | drivers/net/at1700.c | inw(ioaddr + 12), inw(ioaddr + 14)); |
inw | 457 | drivers/net/at1700.c | status = inw(ioaddr + TX_STATUS); |
inw | 499 | drivers/net/at1700.c | ushort status = inw(ioaddr + DATAPORT); |
inw | 500 | drivers/net/at1700.c | ushort pkt_len = inw(ioaddr + DATAPORT); |
inw | 526 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT); |
inw | 536 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); inw(ioaddr + DATAPORT); |
inw | 561 | drivers/net/at1700.c | inw(ioaddr + DATAPORT); /* dummy status read */ |
inw | 483 | drivers/net/depca.c | if (inw(DEPCA_DATA) == STOP) { |
inw | 724 | drivers/net/depca.c | printk("CSR0: 0x%4.4x\n",inw(DEPCA_DATA)); |
inw | 792 | drivers/net/depca.c | dev->name, inw(DEPCA_DATA)); |
inw | 863 | drivers/net/depca.c | csr0 = inw(DEPCA_DATA); |
inw | 1041 | drivers/net/depca.c | dev->name, inw(DEPCA_DATA)); |
inw | 1100 | drivers/net/depca.c | for (i=0;(i<100) && !(inw(DEPCA_DATA) & IDON); i++); |
inw | 1107 | drivers/net/depca.c | dev->name, i, lp->sh_mem, inw(DEPCA_DATA)); |
inw | 1111 | drivers/net/depca.c | dev->name, i, lp->sh_mem, inw(DEPCA_DATA)); |
inw | 1684 | drivers/net/depca.c | printk("CSR2&1: 0x%4.4x",inw(DEPCA_DATA)); |
inw | 1686 | drivers/net/depca.c | printk("%4.4x\n",inw(DEPCA_DATA)); |
inw | 1688 | drivers/net/depca.c | printk("CSR3: 0x%4.4x\n",inw(DEPCA_DATA)); |
inw | 1839 | drivers/net/depca.c | tmp.sval[i++] = inw(DEPCA_NICSR); |
inw | 1841 | drivers/net/depca.c | tmp.sval[i++] = inw(DEPCA_DATA); |
inw | 853 | drivers/net/eepro.c | status = inw(ioaddr + IO_PORT); |
inw | 989 | drivers/net/eepro.c | status = inw(ioaddr + IO_PORT); |
inw | 994 | drivers/net/eepro.c | status = inw(ioaddr + IO_PORT); |
inw | 1037 | drivers/net/eepro.c | rcv_event = inw(ioaddr + IO_PORT); |
inw | 1040 | drivers/net/eepro.c | rcv_status = inw(ioaddr + IO_PORT); |
inw | 1041 | drivers/net/eepro.c | rcv_next_frame = inw(ioaddr + IO_PORT); |
inw | 1042 | drivers/net/eepro.c | rcv_size = inw(ioaddr + IO_PORT); |
inw | 1084 | drivers/net/eepro.c | rcv_event = inw(ioaddr + IO_PORT); |
inw | 1106 | drivers/net/eepro.c | xmt_status = inw(ioaddr+IO_PORT); |
inw | 1108 | drivers/net/eepro.c | xmt_status = inw(ioaddr+IO_PORT); |
inw | 1109 | drivers/net/eepro.c | lp->tx_start = inw(ioaddr+IO_PORT); |
inw | 386 | drivers/net/eexpress.c | dev->name,inw(ioaddr+SCB_STATUS)); |
inw | 393 | drivers/net/eexpress.c | while (!SCB_complete(rsst=inw(ioaddr+SCB_STATUS))) |
inw | 411 | drivers/net/eexpress.c | unsigned short status = inw(ioaddr+SCB_STATUS); |
inw | 438 | drivers/net/eexpress.c | unsigned short status = inw(ioaddr+SCB_STATUS); |
inw | 450 | drivers/net/eexpress.c | unsigned short status = inw(ioaddr+SCB_STATUS); |
inw | 513 | drivers/net/eexpress.c | old_rp = inw(ioaddr+READ_PTR); |
inw | 514 | drivers/net/eexpress.c | old_wp = inw(ioaddr+WRITE_PTR); |
inw | 515 | drivers/net/eexpress.c | status = inw(ioaddr+SCB_STATUS); |
inw | 521 | drivers/net/eexpress.c | while (SCB_CUstat(inw(ioaddr+SCB_STATUS))==2); |
inw | 572 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 573 | drivers/net/eexpress.c | unsigned short old_rp = inw(ioaddr+READ_PTR); |
inw | 583 | drivers/net/eexpress.c | unsigned short status = inw(ioaddr); |
inw | 584 | drivers/net/eexpress.c | unsigned short rfd_cmd = inw(ioaddr); |
inw | 585 | drivers/net/eexpress.c | unsigned short rx_next = inw(ioaddr); |
inw | 586 | drivers/net/eexpress.c | unsigned short pbuf = inw(ioaddr); |
inw | 592 | drivers/net/eexpress.c | pkt_len = inw(ioaddr); |
inw | 658 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 746 | drivers/net/eexpress.c | old_wp = inw(ioaddr+WRITE_PTR); |
inw | 747 | drivers/net/eexpress.c | old_rp = inw(ioaddr+READ_PTR); |
inw | 749 | drivers/net/eexpress.c | old_a1 = inw(ioaddr); |
inw | 751 | drivers/net/eexpress.c | old_a0 = inw(ioaddr); |
inw | 755 | drivers/net/eexpress.c | a0_0 = inw(ioaddr); |
inw | 759 | drivers/net/eexpress.c | a1_0 = inw(ioaddr); |
inw | 761 | drivers/net/eexpress.c | a0_1 = inw(ioaddr); |
inw | 765 | drivers/net/eexpress.c | a1_1 = inw(ioaddr); |
inw | 856 | drivers/net/eexpress.c | unsigned short old_rp = inw(ioaddr+READ_PTR); |
inw | 857 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 867 | drivers/net/eexpress.c | status = inw(ioaddr); |
inw | 927 | drivers/net/eexpress.c | while (!inw(ioaddr+SCB_STATUS)) |
inw | 934 | drivers/net/eexpress.c | dev->name, inw(ioaddr+SCB_STATUS), inw(ioaddr+SCB_CMD)); |
inw | 971 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 1019 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 1058 | drivers/net/eexpress.c | unsigned short old_wp = inw(ioaddr+WRITE_PTR); |
inw | 1115 | drivers/net/eexpress.c | while (outw(0,ioaddr+READ_PTR),inw(ioaddr)) |
inw | 1140 | drivers/net/eexpress.c | while (!inw(ioaddr+SCB_STATUS)) |
inw | 1147 | drivers/net/eexpress.c | dev->name, inw(ioaddr+SCB_STATUS), inw(ioaddr+SCB_CMD)); |
inw | 1196 | drivers/net/eexpress.c | if (wrval++ == inw(ioaddr)) |
inw | 875 | drivers/net/eth16i.c | inw(ioaddr + TX_STATUS_REG), |
inw | 988 | drivers/net/eth16i.c | ushort status = inw(ioaddr + DATAPORT); |
inw | 1006 | drivers/net/eth16i.c | ushort pkt_len = inw(ioaddr + DATAPORT); |
inw | 1043 | drivers/net/eth16i.c | rest[0] = inw( ioaddr + DATAPORT ); |
inw | 1045 | drivers/net/eth16i.c | rest[1] = inw( ioaddr + DATAPORT ); |
inw | 1077 | drivers/net/eth16i.c | inw(ioaddr + DATAPORT); |
inw | 1108 | drivers/net/eth16i.c | status = inw(ioaddr + TX_STATUS_REG); /* Get the status */ |
inw | 1490 | drivers/net/ewrk3.c | return inw(EWRK3_EPROM1); /* 16 bits data return */ |
inw | 322 | drivers/net/fmv18x.c | htons(inw(ioaddr + TX_STATUS)), |
inw | 326 | drivers/net/fmv18x.c | dev->name, htons(inw(ioaddr + 0)), |
inw | 327 | drivers/net/fmv18x.c | htons(inw(ioaddr + 2)), htons(inw(ioaddr + 4)), |
inw | 328 | drivers/net/fmv18x.c | htons(inw(ioaddr + 6)), htons(inw(ioaddr + 8)), |
inw | 329 | drivers/net/fmv18x.c | htons(inw(ioaddr +10)), htons(inw(ioaddr +12)), |
inw | 330 | drivers/net/fmv18x.c | htons(inw(ioaddr +14))); |
inw | 332 | drivers/net/fmv18x.c | htons(inw(ioaddr+FJ_STATUS0)), |
inw | 333 | drivers/net/fmv18x.c | htons(inw(ioaddr+FJ_CONFIG0))); |
inw | 425 | drivers/net/fmv18x.c | status = inw(ioaddr + TX_STATUS); |
inw | 474 | drivers/net/fmv18x.c | ushort status = inw(ioaddr + DATAPORT); |
inw | 493 | drivers/net/fmv18x.c | ushort pkt_len = inw(ioaddr + DATAPORT); |
inw | 541 | drivers/net/fmv18x.c | (void)inw(ioaddr + DATAPORT); /* dummy status read */ |
inw | 156 | drivers/net/hp-plus.c | if (inw(ioaddr + HP_ID) != 0x4850 |
inw | 157 | drivers/net/hp-plus.c | || (inw(ioaddr + HP_PAGING) & 0xfff0) != 0x5300) |
inw | 188 | drivers/net/hp-plus.c | printk(" ID %4.4x", inw(ioaddr + 12)); |
inw | 204 | drivers/net/hp-plus.c | int option = inw(ioaddr + HPP_OPTION); |
inw | 208 | drivers/net/hp-plus.c | mem_start = inw(ioaddr + 9) << 8; |
inw | 250 | drivers/net/hp-plus.c | outw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION); |
inw | 266 | drivers/net/hp-plus.c | option_reg = inw(ioaddr + HPP_OPTION); |
inw | 288 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 304 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 348 | drivers/net/hp-plus.c | buf[count-1] = inw(ioaddr + HP_DATAPORT); |
inw | 357 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 370 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 401 | drivers/net/hp-plus.c | int option_reg = inw(ioaddr + HPP_OPTION); |
inw | 343 | drivers/net/hp100.h | inw( ioaddr + HP100_REG_##reg ) |
inw | 355 | drivers/net/hp100.h | outw( inw( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) |
inw | 359 | drivers/net/hp100.h | outw( inw( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) |
inw | 384 | drivers/net/lance.c | reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ |
inw | 392 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) != 0x0004) |
inw | 397 | drivers/net/lance.c | if (inw(ioaddr+LANCE_ADDR) != 88) { |
inw | 400 | drivers/net/lance.c | int chip_version = inw(ioaddr+LANCE_DATA); |
inw | 402 | drivers/net/lance.c | chip_version |= inw(ioaddr+LANCE_DATA) << 16; |
inw | 449 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 452 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 455 | drivers/net/lance.c | inw(ioaddr+LANCE_ADDR); |
inw | 470 | drivers/net/lance.c | short reset_val = inw(ioaddr+LANCE_RESET); |
inw | 477 | drivers/net/lance.c | bus_info = inw(ioaddr+LANCE_BUS_IF); |
inw | 513 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) |
inw | 544 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0900) |
inw | 546 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) { |
inw | 600 | drivers/net/lance.c | inw(ioaddr+LANCE_RESET); |
inw | 641 | drivers/net/lance.c | if (inw(ioaddr+LANCE_DATA) & 0x0100) |
inw | 651 | drivers/net/lance.c | dev->name, i, (int) &lp->init_block, inw(ioaddr+LANCE_DATA)); |
inw | 742 | drivers/net/lance.c | dev->name, inw(ioaddr+LANCE_DATA)); |
inw | 781 | drivers/net/lance.c | inw(ioaddr+LANCE_DATA)); |
inw | 872 | drivers/net/lance.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
inw | 881 | drivers/net/lance.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
inw | 972 | drivers/net/lance.c | dev->name, inw(ioaddr + LANCE_ADDR), |
inw | 973 | drivers/net/lance.c | inw(dev->base_addr + LANCE_DATA)); |
inw | 1067 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
inw | 1073 | drivers/net/lance.c | dev->name, inw(ioaddr+LANCE_DATA)); |
inw | 1100 | drivers/net/lance.c | saved_addr = inw(ioaddr+LANCE_ADDR); |
inw | 1102 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
inw | 112 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
inw | 113 | drivers/net/ni65.c | outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
inw | 114 | drivers/net/ni65.c | #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ |
inw | 115 | drivers/net/ni65.c | inw(PORT+L_DATAREG)) |
inw | 116 | drivers/net/ni65.c | #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
inw | 244 | drivers/net/ni65.c | dev->irq = irqtab[(inw(PORT+L_CONFIG)>>2)&3]; |
inw | 246 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
inw | 365 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) != 0x4) |
inw | 367 | drivers/net/ni65.c | printk(KERN_ERR "%s: can't RESET ni6510 card: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
inw | 434 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) & CSR0_IDON) |
inw | 439 | drivers/net/ni65.c | printk(KERN_ERR "%s: can't init am7990/lance, status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
inw | 469 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
inw | 607 | drivers/net/ni65.c | dev->name,(int) rmdstat,csr0,(int) inw(PORT+L_DATAREG) ); |
inw | 91 | drivers/net/seeq8005.c | #define tx_done(dev) (inw(SEEQ_STATUS) & SEEQSTAT_TX_ON) |
inw | 150 | drivers/net/seeq8005.c | old_stat = inw(SEEQ_STATUS); /* read status register */ |
inw | 161 | drivers/net/seeq8005.c | old_rear = inw(SEEQ_REA); |
inw | 164 | drivers/net/seeq8005.c | if (inw(SEEQ_REA) == 0xffff) { /* assume that 0xffff == no device */ |
inw | 175 | drivers/net/seeq8005.c | old_cfg2 = inw(SEEQ_CFG2); /* read CFG2 register */ |
inw | 176 | drivers/net/seeq8005.c | old_cfg1 = inw(SEEQ_CFG1); |
inw | 177 | drivers/net/seeq8005.c | old_dmaar = inw(SEEQ_DMAAR); |
inw | 194 | drivers/net/seeq8005.c | j+= SA_prom[i] = inw(SEEQ_BUFFER) & 0xff; |
inw | 251 | drivers/net/seeq8005.c | while ( ((inw(SEEQ_STATUS) & SEEQSTAT_FIFO_EMPTY) != SEEQSTAT_FIFO_EMPTY) && jiffies < j ) |
inw | 254 | drivers/net/seeq8005.c | while ( ((inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && jiffies < j+HZ) |
inw | 256 | drivers/net/seeq8005.c | if ( (inw(SEEQ_STATUS) & SEEQSTAT_WINDOW_INT) == SEEQSTAT_WINDOW_INT) |
inw | 257 | drivers/net/seeq8005.c | outw( SEEQCMD_WINDOW_INT_ACK | (inw(SEEQ_STATUS)& SEEQCMD_INT_MASK), SEEQ_CMD); |
inw | 261 | drivers/net/seeq8005.c | if (inw(SEEQ_BUFFER) != 0x5a5a) |
inw | 439 | drivers/net/seeq8005.c | status = inw(SEEQ_STATUS); |
inw | 461 | drivers/net/seeq8005.c | status = inw(SEEQ_STATUS); |
inw | 486 | drivers/net/seeq8005.c | status = inw(SEEQ_STATUS); |
inw | 490 | drivers/net/seeq8005.c | next_packet = ntohs(inw(SEEQ_BUFFER)); |
inw | 491 | drivers/net/seeq8005.c | pkt_hdr = inw(SEEQ_BUFFER); |
inw | 625 | drivers/net/seeq8005.c | outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_ALL, SEEQ_CFG1); |
inw | 628 | drivers/net/seeq8005.c | outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_BROAD, SEEQ_CFG1); |
inw | 682 | drivers/net/seeq8005.c | old_cfg1 = inw(SEEQ_CFG1); |
inw | 683 | drivers/net/seeq8005.c | printk("%s: stat = 0x%04x\n",dev->name,inw(SEEQ_STATUS)); |
inw | 685 | drivers/net/seeq8005.c | printk("%s: cfg2 = 0x%04x\n",dev->name,inw(SEEQ_CFG2)); |
inw | 686 | drivers/net/seeq8005.c | printk("%s: raer = 0x%04x\n",dev->name,inw(SEEQ_REA)); |
inw | 687 | drivers/net/seeq8005.c | printk("%s: dmaar= 0x%04x\n",dev->name,inw(SEEQ_DMAAR)); |
inw | 696 | drivers/net/seeq8005.c | int status = inw(SEEQ_STATUS); |
inw | 723 | drivers/net/seeq8005.c | while ( (((status=inw(SEEQ_STATUS)) & SEEQSTAT_FIFO_EMPTY) == 0) && (jiffies < tmp + HZ)) |
inw | 745 | drivers/net/seeq8005.c | while ( ( ((status=inw(SEEQ_STATUS)) & SEEQSTAT_WINDOW_INT) != SEEQSTAT_WINDOW_INT) && jiffies < tmp) |
inw | 389 | drivers/net/skeleton.c | if (inw(ioaddr) == /*RU*/81) |
inw | 414 | drivers/net/skeleton.c | status = inw(ioaddr + 0); |
inw | 445 | drivers/net/skeleton.c | int status = inw(ioaddr); |
inw | 446 | drivers/net/skeleton.c | int pkt_len = inw(ioaddr); |
inw | 533 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
inw | 380 | drivers/net/smc9194.c | outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); |
inw | 440 | drivers/net/smc9194.c | outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); |
inw | 887 | drivers/net/smc9194.c | bank = inw( ioaddr + BANK_SELECT ); |
inw | 894 | drivers/net/smc9194.c | bank = inw( ioaddr + BANK_SELECT ); |
inw | 902 | drivers/net/smc9194.c | base_address_register = inw( ioaddr + BASE ); |
inw | 916 | drivers/net/smc9194.c | revision_register = inw( ioaddr + REVISION ); |
inw | 990 | drivers/net/smc9194.c | address = inw( ioaddr + ADDR0 + i ); |
inw | 998 | drivers/net/smc9194.c | memory_info_register = inw( ioaddr + MIR ); |
inw | 999 | drivers/net/smc9194.c | memory_cfg_register = inw( ioaddr + MCR ); |
inw | 1009 | drivers/net/smc9194.c | revision_register = inw( ioaddr + REVISION ); |
inw | 1019 | drivers/net/smc9194.c | configuration_register = inw( ioaddr + CONFIG ); |
inw | 1194 | drivers/net/smc9194.c | outw( inw( ioaddr + CONFIG ) & ~CFG_AUI_SELECT, |
inw | 1198 | drivers/net/smc9194.c | outw( inw( ioaddr + CONFIG ) | CFG_AUI_SELECT, |
inw | 1314 | drivers/net/smc9194.c | saved_bank = inw( ioaddr + BANK_SELECT ); |
inw | 1317 | drivers/net/smc9194.c | saved_pointer = inw( ioaddr + POINTER ); |
inw | 1350 | drivers/net/smc9194.c | card_stats = inw( ioaddr + COUNTER ); |
inw | 1436 | drivers/net/smc9194.c | packet_number = inw( ioaddr + FIFO_PORTS ); |
inw | 1449 | drivers/net/smc9194.c | status = inw( ioaddr + DATA_1 ); |
inw | 1450 | drivers/net/smc9194.c | packet_length = inw( ioaddr + DATA_1 ); |
inw | 1577 | drivers/net/smc9194.c | packet_no = inw( ioaddr + FIFO_PORTS ); |
inw | 1586 | drivers/net/smc9194.c | tx_status = inw( ioaddr + DATA_1 ); |
inw | 1605 | drivers/net/smc9194.c | outw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR ); |
inw | 1675 | drivers/net/smc9194.c | outw( inw(ioaddr + RCR ) | RCR_PROMISC, ioaddr + RCR ); |
inw | 1691 | drivers/net/smc9194.c | outw( inw(ioaddr + RCR ) | RCR_ALMUL, ioaddr + RCR ); |
inw | 1703 | drivers/net/smc9194.c | outw( inw( ioaddr + RCR ) & ~RCR_PROMISC, ioaddr + RCR ); |
inw | 1704 | drivers/net/smc9194.c | outw( inw( ioadddr + RCR ) | RCR_ALMUL, ioadddr + RCR ); |
inw | 1711 | drivers/net/smc9194.c | outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), |
inw | 1719 | drivers/net/smc9194.c | outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), |
inw | 206 | drivers/net/smc9194.h | #define SMC_DELAY() { inw( ioaddr + RCR );\ |
inw | 207 | drivers/net/smc9194.h | inw( ioaddr + RCR );\ |
inw | 208 | drivers/net/smc9194.h | inw( ioaddr + RCR ); } |
inw | 129 | drivers/net/wavelan.c | return inw(HASR(ioaddr)); |
inw | 303 | drivers/net/wavelan.c | while (inw(HASR(ioaddr)) & HASR_MMC_BUSY) |
inw | 309 | drivers/net/wavelan.c | while (inw(HASR(ioaddr)) & HASR_MMC_BUSY) |
inw | 312 | drivers/net/wavelan.c | *b++ = (unsigned char)(inw(MMCR(ioaddr)) >> 8); |
inw | 325 | 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 | 1515 | drivers/scsi/53c7,8xx.h | inw(NCR53c7x0_address_io + (address))) |
inw | 299 | drivers/scsi/AM53C974.h | #define AM53C974_read_16(addr) inw(io_port + (addr)) |
inw | 326 | drivers/scsi/AM53C974.h | #define AM53C974_PCIREG_READ_WORD(instance,a) ( inw((a) + (instance)->io_port) ) |
inw | 577 | drivers/scsi/advansys.c | #define inpw(port) inw(port) |
inw | 335 | drivers/scsi/aha152x.h | inw( PORT ) |
inw | 362 | drivers/scsi/eata.c | *p = inw(iobase); |
inw | 808 | drivers/scsi/eata_dma.c | *p = inw(base + HA_RDATA); |
inw | 818 | drivers/scsi/eata_dma.c | inw(base + HA_RDATA); |
inw | 178 | drivers/scsi/eata_pio.c | zwickel=inw(base+HA_RDATA); |
inw | 185 | drivers/scsi/eata_pio.c | zwickel=inw(base+HA_RDATA); |
inw | 576 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS)&HA_SDRQ) inw(base + HA_RDATA); |
inw | 608 | drivers/scsi/eata_pio.c | *p = inw(base + HA_RDATA); |
inw | 617 | drivers/scsi/eata_pio.c | inw(base + HA_RDATA); |
inw | 1539 | drivers/scsi/fdomain.c | while ( (data_count = FIFO_Size - inw( FIFO_Data_Count_port )) > 512 ) { |
inw | 1572 | drivers/scsi/fdomain.c | while ((data_count = inw( FIFO_Data_Count_port )) > 0) { |
inw | 93 | drivers/scsi/in2000.c | #ifndef inw |
inw | 262 | drivers/scsi/in2000.c | *in2000_dataptr++ = inw(INFIFO); |
inw | 114 | drivers/sound/pss.c | id = inw (REG (PSS_ID)); |
inw | 140 | drivers/sound/pss.c | tmp = inw (REG (dev)) & ~0x38; /* Load confreg, mask IRQ bits out */ |
inw | 155 | drivers/sound/pss.c | unsigned short tmp = inw (REG (dev)) & 0x003f; |
inw | 177 | drivers/sound/pss.c | tmp = inw (REG (dev)) & ~0x07; /* Load confreg, mask DMA bits out */ |
inw | 197 | drivers/sound/pss.c | inw (REG (PSS_CONTROL)); |
inw | 211 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
inw | 228 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
inw | 231 | drivers/sound/pss.c | *word = inw (REG (PSS_DATA)); |
inw | 252 | drivers/sound/pss.c | if (inw (REG (PSS_DATA)) == 0x5500) |
inw | 268 | drivers/sound/pss.c | if (inw (REG (PSS_STATUS)) & PSS_FLAG3) |
inw | 296 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
inw | 301 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
inw | 309 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
inw | 316 | drivers/sound/pss.c | val = inw (REG (PSS_DATA)); |
inw | 337 | drivers/sound/pss.c | id = inw (REG (PSS_ID)) & 0x00ff; |
inw | 112 | include/asm-alpha/io.h | #ifndef inw |
inw | 132 | include/asm-alpha/io.h | # define inw_p inw |
inw | 148 | include/asm-alpha/io.h | # define inw_p inw |
inw | 67 | include/asm-ppc/io.h | unsigned short inw(int port); |
inw | 75 | include/asm-ppc/io.h | static inline unsigned short inw_p(int port) {return (inw(port)); } |