Searched refs:mpsc_base (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/arch/powerpc/boot/ |
D | mpsc.c | 47 static volatile char *mpsc_base; variable 53 chr1 = in_le32((u32 *)(mpsc_base + MPSC_CHR_1)) & 0x00ff0000; in mpsc_open() 54 chr2 = in_le32((u32 *)(mpsc_base + MPSC_CHR_2)) & ~(MPSC_CHR_2_TA in mpsc_open() 57 out_le32((u32 *)(mpsc_base + MPSC_CHR_4), MPSC_CHR_4_Z); in mpsc_open() 58 out_le32((u32 *)(mpsc_base + MPSC_CHR_5), in mpsc_open() 60 out_le32((u32 *)(mpsc_base + MPSC_CHR_2), chr2 | MPSC_CHR_2_EH); in mpsc_open() 66 while (in_le32((u32 *)(mpsc_base + MPSC_CHR_2)) & MPSC_CHR_2_TCS); in mpsc_putc() 68 out_le32((u32 *)(mpsc_base + MPSC_CHR_1), chr1 | c); in mpsc_putc() 69 out_le32((u32 *)(mpsc_base + MPSC_CHR_2), chr2 | MPSC_CHR_2_TCS); in mpsc_putc() 80 c = in_8((u8 *)(mpsc_base + MPSC_CHR_10 + 2)); in mpsc_getc() [all …]
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | mv64x60_udbg.c | 29 static void __iomem *mpsc_base; variable 37 while(in_le32(mpsc_base + MPSC_0_CR2_OFFSET) & MPSC_CHR_2_TCS) in mv64x60_udbg_putc() 39 out_le32(mpsc_base + MPSC_0_CR1_OFFSET, c); in mv64x60_udbg_putc() 40 out_le32(mpsc_base + MPSC_0_CR2_OFFSET, MPSC_CHR_2_TCS); in mv64x60_udbg_putc() 56 c = in_8(mpsc_base + MPSC_0_CHR_10_OFFSET + 2); in mv64x60_udbg_getc() 57 out_8(mpsc_base + MPSC_0_CHR_10_OFFSET + 2, c); in mv64x60_udbg_getc() 128 mpsc_base = ioremap(r[0].start, r[0].end - r[0].start + 1); in mv64x60_udbg_init() 129 if (!mpsc_base) in mv64x60_udbg_init() 134 iounmap(mpsc_base); in mv64x60_udbg_init()
|
/linux-2.6.39/drivers/tty/serial/ |
D | mpsc.c | 162 void __iomem *mpsc_base; member 612 writel(0x000004c4, pi->mpsc_base + MPSC_MMCRL); in mpsc_hw_init() 615 writel(0x04400400, pi->mpsc_base + MPSC_MMCRH); in mpsc_hw_init() 622 writel(0, pi->mpsc_base + MPSC_CHR_1); in mpsc_hw_init() 623 writel(0, pi->mpsc_base + MPSC_CHR_2); in mpsc_hw_init() 624 writel(pi->mpsc_max_idle, pi->mpsc_base + MPSC_CHR_3); in mpsc_hw_init() 625 writel(0, pi->mpsc_base + MPSC_CHR_4); in mpsc_hw_init() 626 writel(0, pi->mpsc_base + MPSC_CHR_5); in mpsc_hw_init() 627 writel(0, pi->mpsc_base + MPSC_CHR_6); in mpsc_hw_init() 628 writel(0, pi->mpsc_base + MPSC_CHR_7); in mpsc_hw_init() [all …]
|