Home
last modified time | relevance | path

Searched refs:reg_shift (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/boot/
Dvirtex.c31 u32 reg_shift, reg_offset, clk, spd; in virtex_ns16550_console_init() local
42 n = getprop(devp, "reg-shift", &reg_shift, sizeof(reg_shift)); in virtex_ns16550_console_init()
43 if (n != sizeof(reg_shift)) in virtex_ns16550_console_init()
44 reg_shift = 0; in virtex_ns16550_console_init()
58 out_8(reg_base + (UART_LCR << reg_shift), UART_LCR_DLAB); in virtex_ns16550_console_init()
61 out_8(reg_base + (UART_DLL << reg_shift), divisor & 0xFF); in virtex_ns16550_console_init()
62 out_8(reg_base + (UART_DLM << reg_shift), divisor >> 8); in virtex_ns16550_console_init()
65 out_8(reg_base + (UART_LCR << reg_shift), UART_LCR_WLEN8); in virtex_ns16550_console_init()
68 out_8(reg_base + (UART_MCR << reg_shift), UART_MCR_RTS | UART_MCR_DTR); in virtex_ns16550_console_init()
71 out_8(reg_base + (UART_FCR << reg_shift), in virtex_ns16550_console_init()
Dns16550.c30 static u32 reg_shift; variable
34 out_8(reg_base + (UART_FCR << reg_shift), 0x06); in ns16550_open()
40 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
46 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc()
52 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
67 n = getprop(devp, "reg-shift", &reg_shift, sizeof(reg_shift)); in ns16550_console_init()
68 if (n != sizeof(reg_shift)) in ns16550_console_init()
69 reg_shift = 0; in ns16550_console_init()
/arch/mips/bcm47xx/
Dserial.c42 p->regshift = ssb_port->reg_shift; in uart8250_init_ssb()
67 p->regshift = bcma_port->reg_shift; in uart8250_init_bcma()
/arch/arm/mach-omap2/
Dprm2xxx.c69 while (p->reg_shift >= 0 && p->std_shift >= 0) { in omap2xxx_prm_read_reset_sources()
70 if (v & (1 << p->reg_shift)) in omap2xxx_prm_read_reset_sources()
Dprm.h111 s8 reg_shift; member
Dprm3xxx.c269 while (p->reg_shift >= 0 && p->std_shift >= 0) { in omap3xxx_prm_read_reset_sources()
270 if (v & (1 << p->reg_shift)) in omap3xxx_prm_read_reset_sources()
Dprm44xx.c340 while (p->reg_shift >= 0 && p->std_shift >= 0) { in omap44xx_prm_read_reset_sources()
341 if (v & (1 << p->reg_shift)) in omap44xx_prm_read_reset_sources()
/arch/mips/sni/
Da20r.c124 .reg_shift = 2,
/arch/arm/mach-pxa/
Dvpac270.c591 .reg_shift = 1,