Home
last modified time | relevance | path

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

123

/arch/m68k/platform/527x/
Dconfig.c36 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init()
56 sepmask = readw(MCF_IPSBAR + MCF_GPIO_PAR_UART); in m527x_uarts_init()
73 par = readw(MCF_IPSBAR + 0x100082); in m527x_fec_init()
79 par = readw(MCF_IPSBAR + 0x100082); in m527x_fec_init()
/arch/m68k/platform/523x/
Dconfig.c34 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init()
49 par = readw(MCF_IPSBAR + 0x100082); in m523x_fec_init()
/arch/arm/plat-spear/
Dtime.c87 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init()
112 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
122 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
129 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
148 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event()
/arch/m32r/include/asm/
Dio.h149 #define readw(addr) _readw((unsigned long)(addr)) macro
152 #define __raw_readw readw
155 #define readw_relaxed readw
166 #define ioread16 readw
/arch/m68k/platform/520x/
Dconfig.c33 par = readw(MCF_GPIO_PAR_UART); in m520x_qspi_init()
48 par = readw(MCF_GPIO_PAR_UART); in m520x_uarts_init()
/arch/arm/mach-u300/
Dclock.c126 val = readw(clk->res_reg); in syscon_block_reset_enable()
142 val = readw(clk->res_reg); in syscon_block_reset_disable()
157 val = readw(U300_SYSCON_VBASE + U300_SYSCON_MMCR); in __clk_get()
165 val = readw(U300_SYSCON_VBASE + U300_SYSCON_MMCR); in __clk_get()
213 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in syscon_clk_get_rate()
227 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in enable_i2s0_vcxo()
232 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CEFR); in enable_i2s0_vcxo()
245 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in enable_i2s1_vcxo()
250 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CEFR); in enable_i2s1_vcxo()
263 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in disable_i2s0_vcxo()
[all …]
Dregulator.c75 val = readw(U300_SYSCON_VBASE + U300_SYSCON_PMCR); in u300_init_boardpower()
/arch/m68k/include/asm/
Dide.h43 #undef readw
48 #define readw in_be16 macro
Dio_no.h37 #define readw(addr) \ macro
43 #define readw_relaxed(addr) readw(addr)
51 #define __raw_readw readw
117 #define inw(addr) readw(addr)
/arch/mn10300/include/asm/
Dio.h32 static inline u16 readw(const volatile void __iomem *addr) in readw() function
43 #define __raw_readw readw
47 #define readw_relaxed readw
90 return readw((volatile void __iomem *) addr); in inw()
188 #define ioread16(addr) readw(addr)
/arch/arm/mach-omap2/
Dgpmc-onenand.c51 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1); in omap2_onenand_set_async_mode()
91 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1); in omap2_onenand_set_async_mode()
103 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1); in set_onenand_cfg()
129 u16 ver = readw(onenand_base + ONENAND_REG_VERSION_ID); in omap2_onenand_get_freq()
135 fi.maf_id = readw(onenand_base + ONENAND_REG_MANUFACTURER_ID); in omap2_onenand_get_freq()
136 fi.dev_id = readw(onenand_base + ONENAND_REG_DEVICE_ID); in omap2_onenand_get_freq()
/arch/parisc/include/asm/
Dio.h181 static inline unsigned short readw(const volatile void __iomem *addr) in readw() function
212 #define readw readw macro
221 #define readw_relaxed(addr) readw(addr)
/arch/h8300/include/asm/
Dio.h75 #define readw(addr) \ macro
91 #define readw_relaxed(addr) readw(addr)
95 #define __raw_readw readw
213 #define inb(addr) ((h8300_buswidth(addr))?readw((addr) & ~1) & 0xff:readb(addr))
214 #define inw(addr) _swapw(readw(addr))
/arch/cris/include/asm/
Dio.h72 static inline unsigned short readw(const volatile void __iomem *addr) in readw() function
87 #define readw_relaxed(addr) readw(addr)
90 #define __raw_readw readw
/arch/mips/jz4740/
Dtimer.h107 return readw(jz4740_timer_base + JZ_REG_TIMER_CNT(timer)); in jz4740_timer_get_count()
133 return readw(jz4740_timer_base + JZ_REG_TIMER_CTRL(timer)); in jz4740_timer_get_ctrl()
/arch/tile/include/asm/
Dio.h134 #define readw(addr) _tile_readw((unsigned long)addr) macro
143 #define __raw_readw readw
152 #define readw_relaxed readw
157 #define ioread16 readw
/arch/hexagon/include/asm/
Dio.h111 static inline u16 readw(const volatile void __iomem *addr) in readw() function
175 #define __raw_readw readw
223 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw()
/arch/mips/vr41xx/common/
Dbcu.c75 case CPU_VR4121: return readw(CLKSPEEDREG_TYPE1); in read_clkspeed()
78 case CPU_VR4133: return readw(CLKSPEEDREG_TYPE2); in read_clkspeed()
Dpmu.c45 #define pmu_read(offset) readw(pmu_base + (offset))
/arch/arm/mach-ebsa110/include/mach/
Dio.h55 #define readw(b) __readw(b) macro
58 #define readw_relaxed(addr) readw(addr)
/arch/m68k/platform/528x/
Dconfig.c56 v16 = readw(MCF_IPSBAR + 0x100056); in m528x_fec_init()
/arch/powerpc/platforms/cell/
Dspider-pci.c65 SPIDER_PCI_MMIO_READ(readw, u16) in SPIDER_PCI_MMIO_READ()
173 .readw = spiderpci_readw,
/arch/xtensa/kernel/
Dio.c59 *(unsigned short *)dst = readw(addr); in insw()
/arch/alpha/include/asm/
Dio_trivial.h55 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) in IO_CONCAT() argument
80 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) in IO_CONCAT() argument
/arch/sparc/kernel/
Dpcic.c558 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
561 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
581 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
586 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
685 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_pin_to_irq()
688 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_pin_to_irq()

123