Lines Matching refs:PSC_5125
760 #define PSC_5125(port) ((struct mpc5125_psc __iomem *)((port)->membase)) macro
761 #define FIFO_5125(port) ((struct mpc512x_psc_fifo __iomem *)(PSC_5125(port)+1))
766 out_8(&PSC_5125(port)->mpc52xx_psc_clock_select, 0xdd); in mpc5125_psc_fifo_init()
899 mpc5125_set_divisor(PSC_5125(port), 0xdd, divisor); in mpc5125_psc_set_baudrate()
909 return in_be16(&PSC_5125(port)->mpc52xx_psc_status); in mpc5125_psc_get_status()
914 return in_8(&PSC_5125(port)->mpc52xx_psc_ipcr); in mpc5125_psc_get_ipcr()
919 out_8(&PSC_5125(port)->command, cmd); in mpc5125_psc_command()
924 out_8(&PSC_5125(port)->mr1, mr1); in mpc5125_psc_set_mode()
925 out_8(&PSC_5125(port)->mr2, mr2); in mpc5125_psc_set_mode()
931 out_8(&PSC_5125(port)->op1, MPC52xx_PSC_OP_RTS); in mpc5125_psc_set_rts()
933 out_8(&PSC_5125(port)->op0, MPC52xx_PSC_OP_RTS); in mpc5125_psc_set_rts()
938 struct mpc5125_psc __iomem *psc = PSC_5125(port); in mpc5125_psc_enable_ms()
951 out_be32(&PSC_5125(port)->sicr, val); in mpc5125_psc_set_sicr()
956 out_be16(&PSC_5125(port)->mpc52xx_psc_imr, val); in mpc5125_psc_set_imr()
961 return in_8(&PSC_5125(port)->mr1); in mpc5125_psc_get_mr1()