Lines Matching refs:mpsc_base

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()
629 writel(0, pi->mpsc_base + MPSC_CHR_8); in mpsc_hw_init()
630 writel(0, pi->mpsc_base + MPSC_CHR_9); in mpsc_hw_init()
631 writel(0, pi->mpsc_base + MPSC_CHR_10); in mpsc_hw_init()
640 pi->mpsc_base + MPSC_CHR_2); in mpsc_enter_hunt()
644 writel(readl(pi->mpsc_base + MPSC_CHR_2) | MPSC_CHR_2_EH, in mpsc_enter_hunt()
645 pi->mpsc_base + MPSC_CHR_2); in mpsc_enter_hunt()
647 while (readl(pi->mpsc_base + MPSC_CHR_2) & MPSC_CHR_2_EH) in mpsc_enter_hunt()
659 readl(pi->mpsc_base + MPSC_MPCR); in mpsc_freeze()
664 writel(v, pi->mpsc_base + MPSC_MPCR); in mpsc_freeze()
672 readl(pi->mpsc_base + MPSC_MPCR); in mpsc_unfreeze()
677 writel(v, pi->mpsc_base + MPSC_MPCR); in mpsc_unfreeze()
689 readl(pi->mpsc_base + MPSC_MPCR); in mpsc_set_char_length()
694 writel(v, pi->mpsc_base + MPSC_MPCR); in mpsc_set_char_length()
705 readl(pi->mpsc_base + MPSC_MPCR); in mpsc_set_stop_bit_length()
711 writel(v, pi->mpsc_base + MPSC_MPCR); in mpsc_set_stop_bit_length()
721 readl(pi->mpsc_base + MPSC_CHR_2); in mpsc_set_parity()
728 writel(v, pi->mpsc_base + MPSC_CHR_2); in mpsc_set_parity()
1267 : readl(pi->mpsc_base + MPSC_CHR_10); in mpsc_get_mctrl()
1321 pi->mpsc_base + MPSC_CHR_2); in mpsc_stop_rx()
1325 writel(readl(pi->mpsc_base + MPSC_CHR_2) | MPSC_CHR_2_RA, in mpsc_stop_rx()
1326 pi->mpsc_base + MPSC_CHR_2); in mpsc_stop_rx()
1328 while (readl(pi->mpsc_base + MPSC_CHR_2) & MPSC_CHR_2_RA) in mpsc_stop_rx()
1350 writel(v, pi->mpsc_base + MPSC_CHR_1); in mpsc_break_ctl()
1654 data = readl(pi->mpsc_base + MPSC_MPCR); in mpsc_put_poll_char()
1655 writeb(c, pi->mpsc_base + MPSC_CHR_1); in mpsc_put_poll_char()
1657 data = readl(pi->mpsc_base + MPSC_CHR_2); in mpsc_put_poll_char()
1659 writel(data, pi->mpsc_base + MPSC_CHR_2); in mpsc_put_poll_char()
1662 while (readl(pi->mpsc_base + MPSC_CHR_2) & MPSC_CHR_2_TTCS); in mpsc_put_poll_char()
1955 pi->mpsc_base = ioremap(r->start, MPSC_REG_BLOCK_SIZE); in mpsc_drv_map_regs()
1970 if (pi->mpsc_base) { in mpsc_drv_map_regs()
1971 iounmap(pi->mpsc_base); in mpsc_drv_map_regs()
1972 pi->mpsc_base = NULL; in mpsc_drv_map_regs()
1984 if (pi->mpsc_base) { in mpsc_drv_map_regs()
1985 iounmap(pi->mpsc_base); in mpsc_drv_map_regs()
1986 pi->mpsc_base = NULL; in mpsc_drv_map_regs()
2002 if (!pi->mpsc_base) { in mpsc_drv_unmap_regs()
2003 iounmap(pi->mpsc_base); in mpsc_drv_unmap_regs()
2015 pi->mpsc_base = NULL; in mpsc_drv_unmap_regs()
2036 pi->port.membase = pi->mpsc_base; in mpsc_drv_get_platform_data()
2037 pi->port.mapbase = (ulong)pi->mpsc_base; in mpsc_drv_get_platform_data()