Lines Matching defs:port
32 static int __init configure_uart_pins(int port)
34 switch (port) {
50 static void __init configure_uart(int port, int baud)
56 __raw_writel(0, uart_base + U_MODE(port));
57 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port));
58 __raw_writel(UART_ENABLE, uart_base + U_MODE(port));
60 uart_base + PIC32_SET(U_STA(port)));
63 static void __init setup_early_console(int port, int baud)
65 if (configure_uart_pins(port))
68 console_port = port;
88 int port = -1;
101 port = (*s) - '0';
105 return port;
136 int baud, port;
141 port = get_port_from_cmdline(arch_cmdline);
143 if (port == -1)
144 port = EARLY_CONSOLE_PORT;
149 setup_early_console(port, baud);