Searched refs:ioread16 (Results 1 – 15 of 15) sorted by relevance
136 reg = ioread16(imp3a_regs); in ge_imp3a_get_pcb_rev()145 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_board_rev()154 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_fpga_rev()163 reg = ioread16(imp3a_regs + 0x6); in ge_imp3a_get_cpci_geo_addr()172 reg = ioread16(imp3a_regs + 0x6); in ge_imp3a_get_cpci_is_syscon()
58 gpwr = ioread16(sdev->base + SCOOP_GPWR); in __scoop_gpio_set()83 return !!(ioread16(sdev->base + SCOOP_GPRR) & (1 << (offset + 1))); in scoop_gpio_get()95 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()115 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()127 return ioread16(sdev->base + reg); in read_scoop_reg()145 mcr = ioread16(sdev->base + SCOOP_MCR); in check_scoop_reg()155 sdev->scoop_gpwr = ioread16(sdev->base + SCOOP_GPWR); in scoop_suspend()
26 unsigned int ioread16(const void __iomem *addr) in ioread16() function30 ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()63 EXPORT_SYMBOL(ioread16);76 return ioread16(ioport_map(port, 2)); in inw()310 *(unsigned short *)dst = ioread16(port); in ioread16_rep()317 w = ioread16(port); in ioread16_rep()318 w |= ioread16(port) << 16; in ioread16_rep()324 *(unsigned short*)dst = ioread16(port); in ioread16_rep()
17 unsigned int ioread16(const void __iomem *addr) in ioread16() function21 EXPORT_SYMBOL(ioread16);
41 if (ioread16(base + SRSTR) == SRSTR_MAGIC) in sdk7786_fpga_probe()
154 REMAP1(unsigned int, ioread16, const) in REMAP1()319 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() function323 ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()347 return ioread16(ioport_map(port, 2)); in inw()492 #define ioread16be(p) swab16(ioread16(p))
16 IO_CONCAT(__IO_PREFIX,ioread16)(const void __iomem *a) in IO_CONCAT() argument84 return IO_CONCAT(__IO_PREFIX,ioread16)(addr); in IO_CONCAT()
37 mask = ioread16(se7722_irq_regs + IRQ01_STS_REG); in se7722_irq_demux()
38 mask = ioread16(se7343_irq_regs + PA_CPLD_ST_REG); in se7343_irq_demux()
148 return ioread16(sdk7786_fpga_base + reg); in fpga_read_reg()
61 if (ioread16(p + i) != v16(i)) in do_read_test()
49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
388 #define ioread16(p) ioread16(p) macro389 static inline u16 ioread16(const void __iomem *addr) in ioread16() function
307 unsigned int ioread16(const void __iomem *addr) in ioread16() function543 EXPORT_SYMBOL(ioread16);
422 #define ioread16 readw macro