Lines Matching refs:amba_ports
529 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()
735 amba_ports[i] = NULL; in pl010_remove()
736 else if (amba_ports[i]) in pl010_remove()