Home
last modified time | relevance | path

Searched refs:UART_MCR (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dserialio.c96 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR); in spk_serial_init()
142 speakup_info.port_tts + UART_MCR); in start_serial_interrupt()
167 int old = inb(speakup_info.port_tts + UART_MCR); in spk_serial_tiocmset()
169 outb((old & ~clear) | set, speakup_info.port_tts + UART_MCR); in spk_serial_tiocmset()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dudbg_16550.c21 #define UART_MCR 4 macro
119 udbg_uart_out(UART_MCR, 0x3); in udbg_uart_setup()
140 if (udbg_uart_in(UART_MCR) & 0x80) in udbg_probe_uart_speed()
/kernel/linux/linux-5.10/drivers/ssb/
Ddriver_extif.c46 save_mcr = regs[UART_MCR]; in serial_exists()
47 regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in serial_exists()
50 regs[UART_MCR] = save_mcr; in serial_exists()
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c409 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_open()
416 uart->base + UART_MCR); in snd_uart16550_do_open()
422 uart->base + UART_MCR); in snd_uart16550_do_open()
469 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_close()
476 uart->base + UART_MCR); in snd_uart16550_do_close()
482 uart->base + UART_MCR); in snd_uart16550_do_close()
832 outb(UART_MCR_RTS | (0&UART_MCR_DTR), uart->base + UART_MCR); in snd_uart16550_create()
837 outb(UART_MCR_RTS | UART_MCR_DTR, uart->base + UART_MCR); in snd_uart16550_create()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_em.c36 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_out()
54 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_in()
D8250_ingenic.c119 early_out(port, UART_MCR, UART_MCR_RTS | UART_MCR_DTR); in ingenic_early_console_setup()
165 case UART_MCR: in ingenic_uart_serial_out()
197 case UART_MCR: in ingenic_uart_serial_in()
D8250_uniphier.c79 case UART_MCR: in uniphier_serial_in()
113 case UART_MCR: in uniphier_serial_out()
D8250.h243 serial_out(up, UART_MCR, value); in serial8250_out_MCR()
253 mctrl = serial_in(up, UART_MCR); in serial8250_in_MCR()
D8250_early.c145 serial8250_early_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
Dplatform.c38 else if (offset == UART_MCR) in nlm_xlr_uart_in()
54 else if (offset == UART_MCR) in nlm_xlr_uart_out()
/kernel/linux/linux-5.10/drivers/bluetooth/
Ddtl1_cs.c472 outb(0, iobase + UART_MCR); in dtl1_open()
479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
518 outb(0, iobase + UART_MCR); in dtl1_close()
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dns16550.c24 #define UART_MCR 4 /* Out: Modem Control Register */ macro
/kernel/linux/linux-5.10/drivers/tty/
Dmxser.c494 oldmcr = inb(io + UART_MCR); in CheckIsMoxaMust()
495 outb(0, io + UART_MCR); in CheckIsMoxaMust()
497 if ((hwid = inb(io + UART_MCR)) != 0) { in CheckIsMoxaMust()
498 outb(oldmcr, io + UART_MCR); in CheckIsMoxaMust()
560 outb(inb(mp->ioaddr + UART_MCR) | in mxser_dtr_rts()
561 UART_MCR_DTR | UART_MCR_RTS, mp->ioaddr + UART_MCR); in mxser_dtr_rts()
563 outb(inb(mp->ioaddr + UART_MCR)&~(UART_MCR_DTR | UART_MCR_RTS), in mxser_dtr_rts()
564 mp->ioaddr + UART_MCR); in mxser_dtr_rts()
604 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
607 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/
Dserial_ir.c163 soutp(UART_MCR, hardware[type].off); in on()
165 soutp(UART_MCR, hardware[type].on); in on()
171 soutp(UART_MCR, hardware[type].on); in off()
173 soutp(UART_MCR, hardware[type].off); in off()
Dsir_ir.c293 outb(0, io + UART_MCR); in init_hardware()
307 outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2, io + UART_MCR); in init_hardware()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dssu100.c151 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl()
390 r = ssu100_getregister(dev, 0, UART_MCR, d); in ssu100_tiocmget()
425 if (ssu100_setregister(dev, 0, UART_MCR, 0) < 0) in ssu100_dtr_rts()
Dquatech2.c236 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl()
754 r = qt2_getregister(dev, port_priv->device_port, UART_MCR, d); in qt2_tiocmget()
812 UART_MCR, 0) < 0) in qt2_dtr_rts()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsmc37c93x.h63 #define UART_MCR 0x8 /* MODEM Control Register */ macro
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/
Dls_uart.c67 out_8(avr_addr + UART_MCR, 0); in avr_uart_configure()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dserial-tegra.c197 tegra_uart_write(tup, mcr, UART_MCR); in set_rts()
212 tegra_uart_write(tup, mcr, UART_MCR); in set_dtr()
227 tegra_uart_write(tup, mcr, UART_MCR); in set_loopbk()
947 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
959 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
1366 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
1373 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
Domap-serial.c684 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl()
688 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_mctrl()
964 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios()
965 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
994 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1043 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
1091 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1843 serial_out(up, UART_MCR, up->mcr); in serial_omap_restore_context()
Dsunsu.c132 if (offset == UART_MCR) in serial_out()
597 serial_out(up, UART_MCR, mcr); in sunsu_set_mctrl()
1075 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig()
1088 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1090 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1173 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dserial_reg.h83 #define UART_MCR 4 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dserial_reg.h71 #define UART_MCR 4 macro
/kernel/linux/linux-5.10/include/uapi/linux/
Dserial_reg.h122 #define UART_MCR 4 /* Out: Modem Control Register */ macro

12