Lines Matching +full:em +full:- +full:uart
1 // SPDX-License-Identifier: GPL-2.0
41 writeb(value, p->membase); in serial8250_em_serial_out_helper()
46 writel(value, p->membase + ((offset + 1) << 2)); in serial8250_em_serial_out_helper()
49 writel(value, p->membase + (UART_FCR_EM_HW << 2)); in serial8250_em_serial_out_helper()
52 value &= 0x0f; /* only 4 valid bits - not Xscale */ in serial8250_em_serial_out_helper()
57 writel(value, p->membase + (offset << 2)); in serial8250_em_serial_out_helper()
66 return readb(p->membase); in serial8250_em_serial_in()
72 return readl(p->membase + ((offset + 1) << 2)); in serial8250_em_serial_in()
74 return readl(p->membase + (UART_FCR_EM_HW << 2)); in serial8250_em_serial_in()
80 return readl(p->membase + (offset << 2)); in serial8250_em_serial_in()
156 struct device *dev = &pdev->dev; in serial8250_em_probe()
168 return dev_err_probe(dev, -EINVAL, "missing registers\n"); in serial8250_em_probe()
172 return -ENOMEM; in serial8250_em_probe()
179 up.port.mapbase = regs->start; in serial8250_em_probe()
198 priv->line = ret; in serial8250_em_probe()
207 serial8250_unregister_port(priv->line); in serial8250_em_remove()
212 { .compatible = "renesas,em-uart", },
219 .name = "serial8250-em",