Lines Matching refs:sprd_port
135 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()
1185 if (!sprd_port[index]) in sprd_probe()
1188 up = &sprd_port[index]->port; in sprd_probe()
1218 ret = sprd_rx_alloc_buf(sprd_port[index]); in sprd_probe()
1233 sprd_port[index] = NULL; in sprd_probe()