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()
404 serial_outp(up, UART_TX, up->port.x_char); in transmit_chars()
622 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
623 serial_outp(up, UART_EFR, UART_EFR_ECB); in sunsu_startup()
624 serial_outp(up, UART_IER, 0); in sunsu_startup()
625 serial_outp(up, UART_LCR, 0); in sunsu_startup()
627 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
628 serial_outp(up, UART_EFR, UART_EFR_ECB); in sunsu_startup()
629 serial_outp(up, UART_LCR, 0); in sunsu_startup()
645 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_startup()
646 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_startup()
648 serial_outp(up, UART_FCR, 0); in sunsu_startup()
685 serial_outp(up, UART_LCR, UART_LCR_WLEN8); in sunsu_startup()
700 serial_outp(up, UART_IER, up->ier); in sunsu_startup()
733 serial_outp(up, UART_IER, 0); in sunsu_shutdown()
750 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | in sunsu_shutdown()
753 serial_outp(up, UART_FCR, 0); in sunsu_shutdown()
875 serial_outp(up, UART_LCR, 0xBF); in sunsu_change_speed()
876 serial_outp(up, UART_EFR, cflag & CRTSCTS ? UART_EFR_CTS :0); in sunsu_change_speed()
878 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed()
879 serial_outp(up, UART_DLL, quot & 0xff); /* LS of divisor */ in sunsu_change_speed()
880 serial_outp(up, UART_DLM, quot >> 8); /* MS of divisor */ in sunsu_change_speed()
882 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
883 serial_outp(up, UART_LCR, cval); /* reset DLAB */ in sunsu_change_speed()
888 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_change_speed()
890 serial_outp(up, UART_FCR, fcr); /* set fcr */ in sunsu_change_speed()
1055 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()
1060 serial_outp(up, UART_IER, 0x0f); in sunsu_autoconfig()
1065 serial_outp(up, UART_IER, scratch); in sunsu_autoconfig()
1083 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1085 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1089 serial_outp(up, UART_LCR, 0xBF); /* set up for StarTech test */ in sunsu_autoconfig()
1090 serial_outp(up, UART_EFR, 0); /* EFR is the same as FCR */ in sunsu_autoconfig()
1091 serial_outp(up, UART_LCR, 0); in sunsu_autoconfig()
1092 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1110 serial_outp(up, UART_LCR, UART_LCR_DLAB); in sunsu_autoconfig()
1114 serial_outp(up, UART_LCR, 0xBF); in sunsu_autoconfig()
1121 serial_outp(up, UART_LCR, save_lcr | UART_LCR_DLAB); in sunsu_autoconfig()
1122 serial_outp(up, UART_FCR, in sunsu_autoconfig()
1132 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1133 serial_outp(up, UART_LCR, 0); in sunsu_autoconfig()
1134 serial_outp(up, UART_FCR, in sunsu_autoconfig()
1140 serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); in sunsu_autoconfig()
1142 serial_outp(up, UART_LCR, save_lcr); in sunsu_autoconfig()
1145 serial_outp(up, UART_SCR, 0xa5); in sunsu_autoconfig()
1147 serial_outp(up, UART_SCR, 0x5a); in sunsu_autoconfig()
1149 serial_outp(up, UART_SCR, scratch); in sunsu_autoconfig()
1166 serial_outp(up, UART_RSA_FRR, 0); in sunsu_autoconfig()
1168 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1169 serial_outp(up, UART_FCR, (UART_FCR_ENABLE_FIFO | in sunsu_autoconfig()
1172 serial_outp(up, UART_FCR, 0); in sunsu_autoconfig()
1174 serial_outp(up, UART_IER, 0); in sunsu_autoconfig()