Home
last modified time | relevance | path

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

123

/arch/m68k/coldfire/
Dnettel.c109 writew(1, NETTEL_SMC0_ADDR + SMC91xx_BANKSELECT); in nettel_smc91x_setmac()
110 writew(macp[0], ioaddr + SMC91xx_BASEMAC); in nettel_smc91x_setmac()
111 writew(macp[1], ioaddr + SMC91xx_BASEMAC + 2); in nettel_smc91x_setmac()
112 writew(macp[2], ioaddr + SMC91xx_BASEMAC + 4); in nettel_smc91x_setmac()
125 writew(0x00ec, MCFSIM_PADDR); in nettel_smc91x_init()
127 writew(1, NETTEL_SMC0_ADDR + SMC91xx_BANKSELECT); in nettel_smc91x_init()
128 writew(0x0067, NETTEL_SMC0_ADDR + SMC91xx_BASEADDR); in nettel_smc91x_init()
132 writew(0x1180, MCFSIM_CSCR3); in nettel_smc91x_init()
Dm527x.c72 writew(par, MCFGPIO_PAR_TIMER); in m527x_qspi_init()
75 writew(0x003e, MCFGPIO_PAR_QSPI); in m527x_qspi_init()
100 writew(par, MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
116 writew(sepmask, MCFGPIO_PAR_UART); in m527x_uarts_init()
133 writew(par | 0xf00, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
139 writew(par | 0xa0, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
Dm528x.c79 writew(paspar, MCFGPIO_PASPAR); in m528x_i2c_init()
103 writew(v16 | 0xf00, MCFGPIO_PASPAR); in m528x_fec_init()
123 writew(readw(MCFGPIO_PEPAR) & ~(1 << (5 * 2)), MCFGPIO_PEPAR); in wildfiremod_halt()
Dm53xx.c173 writew(0x01f0, MCFGPIO_PAR_QSPI); in m53xx_qspi_init()
195 writew(readw(MCFGPIO_PAR_UART) | 0x0FFF, MCFGPIO_PAR_UART); in m53xx_uarts_init()
312 writew(0, MCF_WTM_WCR); in wtm_init()
348 writew(0xffff, 0x10080000); in fbcs_init()
462 writew(MCF_GPIO_PAR_UART_PAR_URXD0 | MCF_GPIO_PAR_UART_PAR_UTXD0, in gpio_init()
564 writew(MCF_CCM_CDR_LPDIV(div) | MCF_CCM_CDR_SSIDIV(temp), MCF_CCM_CDR); in clock_limp()
566 writew(readw(MCF_CCM_MISCCR) | MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_limp()
576 writew(readw(MCF_CCM_MISCCR) & ~MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_exit_limp()
Dm520x.c131 writew(par, MCF_GPIO_PAR_UART); in m520x_qspi_init()
161 writew(par, MCF_GPIO_PAR_UART); in m520x_uarts_init()
/arch/arm/mach-spear/
Dtime.c78 writew(CTRL_PRESCALER256, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
84 writew(0xFFFF, gpt_base + LOAD(CLKSRC)); in spear_clocksource_init()
89 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
102 writew(val, gpt_base + CR(CLKEVT)); in timer_shutdown()
121 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot()
136 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic()
141 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic()
163 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event()
165 writew(cycles, gpt_base + LOAD(CLKEVT)); in clockevent_next_event()
168 writew(val, gpt_base + CR(CLKEVT)); in clockevent_next_event()
[all …]
/arch/mips/jz4740/
Dreset.c52 writew(0, wdt_base + JZ_REG_WDT_COUNTER); in jz4740_restart()
53 writew(0, wdt_base + JZ_REG_WDT_DATA); in jz4740_restart()
54 writew(BIT(2), wdt_base + JZ_REG_WDT_CTRL); in jz4740_restart()
/arch/mips/include/asm/mach-jz4740/
Dtimer.h91 writew(period, jz4740_timer_base + JZ_REG_TIMER_DFR(timer)); in jz4740_timer_set_period()
96 writew(duty, jz4740_timer_base + JZ_REG_TIMER_DHR(timer)); in jz4740_timer_set_duty()
101 writew(count, jz4740_timer_base + JZ_REG_TIMER_CNT(timer)); in jz4740_timer_set_count()
127 writew(ctrl, jz4740_timer_base + JZ_REG_TIMER_CTRL(timer)); in jz4740_timer_set_ctrl()
/arch/m68k/include/asm/
Dvga.h19 #undef writew
26 #define writew raw_outw macro
Dide.h46 #undef writew
53 #define writew(val, port) out_be16(port, val) macro
Dio_no.h47 #define writew(b,addr) (void)((*(volatile unsigned short *) (addr)) = (b)) macro
54 #define __raw_writew writew
120 #define outw(x,addr) ((void) writew(x,addr))
Dio.h13 #define writew_relaxed(b, addr) writew(b, addr)
Dnettel.h96 writew((readw(MCFSIM_PBDAT) & ~mask) | bits, MCFSIM_PBDAT); in mcf_setppdata()
/arch/m32r/include/asm/
Dio.h163 #define writew(val, addr) _writew((val), (unsigned long)(addr)) macro
166 #define __raw_writew writew
169 #define writew_relaxed writew
176 #define iowrite16 writew
189 #define iowrite16be(v, addr) writew(cpu_to_be16(v), (addr))
/arch/mn10300/include/asm/
Dio.h56 static inline void writew(u16 b, volatile void __iomem *addr) in writew() function
67 #define __raw_writew writew
71 #define writew_relaxed writew
110 return writew(b, (volatile void __iomem *) addr); in outw()
197 #define iowrite16(v, addr) writew((v), (addr))
202 #define iowrite16be(v, addr) writew(cpu_to_be16(v), (addr))
/arch/sparc/include/asm/
Dio_64.h165 #define writew writew macro
166 #define writew_relaxed writew
167 static inline void writew(u16 w, volatile void __iomem *addr) in writew() function
222 writew(w, (volatile void __iomem *)addr); in outw()
418 #define iowrite16 writew
/arch/parisc/include/asm/
Dio.h201 static inline void writew(unsigned short w, volatile void __iomem *addr) in writew() function
219 #define writew writew macro
228 #define writew_relaxed(w, addr) writew(w, addr)
/arch/hexagon/include/asm/
Dio.h146 static inline void writew(u16 data, volatile void __iomem *addr) in writew() function
168 #define __raw_writew writew
260 writew(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outw()
/arch/tile/include/asm/
Dio.h213 static inline void writew(u16 val, unsigned long addr) in writew() function
237 #define writew __raw_writew macro
246 #define writew_relaxed writew
255 #define iowrite16 writew
314 writew(b, (volatile void __iomem *) addr); in outw()
/arch/tile/include/gxio/
Dcommon.h34 #define __gxio_mmio_write16(addr, val) writew((val), (addr))
/arch/alpha/include/asm/
Dio_trivial.h68 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) in IO_CONCAT() argument
95 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) in IO_CONCAT() argument
/arch/x86/include/asm/
Dio.h66 build_mmio_write(writew, "w", unsigned short, "r", :"memory")
84 #define writew writew macro
/arch/metag/mm/
Dmaccess.c58 writew(*(const u16 *)psrc, iodst); in probe_kernel_write()
/arch/nios2/include/asm/
Dio.h25 #define writew_relaxed(x, addr) writew(x, addr)
/arch/x86/kernel/
Dearly_printk.c42 writew(readw(VGABASE+2*(max_xpos*k+i)), in early_vga_write()
47 writew(0x720, VGABASE + 2*(max_xpos*j + i)); in early_vga_write()
62 writew(((0x7 << 8) | (unsigned short) c), in early_vga_write()

123