Lines Matching refs:serial_out
440 p->serial_out = hub6_serial_out; in set_io_from_upio()
445 p->serial_out = mem_serial_out; in set_io_from_upio()
451 p->serial_out = mem32_serial_out; in set_io_from_upio()
456 p->serial_out = au_serial_out; in set_io_from_upio()
461 p->serial_out = io_serial_out; in set_io_from_upio()
476 p->serial_out(p, offset, value); in serial_port_out_sync()
480 p->serial_out(p, offset, value); in serial_port_out_sync()
493 serial_out(up, UART_DLL, value & 0xff); in _serial_dl_write()
494 serial_out(up, UART_DLM, value >> 8 & 0xff); in _serial_dl_write()
542 serial_out(up, UART_SCR, offset); in serial_icr_write()
543 serial_out(up, UART_ICR, value); in serial_icr_write()
551 serial_out(up, UART_SCR, offset); in serial_icr_read()
564 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO); in serial8250_clear_fifos()
565 serial_out(p, UART_FCR, UART_FCR_ENABLE_FIFO | in serial8250_clear_fifos()
567 serial_out(p, UART_FCR, 0); in serial8250_clear_fifos()
580 serial_out(p, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_set_sleep()
581 serial_out(p, UART_EFR, UART_EFR_ECB); in serial8250_set_sleep()
582 serial_out(p, UART_LCR, 0); in serial8250_set_sleep()
584 serial_out(p, UART_IER, sleep ? UART_IERX_SLEEP : 0); in serial8250_set_sleep()
586 serial_out(p, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_set_sleep()
587 serial_out(p, UART_EFR, 0); in serial8250_set_sleep()
588 serial_out(p, UART_LCR, 0); in serial8250_set_sleep()
607 serial_out(up, UART_RSA_MSR, mode | UART_RSA_MSR_FIFO); in __enable_rsa()
627 serial_out(up, UART_RSA_FRR, 0); in enable_rsa()
650 serial_out(up, UART_RSA_MSR, mode & ~UART_RSA_MSR_FIFO); in disable_rsa()
673 serial_out(up, UART_LCR, 0); in size_fifo()
676 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in size_fifo()
678 serial_out(up, UART_MCR, UART_MCR_LOOP); in size_fifo()
679 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in size_fifo()
682 serial_out(up, UART_LCR, 0x03); in size_fifo()
684 serial_out(up, UART_TX, count); in size_fifo()
689 serial_out(up, UART_FCR, old_fcr); in size_fifo()
690 serial_out(up, UART_MCR, old_mcr); in size_fifo()
691 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in size_fifo()
693 serial_out(up, UART_LCR, old_lcr); in size_fifo()
709 serial_out(p, UART_LCR, UART_LCR_CONF_MODE_A); in autoconfig_read_divisor_id()
714 serial_out(p, UART_DLL, 0); in autoconfig_read_divisor_id()
715 serial_out(p, UART_DLM, 0); in autoconfig_read_divisor_id()
719 serial_out(p, UART_DLL, old_dll); in autoconfig_read_divisor_id()
720 serial_out(p, UART_DLM, old_dlm); in autoconfig_read_divisor_id()
721 serial_out(p, UART_LCR, old_lcr); in autoconfig_read_divisor_id()
763 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in autoconfig_has_efr()
764 serial_out(up, UART_EFR, UART_EFR_ECB); in autoconfig_has_efr()
765 serial_out(up, UART_LCR, 0x00); in autoconfig_has_efr()
831 serial_out(up, UART_SCR, 0xa5); in autoconfig_8250()
833 serial_out(up, UART_SCR, 0x5a); in autoconfig_8250()
835 serial_out(up, UART_SCR, scratch); in autoconfig_8250()
866 serial_out(up, 0x04, status); in ns16550a_goto_highspeed()
889 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in autoconfig_16550a()
891 serial_out(up, UART_EFR, 0xA8); in autoconfig_16550a()
899 serial_out(up, UART_EFR, 0); in autoconfig_16550a()
907 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in autoconfig_16550a()
921 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
923 serial_out(up, UART_LCR, 0xE0); in autoconfig_16550a()
927 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
928 serial_out(up, UART_MCR, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
929 serial_out(up, UART_LCR, 0xE0); in autoconfig_16550a()
931 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
932 serial_out(up, UART_MCR, status1); in autoconfig_16550a()
937 serial_out(up, UART_LCR, 0xE0); in autoconfig_16550a()
945 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
960 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
961 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR7_64BYTE); in autoconfig_16550a()
963 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in autoconfig_16550a()
964 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in autoconfig_16550a()
965 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | UART_FCR7_64BYTE); in autoconfig_16550a()
967 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in autoconfig_16550a()
968 serial_out(up, UART_LCR, 0); in autoconfig_16550a()
987 serial_out(up, UART_IER, iersave & ~UART_IER_UUE); in autoconfig_16550a()
993 serial_out(up, UART_IER, iersave | UART_IER_UUE); in autoconfig_16550a()
1011 serial_out(up, UART_IER, iersave); in autoconfig_16550a()
1075 serial_out(up, UART_IER, 0); in autoconfig()
1084 serial_out(up, UART_IER, 0x0F); in autoconfig()
1089 serial_out(up, UART_IER, scratch); in autoconfig()
1113 serial_out(up, UART_MCR, UART_MCR_LOOP | 0x0A); in autoconfig()
1115 serial_out(up, UART_MCR, save_mcr); in autoconfig()
1132 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in autoconfig()
1133 serial_out(up, UART_EFR, 0); in autoconfig()
1134 serial_out(up, UART_LCR, 0); in autoconfig()
1136 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in autoconfig()
1172 serial_out(up, UART_LCR, save_lcr); in autoconfig()
1193 serial_out(up, UART_RSA_FRR, 0); in autoconfig()
1195 serial_out(up, UART_MCR, save_mcr); in autoconfig()
1199 serial_out(up, UART_IER, UART_IER_UUE); in autoconfig()
1201 serial_out(up, UART_IER, 0); in autoconfig()
1228 serial_out(up, UART_MCR, UART_MCR_OUT1 | UART_MCR_OUT2); in autoconfig_irq()
1231 serial_out(up, UART_MCR, 0); in autoconfig_irq()
1234 serial_out(up, UART_MCR, in autoconfig_irq()
1237 serial_out(up, UART_MCR, in autoconfig_irq()
1240 serial_out(up, UART_IER, 0x0f); /* enable all intrs */ in autoconfig_irq()
1245 serial_out(up, UART_TX, 0xFF); in autoconfig_irq()
1249 serial_out(up, UART_MCR, save_mcr); in autoconfig_irq()
1250 serial_out(up, UART_IER, save_ier); in autoconfig_irq()
1262 serial_out(p, UART_IER, p->ier); in __stop_tx()
1452 serial_out(up, UART_TX, port->x_char); in serial8250_tx_chars()
1468 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in serial8250_tx_chars()
1733 serial_out(up, UART_IER, 0); in serial8250_backup_timeout()
1757 serial_out(up, UART_IER, ier); in serial8250_backup_timeout()
1996 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_startup()
2965 if (port->serial_out) in early_serial_setup()
2966 p->serial_out = port->serial_out; in early_serial_setup()
3039 port.serial_out = p->serial_out; in serial8250_probe()
3204 if (port->serial_out) in serial8250_register_port()
3205 uart->port.serial_out = port->serial_out; in serial8250_register_port()