Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/
Dsprd_serial.c135 static struct sprd_uart_port *sprd_port[UART_NR_MAX]; variable
964 struct uart_port *port = &sprd_port[co->index]->port; in sprd_console_write()
995 sprd_uart_port = sprd_port[co->index]; in sprd_console_setup()
1088 else if (ret >= ARRAY_SIZE(sprd_port) || sprd_port[ret] != NULL) { in sprd_probe_dt_alias()
1102 sprd_port[sup->port.line] = NULL; in sprd_remove()
1127 struct sprd_uart_port *u = sprd_port[uport->line]; in sprd_clk_init()
1174 for (index = 0; index < ARRAY_SIZE(sprd_port); index++) in sprd_probe()
1175 if (sprd_port[index] == NULL) in sprd_probe()
1178 if (index == ARRAY_SIZE(sprd_port)) in sprd_probe()
1183 sprd_port[index] = devm_kzalloc(&pdev->dev, sizeof(*sprd_port[index]), in sprd_probe()
[all …]