Searched refs:amba_reg (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | amba-pl010.c | 635 static struct uart_driver amba_reg; variable 643 .data = &amba_reg, 652 static struct uart_driver amba_reg = { variable 707 if (!amba_reg.state) { in pl010_probe() 708 ret = uart_register_driver(&amba_reg); in pl010_probe() 718 ret = uart_add_one_port(&amba_reg, &uap->port); in pl010_probe() 731 uart_remove_one_port(&amba_reg, &uap->port); in pl010_remove() 740 uart_unregister_driver(&amba_reg); in pl010_remove() 749 uart_suspend_port(&amba_reg, &uap->port); in pl010_suspend() 759 uart_resume_port(&amba_reg, &uap->port); in pl010_resume()
|
H A D | amba-pl011.c | 2513 static struct uart_driver amba_reg; variable 2522 .data = &amba_reg, 2645 static struct uart_driver amba_reg = { variable 2701 uart_unregister_driver(&amba_reg); in pl011_unregister_port() 2764 if (!amba_reg.state) { in pl011_register_port() 2765 ret = uart_register_driver(&amba_reg); in pl011_register_port() 2776 ret = uart_add_one_port(&amba_reg, &uap->port); in pl011_register_port() 2848 uart_remove_one_port(&amba_reg, &uap->port); in pl011_remove() 2860 return uart_suspend_port(&amba_reg, &uap->port); in pl011_suspend() 2870 return uart_resume_port(&amba_reg, &uap->port); in pl011_resume() [all …]
|