/linux-4.19.296/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() 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 …]
|
D | i2c-ocores.c | 112 return ioread16(i2c->base + (reg << i2c->reg_shift)); in oc_getreg_16()
|
/linux-4.19.296/drivers/cpufreq/ |
D | pcc-cpufreq.c | 128 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/ |
D | virtio_pci_legacy.c | 111 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()
|
D | virtio_pci_modern.c | 38 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/ |
D | iomap.h | 30 extern unsigned int ioread16(void __iomem *);
|
D | io.h | 699 #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/ |
D | iomap.c | 77 unsigned int ioread16(void __iomem *addr) in ioread16() function 98 EXPORT_SYMBOL(ioread16);
|
/linux-4.19.296/drivers/pci/switch/ |
D | switchtec.c | 295 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/ |
D | clk-rz.c | 46 modes = ioread16(ppr0); in rz_cpg_read_mode_pins()
|
/linux-4.19.296/drivers/sh/clk/ |
D | cpg.c | 24 return ioread16(clk->mapped_reg); in sh_clk_read() 46 return ioread16(addr); in r16()
|
/linux-4.19.296/drivers/i2c/muxes/ |
D | i2c-mux-reg.c | 53 ioread16(mux->data.reg); in i2c_mux_reg_set()
|
/linux-4.19.296/drivers/char/tpm/ |
D | tpm_tis.c | 202 *result = ioread16(phy->iobase + addr); in tpm_tcg_read16()
|
/linux-4.19.296/drivers/iio/adc/ |
D | stx104.c | 139 *val = ioread16(®->ssr_ad); in stx104_read_raw()
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-renesas-tpu.c | 141 value = ioread16(pwm->tpu->base + TPU_TSTR); in tpu_pwm_start_stop()
|
/linux-4.19.296/include/linux/ |
D | fsl_ifc.h | 883 val = ioread16(addr); in ifc_in16()
|
D | rtsx_pci.h | 108 ioread16((pcr)->remap_addr + reg)
|
/linux-4.19.296/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 1219 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/ |
D | ntb_hw_gen3.c | 386 u.v16 = ioread16(mmio + GEN3_USMEMMISS_OFFSET); in ndev_ntb3_debugfs_read()
|
D | ntb_hw_gen1.c | 725 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/ |
D | quirks.c | 5439 table_sz = ioread16(&mmio_peer_ctrl->req_id_table_size); in quirk_switchtec_ntb_dma_alias()
|