Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/serial/8250/
D8250_em.c37 case UART_SCR: /* SCR @ 0x20 (+1) */ in serial8250_em_serial_out()
57 case UART_SCR: /* SCR @ 0x20 (+1) */ in serial8250_em_serial_in()
D8250_uniphier.c71 case UART_SCR: in uniphier_serial_in()
101 case UART_SCR: in uniphier_serial_out()
D8250.h151 serial_out(up, UART_SCR, offset); in serial_icr_write()
161 serial_out(up, UART_SCR, offset); in serial_icr_read()
D8250_port.c348 [UART_SCR] = UART_REG_UNMAPPED,
359 [UART_SCR] = UART_REG_UNMAPPED,
996 scratch = serial_in(up, UART_SCR); in autoconfig_8250()
997 serial_out(up, UART_SCR, 0xa5); in autoconfig_8250()
998 status1 = serial_in(up, UART_SCR); in autoconfig_8250()
999 serial_out(up, UART_SCR, 0x5a); in autoconfig_8250()
1000 status2 = serial_in(up, UART_SCR); in autoconfig_8250()
1001 serial_out(up, UART_SCR, scratch); in autoconfig_8250()
1843 serial_in(up, UART_SCR); in serial8250_tx_chars()
3404 if (up->canary && (up->canary != serial_port_in(port, UART_SCR))) { in serial8250_console_write()
D8250_pci.c1309 val = inb(base + UART_SCR); in pci_quatech_rqopr()
1321 inb(base + UART_SCR); in pci_quatech_wqopr()
1322 outb(qopr, base + UART_SCR); in pci_quatech_wqopr()
1333 val = inb(base + UART_SCR); in pci_quatech_rqmcr()
1334 outb(val | 0x10, base + UART_SCR); in pci_quatech_rqmcr()
1336 outb(val, base + UART_SCR); in pci_quatech_rqmcr()
1349 val = inb(base + UART_SCR); in pci_quatech_wqmcr()
1350 outb(val | 0x10, base + UART_SCR); in pci_quatech_wqmcr()
1352 outb(val, base + UART_SCR); in pci_quatech_wqmcr()
1363 val = inb(base + UART_SCR); in pci_quatech_has_qmcr()
[all …]
D8250_core.c763 serial_out(up, UART_SCR, canary); in serial8250_suspend_port()
764 if (serial_in(up, UART_SCR) == canary) in serial8250_suspend_port()
/linux-6.1.9/drivers/misc/ibmasm/
Duart.c30 if (0 == readl(iomem_base + UART_SCR)) { in ibmasm_register_uart()
/linux-6.1.9/arch/powerpc/boot/
Dns16550.c29 #define UART_SCR 7 /* I/O: Scratch Register */ macro
/linux-6.1.9/drivers/tty/serial/
Dsunsu.c168 serial_out(up, UART_SCR, offset); in serial_icr_write()
178 serial_out(up, UART_SCR, offset);
1144 scratch = serial_in(up, UART_SCR); in sunsu_autoconfig()
1145 serial_outp(up, UART_SCR, 0xa5); in sunsu_autoconfig()
1146 status1 = serial_in(up, UART_SCR); in sunsu_autoconfig()
1147 serial_outp(up, UART_SCR, 0x5a); in sunsu_autoconfig()
1148 status2 = serial_in(up, UART_SCR); in sunsu_autoconfig()
1149 serial_outp(up, UART_SCR, scratch); in sunsu_autoconfig()
Dserial-tegra.c330 tegra_uart_read(tup, UART_SCR); in tegra_uart_fifo_reset()
427 tegra_uart_read(tup, UART_SCR); in tegra_set_baudrate()
1045 tegra_uart_read(tup, UART_SCR); in tegra_uart_hw_init()
/linux-6.1.9/arch/sh/include/asm/
Dsmc37c93x.h66 #define UART_SCR 0xe /* Scratch Register */ macro
/linux-6.1.9/sound/drivers/
Dserial-u16550.c339 outb(0xaa, io_base + UART_SCR); in snd_uart16550_detect()
341 c = inb(io_base + UART_SCR); in snd_uart16550_detect()
346 outb(0x55, io_base + UART_SCR); in snd_uart16550_detect()
348 c = inb(io_base + UART_SCR); in snd_uart16550_detect()
/linux-6.1.9/include/uapi/linux/
Dserial_reg.h155 #define UART_SCR 7 /* I/O: Scratch Register */ macro
/linux-6.1.9/arch/powerpc/kernel/
Dudbg_16550.c25 #define UART_SCR 7 macro
/linux-6.1.9/samples/vfio-mdev/
Dmtty.c466 case UART_SCR: in handle_bar_write()
604 case UART_SCR: in handle_bar_read()