/linux-6.1.9/drivers/net/can/softing/ |
D | softing_fw.c | 25 iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); in _softing_fct_cmd() 71 iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command() 72 iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); in softing_bootloader_command() 286 iowrite16(len, &card->dpram[DPRAM_COMMAND + 10]); in softing_load_app_fw() 494 iowrite16(bt->brp, &card->dpram[DPRAM_FCT_PARAM + 2]); in softing_startstop() 495 iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); in softing_startstop() 496 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop() 498 iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); in softing_startstop() 499 iowrite16((priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 1 : 0, in softing_startstop() 505 iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 2]); in softing_startstop() [all …]
|
/linux-6.1.9/arch/arm/common/ |
D | scoop.c | 44 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop() 45 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop() 46 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop() 47 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop() 48 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop() 49 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop() 50 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop() 63 iowrite16(gpwr, sdev->base + SCOOP_GPWR); in __scoop_gpio_set() 97 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input() 117 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output() [all …]
|
/linux-6.1.9/drivers/net/ethernet/rdc/ |
D | r6040.c | 205 iowrite16(MDIO_READ | reg | (phy_addr << 8), ioaddr + MMDIO); in r6040_phy_read() 227 iowrite16(val, ioaddr + MMWD); in r6040_phy_write() 229 iowrite16(MDIO_WRITE | reg | (phy_addr << 8), ioaddr + MMDIO); in r6040_phy_write() 363 iowrite16(MAC_RST, ioaddr + MCR1); in r6040_reset_mac() 371 iowrite16(MAC_SM_RST, ioaddr + MAC_SM); in r6040_reset_mac() 372 iowrite16(0, ioaddr + MAC_SM); in r6040_reset_mac() 377 iowrite16(md_csc, ioaddr + MD_CSC); in r6040_reset_mac() 386 iowrite16(MSK_INT, ioaddr + MIER); in r6040_init_mac_regs() 392 iowrite16(MBCR_DEFAULT, ioaddr + MBCR); in r6040_init_mac_regs() 395 iowrite16(MAX_BUF_SIZE, ioaddr + MR_BSR); in r6040_init_mac_regs() [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | orinoco_nortel.c | 70 iowrite16(8, card->bridge_io + 2); in orinoco_nortel_cor_reset() 72 iowrite16(0x80, card->attr_io + COR_OFFSET); in orinoco_nortel_cor_reset() 76 iowrite16(0, card->attr_io + COR_OFFSET); in orinoco_nortel_cor_reset() 77 iowrite16(0, card->attr_io + COR_OFFSET); in orinoco_nortel_cor_reset() 81 iowrite16(COR_VALUE, card->attr_io + COR_OFFSET); in orinoco_nortel_cor_reset() 82 iowrite16(COR_VALUE, card->attr_io + COR_OFFSET); in orinoco_nortel_cor_reset() 85 iowrite16(0x228, card->bridge_io + 2); in orinoco_nortel_cor_reset() 100 iowrite16(0x118, card->bridge_io + 2); in orinoco_nortel_hw_init() 101 iowrite16(0x108, card->bridge_io + 2); in orinoco_nortel_hw_init() 103 iowrite16(0x8, card->bridge_io + 2); in orinoco_nortel_hw_init() [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | toshsd.c | 43 iowrite16(0, host->ioaddr + SD_SOFTWARERESET); /* assert */ in toshsd_init() 45 iowrite16(1, host->ioaddr + SD_SOFTWARERESET); /* deassert */ in toshsd_init() 49 iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); in toshsd_init() 52 iowrite16(0, host->ioaddr + SD_STOPINTERNAL); in toshsd_init() 55 iowrite16(0x100, host->ioaddr + SDIO_BASE + SDIO_CLOCKNWAITCTRL); in toshsd_init() 70 iowrite16(0x1000, host->ioaddr + SD_TRANSACTIONCTRL); in toshsd_init() 99 iowrite16(clk, host->ioaddr + SD_CARDCLOCKCTRL); in __toshsd_set_ios() 103 iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); in __toshsd_set_ios() 124 iowrite16(SD_CARDOPT_REQUIRED | SD_CARDOPT_DATA_RESP_TIMEOUT(14) in __toshsd_set_ios() 130 iowrite16(SD_CARDOPT_REQUIRED | SD_CARDOPT_DATA_RESP_TIMEOUT(14) in __toshsd_set_ios() [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | sh7760fb.c | 91 iowrite16(intr, par->base + LDINTR); in sh7760fb_blank() 92 iowrite16(cntr, par->base + LDCNTR); in sh7760fb_blank() 249 iowrite16(par->pd->ldickr, par->base + LDICKR); /* pixclock */ in sh7760fb_set_par() 250 iowrite16(ldmtr, par->base + LDMTR); /* polarities */ in sh7760fb_set_par() 251 iowrite16(lddfr, par->base + LDDFR); /* color/depth */ in sh7760fb_set_par() 252 iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ in sh7760fb_set_par() 253 iowrite16(par->pd->ldpmmr, par->base + LDPMMR); /* Power Management */ in sh7760fb_set_par() 254 iowrite16(par->pd->ldpspr, par->base + LDPSPR); /* Power Supply Ctrl */ in sh7760fb_set_par() 257 iowrite16(((htcn >> 3) - 1) | (((hdcn >> 3) - 1) << 8), in sh7760fb_set_par() 259 iowrite16(vdln - 1, par->base + LDVDLNR); in sh7760fb_set_par() [all …]
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_pci_legacy_dev.c | 150 iowrite16(index, ldev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in vp_legacy_queue_vector() 151 iowrite16(vector, ldev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in vp_legacy_queue_vector() 168 iowrite16(vector, ldev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); in vp_legacy_config_vector() 184 iowrite16(index, ldev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in vp_legacy_set_queue_address() 199 iowrite16(index, ldev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in vp_legacy_get_queue_enable() 214 iowrite16(index, ldev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in vp_legacy_get_queue_size()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-highlander.c | 56 iowrite16(ioread16(dev->base + SMCR) | SMCR_IEIC, dev->base + SMCR); in highlander_i2c_irq_enable() 61 iowrite16(ioread16(dev->base + SMCR) & ~SMCR_IEIC, dev->base + SMCR); in highlander_i2c_irq_disable() 66 iowrite16(ioread16(dev->base + SMCR) | SMCR_START, dev->base + SMCR); in highlander_i2c_start() 71 iowrite16(ioread16(dev->base + SMCR) | SMCR_IRIC, dev->base + SMCR); in highlander_i2c_done() 86 iowrite16(smmr, dev->base + SMMR); in highlander_i2c_setup() 120 iowrite16(cmd, dev->base + SMSADR + i); in highlander_i2c_command() 144 iowrite16(ioread16(dev->base + SMCR) | SMCR_RST, dev->base + SMCR); in highlander_i2c_reset() 263 iowrite16(data[i], dev->base + SMTRDR + (i * sizeof(u16))); in highlander_i2c_write() 329 iowrite16(tmp, dev->base + SMMR); in highlander_i2c_smbus_xfer() 335 iowrite16((addr << 1) | read_write, dev->base + SMSMADR); in highlander_i2c_smbus_xfer()
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | mac.c | 53 iowrite16(reg_value | (bit_mask), iobase + reg_offset); in vt6655_mac_word_reg_bits_on() 69 iowrite16(reg_value & ~(bit_mask), iobase + reg_offset); in vt6655_mac_word_reg_bits_off() 729 iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); in MACvSetMISCFifo() 731 iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); in MACvSetMISCFifo() 795 iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); in MACvSetKeyEntry() 797 iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); in MACvSetKeyEntry() 810 iowrite16(offset, io_base + MAC_REG_MISCFFNDEX); in MACvSetKeyEntry() 812 iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); in MACvSetKeyEntry() 820 iowrite16(offset + ii, io_base + MAC_REG_MISCFFNDEX); in MACvSetKeyEntry() 822 iowrite16(MISCFFCTL_WRITE, io_base + MAC_REG_MISCFFCTL); in MACvSetKeyEntry() [all …]
|
D | card.c | 333 iowrite16(wBeaconInterval, priv->port_offset + MAC_REG_BI); in CARDbSetBeaconPeriod() 592 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_6); in CARDvSetRSPINF() 598 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_9); in CARDvSetRSPINF() 604 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_12); in CARDvSetRSPINF() 610 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_18); in CARDvSetRSPINF() 616 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_24); in CARDvSetRSPINF() 623 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_36); in CARDvSetRSPINF() 630 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_48); in CARDvSetRSPINF() 637 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_54); in CARDvSetRSPINF() 644 iowrite16(MAKEWORD(byTxRate, byRsvTime), priv->port_offset + MAC_REG_RSPINF_A_72); in CARDvSetRSPINF()
|
D | power.c | 55 iowrite16(C_PWBT, priv->port_offset + MAC_REG_PWBT); in PSvEnablePowerSaving() 58 iowrite16(wAID, priv->port_offset + MAC_REG_AIDATIM); in PSvEnablePowerSaving()
|
/linux-6.1.9/drivers/net/ethernet/3com/ |
D | 3c59x.c | 663 iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD); in window_set() 945 iowrite16(TotalReset|0x14, ioaddr + EL3_CMD); in vortex_eisa_remove() 1494 iowrite16(cmd, ioaddr + EL3_CMD); in issue_and_wait() 1627 iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); in vortex_up() 1651 iowrite16(StartCoax, ioaddr + EL3_CMD); in vortex_up() 1661 iowrite16(StatsDisable, ioaddr + EL3_CMD); in vortex_up() 1674 iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); in vortex_up() 1693 iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ in vortex_up() 1695 iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ in vortex_up() 1696 iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ in vortex_up() [all …]
|
/linux-6.1.9/drivers/net/ethernet/micrel/ |
D | ks8851_par.c | 117 iowrite16(BE3 | BE2 | KS_CIDER, ksp->hw_addr_cmd); in ks_check_endian() 141 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_wrreg16_par() 142 iowrite16(val, ksp->hw_addr); in ks8851_wrreg16_par() 157 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_rdreg16_par() 207 iowrite16(fid, ksp->hw_addr); in ks8851_wrfifo_par() 208 iowrite16(txp->len, ksp->hw_addr); in ks8851_wrfifo_par()
|
D | ks8842.c | 173 iowrite16(bank, adapter->hw_addr + REG_SELECT_BANK); in ks8842_select_bank() 187 iowrite16(value, adapter->hw_addr + offset); in ks8842_write16() 197 iowrite16(reg, adapter->hw_addr + offset); in ks8842_enable_bits() 207 iowrite16(reg, adapter->hw_addr + offset); in ks8842_clear_bits() 243 iowrite16(0, adapter->hw_addr + REG_GRR); in ks8842_reset() 339 iowrite16(ENABLED_IRQS_DMA_IP, adapter->hw_addr + REG_TIMB_IER); in ks8842_reset_hw() 343 iowrite16(ENABLED_IRQS, in ks8842_reset_hw() 488 iowrite16(*ptr16++, adapter->hw_addr + REG_QMU_DATA_LO); in ks8842_tx_frame() 489 iowrite16(*ptr16++, adapter->hw_addr + REG_QMU_DATA_HI); in ks8842_tx_frame() 787 iowrite16(entry_bank, adapter->hw_addr + REG_SELECT_BANK); in ks8842_tasklet() [all …]
|
/linux-6.1.9/drivers/gpu/drm/mgag200/ |
D | mgag200_drv.c | 56 iowrite16(0, mem); in mgag200_probe_vram() 64 iowrite16(0xaa55, mem + offset); in mgag200_probe_vram() 65 iowrite16(0xaa55, mem + offset + 0x100); in mgag200_probe_vram() 70 iowrite16(orig1, mem + offset); in mgag200_probe_vram() 71 iowrite16(orig2, mem + offset + 0x100); in mgag200_probe_vram() 80 iowrite16(orig, mem); in mgag200_probe_vram()
|
/linux-6.1.9/drivers/spi/ |
D | spi-npcm-pspi.c | 72 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_enable() 81 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_disable() 90 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_enable() 99 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_disable() 125 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode() 143 iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size() 156 iowrite16(regtemp | (ckdiv << 9), NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_baudrate() 214 iowrite16(val, NPCM_PSPI_DATA + priv->base); in npcm_pspi_send()
|
/linux-6.1.9/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 549 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_read() 550 iowrite16(1, ioaddr + MII_Cmd); in mdio_read() 561 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_write() 562 iowrite16(value, ioaddr + MII_Wr_Data); in mdio_write() 607 iowrite16(fifo_cfg, ioaddr + FIFOcfg); in yellowfin_open() 623 iowrite16(0x01CF, ioaddr + Cnfg); in yellowfin_open() 625 iowrite16(0x0018, ioaddr + FrameGap0); /* 0060/4060 for non-MII 10baseT */ in yellowfin_open() 626 iowrite16(0x1018, ioaddr + FrameGap1); in yellowfin_open() 627 iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); in yellowfin_open() 632 iowrite16(0x81ff, ioaddr + IntrEnb); /* See enum intr_status_bits */ in yellowfin_open() [all …]
|
/linux-6.1.9/drivers/net/ethernet/dlink/ |
D | sundance.c | 720 iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); in eeprom_read() 862 iowrite16(dev->mtu + 18, ioaddr + MaxFrameSize); in netdev_open() 864 iowrite16(dev->mtu + 14, ioaddr + MaxFrameSize); in netdev_open() 877 iowrite16(0, ioaddr + IntrEnable); in netdev_open() 878 iowrite16(0, ioaddr + DownCounter); in netdev_open() 891 iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); in netdev_open() 910 iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); in netdev_open() 926 iowrite16 (ioread16 (ioaddr + MACCtrl0) | EnbFullDuplex, in check_duplex() 939 iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0); in check_duplex() 969 iowrite16(0, ioaddr + IntrEnable); in tx_timeout() [all …]
|
/linux-6.1.9/arch/alpha/kernel/ |
D | io.c | 59 void iowrite16(u16 b, void __iomem *addr) in iowrite16() function 62 IO_CONCAT(__IO_PREFIX,iowrite16)(b, addr); in iowrite16() 82 EXPORT_SYMBOL(iowrite16); 108 iowrite16(b, ioport_map(port, 2)); in outw() 420 iowrite16(*(unsigned short *)src, port); in iowrite16_rep() 430 iowrite16(w >> 0, port); in iowrite16_rep() 431 iowrite16(w >> 16, port); in iowrite16_rep() 435 iowrite16(*(unsigned short *)src, port); in iowrite16_rep()
|
/linux-6.1.9/drivers/ata/ |
D | pata_bk3710.c | 98 iowrite16(val16, base + BK3710_UDMACTL); in pata_bk3710_setudmamode() 130 iowrite16(val16, base + BK3710_UDMACTL); in pata_bk3710_setmwdmamode() 245 iowrite16(BIT(15), base + BK3710_IDETIMP); in pata_bk3710_chipinit() 253 iowrite16(0, base + BK3710_UDMACTL); in pata_bk3710_chipinit() 277 iowrite16(0xE, base + BK3710_BMISP); in pata_bk3710_chipinit()
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | io.h | 165 REMAP2(u16, iowrite16, /**/) in REMAP1() 363 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() function 366 IO_CONCAT(__IO_PREFIX, iowrite16)(b, addr); in iowrite16() 386 iowrite16(b, ioport_map(port, 2)); in outw() 393 #define iowrite16 iowrite16 macro 548 #define iowrite16be(v,p) iowrite16(swab16(v), (p))
|
/linux-6.1.9/drivers/mfd/ |
D | tc6393xb.c | 341 iowrite16(mode->pixclock, tc6393xb->scr + SCR_PLL1CR + 0); in tc6393xb_lcd_mode() 342 iowrite16(mode->pixclock >> 16, tc6393xb->scr + SCR_PLL1CR + 2); in tc6393xb_lcd_mode() 746 iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); in tc6393xb_probe() 747 iowrite16(SCR_CCR_UNK1 | SCR_CCR_HCLK_48, in tc6393xb_probe() 749 iowrite16(SCR_MCR_RDY_OPENDRAIN | SCR_MCR_RDY_UNK | SCR_MCR_RDY_EN | in tc6393xb_probe() 752 iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); in tc6393xb_probe() 859 iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); in tc6393xb_resume() 860 iowrite16(tc6393xb->suspend_state.ccr, tc6393xb->scr + SCR_CCR); in tc6393xb_resume() 861 iowrite16(SCR_MCR_RDY_OPENDRAIN | SCR_MCR_RDY_UNK | SCR_MCR_RDY_EN | in tc6393xb_resume() 864 iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); in tc6393xb_resume()
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | mf6x4.c | 99 iowrite16(s->state, dev->mmio + MF6X4_DOUT_REG); in mf6x4_do_insn_bits() 132 iowrite16(MF6X4_ADCTRL_CHAN(chan), dev->mmio + MF6X4_ADCTRL_REG); in mf6x4_ai_insn_read() 149 iowrite16(0x0, dev->mmio + MF6X4_ADCTRL_REG); in mf6x4_ai_insn_read() 172 iowrite16(val, dev->mmio + MF6X4_DAC_REG(chan)); in mf6x4_ao_insn_write()
|
/linux-6.1.9/drivers/iio/dac/ |
D | cio-dac.c | 74 iowrite16(val, priv->base + chan->channel); in cio_dac_write_raw() 121 iowrite16(0, priv->base + i); in cio_dac_probe()
|
/linux-6.1.9/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 57 iowrite16(GEN4_SLOTSTS_DLLSCS, ndev->self_mmio + GEN4_SLOTSTS); in gen4_poll_link() 214 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev() 416 iowrite16(base_idx, mmio + idx_reg); in intel_ntb4_mw_set_trans() 421 iowrite16(0, mmio + idx_reg); in intel_ntb4_mw_set_trans() 476 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable() 513 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_disable()
|