Searched refs:udbg_comport (Results 1 – 1 of 1) sorted by relevance
53 volatile struct NS16550 *udbg_comport; variable59 udbg_comport = (struct NS16550 *)comport; in udbg_init_uart()60 udbg_comport->lcr = 0x00; eieio(); in udbg_init_uart()61 udbg_comport->ier = 0xFF; eieio(); in udbg_init_uart()62 udbg_comport->ier = 0x00; eieio(); in udbg_init_uart()63 udbg_comport->lcr = 0x80; eieio(); /* Access baud rate */ in udbg_init_uart()64 udbg_comport->dll = 12; eieio(); /* 1 = 115200, 2 = 57600, 3 = 38400, 12 = 9600 baud */ in udbg_init_uart()65 udbg_comport->dlm = 0; eieio(); /* dll >> 8 which should be zero for fast rates; */ in udbg_init_uart()66 udbg_comport->lcr = 0x03; eieio(); /* 8 data, 1 stop, no parity */ in udbg_init_uart()67 udbg_comport->mcr = 0x03; eieio(); /* RTS/DTR */ in udbg_init_uart()[all …]