Home
last modified time | relevance | path

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

/arch/powerpc/platforms/85xx/
Dge_imp3a.c141 reg = ioread16(imp3a_regs); in ge_imp3a_get_pcb_rev()
150 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_board_rev()
159 reg = ioread16(imp3a_regs + 0x2); in ge_imp3a_get_fpga_rev()
168 reg = ioread16(imp3a_regs + 0x6); in ge_imp3a_get_cpci_geo_addr()
177 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.c23 unsigned int ioread16(void __iomem *addr) in ioread16() function
25 unsigned int ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
56 EXPORT_SYMBOL(ioread16);
69 return ioread16(ioport_map(port, 2)); in inw()
263 *(unsigned short *)dst = ioread16(port); in ioread16_rep()
270 w = ioread16(port); in ioread16_rep()
271 w |= ioread16(port) << 16; in ioread16_rep()
277 *(unsigned short*)dst = ioread16(port); in ioread16_rep()
/arch/sh/boards/mach-se/7722/
Dirq.c14 #define irq_reg_readl ioread16
43 mask = ioread16(se7722_irq_regs + IRQ01_STS_REG); in se7722_irq_demux()
/arch/sh/boards/mach-se/7343/
Dirq.c17 #define irq_reg_readl ioread16
44 mask = ioread16(se7343_irq_regs + PA_CPLD_ST_REG); in se7343_irq_demux()
/arch/powerpc/kernel/
Diomap.c20 unsigned int ioread16(void __iomem *addr) in ioread16() function
37 EXPORT_SYMBOL(ioread16);
/arch/sh/boards/mach-sdk7786/
Dfpga.c44 if (ioread16(base + SRSTR) == SRSTR_MAGIC) in sdk7786_fpga_probe()
/arch/sh/kernel/
Diomap.c20 unsigned int ioread16(void __iomem *addr) in ioread16() function
24 EXPORT_SYMBOL(ioread16);
/arch/arm/mach-shmobile/
Dboard-bockw-reference.c56 u16 val = ioread16(fpga + IRQ0MR); in bockw_init()
Dboard-bockw.c419 u32 val = ioread16(fpga + COMCTLR); in rsnd_codec_power()
432 u32 val = ioread16(fpga + COMCTLR); in rsnd_codec_power()
666 u16 val = ioread16(fpga + IRQ0MR); in bockw_init()
/arch/alpha/include/asm/
Dio_trivial.h15 IO_CONCAT(__IO_PREFIX,ioread16)(void __iomem *a) in IO_CONCAT() argument
83 return IO_CONCAT(__IO_PREFIX,ioread16)(addr); in IO_CONCAT()
Dio.h159 REMAP1(unsigned int, ioread16, /**/)
331 extern inline unsigned int ioread16(void __iomem *addr) in ioread16() function
333 unsigned int ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
357 return ioread16(ioport_map(port, 2)); in inw()
492 #define ioread16be(p) be16_to_cpu(ioread16(p))
/arch/mips/lib/
Diomap.c35 unsigned int ioread16(void __iomem *addr) in ioread16() function
40 EXPORT_SYMBOL(ioread16);
/arch/sh/include/mach-sdk7786/mach/
Dfpga.h147 return ioread16(sdk7786_fpga_base + reg); in fpga_read_reg()
/arch/x86/mm/
Dtestmmiotrace.c59 if (ioread16(p + i) != v16(i)) in do_read_test()
/arch/arm/mach-ixp4xx/include/mach/
Dio.h353 #define ioread16(p) ioread16(p) macro
354 static inline unsigned int ioread16(const void __iomem *addr) in ioread16() function
/arch/m32r/include/asm/
Dio.h166 #define ioread16 readw macro
/arch/sh/drivers/
Dheartbeat.c52 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
/arch/tile/include/asm/
Dio.h246 #define ioread16 readw macro
483 #define ioread16be(addr) be16_to_cpu(ioread16(addr))
/arch/parisc/lib/
Diomap.c278 unsigned int ioread16(void __iomem *addr) in ioread16() function
447 EXPORT_SYMBOL(ioread16);
/arch/mn10300/include/asm/
Dio.h189 #define ioread16(addr) readw(addr) macro
/arch/avr32/include/asm/
Dio.h229 #define ioread16(p) ((unsigned int)readw(p)) macro
/arch/frv/include/asm/
Dio.h301 static inline unsigned int ioread16(void __iomem *p) in ioread16() function
/arch/sparc/include/asm/
Dio_64.h409 #define ioread16(X) readw(X) macro
/arch/arm/include/asm/
Dio.h354 #define ioread16(p) ({ unsigned int __v = le16_to_cpu((__force __le16)__raw_readw(p)); __iormb(); _… macro