Home
last modified time | relevance | path

Searched refs:amba_ports (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Damba-pl010.c529 static struct uart_amba_port *amba_ports[UART_NR]; variable
617 uap = amba_ports[co->index]; in pl010_console_setup()
668 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) in pl010_probe()
669 if (amba_ports[i] == NULL) in pl010_probe()
672 if (i == ARRAY_SIZE(amba_ports)) in pl010_probe()
702 amba_ports[i] = uap; in pl010_probe()
720 amba_ports[i] = NULL; in pl010_probe()
733 for (i = 0; i < ARRAY_SIZE(amba_ports); i++) in pl010_remove()
734 if (amba_ports[i] == uap) in pl010_remove()
735 amba_ports[i] = NULL; in pl010_remove()
[all …]
H A Damba-pl011.c2419 uap = amba_ports[co->index]; in pl011_console_setup()
2497 if (!amba_ports[i]) in pl011_console_match()
2500 port = &amba_ports[i]->port; in pl011_console_match()
2675 if (ret >= ARRAY_SIZE(amba_ports) || amba_ports[ret] != NULL) { in pl011_probe_dt_alias()
2694 if (amba_ports[i] == uap) in pl011_unregister_port()
2695 amba_ports[i] = NULL; in pl011_unregister_port()
2696 else if (amba_ports[i]) in pl011_unregister_port()
2709 if (amba_ports[i] == NULL) in pl011_find_free_port()
2751 amba_ports[index] = uap; in pl011_setup_port()
2770 if (amba_ports[i] == uap) in pl011_register_port()
[all …]