Home
last modified time | relevance | path

Searched refs:iowrite16 (Results 1 – 20 of 20) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-highlander.c56 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()
Di2c-ocores.c87 iowrite16(value, i2c->base + (reg << i2c->reg_shift)); in oc_setreg_16()
Di2c-xiic.c209 iowrite16(value, i2c->base + reg); in xiic_setreg16()
/linux-4.19.296/drivers/virtio/
Dvirtio_pci_legacy.c108 iowrite16(vector, vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); in vp_config_vector()
128 iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in setup_vq()
160 iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
182 iowrite16(vq->index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); in del_vq()
185 iowrite16(VIRTIO_MSI_NO_VECTOR, in del_vq()
Dvirtio_pci_modern.c53 iowrite16(value, addr); in vp_iowrite16()
246 iowrite16(le16_to_cpu(w), vp_dev->device + offset); in vp_set()
Dvirtio_pci_common.c48 iowrite16(vq->index, (void __iomem *)vq->priv); in vp_notify()
/linux-4.19.296/drivers/cpufreq/
Dpcc-cpufreq.c157 iowrite16(CMD_GET_FREQ, &pcch_hdr->command); in pcc_get_freq()
173 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
192 iowrite16(0, &pcch_hdr->status); in pcc_get_freq()
224 iowrite16(CMD_SET_FREQ, &pcch_hdr->command); in pcc_cpufreq_target()
232 iowrite16(0, &pcch_hdr->status); in pcc_cpufreq_target()
/linux-4.19.296/drivers/iio/adc/
Dstx104.c199 iowrite16(val, &priv->reg->dac[chan->channel]); in stx104_write_raw()
382 iowrite16(0, &priv->reg->dac[0]); in stx104_probe()
383 iowrite16(0, &priv->reg->dac[1]); in stx104_probe()
/linux-4.19.296/include/asm-generic/
Diomap.h40 extern void iowrite16(u16, void __iomem *);
Dio.h733 #ifndef iowrite16
734 #define iowrite16 iowrite16 macro
735 static inline void iowrite16(u16 value, volatile void __iomem *addr) in iowrite16() function
/linux-4.19.296/lib/
Diomap.c117 void iowrite16(u16 val, void __iomem *addr) in iowrite16() function
134 EXPORT_SYMBOL(iowrite16);
/linux-4.19.296/drivers/clk/renesas/
Dclk-rz.c45 iowrite16(4, pibc0); /* enable input buffer */ in rz_cpg_read_mode_pins()
/linux-4.19.296/drivers/pwm/
Dpwm-renesas-tpu.c105 iowrite16(value, base + reg_nr); in tpu_pwm_write()
148 iowrite16(value, pwm->tpu->base + TPU_TSTR); in tpu_pwm_start_stop()
/linux-4.19.296/drivers/i2c/muxes/
Di2c-mux-reg.c49 iowrite16(chan_id, mux->data.reg); in i2c_mux_reg_set()
/linux-4.19.296/drivers/sh/clk/
Dcpg.c34 iowrite16(value, clk->mapped_reg); in sh_clk_write()
/linux-4.19.296/include/linux/
Dfsl_ifc.h906 iowrite16(val, addr); in ifc_out16()
Drtsx_pci.h106 iowrite16(value, (pcr)->remap_addr + reg)
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_gen3.c208 iowrite16(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER, in gen3_init_ntb()
Dntb_hw_gen1.c1199 iowrite16((u16)bits, mmio); in xeon_db_iowrite()
1609 iowrite16(PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER, in xeon_init_ntb()
/linux-4.19.296/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c1114 iowrite16(0x6, &mmio_pff->pcicmd); in crosslink_enum_partition()