Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Damba-pl010.c529 static struct uart_amba_port *amba_ports[UART_NR]; variable
547 struct uart_amba_port *uap = amba_ports[co->index]; in pl010_console_write()
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()
[all …]
Damba-pl011.c2289 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()
[all …]