Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/kernel/ !
Dudbg_16550.c22 #define UART_MCR 4 macro
120 udbg_uart_out(UART_MCR, 0x3); in udbg_uart_setup()
141 if (udbg_uart_in(UART_MCR) & 0x80) in udbg_probe_uart_speed()
/linux-6.1.9/sound/drivers/ !
Dserial-u16550.c406 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_open()
413 uart->base + UART_MCR); in snd_uart16550_do_open()
419 uart->base + UART_MCR); in snd_uart16550_do_open()
466 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_close()
473 uart->base + UART_MCR); in snd_uart16550_do_close()
479 uart->base + UART_MCR); in snd_uart16550_do_close()
806 outb(UART_MCR_RTS | (0&UART_MCR_DTR), uart->base + UART_MCR); in snd_uart16550_create()
811 outb(UART_MCR_RTS | UART_MCR_DTR, uart->base + UART_MCR); in snd_uart16550_create()
/linux-6.1.9/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.h269 serial_out(up, UART_MCR, value); in serial8250_out_MCR()
279 mctrl = serial_in(up, UART_MCR); in serial8250_in_MCR()
D8250_early.c143 serial8250_early_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
D8250_bcm7271.c803 mcr = serial_port_in(p, UART_MCR); in brcmuart_handle_irq()
805 serial_port_out(p, UART_MCR, mcr); in brcmuart_handle_irq()
852 status = serial_port_in(p, UART_MCR); in brcmuart_hrtimer_func()
854 serial_port_out(p, UART_MCR, status); in brcmuart_hrtimer_func()
D8250_dw.c379 unsigned int mcr = p->serial_in(p, UART_MCR); in dw8250_set_ldisc()
387 p->serial_out(p, UART_MCR, mcr); in dw8250_set_ldisc()
/linux-6.1.9/drivers/tty/ !
Dmxser.c398 oldmcr = inb(io + UART_MCR); in mxser_must_get_hwid()
399 outb(0, io + UART_MCR); in mxser_must_get_hwid()
401 if (inb(io + UART_MCR) != 0) { in mxser_must_get_hwid()
402 outb(oldmcr, io + UART_MCR); in mxser_must_get_hwid()
474 mcr = inb(mp->ioaddr + UART_MCR); in mxser_dtr_rts()
479 outb(mcr, mp->ioaddr + UART_MCR); in mxser_dtr_rts()
516 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
519 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
638 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_change_speed()
779 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_activate()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/boot/ !
Dns16550.c24 #define UART_MCR 4 /* Out: Modem Control Register */ macro
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/serial/ !
Dssu100.c151 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl()
359 r = ssu100_getregister(dev, 0, UART_MCR, d); in ssu100_tiocmget()
394 if (ssu100_setregister(dev, 0, UART_MCR, 0) < 0) in ssu100_dtr_rts()
Dark3116.c149 ark3116_write_reg(serial, UART_MCR, 0); in ark3116_port_probe()
429 ark3116_write_reg(port->serial, UART_MCR, priv->mcr); in ark3116_tiocmset()
Dquatech2.c236 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl()
723 r = qt2_getregister(dev, port_priv->device_port, UART_MCR, d); in qt2_tiocmget()
781 UART_MCR, 0) < 0) in qt2_dtr_rts()
/linux-6.1.9/arch/sh/include/asm/ !
Dsmc37c93x.h63 #define UART_MCR 0x8 /* MODEM Control Register */ macro
/linux-6.1.9/drivers/tty/serial/ !
Domap-serial.c656 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl()
660 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_mctrl()
911 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios()
912 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
941 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
990 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
1038 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1760 serial_out(up, UART_MCR, up->mcr); in serial_omap_restore_context()
Dserial-tegra.c202 tegra_uart_write(tup, mcr, UART_MCR); in set_rts()
217 tegra_uart_write(tup, mcr, UART_MCR); in set_dtr()
232 tegra_uart_write(tup, mcr, UART_MCR); in set_loopbk()
952 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
964 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
1352 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
1359 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
Dsunsu.c133 if (offset == UART_MCR) in serial_out()
594 serial_out(up, UART_MCR, mcr); in sunsu_set_mctrl()
1070 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig()
1083 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1085 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1168 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/ !
Dls_uart.c67 out_8(avr_addr + UART_MCR, 0); in avr_uart_configure()
/linux-6.1.9/include/uapi/linux/ !
Dserial_reg.h122 #define UART_MCR 4 /* Out: Modem Control Register */ macro
/linux-6.1.9/samples/vfio-mdev/ !
Dmtty.c441 case UART_MCR: in handle_bar_write()
546 (mdev_state->s[index].uart_reg[UART_MCR] & in handle_bar_read()
561 case UART_MCR: in handle_bar_read()
593 if (mdev_state->s[index].uart_reg[UART_MCR] & in handle_bar_read()

12