Lines Matching refs:mpscintr_base
48 static volatile char *mpscintr_base; variable
78 cause = in_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE)); in mpsc_getc()
82 out_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE), in mpsc_getc()
90 return (u8)((in_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE)) in mpsc_tstc()
140 mpscintr_base = mpsc_get_virtreg_of_phandle(devp, "mpscintr"); in mpsc_console_init()
141 if (mpscintr_base == NULL) in mpsc_console_init()
149 mpscintr_base += (reg_set == 0) ? 0x4 : 0xc; in mpsc_console_init()
152 out_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE), 0); in mpsc_console_init()
153 out_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE), 0); in mpsc_console_init()
154 out_le32((u32 *)(mpscintr_base + MPSC_INTR_MASK), 0); in mpsc_console_init()
155 out_le32((u32 *)(mpscintr_base + MPSC_INTR_MASK), 0); in mpsc_console_init()