Home
last modified time | relevance | path

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

12

/arch/m68k/coldfire/
Dm527x.c70 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()
Dm528x.c77 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()
Dm53xx.c191 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()
Dm520x.c129 par = readw(MCF_GPIO_PAR_UART); in m520x_qspi_init()
158 par = readw(MCF_GPIO_PAR_UART); in m520x_uarts_init()
Dm523x.c66 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init()
/arch/m68k/include/asm/
Dio_no.h65 #define readw readw macro
66 static inline u16 readw(const volatile void __iomem *addr) in readw() function
102 #define readw __raw_readw macro
Dnettel.h91 return readw(MCFSIM_PBDAT); in mcf_getppdata()
96 writew((readw(MCFSIM_PBDAT) & ~mask) | bits, MCFSIM_PBDAT); in mcf_setppdata()
Dide.h44 #undef readw
49 #define readw in_be16 macro
Damigayle.h66 #define gayle_inw(a) readw( GAYLE_IO+(a) )
/arch/arm/mach-spear/
Dtime.c86 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/
Dio_64.h116 #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/
Dio.h184 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/
Dtimer.h97 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/
Dbcu.c63 case CPU_VR4121: return readw(CLKSPEEDREG_TYPE1); in read_clkspeed()
66 case CPU_VR4133: return readw(CLKSPEEDREG_TYPE2); in read_clkspeed()
Dpmu.c34 #define pmu_read(offset) readw(pmu_base + (offset))
/arch/hexagon/include/asm/
Dio.h95 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/
Dio.h52 #define readw(b) __readw(b) macro
55 #define readw_relaxed(addr) readw(addr)
/arch/powerpc/platforms/cell/
Dspider-pci.c52 SPIDER_PCI_MMIO_READ(readw, u16) in SPIDER_PCI_MMIO_READ()
160 .readw = spiderpci_readw,
/arch/unicore32/include/asm/
Dio.h40 #define readw_relaxed readw
/arch/alpha/include/asm/
Dio_trivial.h56 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
Dio.h158 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/
Dio.h21 #define readw_relaxed(addr) readw(addr)
/arch/x86/include/asm/
Dio.h58 build_mmio_read(readw, "w", unsigned short, "=r", :"memory")
74 #define readw readw macro
/arch/nios2/boot/compressed/
Dconsole.c69 if (readw(uartbase + ALTERA_UART_STATUS_REG) & in uart_putc()
/arch/csky/include/asm/
Dio.h23 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) macro

12