inw 241 arch/alpha/include/asm/io.h extern u16 inw(unsigned long port); inw 497 arch/alpha/include/asm/io.h #define inw_p inw inw 94 arch/alpha/kernel/io.c EXPORT_SYMBOL(inw); inw 335 arch/alpha/kernel/pci-sysfs.c *((u16 *)val) = inw(port); inw 101 arch/alpha/kernel/sys_eb64p.c if (inw(0x806) != 0xffff) { inw 98 arch/alpha/kernel/sys_eiger.c intstatus = inw(0x500) & 15; inw 170 arch/alpha/kernel/sys_eiger.c int backplane = inw(0x502) & 0x0f; inw 72 arch/alpha/kernel/sys_mikasa.c pld = (((~inw(0x534) & 0x0000ffffUL) << 16) inw 77 arch/alpha/kernel/sys_noritake.c pld = (((unsigned long) inw(0x54c) << 32) inw 78 arch/alpha/kernel/sys_noritake.c | ((unsigned long) inw(0x54a) << 16) inw 93 arch/alpha/kernel/sys_takara.c intstatus = inw(0x500) & 15; inw 316 arch/arm/mach-ixp4xx/include/mach/io.h #define inw inw inw 333 arch/arm/mach-ixp4xx/include/mach/io.h *vaddr++ = le16_to_cpu(inw(io_addr)); inw 393 arch/arm/mach-ixp4xx/include/mach/io.h return (unsigned int)inw(port & PIO_MASK); inw 252 arch/hexagon/include/asm/io.h #define inw_p inw inw 271 arch/hexagon/include/asm/io.h u16 x = inw(port); inw 282 arch/hexagon/include/asm/io.h u32 x = inw(port); inw 150 arch/ia64/include/asm/io.h #define inw inw inw 214 arch/ia64/include/asm/io.h put_unaligned(inw(port), dp++); inw 495 arch/ia64/pci/pci.c *val = inw(port); inw 39 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c outw(inw(MFGPT0_SETUP) & 0x7fff, MFGPT0_SETUP); inw 96 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c outw(inw(MFGPT0_SETUP) | 0x4000, MFGPT0_SETUP); inw 169 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c count = inw(MFGPT0_CNT); inw 73 arch/mips/loongson64/loongson-3/acpi_init.c value = inw(ACPI_PM_EVT_BLK); inw 53 arch/mips/pci/ops-sni.c *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); inw 128 arch/mips/pci/ops-sni.c *val = inw(PCIMT_CONFIG_DATA + (reg & 2)); inw 86 arch/mips/pci/pci-virtio-guest.c *val = inw(PCI_CONFIG_DATA + (reg & 2)); inw 239 arch/parisc/include/asm/io.h #define inw_p inw inw 254 arch/parisc/include/asm/io.h extern unsigned short inw(int addr); inw 112 arch/parisc/include/asm/pci.h u16 (*inw) (struct pci_hba_data *hba, u16 port); inw 183 arch/parisc/lib/io.c l = cpu_to_le16(inw(port)) << 16; inw 184 arch/parisc/lib/io.c l |= cpu_to_le16(inw(port)); inw 189 arch/parisc/lib/io.c *(unsigned short *)p = cpu_to_le16(inw(port)); inw 194 arch/parisc/lib/io.c *(unsigned short *)p = cpu_to_le16(inw(port)); inw 200 arch/parisc/lib/io.c l = cpu_to_le16(inw(port)) << 16; inw 201 arch/parisc/lib/io.c l |= cpu_to_le16(inw(port)); inw 206 arch/parisc/lib/io.c *(unsigned short *)p = cpu_to_le16(inw(port)); inw 216 arch/parisc/lib/io.c l = cpu_to_le16(inw(port)); inw 221 arch/parisc/lib/io.c l2 = cpu_to_le16(inw(port)); inw 79 arch/parisc/lib/iomap.c return inw(ADDR2PORT(addr)); inw 24 arch/powerpc/include/asm/io-defs.h DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port) inw 666 arch/powerpc/include/asm/io.h #define inw_p(port) inw(port) inw 166 arch/powerpc/platforms/powernv/opal-lpc.c .inw = opal_lpc_inw, inw 112 arch/sh/boards/mach-hp6xx/pm.c hd64461_stbcr = inw(HD64461_STBCR); inw 134 arch/sh/boards/mach-hp6xx/pm.c hd64461_stbcr = inw(HD64461_STBCR); inw 60 arch/sh/boards/mach-hp6xx/setup.c v = inw(HD64461_GPADR); inw 78 arch/sh/boards/mach-hp6xx/setup.c v = inw(HD64461_GPADR); inw 129 arch/sh/boards/mach-hp6xx/setup.c v = inw(HD64461_STBCR); inw 139 arch/sh/boards/mach-hp6xx/setup.c v = inw(HD64461_GPADR); inw 55 arch/sh/drivers/pci/ops-dreamcast.c case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; inw 50 arch/sh/include/asm/io_noioport.h #define inw_p(addr) inw(addr) inw 201 arch/sparc/include/asm/io_64.h #define inw inw inw 234 arch/sparc/include/asm/io_64.h #define inw_p(__addr) inw(__addr) inw 344 arch/x86/include/asm/io.h #define inw inw inw 40 arch/x86/pci/direct.c *value = inw(0xCFC + (reg & 2)); inw 123 arch/x86/pci/direct.c *value = inw(PCI_CONF2_ADDRESS(dev, reg)); inw 31 arch/x86/pci/early.c v = inw(0xcfc + (offset&2)); inw 19 arch/x86/platform/scx200/scx200_32.c #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base)) inw 31 arch/x86/xen/platform-pci-unplug.c magic = inw(XEN_IOPORT_MAGIC); inw 46 arch/x86/xen/platform-pci-unplug.c if (inw(XEN_IOPORT_MAGIC) != XEN_IOPORT_MAGIC_VAL) { inw 651 drivers/acpi/osl.c *(u16 *) value = inw(port); inw 423 drivers/ata/pata_optidma.c inw(0x1F1); inw 424 drivers/ata/pata_optidma.c inw(0x1F1); inw 56 drivers/ata/pata_sc1200.c pci_clock = inw(0x901E); inw 369 drivers/atm/horizon.c return le16_to_cpu (inw (dev->iobase + reg)); inw 33 drivers/block/paride/kbic.c #define r12w() (delay_p,inw(pi->port+1)&0xffff) inw 115 drivers/block/paride/paride.h #define r4w() (delay_p,inw(pi->port+4)&0xffff) inw 470 drivers/block/paride/ppc6lnx.c *((u16 *)data) = inw(ppc->lpt_addr + 4); inw 25 drivers/char/ipmi/ipmi_si_port_io.c return (inw(addr + (offset * io->regspacing)) >> io->regshift) & 0xff; inw 353 drivers/char/mwave/3780i.h #define InWordDsp(index) inw(usDspBaseIO+index) inw 324 drivers/char/pcmcia/synclink_cs.c #define read_reg16(info, reg) inw((info)->io_base + (reg)) inw 288 drivers/cpufreq/longhaul.c bm_status = inw(acpi_regs_addr); inw 293 drivers/cpufreq/longhaul.c bm_status = inw(acpi_regs_addr); inw 35 drivers/gpu/drm/bochs/bochs_hw.c ret = inw(VBE_DISPI_IOPORT_DATA); inw 195 drivers/gpu/drm/vboxvideo/vbox_main.c dispi_id = inw(VBE_DISPI_IOPORT_DATA); inw 189 drivers/hwmon/pc87427.c data->fan[nr] = inw(iobase + PC87427_REG_FAN); inw 190 drivers/hwmon/pc87427.c data->fan_min[nr] = inw(iobase + PC87427_REG_FAN_MIN); inw 308 drivers/hwmon/pc87427.c data->temp[nr] = le16_to_cpu(inw(iobase + PC87427_REG_TEMP)); inw 124 drivers/i2c/busses/i2c-amd756.c outw_p(inw(SMB_GLOBAL_ENABLE) | GE_HOST_STC, SMB_GLOBAL_ENABLE); inw 174 drivers/i2c/busses/i2c-amd756.c outw_p(inw(SMB_GLOBAL_ENABLE) | GE_ABORT, SMB_GLOBAL_ENABLE); inw 150 drivers/i2c/busses/i2c-isch.c temp = inw(SMBHSTCLK); inw 122 drivers/i2c/busses/i2c-mlxcpld.c *((u16 *)data) = inw(addr); inw 125 drivers/i2c/busses/i2c-mlxcpld.c *((u16 *)data) = inw(addr); inw 41 drivers/ide/opti621.c inw(reg_base + 1); inw 42 drivers/ide/opti621.c inw(reg_base + 1); inw 57 drivers/ide/opti621.c inw(reg_base + 1); inw 58 drivers/ide/opti621.c inw(reg_base + 1); inw 56 drivers/ide/sc1200.c pci_clock = inw (0x901e); inw 20 drivers/ide/tc86c001.c u16 mode, scr = inw(scr_port); inw 138 drivers/ide/tc86c001.c u16 scr1 = inw(sc_base + 0x00); inw 151 drivers/ide/tc86c001.c u16 scr1 = inw(sc_base + 0x00); inw 165 drivers/ide/trm290.c reg = inw(hwif->config_data + 3); inw 216 drivers/ide/trm290.c u16 status = inw(drive->hwif->dma_base + 2); inw 225 drivers/ide/trm290.c u16 status = inw(drive->hwif->dma_base + 2); inw 286 drivers/ide/trm290.c old = inw(hwif->config_data); inw 294 drivers/ide/trm290.c new = inw(hwif->config_data); inw 100 drivers/iio/adc/stx104.c *val = inw(priv->base); inw 33 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 2); inw 36 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 4); inw 38 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 6); inw 41 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 8); inw 110 drivers/input/touchscreen/mk712.c last_x = inw(mk712_io + MK712_X) & 0x0fff; inw 111 drivers/input/touchscreen/mk712.c last_y = inw(mk712_io + MK712_Y) & 0x0fff; inw 159 drivers/input/touchscreen/mk712.c if ((inw(mk712_io + MK712_X) & 0xf000) || /* Sanity check */ inw 160 drivers/input/touchscreen/mk712.c (inw(mk712_io + MK712_Y) & 0xf000) || inw 161 drivers/input/touchscreen/mk712.c (inw(mk712_io + MK712_STATUS) & 0xf333)) { inw 342 drivers/isdn/hardware/mISDN/hfcmulti.c return inw(hc->pci_iobase); inw 501 drivers/isdn/hardware/mISDN/hfcmulti.c *(u16 *)data = le16_to_cpu(inw(hc->pci_iobase)); inw 413 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); inw 457 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); inw 533 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_RESET_ADDR); inw 537 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_RESET_ADDR); inw 34 drivers/leds/leds-hp6xx.c v16 = inw(HD64461_GPBDR); inw 364 drivers/media/pci/dm1105/dm1105.c #define dm_readw(reg) inw(dm_io_mem(reg)) inw 230 drivers/misc/cs5535-mfgpt.c return inw(timer->chip->base + reg + (timer->nr * 8)); inw 323 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr) != 0x6d50) { inw 373 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr) != 0x6d50) inw 583 drivers/net/ethernet/3com/3c509.c irq = inw(ioaddr + WN0_IRQ) >> 12; inw 584 drivers/net/ethernet/3com/3c509.c if_port = inw(ioaddr + 6)>>14; inw 637 drivers/net/ethernet/3com/3c509.c return inw(ioaddr + 12); inw 680 drivers/net/ethernet/3com/3c509.c dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); inw 686 drivers/net/ethernet/3com/3c509.c dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); inw 698 drivers/net/ethernet/3com/3c509.c dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS), inw 699 drivers/net/ethernet/3com/3c509.c inw(ioaddr + TX_FREE)); inw 722 drivers/net/ethernet/3com/3c509.c dev->name, skb->len, inw(ioaddr + EL3_STATUS)); inw 743 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr + TX_FREE) > 1536) inw 783 drivers/net/ethernet/3com/3c509.c status = inw(ioaddr + EL3_STATUS); inw 787 drivers/net/ethernet/3com/3c509.c while ((status = inw(ioaddr + EL3_STATUS)) & inw 845 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS)); inw 906 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 10); /* Total Rx and Tx octets. */ inw 907 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 12); inw 922 drivers/net/ethernet/3com/3c509.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); inw 923 drivers/net/ethernet/3com/3c509.c while ((rx_status = inw(ioaddr + RX_STATUS)) > 0) { inw 965 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS); /* Delay. */ inw 966 drivers/net/ethernet/3com/3c509.c while (inw(ioaddr + EL3_STATUS) & 0x1000) inw 968 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS) ); inw 1037 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_MEDIA); inw 1051 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); inw 1067 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_CONF_CTRL); inw 1076 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); inw 1102 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); inw 1123 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); inw 1132 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); inw 1222 drivers/net/ethernet/3com/3c509.c outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA); inw 1259 drivers/net/ethernet/3com/3c509.c net_diag = inw(ioaddr + WN4_NETDIAG); inw 1288 drivers/net/ethernet/3com/3c509.c outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA); inw 1296 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 10); inw 1297 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 12); inw 453 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0)) { inw 462 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) inw 465 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + Wn0EepromData) != 0x6d50) { inw 536 drivers/net/ethernet/3com/3c515.c inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); inw 555 drivers/net/ethernet/3com/3c515.c inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); inw 591 drivers/net/ethernet/3com/3c515.c irq = inw(ioaddr + 0x2002) & 15; inw 594 drivers/net/ethernet/3com/3c515.c irq = inw(ioaddr + 0x2002) & 15; inw 599 drivers/net/ethernet/3com/3c515.c dev->dma = inw(ioaddr + 0x2000) & 7; inw 641 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) inw 644 drivers/net/ethernet/3com/3c515.c eeprom[i] = inw(ioaddr + Wn0EepromData); inw 671 drivers/net/ethernet/3com/3c515.c vp->available_media = inw(ioaddr + Wn3_Options); inw 675 drivers/net/ethernet/3com/3c515.c config, inw(ioaddr + Wn3_Options)); inw 751 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 757 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 783 drivers/net/ethernet/3com/3c515.c dev->name, dev->irq, inw(ioaddr + Wn4_Media)); inw 797 drivers/net/ethernet/3com/3c515.c outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP | Media_SQE)) | inw 805 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 10); inw 806 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 12); inw 888 drivers/net/ethernet/3com/3c515.c int old_window = inw(ioaddr + EL3_CMD) >> 13; inw 891 drivers/net/ethernet/3com/3c515.c media_status = inw(ioaddr + Wn4_Media); inw 972 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS)); inw 992 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 1038 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + EL3_STATUS) & CmdInProgress) == 0) inw 1075 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + TxFree) > 1536) { inw 1086 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + TxFree) > 1536) { inw 1112 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 1140 drivers/net/ethernet/3com/3c515.c status = inw(ioaddr + EL3_STATUS); inw 1216 drivers/net/ethernet/3com/3c515.c if (DoneDidThat == 0 && inw(ioaddr + EL3_STATUS) & StatsFull) { inw 1257 drivers/net/ethernet/3com/3c515.c } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); inw 1274 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); inw 1275 drivers/net/ethernet/3com/3c515.c while ((rx_status = inw(ioaddr + RxStatus)) > 0) { inw 1314 drivers/net/ethernet/3com/3c515.c if (! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 1324 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) inw 1339 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); inw 1424 drivers/net/ethernet/3com/3c515.c dev->name, inw(ioaddr + EL3_STATUS), inw 1507 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 10); /* Total Rx and Tx octets. */ inw 1508 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 12); inw 477 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+EL3_STATUS), inw 478 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+RxStatus), inb(ioaddr+TxStatus), inw 479 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+TxFree)); inw 482 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+0x04), inw(ioaddr+0x06), inw 483 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+0x08), inw(ioaddr+0x0a)); inw 495 drivers/net/ethernet/3com/3c574_cs.c if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) break; inw 509 drivers/net/ethernet/3com/3c574_cs.c if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) inw 512 drivers/net/ethernet/3com/3c574_cs.c return inw(ioaddr + Wn0EepromData); inw 561 drivers/net/ethernet/3com/3c574_cs.c retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); inw 635 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + 10); inw 636 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + 12); inw 688 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(dev->base_addr + EL3_STATUS)); inw 739 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + EL3_STATUS)); inw 752 drivers/net/ethernet/3com/3c574_cs.c if (inw(ioaddr + TxFree) <= 1536) { inw 780 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr + EL3_STATUS)); inw 784 drivers/net/ethernet/3com/3c574_cs.c while ((status = inw(ioaddr + EL3_STATUS)) & inw 818 drivers/net/ethernet/3com/3c574_cs.c fifo_diag = inw(ioaddr + Wn4_FIFODiag); inw 849 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr + EL3_STATUS)); inw 873 drivers/net/ethernet/3com/3c574_cs.c if ((inw(ioaddr + EL3_STATUS) & IntLatch) && (inb(ioaddr + Timer) == 0xff)) { inw 958 drivers/net/ethernet/3com/3c574_cs.c if (inw(ioaddr+EL3_STATUS) == 0xffff) /* No card. */ inw 975 drivers/net/ethernet/3com/3c574_cs.c rx = inw(ioaddr + 10); inw 976 drivers/net/ethernet/3com/3c574_cs.c tx = inw(ioaddr + 12); inw 991 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); inw 992 drivers/net/ethernet/3com/3c574_cs.c while (!((rx_status = inw(ioaddr + RxStatus)) & 0x8000) && inw 1056 drivers/net/ethernet/3com/3c574_cs.c saved_window = inw(ioaddr + EL3_CMD) >> 13; inw 1070 drivers/net/ethernet/3com/3c574_cs.c saved_window = inw(ioaddr + EL3_CMD) >> 13; inw 371 drivers/net/ethernet/3com/3c589_cs.c if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) inw 387 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0) inw 389 drivers/net/ethernet/3com/3c589_cs.c return inw(ioaddr + 12); inw 431 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS), inw 432 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE)); inw 435 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08), inw 436 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+0x0a)); inw 462 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 10); inw 463 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 12); inw 524 drivers/net/ethernet/3com/3c589_cs.c dev->name, inw(dev->base_addr + EL3_STATUS)); inw 573 drivers/net/ethernet/3com/3c589_cs.c (long)skb->len, inw(ioaddr + EL3_STATUS)); inw 585 drivers/net/ethernet/3com/3c589_cs.c if (inw(ioaddr + TX_FREE) <= 1536) { inw 612 drivers/net/ethernet/3com/3c589_cs.c netdev_dbg(dev, "interrupt, status %4.4x.\n", inw(ioaddr + EL3_STATUS)); inw 615 drivers/net/ethernet/3com/3c589_cs.c while ((status = inw(ioaddr + EL3_STATUS)) & inw 644 drivers/net/ethernet/3com/3c589_cs.c fifo_diag = inw(ioaddr + 4); inw 675 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + EL3_STATUS)); inw 693 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr + EL3_STATUS) & IntLatch) && inw 717 drivers/net/ethernet/3com/3c589_cs.c media = inw(ioaddr+WN4_MEDIA) & 0xc810; inw 810 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 10); inw 812 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 12); inw 826 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); inw 827 drivers/net/ethernet/3com/3c589_cs.c while (!((rx_status = inw(ioaddr + RX_STATUS)) & 0x8000) && inw 936 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000) inw 416 drivers/net/ethernet/8390/apne.c *ptrs++ = inw(NE_BASE + NE_DATAPORT); inw 461 drivers/net/ethernet/8390/apne.c *ptrs++ = inw(NE_BASE + NE_DATAPORT); inw 222 drivers/net/ethernet/8390/axnet_cs.c j = inw(ioaddr + AXNET_DATAPORT); inw 70 drivers/net/ethernet/8390/ne2k-pci.c #define inw_le(addr) le16_to_cpu(inw(addr)) inw 552 drivers/net/ethernet/8390/ne2k-pci.c *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); inw 415 drivers/net/ethernet/8390/pcnet_cs.c j = inw(ioaddr + PCNET_DATAPORT); inw 504 drivers/net/ethernet/amd/lance.c reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ inw 512 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) != 0x0004) inw 517 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_ADDR) != 88) { inw 520 drivers/net/ethernet/amd/lance.c int chip_version = inw(ioaddr+LANCE_DATA); inw 522 drivers/net/ethernet/amd/lance.c chip_version |= inw(ioaddr+LANCE_DATA) << 16; inw 578 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); inw 581 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); inw 584 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); inw 599 drivers/net/ethernet/amd/lance.c short reset_val = inw(ioaddr+LANCE_RESET); inw 606 drivers/net/ethernet/amd/lance.c bus_info = inw(ioaddr+LANCE_BUS_IF); inw 646 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) inw 680 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0900) inw 682 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) { inw 721 drivers/net/ethernet/amd/lance.c outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF); inw 764 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_RESET); inw 782 drivers/net/ethernet/amd/lance.c outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF); inw 809 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) inw 819 drivers/net/ethernet/amd/lance.c dev->name, i, (u32) isa_virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA)); inw 923 drivers/net/ethernet/amd/lance.c dev->name, inw (ioaddr + LANCE_DATA)); inw 963 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_DATA)); inw 1033 drivers/net/ethernet/amd/lance.c while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 && inw 1042 drivers/net/ethernet/amd/lance.c dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); inw 1136 drivers/net/ethernet/amd/lance.c dev->name, inw(ioaddr + LANCE_ADDR), inw 1137 drivers/net/ethernet/amd/lance.c inw(dev->base_addr + LANCE_DATA)); inw 1234 drivers/net/ethernet/amd/lance.c dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); inw 1240 drivers/net/ethernet/amd/lance.c dev->name, inw(ioaddr+LANCE_DATA)); inw 1269 drivers/net/ethernet/amd/lance.c saved_addr = inw(ioaddr+LANCE_ADDR); inw 1271 drivers/net/ethernet/amd/lance.c dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); inw 159 drivers/net/ethernet/amd/ni65.c #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ inw 160 drivers/net/ethernet/amd/ni65.c outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} inw 161 drivers/net/ethernet/amd/ni65.c #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ inw 162 drivers/net/ethernet/amd/ni65.c inw(PORT+L_DATAREG)) inw 164 drivers/net/ethernet/amd/ni65.c #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} inw 170 drivers/net/ethernet/amd/ni65.c #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_DATAREG)) inw 279 drivers/net/ethernet/amd/ni65.c if(inw(PORT+L_ADDRREG) != 80) inw 326 drivers/net/ethernet/amd/ni65.c outw(inw(PORT+L_RESET),PORT+L_RESET); /* that's the hard way */ inw 460 drivers/net/ethernet/amd/ni65.c outw(inw(PORT+L_RESET),PORT+L_RESET); /* first: reset the card */ inw 470 drivers/net/ethernet/amd/ni65.c if(inw(PORT+L_ADDRREG) == 88) { inw 472 drivers/net/ethernet/amd/ni65.c v = inw(PORT+L_DATAREG); inw 475 drivers/net/ethernet/amd/ni65.c v |= inw(PORT+L_DATAREG); inw 485 drivers/net/ethernet/amd/ni65.c dev->irq = irqtab[(inw(ioaddr+L_CONFIG)>>2)&3]; inw 486 drivers/net/ethernet/amd/ni65.c dev->dma = dmatab[inw(ioaddr+L_CONFIG)&3]; inw 595 drivers/net/ethernet/amd/ni65.c if(inw(PORT+L_DATAREG) & (CSR0_IDON | CSR0_MERR) ) inw 804 drivers/net/ethernet/amd/ni65.c outw(inw(PORT+L_RESET),PORT+L_RESET); /* first: reset the card */ inw 855 drivers/net/ethernet/amd/ni65.c if(inw(PORT+L_DATAREG) & CSR0_IDON) { inw 861 drivers/net/ethernet/amd/ni65.c printk(KERN_ERR "%s: can't init lance, status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); inw 883 drivers/net/ethernet/amd/ni65.c csr0 = inw(PORT+L_DATAREG); inw 1067 drivers/net/ethernet/amd/ni65.c dev->name,(int) rmdstat,csr0,(int) inw(PORT+L_DATAREG) ); inw 1073 drivers/net/ethernet/amd/nmclan_cs.c rx_status = inw(ioaddr + AM2150_RCV); inw 343 drivers/net/ethernet/amd/pcnet32.c return inw(addr + PCNET32_WIO_RDP); inw 355 drivers/net/ethernet/amd/pcnet32.c return inw(addr + PCNET32_WIO_BDP); inw 366 drivers/net/ethernet/amd/pcnet32.c return inw(addr + PCNET32_WIO_RAP); inw 376 drivers/net/ethernet/amd/pcnet32.c inw(addr + PCNET32_WIO_RESET); inw 382 drivers/net/ethernet/amd/pcnet32.c return inw(addr + PCNET32_WIO_RAP) == 88; inw 1459 drivers/net/ethernet/amd/pcnet32.c *buff++ = inw(ioaddr + i); inw 783 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + TX_STATUS)), inw 788 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 0)), htons(inw(ioaddr + 2)), inw 789 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 4)), htons(inw(ioaddr + 6)), inw 790 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 8)), htons(inw(ioaddr + 10)), inw 791 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 12)), htons(inw(ioaddr + 14))); inw 937 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inw(ioaddr + DATAPORT); inw 938 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inw(ioaddr + DATAPORT); inw 967 drivers/net/ethernet/fujitsu/fmvj18x_cs.c u_short status = inw(ioaddr + DATAPORT); inw 984 drivers/net/ethernet/fujitsu/fmvj18x_cs.c u_short pkt_len = inw(ioaddr + DATAPORT); inw 2801 drivers/net/ethernet/hp/hp100.c printk("0x%.2x = 0x%.4x\n", Register, inw(ioaddr + Register)); inw 584 drivers/net/ethernet/hp/hp100.h inw( ioaddr + HP100_REG_##reg ) inw 596 drivers/net/ethernet/hp/hp100.h outw( inw( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) inw 600 drivers/net/ethernet/hp/hp100.h outw( inw( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) inw 338 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); inw 398 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); inw 868 drivers/net/ethernet/smsc/smc9194.c bank = inw( ioaddr + BANK_SELECT ); inw 876 drivers/net/ethernet/smsc/smc9194.c bank = inw( ioaddr + BANK_SELECT ); inw 885 drivers/net/ethernet/smsc/smc9194.c base_address_register = inw( ioaddr + BASE ); inw 900 drivers/net/ethernet/smsc/smc9194.c revision_register = inw( ioaddr + REVISION ); inw 926 drivers/net/ethernet/smsc/smc9194.c address = inw( ioaddr + ADDR0 + i ); inw 934 drivers/net/ethernet/smsc/smc9194.c memory_info_register = inw( ioaddr + MIR ); inw 935 drivers/net/ethernet/smsc/smc9194.c memory_cfg_register = inw( ioaddr + MCR ); inw 945 drivers/net/ethernet/smsc/smc9194.c revision_register = inw( ioaddr + REVISION ); inw 956 drivers/net/ethernet/smsc/smc9194.c configuration_register = inw( ioaddr + CONFIG ); inw 1064 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONFIG ) & ~CFG_AUI_SELECT, inw 1068 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONFIG ) | CFG_AUI_SELECT, inw 1133 drivers/net/ethernet/smsc/smc9194.c packet_number = inw( ioaddr + FIFO_PORTS ); inw 1146 drivers/net/ethernet/smsc/smc9194.c status = inw( ioaddr + DATA_1 ); inw 1147 drivers/net/ethernet/smsc/smc9194.c packet_length = inw( ioaddr + DATA_1 ); inw 1257 drivers/net/ethernet/smsc/smc9194.c packet_no = inw( ioaddr + FIFO_PORTS ); inw 1266 drivers/net/ethernet/smsc/smc9194.c tx_status = inw( ioaddr + DATA_1 ); inw 1284 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR ); inw 1327 drivers/net/ethernet/smsc/smc9194.c saved_bank = inw( ioaddr + BANK_SELECT ); inw 1330 drivers/net/ethernet/smsc/smc9194.c saved_pointer = inw( ioaddr + POINTER ); inw 1365 drivers/net/ethernet/smsc/smc9194.c card_stats = inw( ioaddr + COUNTER ); inw 1456 drivers/net/ethernet/smsc/smc9194.c outw( inw(ioaddr + RCR ) | RCR_PROMISC, ioaddr + RCR ); inw 1468 drivers/net/ethernet/smsc/smc9194.c outw( inw(ioaddr + RCR ) | RCR_ALMUL, ioaddr + RCR ); inw 1477 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), inw 1484 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), inw 207 drivers/net/ethernet/smsc/smc9194.h #define SMC_DELAY() { inw( ioaddr + RCR );\ inw 208 drivers/net/ethernet/smsc/smc9194.h inw( ioaddr + RCR );\ inw 209 drivers/net/ethernet/smsc/smc9194.h inw( ioaddr + RCR ); } inw 262 drivers/net/ethernet/smsc/smc91c92_cs.c #define set_bits(v, p) outw(inw(p)|(v), (p)) inw 263 drivers/net/ethernet/smsc/smc91c92_cs.c #define mask_bits(v, p) outw(inw(p)&(v), (p)) inw 554 drivers/net/ethernet/smsc/smc91c92_cs.c wait = ((CTL_RELOAD | CTL_STORE) & inw(ioaddr + CONTROL)); inw 561 drivers/net/ethernet/smsc/smc91c92_cs.c addr = inw(ioaddr + GENERAL); inw 703 drivers/net/ethernet/smsc/smc91c92_cs.c inw(link->resource[0]->start + OSITECH_AUI_PWR), inw 704 drivers/net/ethernet/smsc/smc91c92_cs.c inw(link->resource[0]->start + OSITECH_RESET_ISR)); inw 770 drivers/net/ethernet/smsc/smc91c92_cs.c if (inw(ioaddr + BANK_SELECT) >> 8 != 0x33) { inw 786 drivers/net/ethernet/smsc/smc91c92_cs.c s = inw(ioaddr + BASE_ADDR); inw 787 drivers/net/ethernet/smsc/smc91c92_cs.c if ((inw(ioaddr + BANK_SELECT) >> 8 == 0x33) && inw 790 drivers/net/ethernet/smsc/smc91c92_cs.c s = inw(ioaddr + REVISION); inw 889 drivers/net/ethernet/smsc/smc91c92_cs.c mir = inw(ioaddr + MEMINFO) & 0xff; inw 892 drivers/net/ethernet/smsc/smc91c92_cs.c mcr = ((rev >> 4) > 3) ? inw(ioaddr + MEMCFG) : 0x0200; inw 895 drivers/net/ethernet/smsc/smc91c92_cs.c smc->cfg = inw(ioaddr + CONFIG) & ~CFG_AUI_SELECT; inw 1035 drivers/net/ethernet/smsc/smc91c92_cs.c save = inw(ioaddr + BANK_SELECT); inw 1040 drivers/net/ethernet/smsc/smc91c92_cs.c pr_cont(" %04x", inw(ioaddr + i)); inw 1053 drivers/net/ethernet/smsc/smc91c92_cs.c dev->name, dev, inw(dev->base_addr + BANK_SELECT)); inw 1088 drivers/net/ethernet/smsc/smc91c92_cs.c dev->name, inw(ioaddr + BANK_SELECT)); inw 1131 drivers/net/ethernet/smsc/smc91c92_cs.c packet_no = inw(ioaddr + PNR_ARR) >> 8; inw 1167 drivers/net/ethernet/smsc/smc91c92_cs.c (inw(ioaddr + INTERRUPT) & 0xff00), inw 1187 drivers/net/ethernet/smsc/smc91c92_cs.c inw(ioaddr)&0xff, inw(ioaddr + 2)); inw 1207 drivers/net/ethernet/smsc/smc91c92_cs.c skb->len, inw(ioaddr + 2)); inw 1241 drivers/net/ethernet/smsc/smc91c92_cs.c ir = inw(ioaddr+INTERRUPT); inw 1269 drivers/net/ethernet/smsc/smc91c92_cs.c int saved_packet = inw(ioaddr + PNR_ARR) & 0xff; inw 1270 drivers/net/ethernet/smsc/smc91c92_cs.c int packet_no = inw(ioaddr + FIFO_PORTS) & 0x7f; inw 1279 drivers/net/ethernet/smsc/smc91c92_cs.c tx_status = inw(ioaddr + DATA_1); inw 1294 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); inw 1314 drivers/net/ethernet/smsc/smc91c92_cs.c ephs = inw(ioaddr + EPH); inw 1318 drivers/net/ethernet/smsc/smc91c92_cs.c card_stats = inw(ioaddr + COUNTER); inw 1329 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); inw 1360 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); inw 1371 drivers/net/ethernet/smsc/smc91c92_cs.c saved_pointer = inw(ioaddr + POINTER); inw 1372 drivers/net/ethernet/smsc/smc91c92_cs.c mask = inw(ioaddr + INTERRUPT) >> 8; inw 1377 drivers/net/ethernet/smsc/smc91c92_cs.c status = inw(ioaddr + INTERRUPT) & 0xff; inw 1479 drivers/net/ethernet/smsc/smc91c92_cs.c if (inw(ioaddr + FIFO_PORTS) & FP_RXEMPTY) { inw 1486 drivers/net/ethernet/smsc/smc91c92_cs.c rx_status = inw(ioaddr + DATA_1); inw 1487 drivers/net/ethernet/smsc/smc91c92_cs.c packet_length = inw(ioaddr + DATA_1) & 0x07ff; inw 1618 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); inw 1666 drivers/net/ethernet/smsc/smc91c92_cs.c (inw(ioaddr-0x10+OSITECH_AUI_PWR) & 0xff00), inw 1722 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); inw 1734 drivers/net/ethernet/smsc/smc91c92_cs.c i = inw(ioaddr + INTERRUPT); inw 1736 drivers/net/ethernet/smsc/smc91c92_cs.c media = inw(ioaddr + EPH) & EPH_LINK_OK; inw 1738 drivers/net/ethernet/smsc/smc91c92_cs.c media |= (inw(ioaddr + CONFIG) & CFG_AUI_SELECT) ? 2 : 1; inw 1762 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); inw 1788 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); inw 1842 drivers/net/ethernet/smsc/smc91c92_cs.c return inw(ioaddr + EPH) & EPH_LINK_OK; inw 1857 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + CONFIG); inw 1863 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); inw 1890 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); inw 1918 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); inw 1937 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); inw 1956 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); inw 1973 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); inw 2007 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); inw 124 drivers/net/ethernet/smsc/smc91x.h #define SMC_inw(a, r) inw((a) + (r) - 0xa0000000) inw 534 drivers/net/ethernet/ti/tlan.c device_id = inw(ioaddr + EISA_ID2); inw 689 drivers/net/ethernet/ti/tlan.c (int) ioaddr + 0xc80, inw(ioaddr + EISA_ID)); inw 691 drivers/net/ethernet/ti/tlan.c (int) ioaddr + 0xc82, inw(ioaddr + EISA_ID2)); inw 700 drivers/net/ethernet/ti/tlan.c if (inw(ioaddr + EISA_ID) != 0x110E) { inw 705 drivers/net/ethernet/ti/tlan.c device_id = inw(ioaddr + EISA_ID2); inw 1162 drivers/net/ethernet/ti/tlan.c host_int = inw(dev->base_addr + TLAN_HOST_INT); inw 457 drivers/net/ethernet/ti/tlan.h return inw((base_addr + TLAN_DIO_DATA) + (internal_addr & 0x2)); inw 309 drivers/net/ethernet/xircom/xirc2ps_cs.c #define GetWord(reg) ((unsigned)inw(ioaddr + (reg))) inw 244 drivers/net/wan/cosa.c #define cosa_inw inw inw 136 drivers/net/wan/n2.c #define sca_inw(reg, card) inw(sca_reg(reg, card)) inw 648 drivers/net/wireless/atmel/atmel.c return inw(dev->base_addr + offset); inw 4143 drivers/net/wireless/atmel/atmel.c for (i = 0; data != inw(dev->base_addr + AR) && i < 10; i++) inw 4185 drivers/net/wireless/atmel/atmel.c outw(inw(dev->base_addr + GCR) | mask, dev->base_addr + GCR); inw 4190 drivers/net/wireless/atmel/atmel.c outw(inw(dev->base_addr + GCR) & ~mask, dev->base_addr + GCR); inw 3564 drivers/net/wireless/cisco/airo.c rc = inw( ai->dev->base_addr + reg ); inw 101 drivers/net/wireless/intersil/hostap/hostap_cs.c v = inw(dev->base_addr + a); inw 149 drivers/net/wireless/intersil/hostap/hostap_cs.c #define HFA384X_INW(a) inw(dev->base_addr + (a)) inw 167 drivers/net/wireless/intersil/hostap/hostap_plx.c v = inw(dev->base_addr + a); inw 217 drivers/net/wireless/intersil/hostap/hostap_plx.c #define HFA384X_INW(a) inw(dev->base_addr + (a)) inw 299 drivers/parisc/dino.c .inw = dino_in16, inw 236 drivers/parisc/eisa_enumerator.c outw((inw(get_16(buf+len+1)) & inw 944 drivers/parisc/lba_pci.c .inw = lba_astro_in16, inw 1002 drivers/parisc/lba_pci.c .inw = lba_pat_in16, inw 1084 drivers/pci/pci-sysfs.c *(u16 *)buf = inw(port); inw 283 drivers/pci/quirks.c pm1a = inw(pmbase); inw 133 drivers/pcmcia/tcic.c u_short val = inw(tcic_base+reg); inw 151 drivers/pcmcia/tcic.c #define tcic_getw(reg) inw(tcic_base+reg) inw 128 drivers/pcmcia/vrc4171_card.c return inw(INTERRUPT_STATUS); inw 135 drivers/pcmcia/vrc4171_card.c config1 = inw(CONFIGURATION1); inw 173 drivers/platform/x86/hdaps.c *y = inw(port2); inw 174 drivers/platform/x86/hdaps.c *x = inw(port1); inw 35 drivers/power/reset/piix4-poweroff.c sts = inw(io_offset + PIIX4_FUNC3IO_PMSTS); inw 183 drivers/scsi/FlashPoint.c #define RDW_HARPOON(ioport) inw((u32)ioport) inw 1111 drivers/scsi/a100u2w.c bios = inw(port + 0x50); inw 79 drivers/scsi/advansys.c #define inpw(port) inw(port) inw 11593 drivers/scsi/advansys.c unsigned short cfg_lsw = inw(edev->base_addr + 0xc86); inw 11634 drivers/scsi/advansys.c inw(ioport + 4); inw 423 drivers/scsi/aic7xxx/aic79xx_osm.c x = inw(ahd->bshs[(port) >> 8].ioport + ((port) & 0xFF)); inw 69 drivers/scsi/aic94xx/aic94xx_reg.c val = inw((unsigned long)asd_ha->io_handle[0].addr inw 84 drivers/scsi/atp870u.c return inw(atp->baseport + reg); inw 99 drivers/scsi/atp870u.c return inw(atp->ioport[channel] + reg); inw 157 drivers/scsi/dc395x.c #define DC395x_read16(acb,address) (u16)(inw(acb->io_port_base + (address))) inw 220 drivers/scsi/fdomain.c while ((len = inw(fd->base + REG_FIFO_COUNT)) > 0) { inw 242 drivers/scsi/fdomain.c while ((len = FIFO_Size - inw(fd->base + REG_FIFO_COUNT)) > 512) { inw 2530 drivers/scsi/gdth.c ha->status = inw(PTR2USHORT(&ha->plx->status)); inw 2535 drivers/scsi/gdth.c ha->service = inw(PTR2USHORT(&ha->plx->service)); inw 24 drivers/scsi/mvsas/mv_chips.h #define ior16(reg) inw((unsigned long)(regs + reg)) inw 264 drivers/scsi/ncr53c8xx.h #define inw_l2b inw inw 294 drivers/scsi/ncr53c8xx.h #define inw_raw inw inw 35 drivers/scsi/nsp32_io.h return inw(base + index); inw 137 drivers/scsi/nsp32_io.h return inw(base + DATA_REG_LOW); inw 154 drivers/scsi/nsp32_io.h l = inw(base + DATA_REG_LOW); inw 155 drivers/scsi/nsp32_io.h h = inw(base + DATA_REG_HI ); inw 55 drivers/scsi/qla1280.h #define RD_REG_WORD(addr) inw((unsigned long)addr) inw 223 drivers/scsi/qla2xxx/qla_def.h #define RD_REG_WORD_PIO(addr) (inw((unsigned long)addr)) inw 548 drivers/staging/comedi/drivers/addi_apci_1500.c data[1] = inw(devpriv->addon + APCI1500_DI_REG); inw 72 drivers/staging/comedi/drivers/addi_apci_1516.c data[1] = inw(dev->iobase + APCI1516_DI_REG); inw 82 drivers/staging/comedi/drivers/addi_apci_1516.c s->state = inw(dev->iobase + APCI1516_DO_REG); inw 33 drivers/staging/comedi/drivers/addi_apci_2200.c data[1] = inw(dev->iobase + APCI2200_DI_REG); inw 43 drivers/staging/comedi/drivers/addi_apci_2200.c s->state = inw(dev->iobase + APCI2200_DO_REG); inw 343 drivers/staging/comedi/drivers/addi_apci_3120.c val = inw(dev->iobase + APCI3120_TIMER_REG); inw 350 drivers/staging/comedi/drivers/addi_apci_3120.c val |= (inw(dev->iobase + APCI3120_TIMER_REG) << 16); inw 413 drivers/staging/comedi/drivers/addi_apci_3120.c inw(dev->iobase + APCI3120_TIMER_MODE_REG); inw 479 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 504 drivers/staging/comedi/drivers/addi_apci_3120.c val = inw(dev->iobase + APCI3120_AI_FIFO_REG); inw 684 drivers/staging/comedi/drivers/addi_apci_3120.c inw(dev->iobase + APCI3120_STATUS_REG); inw 697 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 741 drivers/staging/comedi/drivers/addi_apci_3120.c data[i] = inw(dev->iobase + APCI3120_AI_FIFO_REG); inw 754 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 792 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 850 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 961 drivers/staging/comedi/drivers/addi_apci_3120.c inw(dev->iobase + APCI3120_STATUS_REG); inw 1006 drivers/staging/comedi/drivers/addi_apci_3120.c status = inw(dev->iobase + APCI3120_STATUS_REG); inw 49 drivers/staging/comedi/drivers/adl_pci6208.c status = inw(dev->iobase + PCI6208_AO_STATUS); inw 89 drivers/staging/comedi/drivers/adl_pci6208.c val = inw(dev->iobase + PCI6208_DIO); inw 162 drivers/staging/comedi/drivers/adl_pci6208.c val = inw(dev->iobase + PCI6208_DIO); inw 41 drivers/staging/comedi/drivers/adl_pci8164.c data[i] = inw(dev->iobase + PCI8164_AXIS(chan) + offset); inw 562 drivers/staging/comedi/drivers/adl_pci9111.c data[i] = inw(dev->iobase + PCI9111_AI_FIFO_REG); inw 592 drivers/staging/comedi/drivers/adl_pci9111.c data[1] = inw(dev->iobase + PCI9111_DIO_REG); inw 294 drivers/staging/comedi/drivers/adv_pci1710.c status = inw(dev->iobase + PCI171X_STATUS_REG); inw 310 drivers/staging/comedi/drivers/adv_pci1710.c sample = inw(dev->iobase + PCI171X_AD_DATA_REG); inw 401 drivers/staging/comedi/drivers/adv_pci1710.c status = inw(dev->iobase + PCI171X_STATUS_REG); inw 416 drivers/staging/comedi/drivers/adv_pci1710.c for (; !(inw(dev->iobase + PCI171X_STATUS_REG) & PCI171X_STATUS_FE);) { inw 444 drivers/staging/comedi/drivers/adv_pci1710.c status = inw(dev->iobase + PCI171X_STATUS_REG); inw 494 drivers/staging/comedi/drivers/adv_pci1710.c if (!(inw(dev->iobase + PCI171X_STATUS_REG) & PCI171X_STATUS_IRQ)) inw 665 drivers/staging/comedi/drivers/adv_pci1710.c data[1] = inw(dev->iobase + PCI171X_DI_REG); inw 127 drivers/staging/comedi/drivers/adv_pci1723.c data[1] = inw(dev->iobase + PCI1723_DIO_DATA_REG); inw 187 drivers/staging/comedi/drivers/adv_pci1723.c val = inw(dev->iobase + PCI1723_DIO_CTRL_REG); inw 192 drivers/staging/comedi/drivers/adv_pci1723.c s->state = inw(dev->iobase + PCI1723_DIO_DATA_REG); inw 235 drivers/staging/comedi/drivers/adv_pci_dio.c data[1] = inw(iobase); inw 237 drivers/staging/comedi/drivers/adv_pci_dio.c data[1] |= (inw(iobase + 2) << 16); inw 143 drivers/staging/comedi/drivers/aio_aio12_8.c val = inw(dev->iobase + AIO12_8_ADC_REG) & s->maxdata; inw 415 drivers/staging/comedi/drivers/amplc_pci224.c inw(dev->iobase + PCI224_SOFTTRIG); inw 516 drivers/staging/comedi/drivers/amplc_pci224.c dacstat = inw(dev->iobase + PCI224_DACCON); inw 540 drivers/staging/comedi/drivers/amplc_pci230.c data = inw(devpriv->daqio + PCI230_ADCDATA); inw 716 drivers/staging/comedi/drivers/amplc_pci230.c status = inw(devpriv->daqio + PCI230_ADCCON); inw 1105 drivers/staging/comedi/drivers/amplc_pci230.c dacstat = inw(devpriv->daqio + PCI230_DACCON); inw 1166 drivers/staging/comedi/drivers/amplc_pci230.c dacstat = inw(devpriv->daqio + PCI230_DACCON); inw 1200 drivers/staging/comedi/drivers/amplc_pci230.c inw(devpriv->daqio + PCI230P2_DACSWTRIG); inw 2033 drivers/staging/comedi/drivers/amplc_pci230.c status_fifo = inw(devpriv->daqio + PCI230_ADCCON); inw 2050 drivers/staging/comedi/drivers/amplc_pci230.c fifoamount = inw(devpriv->daqio + inw 2414 drivers/staging/comedi/drivers/amplc_pci230.c devpriv->daccon = inw(devpriv->daqio + PCI230_DACCON) & inw 2423 drivers/staging/comedi/drivers/amplc_pci230.c devpriv->hwver = inw(devpriv->daqio + PCI230P_HWVER); inw 133 drivers/staging/comedi/drivers/cb_das16_cs.c status = inw(dev->iobase + DAS16CS_MISC1_REG); inw 187 drivers/staging/comedi/drivers/cb_das16_cs.c data[i] = inw(dev->iobase + DAS16CS_AI_DATA_REG); inw 252 drivers/staging/comedi/drivers/cb_das16_cs.c data[1] = inw(dev->iobase + DAS16CS_DIO_REG); inw 318 drivers/staging/comedi/drivers/cb_pcidas.c status = inw(devpriv->pcibar1 + PCIDAS_AI_REG); inw 370 drivers/staging/comedi/drivers/cb_pcidas.c data[n] = inw(devpriv->pcibar2 + PCIDAS_AI_DATA_REG); inw 1117 drivers/staging/comedi/drivers/cb_pcidas.c if (inw(devpriv->pcibar4 + PCIDAS_AO_REG) & PCIDAS_AO_EMPTY) { inw 1171 drivers/staging/comedi/drivers/cb_pcidas.c if ((inw(devpriv->pcibar1 + PCIDAS_CTRL_REG) & inw 1174 drivers/staging/comedi/drivers/cb_pcidas.c val = inw(devpriv->pcibar2 + PCIDAS_AI_DATA_REG); inw 1225 drivers/staging/comedi/drivers/cb_pcidas.c status = inw(devpriv->pcibar1 + PCIDAS_CTRL_REG); inw 213 drivers/staging/comedi/drivers/cb_pcimdas.c data[n] = inw(devpriv->daqio + PCIMDAS_AI_REG); inw 122 drivers/staging/comedi/drivers/cb_pcimdda.c inw(dev->iobase + PCIMDDA_DA_CHAN(chan)); inw 141 drivers/staging/comedi/drivers/comedi_8254.c val = inw(i8254->iobase + reg_offset); inw 47 drivers/staging/comedi/drivers/contec_pci_dio.c data[1] = inw(dev->iobase + PIO1616L_DI_REG); inw 344 drivers/staging/comedi/drivers/das16m1.c val = inw(dev->iobase + DAS16M1_AI_REG); inw 356 drivers/staging/comedi/drivers/das1800.c dpnt = inw(dev->iobase + DAS1800_FIFO); inw 974 drivers/staging/comedi/drivers/das1800.c dpnt = inw(dev->iobase + DAS1800_FIFO); inw 168 drivers/staging/comedi/drivers/das6402.c val = inw(dev->iobase + DAS6402_AI_DATA_REG); inw 487 drivers/staging/comedi/drivers/das6402.c inw(dev->iobase + DAS6402_AO_LSB_REG(chan)); inw 545 drivers/staging/comedi/drivers/das6402.c inw(dev->iobase + DAS6402_AO_LSB_REG(0)); inw 515 drivers/staging/comedi/drivers/dt282x.c adcsr = inw(dev->iobase + DT2821_ADCSR_REG); inw 516 drivers/staging/comedi/drivers/dt282x.c dacsr = inw(dev->iobase + DT2821_DACSR_REG); inw 517 drivers/staging/comedi/drivers/dt282x.c supcsr = inw(dev->iobase + DT2821_SUPCSR_REG); inw 541 drivers/staging/comedi/drivers/dt282x.c data = inw(dev->iobase + DT2821_ADDAT_REG); inw 593 drivers/staging/comedi/drivers/dt282x.c status = inw(dev->iobase + DT2821_ADCSR_REG); inw 647 drivers/staging/comedi/drivers/dt282x.c val = inw(dev->iobase + DT2821_ADDAT_REG); inw 969 drivers/staging/comedi/drivers/dt282x.c data[1] = inw(dev->iobase + DT2821_DIODAT_REG); inw 1073 drivers/staging/comedi/drivers/dt282x.c inw(dev->iobase + DT2821_ADCSR_REG); inw 1079 drivers/staging/comedi/drivers/dt282x.c if (((inw(dev->iobase + DT2821_ADCSR_REG) & 0xfff0) != 0x7c00) || inw 1080 drivers/staging/comedi/drivers/dt282x.c ((inw(dev->iobase + DT2821_CHANCSR_REG) & 0xf0f0) != 0x70f0) || inw 1081 drivers/staging/comedi/drivers/dt282x.c ((inw(dev->iobase + DT2821_DACSR_REG) & 0x7c93) != 0x7c90) || inw 1082 drivers/staging/comedi/drivers/dt282x.c ((inw(dev->iobase + DT2821_SUPCSR_REG) & 0xf8ff) != 0x0000) || inw 1083 drivers/staging/comedi/drivers/dt282x.c ((inw(dev->iobase + DT2821_TMRCTR_REG) & 0xff00) != 0xf000)) { inw 88 drivers/staging/comedi/drivers/multiq3.c status = inw(dev->iobase + MULTIQ3_STATUS_REG); inw 156 drivers/staging/comedi/drivers/multiq3.c data[1] = inw(dev->iobase + MULTIQ3_DI_REG); inw 150 drivers/staging/comedi/drivers/ni_at_a2150.c status = inw(dev->iobase + STATUS_REG); inw 572 drivers/staging/comedi/drivers/ni_at_a2150.c status = inw(dev->iobase + STATUS_REG); inw 618 drivers/staging/comedi/drivers/ni_at_a2150.c inw(dev->iobase + FIFO_DATA_REG); inw 627 drivers/staging/comedi/drivers/ni_at_a2150.c data[n] = inw(dev->iobase + FIFO_DATA_REG); inw 678 drivers/staging/comedi/drivers/ni_at_a2150.c int id = ID_BITS(inw(dev->iobase + STATUS_REG)); inw 749 drivers/staging/comedi/drivers/ni_at_a2150.c if ((DCAL_BIT & inw(dev->iobase + STATUS_REG)) == 0) inw 161 drivers/staging/comedi/drivers/ni_at_ao.c data[1] = inw(dev->iobase + ATAO_DIO_REG); inw 284 drivers/staging/comedi/drivers/ni_at_ao.c inw(dev->iobase + ATAO_FIFO_CLEAR_REG); inw 227 drivers/staging/comedi/drivers/ni_atmio16d.c val = inw(dev->iobase + AD_FIFO_REG); inw 458 drivers/staging/comedi/drivers/ni_atmio16d.c status = inw(dev->iobase + STAT_REG); inw 499 drivers/staging/comedi/drivers/ni_atmio16d.c data[i] = inw(dev->iobase + AD_FIFO_REG); inw 546 drivers/staging/comedi/drivers/ni_atmio16d.c data[1] = inw(dev->iobase + MIO_16_DIG_IN_REG); inw 164 drivers/staging/comedi/drivers/ni_daq_700.c inw(dev->iobase + ADFIFO_R); inw 174 drivers/staging/comedi/drivers/ni_daq_700.c d = inw(dev->iobase + ADFIFO_R); inw 206 drivers/staging/comedi/drivers/ni_daq_700.c inw(iobase + ADFIFO_R); /* read 16bit junk from FIFO to clear */ inw 259 drivers/staging/comedi/drivers/ni_mio_common.c return inw(dev->iobase + reg); inw 189 drivers/staging/comedi/drivers/s526.c val = inw(dev->iobase + S526_GPCT_LSB_REG(chan)) & 0xffff; inw 190 drivers/staging/comedi/drivers/s526.c val |= (inw(dev->iobase + S526_GPCT_MSB_REG(chan)) & 0xff) << 16; inw 388 drivers/staging/comedi/drivers/s526.c inw(dev->iobase + S526_GPCT_MODE_REG(chan)); /* Is this required? */ inw 423 drivers/staging/comedi/drivers/s526.c status = inw(dev->iobase + S526_INT_STATUS_REG); inw 465 drivers/staging/comedi/drivers/s526.c val = inw(dev->iobase + S526_AI_REG); inw 509 drivers/staging/comedi/drivers/s526.c data[1] = inw(dev->iobase + S526_DIO_CTRL_REG) & 0xff; inw 262 drivers/staging/speakup/speakup_acntpc.c port_val = inw(speakup_info.port_tts - 1); inw 273 drivers/staging/speakup/speakup_acntpc.c port_val = inw(synth_portlist[i]) & 0xfffc; inw 334 drivers/staging/speakup/speakup_dtlk.c port_val = inw(speakup_info.port_tts - 1); inw 341 drivers/staging/speakup/speakup_dtlk.c port_val = inw(synth_portlist[i]) & 0xfbff; inw 863 drivers/tty/ipwireless/hardware.c len = inw(hw->base_port + IODRR); inw 872 drivers/tty/ipwireless/hardware.c __le16 raw_data = inw(hw->base_port + IODRR); inw 879 drivers/tty/ipwireless/hardware.c len = inw(hw->base_port); inw 889 drivers/tty/ipwireless/hardware.c __le16 raw_data = inw(hw->base_port); inw 897 drivers/tty/ipwireless/hardware.c inw(hw->base_port); inw 1051 drivers/tty/ipwireless/hardware.c return inw(hw->base_port + IOIR) != 0xFFFF; inw 1062 drivers/tty/ipwireless/hardware.c irqn = inw(hw->base_port + IOIR); inw 1607 drivers/tty/ipwireless/hardware.c irqn = inw(hw->base_port + IOIR); inw 138 drivers/tty/isicom.c #define ClearInterrupt(base) inw((base) + 0x0a) inw 223 drivers/tty/isicom.c while (!(inw(base + 0xe) & 0x1) && count++ < 100) inw 226 drivers/tty/isicom.c return !(inw(base + 0xe) & 0x1); inw 237 drivers/tty/isicom.c if (inw(base + 0xe) & 0x1) inw 420 drivers/tty/isicom.c if (inw(base + 0xe) & 0x1) inw 441 drivers/tty/isicom.c if (!(inw(base + 0x02) & (1 << port->channel))) inw 523 drivers/tty/isicom.c if (!(inw(base + 0x0e) & 0x02)) inw 535 drivers/tty/isicom.c inw(base); /* get the dummy word out */ inw 536 drivers/tty/isicom.c header = inw(base); inw 557 drivers/tty/isicom.c inw(base); inw 561 drivers/tty/isicom.c inw(base); inw 568 drivers/tty/isicom.c header = inw(base); inw 652 drivers/tty/isicom.c tty_insert_flip_char(&port->port, inw(base) & 0xff, inw 661 drivers/tty/isicom.c inw(base); inw 1284 drivers/tty/isicom.c inw(base + 0x8); inw 1292 drivers/tty/isicom.c sig = inw(base + 0x4) & 0xff; inw 1305 drivers/tty/isicom.c portcount = inw(base + 0x2); inw 1306 drivers/tty/isicom.c if (!(inw(base + 0xe) & 0x1) || (portcount != 0 && portcount != 4 && inw 1399 drivers/tty/isicom.c status = inw(base + 0x4); inw 1417 drivers/tty/isicom.c status = inw(base + 0x4); inw 1447 drivers/tty/isicom.c status = inw(base + 0x4); inw 1463 drivers/tty/isicom.c inw(base); inw 1481 drivers/tty/isicom.c status = inw(base + 0x4); inw 1458 drivers/tty/synclink.c outw( (inw(info->io_base + CCAR) & 0x0780) | (RDR+LSBONLY), inw 3513 drivers/tty/synclink.c u16 Ccar = inw( info->io_base + CCAR ); inw 4424 drivers/tty/synclink.c inw( info->io_base + CCAR ); inw 4449 drivers/tty/synclink.c inw( info->io_base ); inw 4479 drivers/tty/synclink.c inw( info->io_base ); inw 4504 drivers/tty/synclink.c return inw( info->io_base ); inw 4532 drivers/tty/synclink.c inw( info->io_base + CCAR ); inw 4553 drivers/tty/synclink.c return inw( info->io_base + CCAR ); inw 5658 drivers/tty/synclink.c outw( (inw( info->io_base + CCAR) & 0x0780) | (TDR+LSBONLY), inw 652 drivers/usb/host/pci-quirks.c if (inw(base + UHCI_USBCMD) & UHCI_USBCMD_HCRESET) inw 691 drivers/usb/host/pci-quirks.c cmd = inw(base + UHCI_USBCMD); inw 699 drivers/usb/host/pci-quirks.c intr = inw(base + UHCI_USBINTR); inw 526 drivers/usb/host/uhci-hcd.h return inw(uhci->io_addr + reg); inw 622 drivers/usb/host/uhci-hcd.h return inw(uhci->io_addr + reg); inw 83 drivers/usb/host/uhci-pci.c if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & inw 105 drivers/usb/host/uhci-pci.c if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & inw 48 drivers/video/backlight/hp680_bl.c v = inw(HD64461_GPBDR); inw 55 drivers/video/backlight/hp680_bl.c v = inw(HD64461_GPBDR); inw 47 drivers/video/fbdev/geode/display_gx.c val = (unsigned int)(inw(VSA_VRC_DATA)) & 0xFFl; inw 337 drivers/video/fbdev/geode/lxfb_ops.c val = (unsigned int)(inw(VSA_VRC_DATA)) & 0xFE; inw 920 drivers/video/fbdev/sis/init.c return inw(port); inw 224 drivers/watchdog/iTCO_wdt.c val = inw(TCO1_CNT(p)); inw 230 drivers/watchdog/iTCO_wdt.c newval = inw(TCO1_CNT(p)); inw 281 drivers/watchdog/iTCO_wdt.c val = inw(TCO1_CNT(p)); inw 284 drivers/watchdog/iTCO_wdt.c val = inw(TCO1_CNT(p)); inw 302 drivers/watchdog/iTCO_wdt.c val = inw(TCO1_CNT(p)); inw 305 drivers/watchdog/iTCO_wdt.c val = inw(TCO1_CNT(p)); inw 362 drivers/watchdog/iTCO_wdt.c val16 = inw(TCOv2_TMR(p)); inw 366 drivers/watchdog/iTCO_wdt.c val16 = inw(TCOv2_TMR(p)); inw 398 drivers/watchdog/iTCO_wdt.c val16 = inw(TCO_RLD(p)); inw 407 drivers/watchdog/iTCO_wdt.c if (!(inw(TCO1_STS(p)) & 0x0008)) inw 188 drivers/watchdog/ie6xx_wdt.c inw(ie6xx_wdt_data.sch_wdtba + RR0)); inw 190 drivers/watchdog/ie6xx_wdt.c inw(ie6xx_wdt_data.sch_wdtba + WDTCR)); inw 194 drivers/watchdog/ie6xx_wdt.c inw(ie6xx_wdt_data.sch_wdtba + WDTLR)); inw 82 drivers/watchdog/machzwd.c return inw(DATA_W); inw 472 include/asm-generic/io.h #ifndef inw inw 473 include/asm-generic/io.h #define inw inw inw 540 include/asm-generic/io.h return inw(addr); inw 135 include/linux/cs5535.h val = inw(VSA_VRC_DATA); inw 61 include/linux/logic_pio.h #ifndef inw inw 63 lib/iomap.c #define pio_read16be(port) swab16(inw(port)) inw 80 lib/iomap.c IO_COND(addr, return inw(port), return readw(addr)); inw 77 sound/isa/gus/gus_io.c return inw(gus->gf1.reg_data16); inw 367 sound/isa/gus/gus_io.c res = inw(gus->gf1.reg_data16); inw 57 sound/isa/sb/emu8000.c res = inw(port); /* Read data */ inw 87 sound/isa/sb/emu8000.c low = inw(port); /* Read low word of data */ inw 88 sound/isa/sb/emu8000.c res = low + (inw(port+2) << 16); inw 482 sound/isa/sb/emu8000.c while (!(inw(EMU8000_PTR(emu)) & 0x1000)) inw 484 sound/isa/sb/emu8000.c while ((inw(EMU8000_PTR(emu)) & 0x1000)) inw 668 sound/pci/ali5451/ali5451.c wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); inw 676 sound/pci/ali5451/ali5451.c wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); inw 788 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL)); inw 798 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL)); inw 816 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL)); inw 858 sound/pci/ali5451/ali5451.c inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)), inw 1393 sound/pci/ali5451/ali5451.c cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); inw 1415 sound/pci/ali5451/ali5451.c cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); inw 275 sound/pci/als300.c return inw(chip->port+AC97_READ); inw 364 sound/pci/azt3328.c return inw(codec->io_base + reg); inw 412 sound/pci/azt3328.c return inw(chip->ctrl_io + reg); inw 448 sound/pci/azt3328.c return inw(chip->game_io + reg); inw 460 sound/pci/azt3328.c return inw(chip->mixer_io + reg); inw 1194 sound/pci/ca0106/ca0106_main.c val = inw(emu->port + AC97DATA); inw 324 sound/pci/ca0106/ca0106_proc.c value = inw(emu->port + i); inw 520 sound/pci/cmipci.c return inw(cm->iobase + cmd); inw 3591 sound/pci/cs46xx/cs46xx_lib.c nval = control = inw(chip->acpi_port + 0x10); inw 8 sound/pci/cs5535audio/cs5535audio.h #define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) inw 703 sound/pci/emu10k1/emu10k1x.c val = inw(emu->port + AC97DATA); inw 491 sound/pci/emu10k1/io.c val = inw(emu->port + AC97DATA); inw 1743 sound/pci/ens1370.c inw(ES_REG(ensoniq, 1370_CODEC)); inw 1746 sound/pci/ens1370.c inw(ES_REG(ensoniq, 1370_CODEC)); inw 2029 sound/pci/ens1370.c inw(ES_REG(ensoniq, 1370_CODEC)); inw 2032 sound/pci/ens1370.c inw(ES_REG(ensoniq, 1370_CODEC)); inw 762 sound/pci/es1938.c old = inw(SLDM_REG(chip, DMACOUNT)); inw 763 sound/pci/es1938.c while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old) inw 771 sound/pci/es1938.c count = inw(SLDM_REG(chip, DMACOUNT)); inw 790 sound/pci/es1938.c ptr = chip->dma2_size - inw(SLIO_REG(chip, AUDIO2DMACOUNT)); inw 804 sound/pci/es1938.c old = inw(SLDM_REG(chip, DMACOUNT)); inw 805 sound/pci/es1938.c while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old) inw 1658 sound/pci/es1938.c inw(SLDM_REG(chip, DMACOUNT))); inw 1682 sound/pci/es1938.c inw(SLIO_REG(chip, AUDIO2DMACOUNT))); inw 596 sound/pci/es1968.c chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA); inw 661 sound/pci/es1968.c data = inw(chip->io_port + ESM_AC97_DATA); inw 775 sound/pci/es1968.c value = inw(chip->io_port + WC_DATA); inw 1070 sound/pci/es1968.c outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); inw 1198 sound/pci/es1968.c outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); inw 1740 sound/pci/es1968.c outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /* enable WP ints */ inw 1967 sound/pci/es1968.c outw(inw(chip->io_port + 4) & 1, chip->io_port + 4); inw 2057 sound/pci/es1968.c save_ringbus_a = inw(ioaddr + 0x36); inw 2061 sound/pci/es1968.c outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); inw 2062 sound/pci/es1968.c outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); inw 2066 sound/pci/es1968.c save_68 = inw(ioaddr + 0x68); inw 2079 sound/pci/es1968.c outw((inw(ioaddr + 0x38) & 0xfffc) | 0x1, ioaddr + 0x38); inw 2080 sound/pci/es1968.c outw((inw(ioaddr + 0x3a) & 0xfffc) | 0x1, ioaddr + 0x3a); inw 2081 sound/pci/es1968.c outw((inw(ioaddr + 0x3c) & 0xfffc) | 0x1, ioaddr + 0x3c); inw 2087 sound/pci/es1968.c save_68 = inw(ioaddr + 0x68); inw 2094 sound/pci/es1968.c outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); inw 2095 sound/pci/es1968.c outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); inw 2102 sound/pci/es1968.c if ((inw(ioaddr + 0x30) & 1) == 0) { inw 2107 sound/pci/es1968.c if (((inw(ioaddr + 0x30) & 1) == 0) inw 2111 sound/pci/es1968.c if (((inw(ioaddr + 0x30) & 1) == 0) inw 2124 sound/pci/es1968.c if ((inw(ioaddr + 0x30) & 1) == 0) inw 2133 sound/pci/es1968.c outw(inw(ioaddr + 0x68) | 0x600, ioaddr + 0x68); inw 2330 sound/pci/es1968.c w = inw(iobase + WC_CONTROL); inw 2562 sound/pci/es1968.c u16 val = inw(chip->io_port + GPIO_DATA); inw 2577 sound/pci/es1968.c u16 odir = inw(io + IO_DIR); inw 67 sound/pci/fm801.c #define fm801_readw(chip,reg) inw(chip->port + FM801_##reg) inw 216 sound/pci/fm801.c return inw(chip->port + offset); inw 182 sound/pci/ice1712/ice1712.c return inw(ICEREG(ice, AC97_DATA)); inw 237 sound/pci/ice1712/ice1712.c return inw(ICEMT(ice, AC97_DATA)); inw 455 sound/pci/ice1712/ice1712.c pbkstatus = inw(ICEDS(ice, INTSTAT)); inw 672 sound/pci/ice1712/ice1712.c ptr = runtime->buffer_size - inw(ice->ddma_port + 4); inw 788 sound/pci/ice1712/ice1712.c tmp = inw(ICEDS(ice, INTMASK)) & ~(1 << (substream->number * 2)); inw 821 sound/pci/ice1712/ice1712.c tmp = inw(ICEDS(ice, INTMASK)) | (3 << (substream->number * 2)); inw 1096 sound/pci/ice1712/ice1712.c ptr = ice->playback_pro_size - (inw(ICEMT(ice, PLAYBACK_SIZE)) << 2); inw 1110 sound/pci/ice1712/ice1712.c ptr = ice->capture_pro_size - (inw(ICEMT(ice, CAPTURE_SIZE)) << 2); inw 1581 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " PSDOUT03 : 0x%04x\n", (unsigned)inw(ICEMT(ice, ROUTE_PSDOUT03))); inw 1583 sound/pci/ice1712/ice1712.c snd_iprintf(buffer, " SPDOUT : 0x%04x\n", (unsigned)inw(ICEMT(ice, ROUTE_SPDOUT))); inw 2024 sound/pci/ice1712/ice1712.c val = inw(ICEMT(ice, ROUTE_PSDOUT03)); inw 2061 sound/pci/ice1712/ice1712.c val = old_val = inw(ICEMT(ice, ROUTE_PSDOUT03)); inw 2098 sound/pci/ice1712/ice1712.c val = inw(ICEMT(ice, ROUTE_SPDOUT)); inw 2122 sound/pci/ice1712/ice1712.c val = old_val = inw(ICEMT(ice, ROUTE_SPDOUT)); inw 2783 sound/pci/ice1712/ice1712.c ice->pm_saved_spdif_ctrl = inw(ICEMT(ice, ROUTE_SPDOUT)); inw 2784 sound/pci/ice1712/ice1712.c ice->pm_saved_route = inw(ICEMT(ice, ROUTE_PSDOUT03)); inw 177 sound/pci/ice1712/ice1724.c return inw(ICEMT1724(ice, AC97_DATA)); inw 189 sound/pci/ice1712/ice1724.c inw(ICEREG1724(ice, GPIO_DIRECTION)); /* dummy read for pci-posting */ inw 204 sound/pci/ice1712/ice1724.c inw(ICEREG1724(ice, GPIO_WRITE_MASK)); /* dummy read for pci-posting */ inw 214 sound/pci/ice1712/ice1724.c mask = (mask << 16) | inw(ICEREG1724(ice, GPIO_WRITE_MASK)); inw 223 sound/pci/ice1712/ice1724.c inw(ICEREG1724(ice, GPIO_DATA)); /* dummy read for pci-posting */ inw 233 sound/pci/ice1712/ice1724.c data = (data << 16) | inw(ICEREG1724(ice, GPIO_DATA)); inw 866 sound/pci/ice1712/ice1724.c ptr = inw(ice->profi_port + reg->size); inw 1184 sound/pci/ice1712/ice1724.c nval = val = inw(ICEMT1724(ice, SPDIF_CTRL)); inw 1680 sound/pci/ice1712/ice1724.c val = inw(ICEMT1724(ice, SPDIF_CTRL)); inw 1693 sound/pci/ice1712/ice1724.c old = inw(ICEMT1724(ice, SPDIF_CTRL)); inw 2797 sound/pci/ice1712/ice1724.c ice->pm_saved_spdif_ctrl = inw(ICEMT1724(ice, SPDIF_CTRL)); inw 922 sound/pci/maestro3.c return inw(chip->iobase + reg); inw 1937 sound/pci/maestro3.c tmp = inw(io + RING_BUS_CTRL_B) & ~SECOND_CODEC_ID_MASK; inw 1943 sound/pci/maestro3.c outw((inw(io + SDO_OUT_DEST_CTRL) & ~COMMAND_ADDR_OUT) | isremote, inw 1945 sound/pci/maestro3.c outw((inw(io + SDO_IN_DEST_CTRL) & ~STATUS_ADDR_IN) | isremote, inw 1990 sound/pci/maestro3.c dir = inw(io + GPIO_DIRECTION); inw 2029 sound/pci/maestro3.c tmp = inw(io + RING_BUS_CTRL_A); inw 2240 sound/pci/maestro3.c outw(inw(io + GPIO_DIRECTION) | gpo, inw 2266 sound/pci/maestro3.c outw(inw(io + GPIO_DIRECTION) & ~val, io + GPIO_DIRECTION); inw 24 sound/pci/oxygen/oxygen_io.c return inw(chip->addr + reg); inw 69 sound/pci/oxygen/oxygen_io.c u16 tmp = inw(chip->addr + reg); inw 935 sound/pci/sis7019.c while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count) inw 945 sound/pci/sis7019.c status = inw(io + SIS_AC97_STATUS); inw 961 sound/pci/sis7019.c while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count) inw 1086 sound/pci/sis7019.c while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count) inw 1096 sound/pci/sis7019.c while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count) inw 184 sound/pci/trident/trident_main.c if ((inw(TRID_REG(trident, address)) & DX_AC97_BUSY_WRITE) == 0) inw 194 sound/pci/trident/trident_main.c if ((inw(TRID_REG(trident, address)) & NX_AC97_BUSY_WRITE) == 0) inw 204 sound/pci/trident/trident_main.c if ((inw(TRID_REG(trident, address)) & (SI_AC97_BUSY_WRITE)) == 0) inw 1643 sound/pci/trident/trident_main.c cso = inw(TRID_REG(trident, CH_DX_CSO_ALPHA_FMS + 2)); inw 1677 sound/pci/trident/trident_main.c result = inw(TRID_REG(trident, T4D_SBBL_SBCL)); inw 3140 sound/pci/trident/trident_main.c axes[i] = inw(TRID_REG(chip, GAMEPORT_AXES + i * 2)); inw 3747 sound/pci/trident/trident_main.c tmp = inw(TRID_REG(trident, T4D_SBBL_SBCL)); inw 113 sound/pcmcia/pdaudiocf/pdaudiocf.h return inw(chip->port + reg); inw 58 sound/pcmcia/pdaudiocf/pdaudiocf_core.c while (inw(chip->port + PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { inw 75 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_WDP)); inw 77 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_RDP)); inw 79 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_TCR)); inw 81 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_SCR)); inw 83 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_ISR)); inw 85 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_IER)); inw 87 sound/pcmcia/pdaudiocf/pdaudiocf_core.c inw(chip->port + PDAUDIOCF_REG_AK_IFR)); inw 239 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); inw 253 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); inw 27 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c stat = inw(chip->port + PDAUDIOCF_REG_ISR); inw 44 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = inw(rdp_port) ^ xor; inw 45 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 54 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 55 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 56 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 64 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = inw(rdp_port) ^ xor; inw 65 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = inw(rdp_port) ^ xor; inw 74 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 75 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 76 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val3 = inw(rdp_port); inw 85 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab16(inw(rdp_port) ^ xor); inw 86 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 95 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 96 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 97 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 105 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab16(inw(rdp_port) ^ xor); inw 106 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab16(inw(rdp_port) ^ xor); inw 115 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 116 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 117 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val3 = inw(rdp_port); inw 129 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 130 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 131 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 145 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 146 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 147 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 161 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 162 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 163 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val3 = inw(rdp_port); inw 181 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); inw 182 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val2 = inw(rdp_port); inw 183 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val3 = inw(rdp_port); inw 258 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c rdp = inw(chip->port + PDAUDIOCF_REG_RDP); inw 259 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c wdp = inw(chip->port + PDAUDIOCF_REG_WDP); inw 277 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 278 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 283 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 284 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 285 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c inw(rdp_port); inw 23 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c while (inw(chip->port + PDAUDIOCF_REG_RDP) != inw(chip->port + PDAUDIOCF_REG_WDP)) { inw 26 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c inw(chip->port + PDAUDIOCF_REG_MD); inw 407 sound/pcmcia/vx/vxp_ops.c *addr++ = inw(port); inw 415 sound/pcmcia/vx/vxp_ops.c *addr++ = inw(port); inw 420 sound/pcmcia/vx/vxp_ops.c *addr = inw(port);