Lines Matching refs:serial_outp
160 #define serial_outp(up, offset, value) serial_out(up, offset, value) macro
200 serial_outp(up, UART_RSA_MSR, mode | UART_RSA_MSR_FIFO); in __enable_rsa()
220 serial_outp(up, UART_RSA_FRR, 0); in enable_rsa()
243 serial_outp(up, UART_RSA_MSR, mode & ~UART_RSA_MSR_FIFO); in disable_rsa()
403 serial_outp(up, UART_TX, up->port.x_char); in transmit_chars()
621 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
622 serial_outp(up, UART_EFR, UART_EFR_ECB); in sunsu_startup()
623 serial_outp(up, UART_IER, 0); in sunsu_startup()
624 serial_outp(up, UART_LCR, 0); in sunsu_startup()
626 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
627 serial_outp(up, UART_EFR, UART_EFR_ECB); in sunsu_startup()
628 serial_outp(up, UART_LCR, 0); in sunsu_startup()
644 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_startup()
645 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_startup()
647 serial_outp(up, UART_FCR, 0); in sunsu_startup()
684 serial_outp(up, UART_LCR, UART_LCR_WLEN8); in sunsu_startup()
699 serial_outp(up, UART_IER, up->ier); in sunsu_startup()
732 serial_outp(up, UART_IER, 0); in sunsu_shutdown()
749 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_shutdown()
752 serial_outp(up, UART_FCR, 0); in sunsu_shutdown()
874 serial_outp(up, UART_LCR, 0xBF); in sunsu_change_speed()
875 serial_outp(up, UART_EFR, cflag & CRTSCTS ? UART_EFR_CTS :0); in sunsu_change_speed()
877 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed()
878 serial_outp(up, UART_DLL, quot & 0xff); /* LS of divisor */ in sunsu_change_speed()
879 serial_outp(up, UART_DLM, quot >> 8); /* MS of divisor */ in sunsu_change_speed()
881 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
882 serial_outp(up, UART_LCR, cval); /* reset DLAB */ in sunsu_change_speed()
887 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_change_speed()
889 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
1054 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()
1059 serial_outp(up, UART_IER, 0x0f); in sunsu_autoconfig()
1064 serial_outp(up, UART_IER, scratch); in sunsu_autoconfig()
1082 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1084 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1088 serial_outp(up, UART_LCR, 0xBF); /* set up for StarTech test */ in sunsu_autoconfig()
1089 serial_outp(up, UART_EFR, 0); /* EFR is the same as FCR */ in sunsu_autoconfig()
1090 serial_outp(up, UART_LCR, 0); in sunsu_autoconfig()
1091 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1109 serial_outp(up, UART_LCR, UART_LCR_DLAB); in sunsu_autoconfig()
1113 serial_outp(up, UART_LCR, 0xBF); in sunsu_autoconfig()
1120 serial_outp(up, UART_LCR, save_lcr | UART_LCR_DLAB); in sunsu_autoconfig()
1121 serial_outp(up, UART_FCR, in sunsu_autoconfig()
1131 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1132 serial_outp(up, UART_LCR, 0); in sunsu_autoconfig()
1133 serial_outp(up, UART_FCR, in sunsu_autoconfig()
1139 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1141 serial_outp(up, UART_LCR, save_lcr); in sunsu_autoconfig()
1144 serial_outp(up, UART_SCR, 0xa5); in sunsu_autoconfig()
1146 serial_outp(up, UART_SCR, 0x5a); in sunsu_autoconfig()
1148 serial_outp(up, UART_SCR, scratch); in sunsu_autoconfig()
1165 serial_outp(up, UART_RSA_FRR, 0); in sunsu_autoconfig()
1167 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1168 serial_outp(up, UART_FCR, (UART_FCR_ENABLE_FIFO | in sunsu_autoconfig()
1171 serial_outp(up, UART_FCR, 0); in sunsu_autoconfig()
1173 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()