Home
last modified time | relevance | path

Searched refs:ioread16 (Results 1 – 21 of 21) sorted by relevance

/arch/powerpc/platforms/85xx/
Dge_imp3a.c140 reg = ioread16(imp3a_regs); in ge_imp3a_get_pcb_rev()
149 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_board_rev()
158 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_fpga_rev()
167 reg = ioread16(imp3a_regs + 0x6); in ge_imp3a_get_cpci_geo_addr()
176 reg = ioread16(imp3a_regs + 0x6); in ge_imp3a_get_cpci_is_syscon()
/arch/arm/common/
Dscoop.c62 gpwr = ioread16(sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
87 return !!(ioread16(sdev->base + SCOOP_GPRR) & (1 << (offset + 1))); in scoop_gpio_get()
99 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
119 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
131 return ioread16(sdev->base + reg); in read_scoop_reg()
149 mcr = ioread16(sdev->base + SCOOP_MCR); in check_scoop_reg()
159 sdev->scoop_gpwr = ioread16(sdev->base + SCOOP_GPWR); in scoop_suspend()
/arch/alpha/kernel/
Dio.c24 unsigned int ioread16(void __iomem *addr) in ioread16() function
26 unsigned int ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
57 EXPORT_SYMBOL(ioread16);
70 return ioread16(ioport_map(port, 2)); in inw()
264 *(unsigned short *)dst = ioread16(port); in ioread16_rep()
271 w = ioread16(port); in ioread16_rep()
272 w |= ioread16(port) << 16; in ioread16_rep()
278 *(unsigned short*)dst = ioread16(port); in ioread16_rep()
/arch/sh/kernel/
Diomap.c20 unsigned int ioread16(void __iomem *addr) in ioread16() function
24 EXPORT_SYMBOL(ioread16);
/arch/powerpc/kernel/
Diomap.c22 unsigned int ioread16(void __iomem *addr) in ioread16() function
39 EXPORT_SYMBOL(ioread16);
/arch/sh/boards/mach-sdk7786/
Dfpga.c44 if (ioread16(base + SRSTR) == SRSTR_MAGIC) in sdk7786_fpga_probe()
/arch/alpha/include/asm/
Dio.h160 REMAP1(unsigned int, ioread16, /**/)
335 extern inline unsigned int ioread16(void __iomem *addr) in ioread16() function
337 unsigned int ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
361 return ioread16(ioport_map(port, 2)); in inw()
496 #define ioread16be(p) be16_to_cpu(ioread16(p))
Dio_trivial.h16 IO_CONCAT(__IO_PREFIX,ioread16)(void __iomem *a) in IO_CONCAT() argument
84 return IO_CONCAT(__IO_PREFIX,ioread16)(addr); in IO_CONCAT()
/arch/mips/lib/
Diomap.c36 unsigned int ioread16(void __iomem *addr) in ioread16() function
41 EXPORT_SYMBOL(ioread16);
/arch/sh/boards/mach-se/7722/
Dirq.c40 mask = ioread16(se7722_irq_regs + IRQ01_STS_REG); in se7722_irq_demux()
/arch/sh/boards/mach-se/7343/
Dirq.c41 mask = ioread16(se7343_irq_regs + PA_CPLD_ST_REG); in se7343_irq_demux()
/arch/x86/mm/
Dtestmmiotrace.c59 if (ioread16(p + i) != v16(i)) in do_read_test()
/arch/sh/include/mach-sdk7786/mach/
Dfpga.h148 return ioread16(sdk7786_fpga_base + reg); in fpga_read_reg()
/arch/sh/drivers/
Dheartbeat.c52 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
/arch/frv/include/asm/
Dio.h318 static inline unsigned int ioread16(void __iomem *p) in ioread16() function
359 #define ioread16be(addr) be16_to_cpu(ioread16(addr))
/arch/arm/mach-ixp4xx/include/mach/
Dio.h391 #define ioread16(p) ioread16(p) macro
392 static inline u16 ioread16(const void __iomem *addr) in ioread16() function
/arch/tile/include/asm/
Dio.h251 #define ioread16 readw macro
487 #define ioread16be(addr) be16_to_cpu(ioread16(addr))
/arch/parisc/lib/
Diomap.c279 unsigned int ioread16(void __iomem *addr) in ioread16() function
448 EXPORT_SYMBOL(ioread16);
/arch/m32r/include/asm/
Dio.h173 #define ioread16 readw macro
/arch/mn10300/include/asm/
Dio.h193 #define ioread16(addr) readw(addr) macro
/arch/sparc/include/asm/
Dio_64.h413 #define ioread16 readw macro