iowrite16 163 arch/alpha/include/asm/io.h REMAP2(u16, iowrite16, /**/) iowrite16 346 arch/alpha/include/asm/io.h IO_CONCAT(__IO_PREFIX, iowrite16)(b, addr); iowrite16 366 arch/alpha/include/asm/io.h iowrite16(b, ioport_map(port, 2)); iowrite16 493 arch/alpha/include/asm/io.h #define iowrite16be(v,p) iowrite16(cpu_to_be16(v), (p)) iowrite16 28 arch/alpha/include/asm/io_trivial.h IO_CONCAT(__IO_PREFIX,iowrite16)(u16 b, void __iomem *a) iowrite16 98 arch/alpha/include/asm/io_trivial.h IO_CONCAT(__IO_PREFIX,iowrite16)(b, addr); iowrite16 47 arch/alpha/kernel/io.c IO_CONCAT(__IO_PREFIX,iowrite16)(b, addr); iowrite16 60 arch/alpha/kernel/io.c EXPORT_SYMBOL(iowrite16); iowrite16 85 arch/alpha/kernel/io.c iowrite16(b, ioport_map(port, 2)); iowrite16 357 arch/alpha/kernel/io.c iowrite16(*(unsigned short *)src, port); iowrite16 367 arch/alpha/kernel/io.c iowrite16(w >> 0, port); iowrite16 368 arch/alpha/kernel/io.c iowrite16(w >> 16, port); iowrite16 372 arch/alpha/kernel/io.c iowrite16(*(unsigned short *)src, port); iowrite16 44 arch/arm/common/scoop.c iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ iowrite16 45 arch/arm/common/scoop.c iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ iowrite16 46 arch/arm/common/scoop.c iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ iowrite16 47 arch/arm/common/scoop.c iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ iowrite16 48 arch/arm/common/scoop.c iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ iowrite16 49 arch/arm/common/scoop.c iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ iowrite16 50 arch/arm/common/scoop.c iowrite16(0x0000, sdev->base + SCOOP_IRM); iowrite16 63 arch/arm/common/scoop.c iowrite16(gpwr, sdev->base + SCOOP_GPWR); iowrite16 97 arch/arm/common/scoop.c iowrite16(gpcr, sdev->base + SCOOP_GPCR); iowrite16 117 arch/arm/common/scoop.c iowrite16(gpcr, sdev->base + SCOOP_GPCR); iowrite16 133 arch/arm/common/scoop.c iowrite16(data, sdev->base + reg); iowrite16 147 arch/arm/common/scoop.c iowrite16(0x0101, sdev->base + SCOOP_MCR); iowrite16 156 arch/arm/common/scoop.c iowrite16((sdev->scoop_gpwr & ~sdev->suspend_clr) | sdev->suspend_set, sdev->base + SCOOP_GPWR); iowrite16 166 arch/arm/common/scoop.c iowrite16(sdev->scoop_gpwr, sdev->base + SCOOP_GPWR); iowrite16 203 arch/arm/common/scoop.c iowrite16(0x0140, devptr->base + SCOOP_MCR); iowrite16 205 arch/arm/common/scoop.c iowrite16(0x0000, devptr->base + SCOOP_CPR); iowrite16 206 arch/arm/common/scoop.c iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); iowrite16 207 arch/arm/common/scoop.c iowrite16(inf->io_out & 0xffff, devptr->base + SCOOP_GPWR); iowrite16 476 arch/arm/mach-ixp4xx/include/mach/io.h #define iowrite16(v, p) iowrite16(v, p) iowrite16 515 arch/parisc/lib/iomap.c EXPORT_SYMBOL(iowrite16); iowrite16 97 arch/powerpc/kernel/iomap.c EXPORT_SYMBOL(iowrite16); iowrite16 117 arch/sh/boards/mach-se/7343/irq.c iowrite16(0, se7343_irq_regs + PA_CPLD_IMSK_REG); iowrite16 110 arch/sh/boards/mach-se/7722/irq.c iowrite16(0, se7722_irq_regs + IRQ01_MASK_REG); iowrite16 50 arch/sh/drivers/heartbeat.c iowrite16(new, hd->base); iowrite16 153 arch/sh/include/mach-sdk7786/mach/fpga.h iowrite16(val, sdk7786_fpga_base + reg); iowrite16 51 arch/sh/kernel/iomap.c EXPORT_SYMBOL(iowrite16); iowrite16 43 arch/x86/mm/testmmiotrace.c iowrite16(v16(i), p + i); iowrite16 382 drivers/ata/pata_atp867x.c iowrite16(ATP867X_IO_PORTSPD_VAL, ATP867X_IO_PORTSPD(ap, i)); iowrite16 388 drivers/ata/pata_atp867x.c iowrite16(ATP867X_PREREAD_VAL, ATP867X_IO_PREREAD(ap, i)); iowrite16 98 drivers/ata/pata_bk3710.c iowrite16(val16, base + BK3710_UDMACTL); iowrite16 130 drivers/ata/pata_bk3710.c iowrite16(val16, base + BK3710_UDMACTL); iowrite16 245 drivers/ata/pata_bk3710.c iowrite16(BIT(15), base + BK3710_IDETIMP); iowrite16 253 drivers/ata/pata_bk3710.c iowrite16(0, base + BK3710_UDMACTL); iowrite16 277 drivers/ata/pata_bk3710.c iowrite16(0xE, base + BK3710_BMISP); iowrite16 346 drivers/ata/pata_octeon_cf.c iowrite16(*(uint16_t *)buffer, data_addr); iowrite16 372 drivers/ata/pata_octeon_cf.c iowrite16(le16_to_cpu(align_buf[0]), data_addr); iowrite16 573 drivers/ata/pata_pdc2027x.c iowrite16(pll_ctl, mmio_base + PDC_PLL_CTL); iowrite16 71 drivers/bcma/host_pci.c iowrite16(value, core->bus->mmio + offset); iowrite16 43 drivers/clk/renesas/clk-rz.c iowrite16(4, pibc0); /* enable input buffer */ iowrite16 166 drivers/clocksource/sh_cmt.c iowrite16(value, base + (offs << 1)); iowrite16 178 drivers/clocksource/sh_mtu2.c iowrite16(value, ch->base + offs); iowrite16 118 drivers/clocksource/sh_tmu.c iowrite16(value, ch->base + offs); iowrite16 157 drivers/cpufreq/pcc-cpufreq.c iowrite16(CMD_GET_FREQ, &pcch_hdr->command); iowrite16 173 drivers/cpufreq/pcc-cpufreq.c iowrite16(0, &pcch_hdr->status); iowrite16 192 drivers/cpufreq/pcc-cpufreq.c iowrite16(0, &pcch_hdr->status); iowrite16 224 drivers/cpufreq/pcc-cpufreq.c iowrite16(CMD_SET_FREQ, &pcch_hdr->command); iowrite16 232 drivers/cpufreq/pcc-cpufreq.c iowrite16(0, &pcch_hdr->status); iowrite16 201 drivers/dma/fsl-edma-common.h iowrite16(val, addr); iowrite16 67 drivers/firmware/qemu_fw_cfg.c iowrite16(key, fw_cfg_reg_ctrl); iowrite16 874 drivers/gpu/drm/gma500/psb_drv.h iowrite16((val), dev_priv->vdc_reg + (reg)); iowrite16 31 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(0, mem); iowrite16 43 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(0xaa55, mem + offset); iowrite16 44 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(0xaa55, mem + offset + 0x100); iowrite16 49 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(orig1, mem + offset); iowrite16 50 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(orig2, mem + offset + 0x100); iowrite16 61 drivers/gpu/drm/mgag200/mgag200_main.c iowrite16(orig, mem); iowrite16 13 drivers/gpu/drm/nouveau/include/nvkm/core/os.h #define iowrite16_native iowrite16 iowrite16 343 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCNT, iowrite16 348 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCNT, iowrite16 741 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCNT, iowrite16 743 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCNT, iowrite16 751 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCPA, iowrite16 753 drivers/hwmon/npcm750-pwm-fan.c iowrite16(NPCM7XX_FAN_TCPB, iowrite16 56 drivers/i2c/busses/i2c-highlander.c iowrite16(ioread16(dev->base + SMCR) | SMCR_IEIC, dev->base + SMCR); iowrite16 61 drivers/i2c/busses/i2c-highlander.c iowrite16(ioread16(dev->base + SMCR) & ~SMCR_IEIC, dev->base + SMCR); iowrite16 66 drivers/i2c/busses/i2c-highlander.c iowrite16(ioread16(dev->base + SMCR) | SMCR_START, dev->base + SMCR); iowrite16 71 drivers/i2c/busses/i2c-highlander.c iowrite16(ioread16(dev->base + SMCR) | SMCR_IRIC, dev->base + SMCR); iowrite16 86 drivers/i2c/busses/i2c-highlander.c iowrite16(smmr, dev->base + SMMR); iowrite16 120 drivers/i2c/busses/i2c-highlander.c iowrite16(cmd, dev->base + SMSADR + i); iowrite16 144 drivers/i2c/busses/i2c-highlander.c iowrite16(ioread16(dev->base + SMCR) | SMCR_RST, dev->base + SMCR); iowrite16 263 drivers/i2c/busses/i2c-highlander.c iowrite16(data[i], dev->base + SMTRDR + (i * sizeof(u16))); iowrite16 329 drivers/i2c/busses/i2c-highlander.c iowrite16(tmp, dev->base + SMMR); iowrite16 335 drivers/i2c/busses/i2c-highlander.c iowrite16((addr << 1) | read_write, dev->base + SMSMADR); iowrite16 97 drivers/i2c/busses/i2c-ocores.c iowrite16(value, i2c->base + (reg << i2c->reg_shift)); iowrite16 200 drivers/i2c/busses/i2c-xiic.c iowrite16(value, i2c->base + reg); iowrite16 45 drivers/i2c/muxes/i2c-mux-reg.c iowrite16(chan_id, mux->data.reg); iowrite16 57 drivers/input/keyboard/sh_keysc.c iowrite16(value, p->iomem_base + (reg_nr << 2)); iowrite16 76 drivers/ipack/carriers/tpci200.c iowrite16(ioread16(addr) & (~mask), addr); iowrite16 85 drivers/ipack/carriers/tpci200.c iowrite16(ioread16(addr) | mask, addr); iowrite16 441 drivers/ipack/carriers/tpci200.c iowrite16(mask, addr); iowrite16 349 drivers/media/pci/cobalt/cobalt-driver.h iowrite16(data, UPPER_DATA); iowrite16 351 drivers/media/pci/cobalt/cobalt-driver.h iowrite16(data, LOWER_DATA); iowrite16 92 drivers/mfd/asic3.c iowrite16(value, asic->mapping + iowrite16 337 drivers/mfd/tc6393xb.c iowrite16(mode->pixclock, tc6393xb->scr + SCR_PLL1CR + 0); iowrite16 338 drivers/mfd/tc6393xb.c iowrite16(mode->pixclock >> 16, tc6393xb->scr + SCR_PLL1CR + 2); iowrite16 665 drivers/mfd/tc6393xb.c iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); iowrite16 666 drivers/mfd/tc6393xb.c iowrite16(SCR_CCR_UNK1 | SCR_CCR_HCLK_48, iowrite16 668 drivers/mfd/tc6393xb.c iowrite16(SCR_MCR_RDY_OPENDRAIN | SCR_MCR_RDY_UNK | SCR_MCR_RDY_EN | iowrite16 671 drivers/mfd/tc6393xb.c iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); iowrite16 802 drivers/mfd/tc6393xb.c iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); iowrite16 803 drivers/mfd/tc6393xb.c iowrite16(tc6393xb->suspend_state.ccr, tc6393xb->scr + SCR_CCR); iowrite16 804 drivers/mfd/tc6393xb.c iowrite16(SCR_MCR_RDY_OPENDRAIN | SCR_MCR_RDY_UNK | SCR_MCR_RDY_EN | iowrite16 807 drivers/mfd/tc6393xb.c iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); iowrite16 264 drivers/mmc/host/tmio_mmc.h iowrite16(val, host->ctl + (addr << host->bus_shift)); iowrite16 279 drivers/mmc/host/tmio_mmc.h iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); iowrite16 280 drivers/mmc/host/tmio_mmc.h iowrite16(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); iowrite16 43 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_SOFTWARERESET); /* assert */ iowrite16 45 drivers/mmc/host/toshsd.c iowrite16(1, host->ioaddr + SD_SOFTWARERESET); /* deassert */ iowrite16 49 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); iowrite16 52 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_STOPINTERNAL); iowrite16 55 drivers/mmc/host/toshsd.c iowrite16(0x100, host->ioaddr + SDIO_BASE + SDIO_CLOCKNWAITCTRL); iowrite16 70 drivers/mmc/host/toshsd.c iowrite16(0x1000, host->ioaddr + SD_TRANSACTIONCTRL); iowrite16 99 drivers/mmc/host/toshsd.c iowrite16(clk, host->ioaddr + SD_CARDCLOCKCTRL); iowrite16 103 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); iowrite16 124 drivers/mmc/host/toshsd.c iowrite16(SD_CARDOPT_REQUIRED | SD_CARDOPT_DATA_RESP_TIMEOUT(14) iowrite16 130 drivers/mmc/host/toshsd.c iowrite16(SD_CARDOPT_REQUIRED | SD_CARDOPT_DATA_RESP_TIMEOUT(14) iowrite16 140 drivers/mmc/host/toshsd.c iowrite16(state, host->ioaddr + SDIO_BASE + SDIO_LEDCTRL); iowrite16 284 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_STOPINTERNAL); iowrite16 410 drivers/mmc/host/toshsd.c iowrite16(SD_STOPINT_ISSUE_CMD12, iowrite16 458 drivers/mmc/host/toshsd.c iowrite16(SD_STOPINT_AUTO_ISSUE_CMD12, iowrite16 471 drivers/mmc/host/toshsd.c iowrite16(c, host->ioaddr + SD_CMD); iowrite16 491 drivers/mmc/host/toshsd.c iowrite16(data->blocks, host->ioaddr + SD_BLOCKCOUNT); iowrite16 492 drivers/mmc/host/toshsd.c iowrite16(data->blksz, host->ioaddr + SD_CARDXFERDATALEN); iowrite16 562 drivers/mmc/host/toshsd.c iowrite16(0x000, host->ioaddr + SDIO_BASE + SDIO_CLOCKNWAITCTRL); iowrite16 563 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); iowrite16 217 drivers/mmc/host/usdhi6rol0.c iowrite16(data, host->base + reg); iowrite16 429 drivers/mtd/nand/raw/atmel/nand-controller.c iowrite16(byte | (byte << 8), nand->activecs->io.virt); iowrite16 327 drivers/mtd/nand/raw/omap2.c iowrite16(*p++, info->nand.legacy.IO_ADDR_W); iowrite16 421 drivers/mtd/nand/raw/omap2.c iowrite16(*p++, info->nand.legacy.IO_ADDR_W); iowrite16 923 drivers/net/can/pch_can.c iowrite16(cf->data[i] | (cf->data[i + 1] << 8), iowrite16 79 drivers/net/can/sja1000/sja1000_platform.c iowrite16(reg, priv->reg_base + 0); iowrite16 93 drivers/net/can/sja1000/sja1000_platform.c iowrite16(reg, priv->reg_base + 0); iowrite16 94 drivers/net/can/sja1000/sja1000_platform.c iowrite16(val, priv->reg_base + 2); iowrite16 25 drivers/net/can/softing/softing_fw.c iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); iowrite16 71 drivers/net/can/softing/softing_fw.c iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); iowrite16 72 drivers/net/can/softing/softing_fw.c iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); iowrite16 286 drivers/net/can/softing/softing_fw.c iowrite16(len, &card->dpram[DPRAM_COMMAND + 10]); iowrite16 494 drivers/net/can/softing/softing_fw.c iowrite16(bt->brp, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 495 drivers/net/can/softing/softing_fw.c iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 496 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg1 + bt->prop_seg, iowrite16 498 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); iowrite16 499 drivers/net/can/softing/softing_fw.c iowrite16((priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 1 : 0, iowrite16 505 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 506 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 512 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 513 drivers/net/can/softing/softing_fw.c iowrite16(0x07ff, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 515 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 6]); iowrite16 516 drivers/net/can/softing/softing_fw.c iowrite16(0xffff, &card->dpram[DPRAM_FCT_PARAM + 8]); iowrite16 517 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 10]); iowrite16 518 drivers/net/can/softing/softing_fw.c iowrite16(0x1fff, &card->dpram[DPRAM_FCT_PARAM + 12]); iowrite16 523 drivers/net/can/softing/softing_fw.c iowrite16(priv->output, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 534 drivers/net/can/softing/softing_fw.c iowrite16(bt->brp, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 535 drivers/net/can/softing/softing_fw.c iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 536 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg1 + bt->prop_seg, iowrite16 538 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); iowrite16 539 drivers/net/can/softing/softing_fw.c iowrite16((priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 1 : 0, iowrite16 545 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 546 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 552 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 553 drivers/net/can/softing/softing_fw.c iowrite16(0x07ff, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 555 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 6]); iowrite16 556 drivers/net/can/softing/softing_fw.c iowrite16(0xffff, &card->dpram[DPRAM_FCT_PARAM + 8]); iowrite16 557 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 10]); iowrite16 558 drivers/net/can/softing/softing_fw.c iowrite16(0x1fff, &card->dpram[DPRAM_FCT_PARAM + 12]); iowrite16 563 drivers/net/can/softing/softing_fw.c iowrite16(priv->output, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 581 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 2]); iowrite16 582 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 4]); iowrite16 583 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 6]); iowrite16 584 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 8]); iowrite16 585 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 10]); iowrite16 586 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 12]); iowrite16 587 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 14]); iowrite16 588 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 16]); iowrite16 589 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 18]); iowrite16 590 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 20]); iowrite16 663 drivers/net/ethernet/3com/3c59x.c iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD); iowrite16 945 drivers/net/ethernet/3com/3c59x.c iowrite16(TotalReset|0x14, ioaddr + EL3_CMD); iowrite16 1492 drivers/net/ethernet/3com/3c59x.c iowrite16(cmd, ioaddr + EL3_CMD); iowrite16 1625 drivers/net/ethernet/3com/3c59x.c iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); iowrite16 1649 drivers/net/ethernet/3com/3c59x.c iowrite16(StartCoax, ioaddr + EL3_CMD); iowrite16 1659 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsDisable, ioaddr + EL3_CMD); iowrite16 1672 drivers/net/ethernet/3com/3c59x.c iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); iowrite16 1691 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ iowrite16 1693 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ iowrite16 1694 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ iowrite16 1704 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->status_enable, ioaddr + EL3_CMD); iowrite16 1706 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, iowrite16 1708 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->intr_enable, ioaddr + EL3_CMD); iowrite16 1861 drivers/net/ethernet/3com/3c59x.c iowrite16(dev->if_port == XCVR_10base2 ? StartCoax : StopCoax, iowrite16 1877 drivers/net/ethernet/3com/3c59x.c iowrite16(FakeIntr, ioaddr + EL3_CMD); iowrite16 1921 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); iowrite16 1928 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); iowrite16 1971 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); iowrite16 1976 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | RxEarly, ioaddr + EL3_CMD); iowrite16 1989 drivers/net/ethernet/3com/3c59x.c iowrite16(SetIntrEnb | iowrite16 1997 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->status_enable, ioaddr + EL3_CMD); iowrite16 1998 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->intr_enable, ioaddr + EL3_CMD); iowrite16 2027 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ iowrite16 2028 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | HostError, ioaddr + EL3_CMD); iowrite16 2034 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); iowrite16 2063 drivers/net/ethernet/3com/3c59x.c iowrite16(len, ioaddr + Wn7_MasterLen); iowrite16 2067 drivers/net/ethernet/3com/3c59x.c iowrite16(StartDMADown, ioaddr + EL3_CMD); iowrite16 2079 drivers/net/ethernet/3com/3c59x.c iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); iowrite16 2100 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); iowrite16 2234 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); iowrite16 2298 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | TxAvailable, ioaddr + EL3_CMD); iowrite16 2304 drivers/net/ethernet/3com/3c59x.c iowrite16(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ iowrite16 2317 drivers/net/ethernet/3com/3c59x.c iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); iowrite16 2340 drivers/net/ethernet/3com/3c59x.c iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), iowrite16 2342 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); iowrite16 2349 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); iowrite16 2409 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | UpComplete, ioaddr + EL3_CMD); iowrite16 2418 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | DownComplete, ioaddr + EL3_CMD); iowrite16 2476 drivers/net/ethernet/3com/3c59x.c iowrite16(SetStatusEnb | (~vp->deferred & vp->status_enable), iowrite16 2478 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); iowrite16 2485 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); iowrite16 2558 drivers/net/ethernet/3com/3c59x.c iowrite16((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); iowrite16 2559 drivers/net/ethernet/3com/3c59x.c iowrite16(StartDMAUp, ioaddr + EL3_CMD); iowrite16 2568 drivers/net/ethernet/3com/3c59x.c iowrite16(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ iowrite16 2677 drivers/net/ethernet/3com/3c59x.c iowrite16(UpUnstall, ioaddr + EL3_CMD); iowrite16 2695 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsDisable, ioaddr + EL3_CMD); iowrite16 2698 drivers/net/ethernet/3com/3c59x.c iowrite16(RxDisable, ioaddr + EL3_CMD); iowrite16 2699 drivers/net/ethernet/3com/3c59x.c iowrite16(TxDisable, ioaddr + EL3_CMD); iowrite16 2706 drivers/net/ethernet/3com/3c59x.c iowrite16(StopCoax, ioaddr + EL3_CMD); iowrite16 2708 drivers/net/ethernet/3com/3c59x.c iowrite16(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); iowrite16 2817 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); iowrite16 3067 drivers/net/ethernet/3com/3c59x.c iowrite16(new_mode, ioaddr + EL3_CMD); iowrite16 3235 drivers/net/ethernet/3com/3c59x.c iowrite16(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); iowrite16 3236 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); iowrite16 3277 drivers/net/ethernet/3com/3c59x.c iowrite16(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), iowrite16 3336 drivers/net/ethernet/3com/3c59x.c iowrite16(TotalReset, ioaddr + EL3_CMD); iowrite16 1530 drivers/net/ethernet/amd/xgbe/xgbe-common.h iowrite16(_val, (_pdata)->xpcs_regs + (_off)) iowrite16 1557 drivers/net/ethernet/amd/xgbe/xgbe-common.h iowrite16((_val), (_pdata)->sir0_regs + _reg) iowrite16 1577 drivers/net/ethernet/amd/xgbe/xgbe-common.h iowrite16((_val), (_pdata)->sir1_regs + _reg) iowrite16 1600 drivers/net/ethernet/amd/xgbe/xgbe-common.h iowrite16((_val), (_pdata)->rxtx_regs + _reg) iowrite16 265 drivers/net/ethernet/atheros/atlx/atl1.c iowrite16(1, hw->hw_addr + REG_PHY_ENABLE); iowrite16 1529 drivers/net/ethernet/atheros/atlx/atl1.c iowrite16(adapter->imt, hw->hw_addr + REG_IRQ_MODU_TIMER_INIT); iowrite16 1533 drivers/net/ethernet/atheros/atlx/atl1.c iowrite16(adapter->ict, hw->hw_addr + REG_CMBDISDMA_TIMER); iowrite16 3016 drivers/net/ethernet/atheros/atlx/atl1.c iowrite16(0, adapter->hw.hw_addr + REG_PHY_ENABLE); iowrite16 3110 drivers/net/ethernet/atheros/atlx/atl1.c iowrite16(0, adapter->hw.hw_addr + REG_PHY_ENABLE); iowrite16 50 drivers/net/ethernet/atheros/atlx/atl2.h #define ATL2_WRITE_REGW(a, reg, value) (iowrite16((value), \ iowrite16 219 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(tmp16, lp->virt_addr + portno); iowrite16 228 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(regno, lp->virt_addr + ADD_PORT); iowrite16 237 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(regno, lp->virt_addr + ADD_PORT); iowrite16 238 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(value, lp->virt_addr + DATA_PORT); iowrite16 526 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(TX_AFTER_ALL, lp->virt_addr + TX_CMD_PORT); iowrite16 527 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(ETH_ZLEN, lp->virt_addr + TX_LEN_PORT); iowrite16 1161 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(lp->send_cmd, lp->virt_addr + TX_CMD_PORT); iowrite16 1162 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(skb->len, lp->virt_addr + TX_LEN_PORT); iowrite16 1284 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_CS8920_ISAINT, lp->virt_addr + ADD_PORT); iowrite16 1288 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_CS8920_ISAMemB, lp->virt_addr + ADD_PORT); iowrite16 1337 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_ChipID, ioaddr + ADD_PORT); iowrite16 1574 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_ChipID, lp->virt_addr + ADD_PORT); iowrite16 1836 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_ChipID, lp->virt_addr + ADD_PORT); iowrite16 81 drivers/net/ethernet/dec/tulip/21142.c iowrite16(t21142_csr15[dev->if_port], ioaddr + CSR15); iowrite16 89 drivers/net/ethernet/dec/tulip/21142.c iowrite16(8, ioaddr + CSR15); iowrite16 133 drivers/net/ethernet/dec/tulip/21142.c iowrite16(0x0008, ioaddr + CSR15); iowrite16 146 drivers/net/ethernet/dec/tulip/dmfe.c #define dw16(reg, val) iowrite16(val, ioaddr + (reg)) iowrite16 17 drivers/net/ethernet/dlink/dl2k.c #define dw16(reg, val) iowrite16(val, ioaddr + (reg)) iowrite16 731 drivers/net/ethernet/dlink/sundance.c iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); iowrite16 873 drivers/net/ethernet/dlink/sundance.c iowrite16(dev->mtu + 18, ioaddr + MaxFrameSize); iowrite16 875 drivers/net/ethernet/dlink/sundance.c iowrite16(dev->mtu + 14, ioaddr + MaxFrameSize); iowrite16 888 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + IntrEnable); iowrite16 889 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + DownCounter); iowrite16 902 drivers/net/ethernet/dlink/sundance.c iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); iowrite16 921 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); iowrite16 937 drivers/net/ethernet/dlink/sundance.c iowrite16 (ioread16 (ioaddr + MACCtrl0) | EnbFullDuplex, iowrite16 950 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0); iowrite16 980 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + IntrEnable); iowrite16 1019 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); iowrite16 1156 drivers/net/ethernet/dlink/sundance.c iowrite16 (TxDisable, ioaddr + MACCtrl1); iowrite16 1179 drivers/net/ethernet/dlink/sundance.c iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); iowrite16 1198 drivers/net/ethernet/dlink/sundance.c iowrite16(intr_status, ioaddr + IntrStatus); iowrite16 1210 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR & ~(IntrRxDone|IntrRxDMADone), iowrite16 1249 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl1) | TxEnable, ioaddr + MACCtrl1); iowrite16 1256 drivers/net/ethernet/dlink/sundance.c iowrite16 (0, ioaddr + TxStatus); iowrite16 1411 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); iowrite16 1503 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MulticastFilter1+2) | 0x0200, iowrite16 1505 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl0) | EnbFlowCtrl, iowrite16 1603 drivers/net/ethernet/dlink/sundance.c iowrite16(mc_filter[i], ioaddr + MulticastFilter0 + i*2); iowrite16 1613 drivers/net/ethernet/dlink/sundance.c iowrite16(addr16, np->base + StationAddr); iowrite16 1615 drivers/net/ethernet/dlink/sundance.c iowrite16(addr16, np->base + StationAddr+2); iowrite16 1617 drivers/net/ethernet/dlink/sundance.c iowrite16(addr16, np->base + StationAddr+4); iowrite16 1857 drivers/net/ethernet/dlink/sundance.c iowrite16(0x0000, ioaddr + IntrEnable); iowrite16 1863 drivers/net/ethernet/dlink/sundance.c iowrite16(TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl1); iowrite16 1871 drivers/net/ethernet/dlink/sundance.c iowrite16(GlobalReset | DMAReset | FIFOReset | NetworkReset, iowrite16 1964 drivers/net/ethernet/dlink/sundance.c iowrite16(RxEnable, ioaddr + MACCtrl1); iowrite16 840 drivers/net/ethernet/fealnx.c iowrite16(((unsigned short*)dev->dev_addr)[i], iowrite16 173 drivers/net/ethernet/micrel/ks8842.c iowrite16(bank, adapter->hw_addr + REG_SELECT_BANK); iowrite16 187 drivers/net/ethernet/micrel/ks8842.c iowrite16(value, adapter->hw_addr + offset); iowrite16 197 drivers/net/ethernet/micrel/ks8842.c iowrite16(reg, adapter->hw_addr + offset); iowrite16 207 drivers/net/ethernet/micrel/ks8842.c iowrite16(reg, adapter->hw_addr + offset); iowrite16 243 drivers/net/ethernet/micrel/ks8842.c iowrite16(0, adapter->hw_addr + REG_GRR); iowrite16 339 drivers/net/ethernet/micrel/ks8842.c iowrite16(ENABLED_IRQS_DMA_IP, adapter->hw_addr + REG_TIMB_IER); iowrite16 343 drivers/net/ethernet/micrel/ks8842.c iowrite16(ENABLED_IRQS, iowrite16 486 drivers/net/ethernet/micrel/ks8842.c iowrite16(*ptr16++, adapter->hw_addr + REG_QMU_DATA_LO); iowrite16 487 drivers/net/ethernet/micrel/ks8842.c iowrite16(*ptr16++, adapter->hw_addr + REG_QMU_DATA_HI); iowrite16 785 drivers/net/ethernet/micrel/ks8842.c iowrite16(entry_bank, adapter->hw_addr + REG_SELECT_BANK); iowrite16 820 drivers/net/ethernet/micrel/ks8842.c iowrite16(entry_bank, adapter->hw_addr + REG_SELECT_BANK); iowrite16 193 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(BE3 | BE2 | KS_CIDER, ks->hw_addr_cmd); iowrite16 214 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(ks->cmd_reg_cache, ks->hw_addr_cmd); iowrite16 229 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(ks->cmd_reg_cache, ks->hw_addr_cmd); iowrite16 230 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(value, ks->hw_addr); iowrite16 258 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(*wptr++, ks->hw_addr); iowrite16 303 drivers/net/ethernet/micrel/ks8851_mll.c iowrite16(ks->cmd_reg_cache, ks->hw_addr_cmd); iowrite16 542 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); iowrite16 543 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(1, ioaddr + MII_Cmd); iowrite16 554 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); iowrite16 555 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(value, ioaddr + MII_Wr_Data); iowrite16 600 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(fifo_cfg, ioaddr + FIFOcfg); iowrite16 616 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x01CF, ioaddr + Cnfg); iowrite16 618 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0018, ioaddr + FrameGap0); /* 0060/4060 for non-MII 10baseT */ iowrite16 619 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x1018, ioaddr + FrameGap1); iowrite16 620 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); iowrite16 625 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x81ff, ioaddr + IntrEnb); /* See enum intr_status_bits */ iowrite16 626 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0000, ioaddr + EventStatus); /* Clear non-interrupting events */ iowrite16 668 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); iowrite16 1204 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0000, ioaddr + IntrEnb); iowrite16 1284 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(cfg_value & ~0x1000, ioaddr + Cnfg); iowrite16 1286 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x000F, ioaddr + AddrMode); iowrite16 1290 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x000B, ioaddr + AddrMode); iowrite16 1315 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(hash_table[i], ioaddr + HashTbl + i*2); iowrite16 1316 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0003, ioaddr + AddrMode); iowrite16 1318 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0001, ioaddr + AddrMode); iowrite16 1321 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(cfg_value | 0x1000, ioaddr + Cnfg); iowrite16 203 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_READ + reg + (phy_addr << 8), ioaddr + MMDIO); iowrite16 225 drivers/net/ethernet/rdc/r6040.c iowrite16(val, ioaddr + MMWD); iowrite16 227 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_WRITE + reg + (phy_addr << 8), ioaddr + MMDIO); iowrite16 359 drivers/net/ethernet/rdc/r6040.c iowrite16(MAC_RST, ioaddr + MCR1); iowrite16 367 drivers/net/ethernet/rdc/r6040.c iowrite16(MAC_SM_RST, ioaddr + MAC_SM); iowrite16 368 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MAC_SM); iowrite16 378 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); iowrite16 384 drivers/net/ethernet/rdc/r6040.c iowrite16(MBCR_DEFAULT, ioaddr + MBCR); iowrite16 387 drivers/net/ethernet/rdc/r6040.c iowrite16(MAX_BUF_SIZE, ioaddr + MR_BSR); iowrite16 390 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->tx_ring_dma, ioaddr + MTD_SA0); iowrite16 391 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->tx_ring_dma >> 16, ioaddr + MTD_SA1); iowrite16 394 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->rx_ring_dma, ioaddr + MRD_SA0); iowrite16 395 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); iowrite16 398 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MT_ICR); iowrite16 399 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MR_ICR); iowrite16 402 drivers/net/ethernet/rdc/r6040.c iowrite16(INT_MASK, ioaddr + MIER); iowrite16 405 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0 | MCR0_RCVEN, ioaddr); iowrite16 410 drivers/net/ethernet/rdc/r6040.c iowrite16(TM2TX, ioaddr + MTPR); iowrite16 451 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); /* Mask Off Interrupt */ iowrite16 458 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); iowrite16 459 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); iowrite16 460 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); iowrite16 639 drivers/net/ethernet/rdc/r6040.c iowrite16(ioread16(ioaddr + MIER) | RX_INTS | TX_INTS, iowrite16 656 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); iowrite16 662 drivers/net/ethernet/rdc/r6040.c iowrite16(misr, ioaddr + MIER); iowrite16 684 drivers/net/ethernet/rdc/r6040.c iowrite16(misr, ioaddr + MIER); iowrite16 740 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); iowrite16 741 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); iowrite16 742 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); iowrite16 830 drivers/net/ethernet/rdc/r6040.c iowrite16(TM2TX, ioaddr + MTPR); iowrite16 856 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); iowrite16 857 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); iowrite16 858 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); iowrite16 873 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); iowrite16 874 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); iowrite16 875 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); iowrite16 887 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_1L + 8 * i); iowrite16 888 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_1M + 8 * i); iowrite16 889 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_1H + 8 * i); iowrite16 893 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); iowrite16 894 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); iowrite16 895 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); iowrite16 906 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); iowrite16 907 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); iowrite16 908 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); iowrite16 921 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0, ioaddr + MCR0); iowrite16 925 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[0], ioaddr + MAR0); iowrite16 926 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[1], ioaddr + MAR1); iowrite16 927 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[2], ioaddr + MAR2); iowrite16 928 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[3], ioaddr + MAR3); iowrite16 984 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0, ioaddr); iowrite16 1088 drivers/net/ethernet/rdc/r6040.c iowrite16(SCEN | PHY_MAX_ADDR << PHYAD_SHIFT | iowrite16 669 drivers/net/ethernet/realtek/8139too.c #define RTL_W16_F(reg, val16) do { iowrite16 ((val16), ioaddr + (reg)); ioread16 (ioaddr + (reg)); } while (0) iowrite16 674 drivers/net/ethernet/realtek/8139too.c #define RTL_W16(reg, val16) iowrite16 ((val16), ioaddr + (reg)) iowrite16 185 drivers/net/ethernet/smsc/epic100.c #define ew16(reg, val) iowrite16(val, ioaddr + (reg)) iowrite16 213 drivers/net/ethernet/smsc/smc91x.h #define SMC_outw(lp, v, a, r) iowrite16(v, (a) + (r)) iowrite16 488 drivers/net/ethernet/via/via-rhine.c #define WORD_REG_BITS_ON(x, p) do { iowrite16((ioread16((p))|(x)), (p)); } while (0) iowrite16 496 drivers/net/ethernet/via/via-rhine.c #define WORD_REG_BITS_OFF(x, p) do { iowrite16(ioread16((p)) & (~(x)), (p)); } while (0) iowrite16 500 drivers/net/ethernet/via/via-rhine.c #define WORD_REG_BITS_SET(x, m, p) do { iowrite16((ioread16((p)) & (~(m)))|(x), (p)); } while (0) iowrite16 573 drivers/net/ethernet/via/via-rhine.c iowrite16(mask, ioaddr + IntrStatus); iowrite16 864 drivers/net/ethernet/via/via-rhine.c iowrite16(enable_mask, ioaddr + IntrEnable); iowrite16 1447 drivers/net/ethernet/via/via-rhine.c iowrite16(*((u16 *) addr), ioaddr + MulticastFilter0 + 6); iowrite16 1571 drivers/net/ethernet/via/via-rhine.c iowrite16(0x0006, ioaddr + PCIBusConfig); /* Tune configuration??? */ iowrite16 1587 drivers/net/ethernet/via/via-rhine.c iowrite16(RHINE_EVENT & 0xffff, ioaddr + IntrEnable); iowrite16 1589 drivers/net/ethernet/via/via-rhine.c iowrite16(CmdStart | CmdTxOn | CmdRxOn | (Cmd1NoTxPoll << 8), iowrite16 1664 drivers/net/ethernet/via/via-rhine.c iowrite16(value, ioaddr + MIIData); iowrite16 1891 drivers/net/ethernet/via/via-rhine.c iowrite16(0x0000, rp->base + IntrEnable); iowrite16 2213 drivers/net/ethernet/via/via-rhine.c iowrite16(RHINE_EVENT & 0xffff, rp->base + IntrEnable); iowrite16 2434 drivers/net/ethernet/via/via-rhine.c iowrite16(CmdStop, ioaddr + ChipCmd); iowrite16 122 drivers/net/ethernet/wiznet/w5300.c iowrite16(data, priv->base + (addr << CONFIG_WIZNET_BUS_SHIFT)); iowrite16 32 drivers/net/fddi/skfp/h/types.h #define outpw(p,s) iowrite16(s,p) iowrite16 71 drivers/net/phy/mdio-mux-mmioreg.c iowrite16((x & ~s->mask) | desired_child, p); iowrite16 386 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c iowrite16(value, address); iowrite16 469 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c iowrite16(le16_to_cpu(*src16), address); iowrite16 368 drivers/net/wireless/intel/ipw2x00/ipw2100.c iowrite16(val, priv->ioaddr + reg); iowrite16 423 drivers/net/wireless/intersil/orinoco/hermes.h (iowrite16((val), (hw)->iobase + ((off) << (hw)->reg_spacing))) iowrite16 492 drivers/net/wireless/intersil/orinoco/hermes.h iowrite16(0, hw->iobase + off); iowrite16 70 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(8, card->bridge_io + 2); iowrite16 72 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0x80, card->attr_io + COR_OFFSET); iowrite16 76 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0, card->attr_io + COR_OFFSET); iowrite16 77 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0, card->attr_io + COR_OFFSET); iowrite16 81 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(COR_VALUE, card->attr_io + COR_OFFSET); iowrite16 82 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(COR_VALUE, card->attr_io + COR_OFFSET); iowrite16 85 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0x228, card->bridge_io + 2); iowrite16 100 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0x118, card->bridge_io + 2); iowrite16 101 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0x108, card->bridge_io + 2); iowrite16 103 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0x8, card->bridge_io + 2); iowrite16 127 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(COR_VALUE, card->attr_io + COR_OFFSET); iowrite16 137 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(1, card->bridge_io + 10); iowrite16 265 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c iowrite16(0, card->bridge_io + 10); iowrite16 133 drivers/net/wireless/marvell/libertas/if_cs.c iowrite16(val, card->iobase + reg); iowrite16 177 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h iowrite16(val, addr); iowrite16 1212 drivers/ntb/hw/intel/ntb_hw_gen1.c iowrite16((u16)bits, mmio); iowrite16 1622 drivers/ntb/hw/intel/ntb_hw_gen1.c iowrite16(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER, iowrite16 208 drivers/ntb/hw/intel/ntb_hw_gen3.c iowrite16(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER, iowrite16 1101 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite16(0x6, &mmio_pff->pcicmd); iowrite16 584 drivers/pinctrl/pinctrl-rza1.c iowrite16(val, mem); iowrite16 162 drivers/pinctrl/sh-pfc/core.c iowrite16(data, mapped_reg); iowrite16 112 drivers/platform/x86/ibm_rtl.c iowrite16((u16)cmd_port_val, rtl_cmd_addr); iowrite16 97 drivers/pwm/pwm-renesas-tpu.c iowrite16(value, base + reg_nr); iowrite16 140 drivers/pwm/pwm-renesas-tpu.c iowrite16(value, pwm->tpu->base + TPU_TSTR); iowrite16 189 drivers/scsi/sym53c8xx_2/sym_hipd.h #define OUTW_OFF(np, o, val) iowrite16((val), np->s.ioaddr + (o)) iowrite16 67 drivers/scsi/wd719x.c iowrite16(val, wd->base + reg); iowrite16 34 drivers/sh/clk/cpg.c iowrite16(value, clk->mapped_reg); iowrite16 234 drivers/spi/spi-davinci.c iowrite16(spidat1, dspi->base + SPIDAT1 + 2); iowrite16 658 drivers/spi/spi-davinci.c iowrite16(spidat1 >> 16, dspi->base + SPIDAT1 + 2); iowrite16 79 drivers/spi/spi-npcm-pspi.c iowrite16(val, priv->base + NPCM_PSPI_CTL1); iowrite16 88 drivers/spi/spi-npcm-pspi.c iowrite16(val, priv->base + NPCM_PSPI_CTL1); iowrite16 97 drivers/spi/spi-npcm-pspi.c iowrite16(val, priv->base + NPCM_PSPI_CTL1); iowrite16 106 drivers/spi/spi-npcm-pspi.c iowrite16(val, priv->base + NPCM_PSPI_CTL1); iowrite16 132 drivers/spi/spi-npcm-pspi.c iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); iowrite16 150 drivers/spi/spi-npcm-pspi.c iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); iowrite16 163 drivers/spi/spi-npcm-pspi.c iowrite16(regtemp | (ckdiv << 9), NPCM_PSPI_CTL1 + priv->base); iowrite16 210 drivers/spi/spi-npcm-pspi.c iowrite16(*priv->tx_buf, NPCM_PSPI_DATA + priv->base); iowrite16 203 drivers/spi/spi-rspi.c iowrite16(data, rspi->addr + offset); iowrite16 212 drivers/spi/spi-sh-msiof.c iowrite16(value, p->mapbase + reg_offs); iowrite16 1059 drivers/ssb/pci.c iowrite16(value, bus->mmio + offset); iowrite16 100 drivers/staging/comedi/drivers/mf6x4.c iowrite16(s->state, dev->mmio + MF6X4_DOUT_REG); iowrite16 132 drivers/staging/comedi/drivers/mf6x4.c iowrite16(MF6X4_ADCTRL_CHAN(chan), dev->mmio + MF6X4_ADCTRL_REG); iowrite16 149 drivers/staging/comedi/drivers/mf6x4.c iowrite16(0x0, dev->mmio + MF6X4_ADCTRL_REG); iowrite16 172 drivers/staging/comedi/drivers/mf6x4.c iowrite16(val, dev->mmio + MF6X4_DAC_REG(chan)); iowrite16 47 drivers/staging/rts5208/rtsx.h iowrite16(value, (chip)->rtsx->remap_addr + reg) iowrite16 122 drivers/staging/sm750fb/sm750_cursor.c iowrite16(data, pbuffer); iowrite16 165 drivers/staging/sm750fb/sm750_cursor.c iowrite16(data, pbuffer); iowrite16 722 drivers/staging/vt6655/mac.c iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); iowrite16 724 drivers/staging/vt6655/mac.c iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); iowrite16 789 drivers/staging/vt6655/mac.c iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); iowrite16 791 drivers/staging/vt6655/mac.c iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); iowrite16 804 drivers/staging/vt6655/mac.c iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); iowrite16 806 drivers/staging/vt6655/mac.c iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); iowrite16 814 drivers/staging/vt6655/mac.c iowrite16(offset + ii, io_base + MAC_REG_MISCFFNDEX); iowrite16 816 drivers/staging/vt6655/mac.c iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); iowrite16 842 drivers/staging/vt6655/mac.c iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); iowrite16 844 drivers/staging/vt6655/mac.c iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); iowrite16 38 drivers/staging/vt6655/upc.h iowrite16((u16)(wData), dwIOAddress) iowrite16 1412 drivers/tty/nozomi.c iowrite16(dc->last_ier, dc->reg_ier); iowrite16 527 drivers/tty/serial/sh-sci.c iowrite16(value, p->membase + (reg->offset << p->regshift)); iowrite16 544 drivers/usb/gadget/udc/m66592-udc.h iowrite16(val, m66592->reg + offset); iowrite16 176 drivers/usb/gadget/udc/r8a66597-udc.h iowrite16(val, r8a66597->reg + offset); iowrite16 190 drivers/usb/host/r8a66597.h iowrite16(val, r8a66597->reg + offset); iowrite16 69 drivers/usb/renesas_usbhs/common.c iowrite16(data, priv->base + reg); iowrite16 28 drivers/vfio/pci/vfio_pci_rdwr.c #define vfio_iowrite16 iowrite16 iowrite16 511 drivers/vfio/platform/vfio_platform_common.c iowrite16(val, reg->ioaddr + off); iowrite16 91 drivers/video/fbdev/sh7760fb.c iowrite16(intr, par->base + LDINTR); iowrite16 92 drivers/video/fbdev/sh7760fb.c iowrite16(cntr, par->base + LDCNTR); iowrite16 249 drivers/video/fbdev/sh7760fb.c iowrite16(par->pd->ldickr, par->base + LDICKR); /* pixclock */ iowrite16 250 drivers/video/fbdev/sh7760fb.c iowrite16(ldmtr, par->base + LDMTR); /* polarities */ iowrite16 251 drivers/video/fbdev/sh7760fb.c iowrite16(lddfr, par->base + LDDFR); /* color/depth */ iowrite16 252 drivers/video/fbdev/sh7760fb.c iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ iowrite16 253 drivers/video/fbdev/sh7760fb.c iowrite16(par->pd->ldpmmr, par->base + LDPMMR); /* Power Management */ iowrite16 254 drivers/video/fbdev/sh7760fb.c iowrite16(par->pd->ldpspr, par->base + LDPSPR); /* Power Supply Ctrl */ iowrite16 257 drivers/video/fbdev/sh7760fb.c iowrite16(((htcn >> 3) - 1) | (((hdcn >> 3) - 1) << 8), iowrite16 259 drivers/video/fbdev/sh7760fb.c iowrite16(vdln - 1, par->base + LDVDLNR); iowrite16 260 drivers/video/fbdev/sh7760fb.c iowrite16(vtln - 1, par->base + LDVTLNR); iowrite16 262 drivers/video/fbdev/sh7760fb.c iowrite16((vsynp - 1) | ((vsynw - 1) << 12), par->base + LDVSYNR); iowrite16 263 drivers/video/fbdev/sh7760fb.c iowrite16(((hsynp >> 3) - 1) | (((hsynw >> 3) - 1) << 12), iowrite16 266 drivers/video/fbdev/sh7760fb.c iowrite16(par->pd->ldaclnr, par->base + LDACLNR); iowrite16 292 drivers/video/fbdev/sh7760fb.c iowrite16(stride, par->base + LDLAOR); iowrite16 473 drivers/video/fbdev/sh7760fb.c iowrite16(0, par->base + LDINTR); /* disable vsync irq */ iowrite16 517 drivers/video/fbdev/sh7760fb.c iowrite16(LDCNTR_DON2, par->base + LDCNTR); iowrite16 45 drivers/virtio/virtio_pci_common.c iowrite16(vq->index, (void __iomem *)vq->priv); iowrite16 107 drivers/virtio/virtio_pci_legacy.c iowrite16(vector, vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); iowrite16 127 drivers/virtio/virtio_pci_legacy.c iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); iowrite16 159 drivers/virtio/virtio_pci_legacy.c iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); iowrite16 181 drivers/virtio/virtio_pci_legacy.c iowrite16(vq->index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); iowrite16 184 drivers/virtio/virtio_pci_legacy.c iowrite16(VIRTIO_MSI_NO_VECTOR, iowrite16 50 drivers/virtio/virtio_pci_modern.c iowrite16(value, addr); iowrite16 243 drivers/virtio/virtio_pci_modern.c iowrite16(le16_to_cpu(w), vp_dev->device + offset); iowrite16 936 drivers/vme/bridges/vme_ca91cx42.c iowrite16(*(u16 *)(buf + done), addr + done); iowrite16 948 drivers/vme/bridges/vme_ca91cx42.c iowrite16(*(u16 *)(buf + done), addr + done); iowrite16 1307 drivers/vme/bridges/vme_tsi148.c iowrite16(*(u16 *)(buf + done), addr + done); iowrite16 1319 drivers/vme/bridges/vme_tsi148.c iowrite16(*(u16 *)(buf + done), addr + done); iowrite16 137 drivers/w1/masters/ds1wm.c iowrite16((u16)val, ds1wm_data->map + (reg << 1)); iowrite16 72 drivers/watchdog/hpwdt.c iowrite16(reload, hpwdt_timer_reg); iowrite16 99 drivers/watchdog/hpwdt.c iowrite16(val, hpwdt_timer_reg); iowrite16 99 drivers/watchdog/wdat_wdt.c iowrite16((u16)value, instr->reg); iowrite16 726 include/asm-generic/io.h #ifndef iowrite16 iowrite16 727 include/asm-generic/io.h #define iowrite16 iowrite16 iowrite16 51 include/asm-generic/iomap.h extern void iowrite16(u16, void __iomem *); iowrite16 893 include/linux/fsl_ifc.h iowrite16(val, addr); iowrite16 94 include/linux/rtsx_pci.h iowrite16(value, (pcr)->remap_addr + reg) iowrite16 210 lib/iomap.c EXPORT_SYMBOL(iowrite16); iowrite16 463 sound/pci/intel8x0.c iowrite16(val, chip->bmaddr + offset); iowrite16 482 sound/pci/intel8x0.c iowrite16(val, chip->addr + offset); iowrite16 258 sound/pci/intel8x0m.c iowrite16(val, chip->bmaddr + offset); iowrite16 277 sound/pci/intel8x0m.c iowrite16(val, chip->addr + offset);