/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_sir.c | 589 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware() 593 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_OUT2); in init_hardware() 596 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware() 601 soutp(UART_MCR, UART_MCR_DTR|UART_MCR_OUT2); in init_hardware() 609 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_hardware() 629 outb(0, io + UART_MCR); in init_hardware() 643 outb(UART_MCR_DTR|UART_MCR_RTS|UART_MCR_OUT2, io + UART_MCR); in init_hardware() 793 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_act200() 798 soutp(UART_MCR, UART_MCR_DTR|UART_MCR_OUT2); in init_act200() 802 soutp(UART_MCR, UART_MCR_RTS|UART_MCR_DTR|UART_MCR_OUT2); in init_act200() [all …]
|
D | lirc_serial.c | 289 soutp(UART_MCR, hardware[type].off); in on() 291 soutp(UART_MCR, hardware[type].on); in on() 297 soutp(UART_MCR, hardware[type].on); in off() 299 soutp(UART_MCR, hardware[type].off); in off()
|
/linux-4.1.27/arch/mn10300/unit-asb2305/include/unit/ |
D | serial.h | 19 #define ASB2305_DEBUG_MCR __SYSREG(0xA6FB0000 + UART_MCR * 2, u8) 64 #define GDBPORT_SERIAL_MCR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_MCR * 4, u8) 77 #define TTYS0_MCR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_MCR * 4, u8)
|
/linux-4.1.27/arch/frv/kernel/ |
D | gdb-io.h | 25 #undef UART_MCR 38 #define UART_MCR 4*8 /* Out: Modem Control Register */ macro
|
/linux-4.1.27/drivers/tty/serial/ |
D | m32r_sio_reg.h | 53 #define UART_MCR 0 /* Out: Modem Control Register */ macro 93 #define UART_MCR 0 /* Out: Modem Control Register */ macro
|
D | serial-tegra.c | 186 tegra_uart_write(tup, mcr, UART_MCR); in set_rts() 202 tegra_uart_write(tup, mcr, UART_MCR); in set_dtr() 793 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit() 805 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit() 1169 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios() 1176 tegra_uart_write(tup, tup->mcr_shadow, UART_MCR); in tegra_uart_set_termios()
|
D | omap-serial.c | 699 old_mcr = serial_in(up, UART_MCR); in serial_omap_set_mctrl() 703 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_mctrl() 982 up->mcr = serial_in(up, UART_MCR) & ~UART_MCR_TCRTLR; in serial_omap_set_termios() 983 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios() 1012 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios() 1061 serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); in serial_omap_set_termios() 1109 serial_out(up, UART_MCR, up->mcr); in serial_omap_set_termios() 1815 serial_out(up, UART_MCR, up->mcr); in serial_omap_restore_context()
|
D | sunsu.c | 135 if (offset == UART_MCR) in serial_out() 600 serial_out(up, UART_MCR, mcr); in sunsu_set_mctrl() 1078 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig() 1091 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig() 1093 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig() 1176 serial_outp(up, UART_MCR, save_mcr); in sunsu_autoconfig()
|
D | nwpserial.c | 174 up->mcr = dcr_read(up->dcr_host, UART_MCR) & ~UART_MCR_AFE; in nwpserial_startup() 175 dcr_write(up->dcr_host, UART_MCR, up->mcr); in nwpserial_startup()
|
D | pxa.c | 321 serial_out(up, UART_MCR, mcr); in serial_pxa_set_mctrl()
|
D | vr41xx_siu.c | 218 siu_write(port, UART_MCR, mcr); in siu_set_mctrl()
|
D | pch_uart.c | 345 "MCR: \t0x%02x\n", ioread8(priv->membase + UART_MCR)); in port_show_regs() 1229 iowrite8(mcr, priv->membase + UART_MCR); in pch_uart_set_mctrl()
|
/linux-4.1.27/arch/powerpc/boot/ |
D | virtex.c | 22 #define UART_MCR 4 /* Out: Modem Control Register */ macro 68 out_8(reg_base + (UART_MCR << reg_shift), UART_MCR_RTS | UART_MCR_DTR); in virtex_ns16550_console_init()
|
D | ns16550.c | 22 #define UART_MCR 4 /* Out: Modem Control Register */ macro
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | udbg_16550.c | 25 #define UART_MCR 4 macro 123 udbg_uart_out(UART_MCR, 0x3); in udbg_uart_setup() 144 if (udbg_uart_in(UART_MCR) & 0x80) in udbg_probe_uart_speed()
|
/linux-4.1.27/drivers/ssb/ |
D | driver_extif.c | 46 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-4.1.27/sound/drivers/ |
D | serial-u16550.c | 422 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_open() 429 uart->base + UART_MCR); in snd_uart16550_do_open() 435 uart->base + UART_MCR); in snd_uart16550_do_open() 482 ,uart->base + UART_MCR); /* Modem Control Register */ in snd_uart16550_do_close() 489 uart->base + UART_MCR); in snd_uart16550_do_close() 495 uart->base + UART_MCR); in snd_uart16550_do_close() 846 outb(UART_MCR_RTS | (0&UART_MCR_DTR), uart->base + UART_MCR); in snd_uart16550_create() 851 outb(UART_MCR_RTS | UART_MCR_DTR, uart->base + UART_MCR); in snd_uart16550_create()
|
/linux-4.1.27/arch/mn10300/unit-asb2303/include/unit/ |
D | serial.h | 73 #define GDBPORT_SERIAL_MCR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_MCR * 4, u8) 88 #define GDBPORT_SERIAL_MCR __SYSREG(SERIAL_PORT1_BASE_ADDRESS + UART_MCR * 4, u8)
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_em.c | 47 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_out() 65 case UART_MCR: /* MCR @ 0x14 (+1) */ in serial8250_em_serial_in()
|
D | 8250_core.c | 764 old_mcr = serial_in(up, UART_MCR); in size_fifo() 767 serial_out(up, UART_MCR, UART_MCR_LOOP); in size_fifo() 779 serial_out(up, UART_MCR, old_mcr); in size_fifo() 1025 status1 = serial_in(up, UART_MCR); in autoconfig_16550a() 1031 serial_out(up, UART_MCR, status1 ^ UART_MCR_LOOP); in autoconfig_16550a() 1035 serial_out(up, UART_MCR, status1); in autoconfig_16550a() 1209 save_mcr = serial_in(up, UART_MCR); in autoconfig() 1222 serial_out(up, UART_MCR, UART_MCR_LOOP | 0x0A); in autoconfig() 1224 serial_out(up, UART_MCR, save_mcr); in autoconfig() 1290 serial_out(up, UART_MCR, save_mcr); in autoconfig() [all …]
|
D | 8250_dw.c | 106 if (offset == UART_MCR) in dw8250_serial_out() 149 if (offset == UART_MCR) in dw8250_serial_outq() 180 if (offset == UART_MCR) in dw8250_serial_out32()
|
D | 8250_early.c | 124 serial8250_early_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
|
D | 8250_omap.c | 253 serial_out(up, UART_MCR, UART_MCR_TCRTLR); in omap8250_restore_regs() 269 serial_out(up, UART_MCR, up->mcr); in omap8250_restore_regs()
|
D | 8250_pci.c | 1161 qmcr = inb(base + UART_MCR); in pci_quatech_rqmcr() 1177 outb(qmcr, base + UART_MCR); in pci_quatech_wqmcr()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | serialio.c | 73 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR); in spk_serial_init() 124 speakup_info.port_tts + UART_MCR); in start_serial_interrupt()
|
D | speakup_apollo.c | 176 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()
|
/linux-4.1.27/arch/mips/netlogic/xlr/ |
D | platform.c | 38 else if (offset == UART_MCR) in nlm_xlr_uart_in() 54 else if (offset == UART_MCR) in nlm_xlr_uart_out()
|
/linux-4.1.27/drivers/tty/ |
D | mxser.c | 497 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 …]
|
/linux-4.1.27/drivers/bluetooth/ |
D | dtl1_cs.c | 476 outb(0, iobase + UART_MCR); in dtl1_open() 483 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open() 522 outb(0, iobase + UART_MCR); in dtl1_close()
|
D | btuart_cs.c | 494 outb(0, iobase + UART_MCR); in btuart_open() 501 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in btuart_open() 539 outb(0, iobase + UART_MCR); in btuart_close()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | smc37c93x.h | 62 #define UART_MCR 0x8 /* MODEM Control Register */ macro
|
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/ |
D | serial.h | 70 #define GDBPORT_SERIAL_MCR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_MCR * 2, u8)
|
/linux-4.1.27/drivers/usb/serial/ |
D | ssu100.c | 135 result = ssu100_setregister(dev, 0, UART_MCR, urb_value); in update_mctrl() 396 r = ssu100_getregister(dev, 0, UART_MCR, d); in ssu100_tiocmget() 431 if (ssu100_setregister(dev, 0, UART_MCR, 0) < 0) in ssu100_dtr_rts()
|
D | quatech2.c | 240 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl() 803 r = qt2_getregister(dev, port_priv->device_port, UART_MCR, d); in qt2_tiocmget() 861 UART_MCR, 0) < 0) in qt2_dtr_rts()
|
D | ark3116.c | 162 ark3116_write_reg(serial, UART_MCR, 0); in ark3116_port_probe() 488 ark3116_write_reg(port->serial, UART_MCR, priv->mcr); in ark3116_tiocmset()
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 67 out_8(avr_addr + UART_MCR, 0); in avr_uart_configure()
|
/linux-4.1.27/include/uapi/linux/ |
D | serial_reg.h | 120 #define UART_MCR 4 /* Out: Modem Control Register */ macro
|
/linux-4.1.27/drivers/net/irda/ |
D | ali-ircc.c | 1091 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase+UART_MCR); in ali_ircc_sir_change_speed() 2176 outb(0x28, iobase+UART_MCR); in SIR2FIR() 2177 outb(0x68, iobase+UART_MCR); in SIR2FIR() 2178 outb(0x88, iobase+UART_MCR); in SIR2FIR()
|
D | smsc-ircc2.c | 1923 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), sir_base + UART_MCR); in smsc_ircc_sir_start() 1942 outb(0, iobase + UART_MCR); in smsc_ircc_sir_stop()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | elsa.c | 345 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()
|
D | elsa_ser.c | 176 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mstartup() 228 serial_outp(cs, UART_MCR, cs->hw.elsa.MCR); in mshutdown()
|
/linux-4.1.27/arch/blackfin/mach-bf533/include/mach/ |
D | cdefBF532.h | 498 #define bfin_read_UART_MCR() bfin_read16(UART_MCR) 499 #define bfin_write_UART_MCR(val) bfin_write16(UART_MCR,val)
|
/linux-4.1.27/drivers/mmc/card/ |
D | sdio_uart.c | 235 sdio_out(port, UART_MCR, mcr); in sdio_uart_write_mctrl()
|
/linux-4.1.27/arch/blackfin/mach-bf561/include/mach/ |
D | cdefBF561.h | 127 #define bfin_read_UART_MCR() bfin_read16(UART_MCR) 128 #define bfin_write_UART_MCR(val) bfin_write16(UART_MCR,val)
|