Lines Matching refs:amba_ports
2289 static struct uart_amba_port *amba_ports[UART_NR]; variable
2306 struct uart_amba_port *uap = amba_ports[co->index]; in pl011_console_write()
2396 uap = amba_ports[co->index]; in pl011_console_setup()
2471 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) { in pl011_console_match()
2474 if (!amba_ports[i]) in pl011_console_match()
2477 port = &amba_ports[i]->port; in pl011_console_match()
2655 if (ret >= ARRAY_SIZE(amba_ports) || amba_ports[ret]) { in pl011_probe_dt_alias()
2673 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) { in pl011_unregister_port()
2674 if (amba_ports[i] == uap) in pl011_unregister_port()
2675 amba_ports[i] = NULL; in pl011_unregister_port()
2676 else if (amba_ports[i]) in pl011_unregister_port()
2688 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) in pl011_find_free_port()
2689 if (!amba_ports[i]) in pl011_find_free_port()
2719 amba_ports[index] = uap; in pl011_setup_port()
2737 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) in pl011_register_port()
2738 if (amba_ports[i] == uap) in pl011_register_port()
2739 amba_ports[i] = NULL; in pl011_register_port()