Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/serial/
Dsprd_serial.c114 static struct sprd_uart_port *sprd_port[UART_NR_MAX]; variable
536 struct uart_port *port = &sprd_port[co->index]->port; in sprd_console_write()
567 port = &sprd_port[co->index]->port; in sprd_console_setup()
653 else if (ret >= ARRAY_SIZE(sprd_port) || sprd_port[ret] != NULL) { in sprd_probe_dt_alias()
667 sprd_port[sup->port.line] = NULL; in sprd_remove()
686 for (index = 0; index < ARRAY_SIZE(sprd_port); index++) in sprd_probe()
687 if (sprd_port[index] == NULL) in sprd_probe()
690 if (index == ARRAY_SIZE(sprd_port)) in sprd_probe()
695 sprd_port[index] = devm_kzalloc(&pdev->dev, in sprd_probe()
696 sizeof(*sprd_port[index]), GFP_KERNEL); in sprd_probe()
[all …]