Home
last modified time | relevance | path

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

/arch/powerpc/platforms/85xx/
Dge_imp3a.c136 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()
/arch/arm/common/
Dscoop.c58 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()
/arch/alpha/kernel/
Dio.c26 unsigned int ioread16(const void __iomem *addr) in ioread16() function
30 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()
/arch/sh/kernel/
Diomap.c17 unsigned int ioread16(const void __iomem *addr) in ioread16() function
21 EXPORT_SYMBOL(ioread16);
/arch/sh/boards/mach-sdk7786/
Dfpga.c41 if (ioread16(base + SRSTR) == SRSTR_MAGIC) in sdk7786_fpga_probe()
/arch/alpha/include/asm/
Dio.h154 REMAP1(unsigned int, ioread16, const) in REMAP1()
319 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() function
323 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))
Dio_trivial.h16 IO_CONCAT(__IO_PREFIX,ioread16)(const void __iomem *a) in IO_CONCAT() argument
84 return IO_CONCAT(__IO_PREFIX,ioread16)(addr); in IO_CONCAT()
/arch/sh/boards/mach-se/7722/
Dirq.c37 mask = ioread16(se7722_irq_regs + IRQ01_STS_REG); in se7722_irq_demux()
/arch/sh/boards/mach-se/7343/
Dirq.c38 mask = ioread16(se7343_irq_regs + PA_CPLD_ST_REG); in se7343_irq_demux()
/arch/sh/include/mach-sdk7786/mach/
Dfpga.h148 return ioread16(sdk7786_fpga_base + reg); in fpga_read_reg()
/arch/x86/mm/
Dtestmmiotrace.c61 if (ioread16(p + i) != v16(i)) in do_read_test()
/arch/sh/drivers/
Dheartbeat.c49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
/arch/arm/mach-ixp4xx/include/mach/
Dio.h388 #define ioread16(p) ioread16(p) macro
389 static inline u16 ioread16(const void __iomem *addr) in ioread16() function
/arch/parisc/lib/
Diomap.c307 unsigned int ioread16(const void __iomem *addr) in ioread16() function
543 EXPORT_SYMBOL(ioread16);
/arch/sparc/include/asm/
Dio_64.h422 #define ioread16 readw macro