/arch/m68k/coldfire/ |
D | m527x.c | 70 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init() 98 par = readw(MCFGPIO_PAR_FECI2C); in m527x_i2c_init() 114 sepmask = readw(MCFGPIO_PAR_UART); in m527x_uarts_init() 132 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init() 138 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init()
|
D | m528x.c | 77 paspar = readw(MCFGPIO_PASPAR); in m528x_i2c_init() 102 v16 = readw(MCFGPIO_PASPAR); in m528x_fec_init() 123 writew(readw(MCFGPIO_PEPAR) & ~(1 << (5 * 2)), MCFGPIO_PEPAR); in wildfiremod_halt()
|
D | m53xx.c | 191 writew(readw(MCFGPIO_PAR_UART) | 0x0FFF, MCFGPIO_PAR_UART); in m53xx_uarts_init() 557 temp = readw(MCF_CCM_CDR) & MCF_CCM_CDR_SSIDIV(0xF); in clock_limp() 562 writew(readw(MCF_CCM_MISCCR) | MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_limp() 572 writew(readw(MCF_CCM_MISCCR) & ~MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_exit_limp() 575 while (!(readw(MCF_CCM_MISCCR) & MCF_CCM_MISCCR_PLL_LOCK)) in clock_exit_limp() 588 if (readw(MCF_CCM_MISCCR) & MCF_CCM_MISCCR_LIMP) { in get_sys_clock() 589 divider = readw(MCF_CCM_CDR) & MCF_CCM_CDR_LPDIV(0xF); in get_sys_clock()
|
D | m520x.c | 129 par = readw(MCF_GPIO_PAR_UART); in m520x_qspi_init() 158 par = readw(MCF_GPIO_PAR_UART); in m520x_uarts_init()
|
D | m523x.c | 66 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init()
|
/arch/m68k/include/asm/ |
D | io_no.h | 65 #define readw readw macro 66 static inline u16 readw(const volatile void __iomem *addr) in readw() function 102 #define readw __raw_readw macro
|
D | nettel.h | 91 return readw(MCFSIM_PBDAT); in mcf_getppdata() 96 writew((readw(MCFSIM_PBDAT) & ~mask) | bits, MCFSIM_PBDAT); in mcf_setppdata()
|
D | ide.h | 44 #undef readw 49 #define readw in_be16 macro
|
D | amigayle.h | 66 #define gayle_inw(a) readw( GAYLE_IO+(a) )
|
/arch/arm/mach-spear/ |
D | time.c | 86 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init() 98 u16 val = readw(gpt_base + CR(CLKEVT)); in timer_shutdown() 119 val = readw(gpt_base + CR(CLKEVT)); in spear_set_oneshot() 138 val = readw(gpt_base + CR(CLKEVT)); in spear_set_periodic() 160 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event()
|
/arch/sparc/include/asm/ |
D | io_64.h | 116 #define readw readw macro 117 #define readw_relaxed readw 118 static inline u16 readw(const volatile void __iomem *addr) in readw() function 204 return readw((volatile void __iomem *)addr); in inw() 419 #define ioread16 readw
|
/arch/parisc/include/asm/ |
D | io.h | 184 static inline unsigned short readw(const volatile void __iomem *addr) in readw() function 215 #define readw readw macro 224 #define readw_relaxed(addr) readw(addr)
|
/arch/mips/include/asm/mach-jz4740/ |
D | timer.h | 97 return readw(jz4740_timer_base + JZ_REG_TIMER_CNT(timer)); in jz4740_timer_get_count() 123 return readw(jz4740_timer_base + JZ_REG_TIMER_CTRL(timer)); in jz4740_timer_get_ctrl()
|
/arch/mips/vr41xx/common/ |
D | bcu.c | 63 case CPU_VR4121: return readw(CLKSPEEDREG_TYPE1); in read_clkspeed() 66 case CPU_VR4133: return readw(CLKSPEEDREG_TYPE2); in read_clkspeed()
|
D | pmu.c | 34 #define pmu_read(offset) readw(pmu_base + (offset))
|
/arch/hexagon/include/asm/ |
D | io.h | 95 static inline u16 readw(const volatile void __iomem *addr) in readw() function 159 #define __raw_readw readw 219 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw()
|
/arch/arm/mach-ebsa110/include/mach/ |
D | io.h | 52 #define readw(b) __readw(b) macro 55 #define readw_relaxed(addr) readw(addr)
|
/arch/powerpc/platforms/cell/ |
D | spider-pci.c | 52 SPIDER_PCI_MMIO_READ(readw, u16) in SPIDER_PCI_MMIO_READ() 160 .readw = spiderpci_readw,
|
/arch/unicore32/include/asm/ |
D | io.h | 40 #define readw_relaxed readw
|
/arch/alpha/include/asm/ |
D | io_trivial.h | 56 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) in IO_CONCAT() argument 81 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) in IO_CONCAT() argument
|
D | io.h | 158 REMAP1(u16, readw, const volatile) in REMAP1() 248 extern u16 readw(const volatile void __iomem *addr); 409 return IO_CONCAT(__IO_PREFIX,readw)(addr); in __raw_readw() 431 extern inline u16 readw(const volatile void __iomem *addr) in readw() function
|
/arch/nios2/include/asm/ |
D | io.h | 21 #define readw_relaxed(addr) readw(addr)
|
/arch/x86/include/asm/ |
D | io.h | 58 build_mmio_read(readw, "w", unsigned short, "=r", :"memory") 74 #define readw readw macro
|
/arch/nios2/boot/compressed/ |
D | console.c | 69 if (readw(uartbase + ALTERA_UART_STATUS_REG) & in uart_putc()
|
/arch/csky/include/asm/ |
D | io.h | 23 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) macro
|