Home
last modified time | relevance | path

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

12

/drivers/staging/media/lirc/
Dlirc_sir.c858 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware()
862 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_OUT2); in init_hardware()
865 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware()
870 soutp(UART_MCR, UART_MCR_DTR|UART_MCR_OUT2); in init_hardware()
878 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware()
898 outb(0, io + UART_MCR); in init_hardware()
912 outb(UART_MCR_DTR|UART_MCR_RTS|UART_MCR_OUT2, io + UART_MCR); in init_hardware()
1086 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_act200()
1091 soutp(UART_MCR, UART_MCR_DTR|UART_MCR_OUT2); in init_act200()
1095 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_act200()
[all …]
Dlirc_serial.c329 soutp(UART_MCR, hardware[type].off); in on()
331 soutp(UART_MCR, hardware[type].on); in on()
343 soutp(UART_MCR, hardware[type].on); in off()
345 soutp(UART_MCR, hardware[type].off); in off()
803 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_OUT2); in hardware_init_port()
/drivers/tty/serial/
Dm32r_sio_reg.h53 #define UART_MCR 0 /* Out: Modem Control Register */ macro
93 #define UART_MCR 0 /* Out: Modem Control Register */ macro
Domap-serial.c592 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl()
596 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_mctrl()
652 serial_out(up, UART_MCR, UART_MCR_RTS); in serial_omap_startup()
862 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios()
863 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
892 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
941 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios()
987 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios()
1580 serial_out(up, UART_MCR, up->mcr); in serial_omap_restore_context()
Dserial-tegra.c187 tegra_uart_write(tup, mcr, UART_MCR); in set_rts()
203 tegra_uart_write(tup, mcr, UART_MCR); in set_dtr()
782 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
794 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
1144 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
1151 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
Dsunsu.c135 if (offset == UART_MCR) in serial_out()
593 serial_out(up, UART_MCR, mcr); in sunsu_set_mctrl()
1066 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig()
1079 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
1081 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
1164 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
Dnwpserial.c170 up->mcr = dcr_read(up->dcr_host, UART_MCR) & ~UART_MCR_AFE; in nwpserial_startup()
171 dcr_write(up->dcr_host, UART_MCR, up->mcr); in nwpserial_startup()
Dmfd.c156 "MCR: \t\t0x%08x\n", serial_in(up, UART_MCR)); in port_show_regs()
727 serial_out(up, UART_MCR, mcr); in serial_hsu_set_mctrl()
Dpch_uart.c342 "MCR: \t0x%02x\n", ioread8(priv->membase + UART_MCR)); in port_show_regs()
1201 iowrite8(mcr, priv->membase + UART_MCR); in pch_uart_set_mctrl()
/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()
/drivers/tty/serial/8250/
D8250_core.c349 [UART_MCR] = 6,
359 [UART_MCR] = 6,
659 old_mcr = serial_in(up, UART_MCR); in size_fifo()
662 serial_out(up, UART_MCR, UART_MCR_LOOP); in size_fifo()
674 serial_out(up, UART_MCR, old_mcr); in size_fifo()
927 status1 = serial_in(up, UART_MCR); in autoconfig_16550a()
933 serial_out(up, UART_MCR, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
937 serial_out(up, UART_MCR, status1); in autoconfig_16550a()
1111 save_mcr = serial_in(up, UART_MCR); in autoconfig()
1124 serial_out(up, UART_MCR, UART_MCR_LOOP | 0x0A); in autoconfig()
[all …]
D8250_em.c49 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_out()
67 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_in()
D8250_early.c131 serial8250_early_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
/drivers/staging/speakup/
Dserialio.c58 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR); in spk_serial_init()
108 speakup_info.port_tts + UART_MCR); in start_serial_interrupt()
Dspeakup_apollo.c176 outb(UART_MCR_DTR, speakup_info.port_tts + UART_MCR); in do_catch_up()
178 speakup_info.port_tts + UART_MCR); in do_catch_up()
/drivers/tty/
Dmxser.c497 oldmcr = inb(io + UART_MCR); in CheckIsMoxaMust()
498 outb(0, io + UART_MCR); in CheckIsMoxaMust()
500 if ((hwid = inb(io + UART_MCR)) != 0) { in CheckIsMoxaMust()
501 outb(oldmcr, io + UART_MCR); in CheckIsMoxaMust()
563 outb(inb(mp->ioaddr + UART_MCR) | in mxser_dtr_rts()
564 UART_MCR_DTR | UART_MCR_RTS, mp->ioaddr + UART_MCR); in mxser_dtr_rts()
566 outb(inb(mp->ioaddr + UART_MCR)&~(UART_MCR_DTR | UART_MCR_RTS), in mxser_dtr_rts()
567 mp->ioaddr + UART_MCR); in mxser_dtr_rts()
601 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
604 outb(info->MCR, info->ioaddr + UART_MCR); in mxser_set_baud()
[all …]
/drivers/bluetooth/
Ddtl1_cs.c489 outb(0, iobase + UART_MCR); in dtl1_open()
496 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
535 outb(0, iobase + UART_MCR); in dtl1_close()
Dbtuart_cs.c507 outb(0, iobase + UART_MCR); in btuart_open()
514 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in btuart_open()
552 outb(0, iobase + UART_MCR); in btuart_close()
/drivers/usb/serial/
Dssu100.c136 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl()
401 r = ssu100_getregister(dev, 0, UART_MCR, d); in ssu100_tiocmget()
436 if (ssu100_setregister(dev, 0, UART_MCR, 0) < 0) in ssu100_dtr_rts()
Dquatech2.c238 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl()
789 r = qt2_getregister(dev, port_priv->device_port, UART_MCR, d); in qt2_tiocmget()
847 UART_MCR, 0) < 0) in qt2_dtr_rts()
Dark3116.c163 ark3116_write_reg(serial, UART_MCR, 0); in ark3116_port_probe()
489 ark3116_write_reg(port->serial, UART_MCR, priv->mcr); in ark3116_tiocmset()
/drivers/staging/sb105x/
Dsb_pci_mp.c352 serial_outp(mtpt,UART_MCR,0x3); in SendATCommand()
1908 save_mcr = serial_in(mtpt, UART_MCR); in autoconfig()
1912 serial_outp(mtpt, UART_MCR, UART_MCR_LOOP | 0x0A); in autoconfig()
1914 serial_outp(mtpt, UART_MCR, save_mcr); in autoconfig()
1990 serial_outp(mtpt, UART_MCR, save_mcr); in autoconfig()
2011 save_mcr = serial_inp(mtpt, UART_MCR); in autoconfig_irq()
2013 serial_outp(mtpt, UART_MCR, UART_MCR_OUT1 | UART_MCR_OUT2); in autoconfig_irq()
2016 serial_outp(mtpt, UART_MCR, 0); in autoconfig_irq()
2017 serial_outp(mtpt, UART_MCR, in autoconfig_irq()
2028 serial_outp(mtpt, UART_MCR, save_mcr); in autoconfig_irq()
[all …]
/drivers/isdn/hisax/
Delsa.c345 val = serial_inp(cs, UART_MCR); in elsa_interrupt()
347 serial_outp(cs, UART_MCR, val); in elsa_interrupt()
348 val = serial_inp(cs, UART_MCR); in elsa_interrupt()
350 serial_outp(cs, UART_MCR, val); in elsa_interrupt()
Delsa_ser.c176 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mstartup()
228 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mshutdown()
/drivers/net/irda/
Dali-ircc.c1112 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase+UART_MCR); in ali_ircc_sir_change_speed()
2220 outb(0x28, iobase+UART_MCR); in SIR2FIR()
2221 outb(0x68, iobase+UART_MCR); in SIR2FIR()
2222 outb(0x88, iobase+UART_MCR); in SIR2FIR()

12