Lines Matching defs:port
78 * \brief Initialize a serial port. The MMU is turned on.
80 void pl011_init(unsigned port, lvaddr_t base, bool hwinit)
83 assert(port < serial_num_physical_ports);
85 pl011_uart_t *u = &uarts[port];
101 // Configure port to 38400 baud, 8 data, no parity, 1 stop (8-N-1)
138 * \brief Put a character to the port
140 void serial_putchar(unsigned port, char c)
142 assert(port < MAX_PORTS);
143 pl011_uart_t *u = &uarts[port];
151 * \brief Read a character from a port
153 char serial_getchar(unsigned port)
155 assert(port < MAX_PORTS);
156 pl011_uart_t *u = &uarts[port];