Home
last modified time | relevance | path

Searched refs:ioread16 (Results 1 – 21 of 21) 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()
78 smmr = ioread16(dev->base + SMMR); in highlander_i2c_setup()
130 while (ioread16(dev->base + SMCR) & SMCR_BBSY) { in highlander_i2c_wait_for_bbsy()
144 iowrite16(ioread16(dev->base + SMCR) | SMCR_RST, dev->base + SMCR); in highlander_i2c_reset()
150 u16 tmp = ioread16(dev->base + SMCR); in highlander_i2c_wait_for_ack()
177 smcr = ioread16(dev->base + SMCR); in highlander_i2c_poll()
243 data[i] = ioread16(dev->base + SMTRDR + (i * sizeof(u16))); in highlander_i2c_read()
[all …]
Di2c-ocores.c112 return ioread16(i2c->base + (reg << i2c->reg_shift)); in oc_getreg_16()
/linux-4.19.296/drivers/cpufreq/
Dpcc-cpufreq.c128 if (ioread16(&pcch_hdr->status) & CMD_COMPLETE) in pcc_cmd()
167 status = ioread16(&pcch_hdr->status); in pcc_get_freq()
231 status = ioread16(&pcch_hdr->status); in pcc_cpufreq_target()
463 ioread16(&pcch_hdr->length), ioread8(&pcch_hdr->major), in pcc_cpufreq_probe()
465 ioread16(&pcch_hdr->command), ioread16(&pcch_hdr->status), in pcc_cpufreq_probe()
/linux-4.19.296/drivers/virtio/
Dvirtio_pci_legacy.c111 return ioread16(vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); in vp_config_vector()
131 num = ioread16(vp_dev->ioaddr + VIRTIO_PCI_QUEUE_NUM); in setup_vq()
161 msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in setup_vq()
Dvirtio_pci_modern.c38 return ioread16(addr); in vp_ioread16()
209 w = cpu_to_le16(ioread16(vp_dev->device + offset)); in vp_get()
/linux-4.19.296/include/asm-generic/
Diomap.h30 extern unsigned int ioread16(void __iomem *);
Dio.h699 #ifndef ioread16
700 #define ioread16 ioread16 macro
701 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16() function
/linux-4.19.296/lib/
Diomap.c77 unsigned int ioread16(void __iomem *addr) in ioread16() function
98 EXPORT_SYMBOL(ioread16);
/linux-4.19.296/drivers/pci/switch/
Dswitchtec.c295 int id = ioread16(&stdev->mmio_sys_info->component_id); in component_id_show()
562 if (ioread16(&si->cfg_running) == SWITCHTEC_CFG0_RUNNING) in ioctl_flash_part_info()
568 if (ioread16(&si->cfg_running) == SWITCHTEC_CFG1_RUNNING) in ioctl_flash_part_info()
574 if (ioread16(&si->img_running) == SWITCHTEC_IMG0_RUNNING) in ioctl_flash_part_info()
580 if (ioread16(&si->img_running) == SWITCHTEC_IMG1_RUNNING) in ioctl_flash_part_info()
641 reg = ioread16(&stdev->mmio_pff_csr[i].vendor_id); in ioctl_event_summary()
1189 event_irq = ioread16(&stdev->mmio_part_cfg->vep_vector_number); in switchtec_init_isr()
1209 reg = ioread16(&stdev->mmio_pff_csr[i].vendor_id); in init_pff()
/linux-4.19.296/drivers/clk/renesas/
Dclk-rz.c46 modes = ioread16(ppr0); in rz_cpg_read_mode_pins()
/linux-4.19.296/drivers/sh/clk/
Dcpg.c24 return ioread16(clk->mapped_reg); in sh_clk_read()
46 return ioread16(addr); in r16()
/linux-4.19.296/drivers/i2c/muxes/
Di2c-mux-reg.c53 ioread16(mux->data.reg); in i2c_mux_reg_set()
/linux-4.19.296/drivers/char/tpm/
Dtpm_tis.c202 *result = ioread16(phy->iobase + addr); in tpm_tcg_read16()
/linux-4.19.296/drivers/iio/adc/
Dstx104.c139 *val = ioread16(&reg->ssr_ad); in stx104_read_raw()
/linux-4.19.296/drivers/pwm/
Dpwm-renesas-tpu.c141 value = ioread16(pwm->tpu->base + TPU_TSTR); in tpu_pwm_start_stop()
/linux-4.19.296/include/linux/
Dfsl_ifc.h883 val = ioread16(addr); in ifc_in16()
Drtsx_pci.h108 ioread16((pcr)->remap_addr + reg)
/linux-4.19.296/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c1219 sndev->nr_lut_mw = ioread16(&sndev->mmio_self_ctrl->lut_table_entries); in switchtec_ntb_init_mw()
1229 ioread16(&sndev->mmio_peer_ctrl->lut_table_entries); in switchtec_ntb_init_mw()
1304 req_ids[1] = ioread16(&sndev->mmio_ntb->requester_id); in switchtec_ntb_init_req_id_table()
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_gen3.c386 u.v16 = ioread16(mmio + GEN3_USMEMMISS_OFFSET); in ndev_ntb3_debugfs_read()
Dntb_hw_gen1.c725 u.v16 = ioread16(mmio + XEON_USMEMMISS_OFFSET); in ndev_ntb_debugfs_read()
1194 return (u64)ioread16(mmio); in xeon_db_ioread()
/linux-4.19.296/drivers/pci/
Dquirks.c5439 table_sz = ioread16(&mmio_peer_ctrl->req_id_table_size); in quirk_switchtec_ntb_dma_alias()