Lines Matching refs:co
604 mpc52xx_console_write(struct console *co, const char *s, unsigned int count)
606 struct uart_port *port = &mpc52xx_uart_ports[co->index];
641 mpc52xx_console_setup(struct console *co, char *options)
643 struct uart_port *port = &mpc52xx_uart_ports[co->index];
650 if (co->index < 0 || co->index >= MPC52xx_PSC_MAXNUM)
658 port->mapbase = MPC52xx_PA(MPC52xx_PSCx_OFFSET(co->index+1));
671 return uart_set_options(port, co, baud, parity, bits, flow);
677 mpc52xx_console_setup(struct console *co, char *options)
679 struct uart_port *port = &mpc52xx_uart_ports[co->index];
680 struct device_node *np = mpc52xx_uart_nodes[co->index];
690 pr_debug("mpc52xx_console_setup co=%p, co->index=%i, options=%s\n",
691 co, co->index, options);
693 if ((co->index < 0) || (co->index > MPC52xx_PSC_MAXNUM)) {
694 pr_debug("PSC%x out of range\n", co->index);
699 pr_debug("PSC%x not found in device tree\n", co->index);
704 co->index, mpc52xx_uart_nodes[co->index]->full_name);
708 pr_debug("Could not get resources for PSC%x\n", co->index);
742 return uart_set_options(port, co, baud, parity, bits, flow);