Home
last modified time | relevance | path

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

12

/linux/drivers/accessibility/speakup/
A 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/sound/drivers/
A 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/drivers/ssb/
A 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/arch/powerpc/kernel/
A 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()
/linux/drivers/tty/
A Dmxser.c386 oldmcr = inb(io + UART_MCR); in mxser_must_get_hwid()
387 outb(0, io + UART_MCR); in mxser_must_get_hwid()
389 if ((hwid = inb(io + UART_MCR)) != 0) { in mxser_must_get_hwid()
390 outb(oldmcr, io + UART_MCR); in mxser_must_get_hwid()
462 mcr = inb(mp->ioaddr + UART_MCR); in mxser_dtr_rts()
467 outb(mcr, mp->ioaddr + UART_MCR); in mxser_dtr_rts()
504 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
507 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
640 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_change_speed()
773 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_activate()
[all …]
/linux/drivers/tty/serial/8250/
A 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()
A 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()
A D8250.h222 serial_out(up, UART_MCR, value); in serial8250_out_MCR()
232 mctrl = serial_in(up, UART_MCR); in serial8250_in_MCR()
A D8250_uniphier.c79 case UART_MCR: in uniphier_serial_in()
113 case UART_MCR: in uniphier_serial_out()
A 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()
A D8250_early.c145 serial8250_early_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
A D8250_dw.c356 unsigned int mcr = p->serial_in(p, UART_MCR); in dw8250_set_ldisc()
364 p->serial_out(p, UART_MCR, mcr); in dw8250_set_ldisc()
/linux/drivers/bluetooth/
A 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/drivers/media/rc/
A 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/drivers/usb/serial/
A Dssu100.c151 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl()
373 r = ssu100_getregister(dev, 0, UART_MCR, d); in ssu100_tiocmget()
408 if (ssu100_setregister(dev, 0, UART_MCR, 0) < 0) in ssu100_dtr_rts()
A Dark3116.c149 ark3116_write_reg(serial, UART_MCR, 0); in ark3116_port_probe()
443 ark3116_write_reg(port->serial, UART_MCR, priv->mcr); in ark3116_tiocmset()
A Dquatech2.c236 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl()
737 r = qt2_getregister(dev, port_priv->device_port, UART_MCR, d); in qt2_tiocmget()
795 UART_MCR, 0) < 0) in qt2_dtr_rts()
/linux/arch/powerpc/boot/
A Dns16550.c24 #define UART_MCR 4 /* Out: Modem Control Register */ macro
/linux/drivers/tty/serial/
A Domap-serial.c654 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl()
658 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_mctrl()
923 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios()
924 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
953 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1002 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
1050 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1772 serial_out(up, UART_MCR, up->mcr); in serial_omap_restore_context()
A 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()
951 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
963 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
1370 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
1377 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
A Dsunsu.c132 if (offset == UART_MCR) in serial_out()
593 serial_out(up, UART_MCR, mcr); in sunsu_set_mctrl()
1071 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig()
1084 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1086 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1169 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
/linux/arch/sh/include/asm/
A Dsmc37c93x.h63 #define UART_MCR 0x8 /* MODEM Control Register */ macro
/linux/arch/powerpc/platforms/embedded6xx/
A Dls_uart.c67 out_8(avr_addr + UART_MCR, 0); in avr_uart_configure()
/linux/include/uapi/linux/
A Dserial_reg.h122 #define UART_MCR 4 /* Out: Modem Control Register */ macro
/linux/samples/vfio-mdev/
A Dmtty.c427 case UART_MCR: in handle_bar_write()
532 (mdev_state->s[index].uart_reg[UART_MCR] & in handle_bar_read()
547 case UART_MCR: in handle_bar_read()
579 if (mdev_state->s[index].uart_reg[UART_MCR] & in handle_bar_read()

Completed in 48 milliseconds

12