Home
last modified time | relevance | path

Searched refs:ioread16 (Results 51 – 75 of 125) sorted by relevance

12345

/openbmc/linux/include/asm-generic/
H A Dio.h799 #ifndef ioread16
800 #define ioread16 ioread16 macro
801 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16() function
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h160 return ioread16(addr); in rtl818x_ioread16()
/openbmc/linux/drivers/sh/clk/
H A Dcpg.c24 return ioread16(clk->mapped_reg); in sh_clk_read()
51 read = ioread16; in sh_clk_mstp_enable()
/openbmc/linux/lib/
H A Diomap.c85 unsigned int ioread16(const void __iomem *addr) in ioread16() function
109 EXPORT_SYMBOL(ioread16);
/openbmc/linux/drivers/net/mdio/
H A Dmdio-mux-mmioreg.c68 x = ioread16(p); in mdio_mux_mmioreg_switch_fn()
/openbmc/linux/drivers/ata/
H A Dpata_legacy.c493 ioread16(ap->ioaddr.error_addr); in opti82c611a_set_piomode()
494 ioread16(ap->ioaddr.error_addr); in opti82c611a_set_piomode()
572 ioread16(ap->ioaddr.error_addr); in opti82c46x_set_piomode()
573 ioread16(ap->ioaddr.error_addr); in opti82c46x_set_piomode()
/openbmc/linux/drivers/watchdog/
H A Dsimatic-ipc-wdt.c118 resetbit = ioread16(wd_reset_base_addr); in wd_secondary_enable()
H A Dhpwdt.c118 return TICKS_TO_SECS(ioread16(hpwdt_timer_reg)); in hpwdt_gettimeleft()
/openbmc/linux/arch/parisc/lib/
H A Diomap.c319 unsigned int ioread16(const void __iomem *addr) in ioread16() function
527 EXPORT_SYMBOL(ioread16);
/openbmc/linux/drivers/staging/vt6655/
H A Dmac.c52 reg_value = ioread16(iobase + reg_offset); in vt6655_mac_word_reg_bits_on()
68 reg_value = ioread16(iobase + reg_offset); in vt6655_mac_word_reg_bits_off()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-common.h1595 ioread16((_pdata)->xpcs_regs + (_off))
1611 ioread16((_pdata)->sir0_regs + _reg)
1631 ioread16((_pdata)->sir1_regs + _reg)
1654 ioread16((_pdata)->rxtx_regs + _reg)
/openbmc/linux/drivers/gpio/
H A Dgpio-npcm-sgpio.c330 reg = ioread16(addr); in npcm_sgpio_irq_set_mask()
419 reg = ioread16(addr); in npcm_sgpio_set_type()
/openbmc/linux/drivers/i2c/muxes/
H A Di2c-mux-reg.c49 ioread16(mux->data.reg); in i2c_mux_reg_set()
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis.c184 result_le16 = cpu_to_le16(ioread16(phy->iobase + addr)); in tpm_tcg_read_bytes()
/openbmc/linux/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c958 if (ioread16(&mmio_ctrl->req_id_table_size) < count) { in config_req_id_table()
1204 sndev->nr_lut_mw = ioread16(&sndev->mmio_self_ctrl->lut_table_entries); in switchtec_ntb_init_mw()
1214 ioread16(&sndev->mmio_peer_ctrl->lut_table_entries); in switchtec_ntb_init_mw()
1289 req_ids[1] = ioread16(&sndev->mmio_ntb->requester_id); in switchtec_ntb_init_req_id_table()
/openbmc/linux/drivers/usb/host/
H A Dr8a66597.h162 return ioread16(r8a66597->reg + offset); in r8a66597_read()
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl2.h53 #define ATL2_READ_REGW(a, reg) (ioread16((a)->hw_addr + (reg)))
/openbmc/linux/drivers/net/can/sja1000/
H A Dsja1000_platform.c79 val = ioread16(priv->reg_base + 2); in sp_technologic_read_reg16()
/openbmc/linux/drivers/bcma/
H A Dhost_pci.c51 return ioread16(core->bus->mmio + offset); in bcma_host_pci_read16()
/openbmc/linux/drivers/input/keyboard/
H A Dsh_keysc.c51 return ioread16(p->iomem_base + (reg_nr << 2)); in sh_keysc_read()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_pci_legacy.c202 num = ioread16(priv->ioaddr + VIRTIO_PCI_QUEUE_NUM); in virtio_pci_setup_vq()
/openbmc/linux/drivers/dma/
H A Dfsl-edma-common.h269 return ioread16(addr); in edma_readw()
/openbmc/linux/drivers/pwm/
H A Dpwm-renesas-tpu.c133 value = ioread16(tpd->tpu->base + TPU_TSTR); in tpu_pwm_start_stop()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dm66592-udc.h523 return ioread16(m66592->reg + offset); in m66592_read()
/openbmc/u-boot/arch/x86/include/asm/
H A Dio.h283 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16() function

12345