Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/tty/serial/
Dsprd_serial.c121 static struct sprd_uart_port *sprd_port[UART_NR_MAX]; variable
542 struct uart_port *port = &sprd_port[co->index]->port; in sprd_console_write()
573 port = &sprd_port[co->index]->port; in sprd_console_setup()
661 else if (ret >= ARRAY_SIZE(sprd_port) || sprd_port[ret] != NULL) { in sprd_probe_dt_alias()
675 sprd_port[sup->port.line] = NULL; in sprd_remove()
694 for (index = 0; index < ARRAY_SIZE(sprd_port); index++) in sprd_probe()
695 if (sprd_port[index] == NULL) in sprd_probe()
698 if (index == ARRAY_SIZE(sprd_port)) in sprd_probe()
703 sprd_port[index] = devm_kzalloc(&pdev->dev, in sprd_probe()
704 sizeof(*sprd_port[index]), GFP_KERNEL); in sprd_probe()
[all …]