Searched refs:reg_shift (Results 1 – 9 of 9) sorted by relevance
/arch/powerpc/boot/ |
D | virtex.c | 31 u32 reg_shift, reg_offset, clk, spd; in virtex_ns16550_console_init() local 42 n = getprop(devp, "reg-shift", ®_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()
|
D | ns16550.c | 30 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", ®_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/ |
D | serial.c | 42 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/ |
D | prm2xxx.c | 69 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()
|
D | prm.h | 111 s8 reg_shift; member
|
D | prm3xxx.c | 269 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()
|
D | prm44xx.c | 340 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/ |
D | a20r.c | 124 .reg_shift = 2,
|
/arch/arm/mach-pxa/ |
D | vpac270.c | 591 .reg_shift = 1,
|