mctrl             166 arch/arm/mach-ep93xx/core.c 				  void __iomem *base, unsigned int mctrl)
mctrl             171 arch/arm/mach-ep93xx/core.c 	if (mctrl & TIOCM_RTS)
mctrl             173 arch/arm/mach-ep93xx/core.c 	if (mctrl & TIOCM_DTR)
mctrl             108 arch/arm/mach-integrator/integrator_ap.c 				void __iomem *base, unsigned int mctrl)
mctrl             124 arch/arm/mach-integrator/integrator_ap.c 	if (mctrl & TIOCM_RTS)
mctrl             129 arch/arm/mach-integrator/integrator_ap.c 	if (mctrl & TIOCM_DTR)
mctrl             160 arch/arm/mach-sa1100/collie.c static void collie_uart_set_mctrl(struct uart_port *port, u_int mctrl)
mctrl             162 arch/arm/mach-sa1100/collie.c 	if (mctrl & TIOCM_RTS)
mctrl             167 arch/arm/mach-sa1100/collie.c 	if (mctrl & TIOCM_DTR)
mctrl              73 arch/powerpc/include/asm/hvsi.h 	unsigned short	mctrl;		/* modem control */
mctrl              76 drivers/cpufreq/sparc-us2e-cpufreq.c 	unsigned long mctrl = read_hbreg(HBIRD_MEM_CNTL0_ADDR);
mctrl              79 drivers/cpufreq/sparc-us2e-cpufreq.c 		mctrl |= MCTRL0_SREFRESH_ENAB;
mctrl              81 drivers/cpufreq/sparc-us2e-cpufreq.c 		mctrl &= ~MCTRL0_SREFRESH_ENAB;
mctrl              82 drivers/cpufreq/sparc-us2e-cpufreq.c 	write_hbreg(HBIRD_MEM_CNTL0_ADDR, mctrl);
mctrl              90 drivers/cpufreq/sparc-us2e-cpufreq.c 	unsigned long old_refr_count, refr_count, mctrl;
mctrl              95 drivers/cpufreq/sparc-us2e-cpufreq.c 	mctrl = read_hbreg(HBIRD_MEM_CNTL0_ADDR);
mctrl              96 drivers/cpufreq/sparc-us2e-cpufreq.c 	old_refr_count = (mctrl & MCTRL0_REFR_COUNT_MASK)
mctrl              99 drivers/cpufreq/sparc-us2e-cpufreq.c 	mctrl &= ~MCTRL0_REFR_COUNT_MASK;
mctrl             100 drivers/cpufreq/sparc-us2e-cpufreq.c 	mctrl |= refr_count << MCTRL0_REFR_COUNT_SHIFT;
mctrl             101 drivers/cpufreq/sparc-us2e-cpufreq.c 	write_hbreg(HBIRD_MEM_CNTL0_ADDR, mctrl);
mctrl             102 drivers/cpufreq/sparc-us2e-cpufreq.c 	mctrl = read_hbreg(HBIRD_MEM_CNTL0_ADDR);
mctrl             104 drivers/cpufreq/sparc-us2e-cpufreq.c 	if (cpu_slowing_down && !(mctrl & MCTRL0_SREFRESH_ENAB)) {
mctrl              74 drivers/mmc/core/sdio_uart.c 	unsigned int		mctrl;
mctrl             214 drivers/mmc/core/sdio_uart.c 				  unsigned int mctrl)
mctrl             218 drivers/mmc/core/sdio_uart.c 	if (mctrl & TIOCM_RTS)
mctrl             220 drivers/mmc/core/sdio_uart.c 	if (mctrl & TIOCM_DTR)
mctrl             222 drivers/mmc/core/sdio_uart.c 	if (mctrl & TIOCM_OUT1)
mctrl             224 drivers/mmc/core/sdio_uart.c 	if (mctrl & TIOCM_OUT2)
mctrl             226 drivers/mmc/core/sdio_uart.c 	if (mctrl & TIOCM_LOOP)
mctrl             237 drivers/mmc/core/sdio_uart.c 	old = port->mctrl;
mctrl             238 drivers/mmc/core/sdio_uart.c 	port->mctrl = (old & ~clear) | set;
mctrl             239 drivers/mmc/core/sdio_uart.c 	if (old != port->mctrl)
mctrl             240 drivers/mmc/core/sdio_uart.c 		sdio_uart_write_mctrl(port, port->mctrl);
mctrl             344 drivers/mmc/core/sdio_uart.c 	sdio_uart_write_mctrl(port, port->mctrl);
mctrl             641 drivers/mmc/core/sdio_uart.c 	port->mctrl = TIOCM_OUT2;
mctrl             940 drivers/mmc/core/sdio_uart.c 		result = port->mctrl | sdio_uart_get_mctrl(port);
mctrl             279 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 	int mctrl;
mctrl             309 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 	mctrl = ef4_mdio_read(efx, MDIO_MMD_PHYXS, TXC_MRGS_CTL);
mctrl             312 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 	mctrl &= ~((1 << TXC_MCTL_TXLED_LBN) | (1 << TXC_MCTL_RXLED_LBN));
mctrl             313 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 	ef4_mdio_write(efx, MDIO_MMD_PHYXS, TXC_MRGS_CTL, mctrl);
mctrl             393 drivers/staging/fwserial/fwserial.c 	if (port->mctrl & TIOCM_DTR)
mctrl             395 drivers/staging/fwserial/fwserial.c 	if (port->mctrl & TIOCM_RTS)
mctrl             397 drivers/staging/fwserial/fwserial.c 	if (port->mctrl & OOB_RX_THROTTLE)
mctrl             453 drivers/staging/fwserial/fwserial.c 	old = port->mctrl;
mctrl             454 drivers/staging/fwserial/fwserial.c 	port->mctrl |= OOB_RX_THROTTLE;
mctrl             456 drivers/staging/fwserial/fwserial.c 		port->mctrl &= ~TIOCM_RTS;
mctrl             898 drivers/staging/fwserial/fwserial.c 			port->mctrl |= TIOCM_DTR | TIOCM_RTS;
mctrl             900 drivers/staging/fwserial/fwserial.c 			port->mctrl &= ~(TIOCM_DTR | TIOCM_RTS);
mctrl             998 drivers/staging/fwserial/fwserial.c 		port->mctrl = 0;
mctrl            1000 drivers/staging/fwserial/fwserial.c 			port->mctrl = TIOCM_DTR | TIOCM_RTS;
mctrl            1180 drivers/staging/fwserial/fwserial.c 	port->mctrl &= ~OOB_RX_THROTTLE;
mctrl            1182 drivers/staging/fwserial/fwserial.c 		port->mctrl |= TIOCM_RTS;
mctrl            1281 drivers/staging/fwserial/fwserial.c 		port->mctrl &= ~(TIOCM_DTR | TIOCM_RTS);
mctrl            1284 drivers/staging/fwserial/fwserial.c 			port->mctrl |= TIOCM_DTR | TIOCM_RTS;
mctrl            1286 drivers/staging/fwserial/fwserial.c 			port->mctrl |= TIOCM_DTR;
mctrl            1350 drivers/staging/fwserial/fwserial.c 	tiocm = (port->mctrl & MCTRL_MASK) | (port->mstatus & ~MCTRL_MASK);
mctrl            1368 drivers/staging/fwserial/fwserial.c 	port->mctrl &= ~(clear & MCTRL_MASK & 0xffff);
mctrl            1369 drivers/staging/fwserial/fwserial.c 	port->mctrl |= set & MCTRL_MASK & 0xffff;
mctrl             258 drivers/staging/fwserial/fwserial.h 	unsigned int		   mctrl;
mctrl             123 drivers/tty/hvc/hvc_opal.c 	return pv->hvsi.mctrl;
mctrl             198 drivers/tty/hvc/hvc_vio.c 	return pv->hvsi.mctrl;
mctrl              76 drivers/tty/hvc/hvsi.c 	uint16_t mctrl;
mctrl             235 drivers/tty/hvc/hvsi.c 				hp->mctrl &= TIOCM_CD;
mctrl             264 drivers/tty/hvc/hvsi.c 			hp->mctrl = 0;
mctrl             267 drivers/tty/hvc/hvsi.c 				hp->mctrl |= TIOCM_DTR;
mctrl             269 drivers/tty/hvc/hvsi.c 				hp->mctrl |= TIOCM_CD;
mctrl             577 drivers/tty/hvc/hvsi.c 	pr_debug("%s: mctrl 0x%x\n", __func__, hp->mctrl);
mctrl             583 drivers/tty/hvc/hvsi.c static int hvsi_set_mctrl(struct hvsi_struct *hp, uint16_t mctrl)
mctrl             594 drivers/tty/hvc/hvsi.c 	if (mctrl & TIOCM_DTR)
mctrl             737 drivers/tty/hvc/hvsi.c 	ret = hvsi_set_mctrl(hp, hp->mctrl | TIOCM_DTR);
mctrl             998 drivers/tty/hvc/hvsi.c 	return hp->mctrl;
mctrl            1014 drivers/tty/hvc/hvsi.c 	new_mctrl = (hp->mctrl & ~clear) | set;
mctrl            1016 drivers/tty/hvc/hvsi.c 	if (hp->mctrl != new_mctrl) {
mctrl            1018 drivers/tty/hvc/hvsi.c 		hp->mctrl = new_mctrl;
mctrl            1145 drivers/tty/hvc/hvsi.c 	ret = hvsi_set_mctrl(hp, hp->mctrl | TIOCM_DTR);
mctrl              50 drivers/tty/hvc/hvsi_lib.c 		pv->mctrl |= TIOCM_CD;
mctrl              52 drivers/tty/hvc/hvsi_lib.c 		pv->mctrl &= ~TIOCM_CD;
mctrl             290 drivers/tty/hvc/hvsi_lib.c 	unsigned short mctrl;
mctrl             292 drivers/tty/hvc/hvsi_lib.c 	mctrl = pv->mctrl;
mctrl             294 drivers/tty/hvc/hvsi_lib.c 		mctrl |= TIOCM_DTR;
mctrl             296 drivers/tty/hvc/hvsi_lib.c 		mctrl &= ~TIOCM_DTR;
mctrl             297 drivers/tty/hvc/hvsi_lib.c 	if (mctrl == pv->mctrl)
mctrl             299 drivers/tty/hvc/hvsi_lib.c 	pv->mctrl = mctrl;
mctrl             165 drivers/tty/serial/21285.c static void serial21285_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             226 drivers/tty/serial/8250/8250.h 	int mctrl;
mctrl             228 drivers/tty/serial/8250/8250.h 	mctrl = serial_in(up, UART_MCR);
mctrl             234 drivers/tty/serial/8250/8250.h 		mctrl |= serial8250_TIOCM_to_MCR(mctrl_gpio);
mctrl             237 drivers/tty/serial/8250/8250.h 	return mctrl;
mctrl             136 drivers/tty/serial/8250/8250_omap.c static void omap8250_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             142 drivers/tty/serial/8250/8250_omap.c 	serial8250_do_set_mctrl(port, mctrl);
mctrl             151 drivers/tty/serial/8250/8250_omap.c 		if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS))
mctrl             325 drivers/tty/serial/8250/8250_omap.c 	up->port.ops->set_mctrl(&up->port, up->port.mctrl);
mctrl            1923 drivers/tty/serial/8250/8250_port.c void serial8250_do_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1928 drivers/tty/serial/8250/8250_port.c 	mcr = serial8250_TIOCM_to_MCR(mctrl);
mctrl            1936 drivers/tty/serial/8250/8250_port.c static void serial8250_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1939 drivers/tty/serial/8250/8250_port.c 		port->set_mctrl(port, mctrl);
mctrl            1941 drivers/tty/serial/8250/8250_port.c 		serial8250_do_set_mctrl(port, mctrl);
mctrl            2250 drivers/tty/serial/8250/8250_port.c 			up->port.mctrl |= TIOCM_OUT1;
mctrl            2256 drivers/tty/serial/8250/8250_port.c 			up->port.mctrl |= TIOCM_OUT2;
mctrl            2258 drivers/tty/serial/8250/8250_port.c 	serial8250_set_mctrl(port, port->mctrl);
mctrl            2373 drivers/tty/serial/8250/8250_port.c 		port->mctrl |= TIOCM_OUT1;
mctrl            2375 drivers/tty/serial/8250/8250_port.c 		port->mctrl &= ~TIOCM_OUT2;
mctrl            2377 drivers/tty/serial/8250/8250_port.c 	serial8250_set_mctrl(port, port->mctrl);
mctrl            2681 drivers/tty/serial/8250/8250_port.c 	serial8250_set_mctrl(port, port->mctrl);
mctrl             287 drivers/tty/serial/amba-pl010.c static void pl010_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             293 drivers/tty/serial/amba-pl010.c 		uap->data->set_mctrl(uap->dev, uap->port.membase, mctrl);
mctrl            1549 drivers/tty/serial/amba-pl011.c static void pl011_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1558 drivers/tty/serial/amba-pl011.c 	if (mctrl & tiocmbit)		\
mctrl            2162 drivers/tty/serial/amba-pl011.c static void sbsa_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             193 drivers/tty/serial/apbuart.c static void apbuart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             131 drivers/tty/serial/ar933x_uart.c static void ar933x_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             327 drivers/tty/serial/arc_uart.c static void arc_serial_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             474 drivers/tty/serial/atmel_serial.c static void atmel_set_mctrl(struct uart_port *port, u_int mctrl)
mctrl             504 drivers/tty/serial/atmel_serial.c 	if (mctrl & TIOCM_RTS)
mctrl             509 drivers/tty/serial/atmel_serial.c 	if (mctrl & TIOCM_DTR)
mctrl             516 drivers/tty/serial/atmel_serial.c 	mctrl_gpio_set(atmel_port->gpios, mctrl);
mctrl             520 drivers/tty/serial/atmel_serial.c 	if (mctrl & TIOCM_LOOP)
mctrl             103 drivers/tty/serial/bcm63xx_uart.c static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             110 drivers/tty/serial/bcm63xx_uart.c 	if (!(mctrl & TIOCM_DTR))
mctrl             112 drivers/tty/serial/bcm63xx_uart.c 	if (!(mctrl & TIOCM_RTS))
mctrl             117 drivers/tty/serial/bcm63xx_uart.c 	if (mctrl & TIOCM_LOOP)
mctrl             129 drivers/tty/serial/bcm63xx_uart.c 	unsigned int val, mctrl;
mctrl             131 drivers/tty/serial/bcm63xx_uart.c 	mctrl = 0;
mctrl             134 drivers/tty/serial/bcm63xx_uart.c 		mctrl |= TIOCM_RI;
mctrl             136 drivers/tty/serial/bcm63xx_uart.c 		mctrl |= TIOCM_CTS;
mctrl             138 drivers/tty/serial/bcm63xx_uart.c 		mctrl |= TIOCM_CD;
mctrl             140 drivers/tty/serial/bcm63xx_uart.c 		mctrl |= TIOCM_DSR;
mctrl             141 drivers/tty/serial/bcm63xx_uart.c 	return mctrl;
mctrl             205 drivers/tty/serial/clps711x.c static void uart_clps711x_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             209 drivers/tty/serial/clps711x.c 	mctrl_gpio_set(s->gpios, mctrl);
mctrl              90 drivers/tty/serial/cpm_uart/cpm_uart_core.c static void cpm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl              96 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		gpio_set_value(pinfo->gpios[GPIO_RTS], !(mctrl & TIOCM_RTS));
mctrl              99 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		gpio_set_value(pinfo->gpios[GPIO_DTR], !(mctrl & TIOCM_DTR));
mctrl             106 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	unsigned int mctrl = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
mctrl             110 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			mctrl &= ~TIOCM_CTS;
mctrl             115 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			mctrl &= ~TIOCM_DSR;
mctrl             120 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			mctrl &= ~TIOCM_CAR;
mctrl             125 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			mctrl |= TIOCM_RNG;
mctrl             128 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	return mctrl;
mctrl             247 drivers/tty/serial/digicolor-usart.c static void digicolor_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             367 drivers/tty/serial/dz.c 	unsigned int mctrl = TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
mctrl             371 drivers/tty/serial/dz.c 			mctrl &= ~TIOCM_DSR;
mctrl             374 drivers/tty/serial/dz.c 	return mctrl;
mctrl             377 drivers/tty/serial/dz.c static void dz_set_mctrl(struct uart_port *uport, unsigned int mctrl)
mctrl             387 drivers/tty/serial/dz.c 		if (mctrl & TIOCM_DTR)
mctrl             115 drivers/tty/serial/efm32-uart.c static void efm32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             327 drivers/tty/serial/fsl_linflexuart.c static void linflex_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1314 drivers/tty/serial/fsl_lpuart.c static void lpuart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1325 drivers/tty/serial/fsl_lpuart.c 		if (mctrl & TIOCM_RTS)
mctrl            1328 drivers/tty/serial/fsl_lpuart.c 		if (mctrl & TIOCM_CTS)
mctrl            1335 drivers/tty/serial/fsl_lpuart.c static void lpuart32_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1342 drivers/tty/serial/fsl_lpuart.c 	if (mctrl & TIOCM_RTS)
mctrl            1345 drivers/tty/serial/fsl_lpuart.c 	if (mctrl & TIOCM_CTS)
mctrl             940 drivers/tty/serial/icom.c static void icom_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             947 drivers/tty/serial/icom.c 	if (mctrl & TIOCM_RTS) {
mctrl             955 drivers/tty/serial/icom.c 	if (mctrl & TIOCM_DTR) {
mctrl             391 drivers/tty/serial/imx.c 	sport->port.mctrl |= TIOCM_RTS;
mctrl             392 drivers/tty/serial/imx.c 	mctrl_gpio_set(sport->gpios, sport->port.mctrl);
mctrl             401 drivers/tty/serial/imx.c 	sport->port.mctrl &= ~TIOCM_RTS;
mctrl             402 drivers/tty/serial/imx.c 	mctrl_gpio_set(sport->gpios, sport->port.mctrl);
mctrl             983 drivers/tty/serial/imx.c static void imx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             997 drivers/tty/serial/imx.c 		if (mctrl & TIOCM_RTS) {
mctrl            1011 drivers/tty/serial/imx.c 	if (!(mctrl & TIOCM_DTR))
mctrl            1016 drivers/tty/serial/imx.c 	if (mctrl & TIOCM_LOOP)
mctrl            1020 drivers/tty/serial/imx.c 	mctrl_gpio_set(sport->gpios, mctrl);
mctrl             546 drivers/tty/serial/ip22zilog.c static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             555 drivers/tty/serial/ip22zilog.c 	if (mctrl & TIOCM_RTS)
mctrl             559 drivers/tty/serial/ip22zilog.c 	if (mctrl & TIOCM_DTR)
mctrl              86 drivers/tty/serial/jsm/jsm_tty.c static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl              93 drivers/tty/serial/jsm/jsm_tty.c 	if (mctrl & TIOCM_RTS)
mctrl              98 drivers/tty/serial/jsm/jsm_tty.c 	if (mctrl & TIOCM_DTR)
mctrl             339 drivers/tty/serial/lantiq.c lqasc_set_mctrl(struct uart_port *port, u_int mctrl)
mctrl             379 drivers/tty/serial/lpc32xx_hs.c 				     unsigned int mctrl)
mctrl             399 drivers/tty/serial/max3100.c static void max3100_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             408 drivers/tty/serial/max3100.c 	rts = (mctrl & TIOCM_RTS) > 0;
mctrl             879 drivers/tty/serial/max310x.c 			    (one->port.mctrl & TIOCM_LOOP) ?
mctrl             883 drivers/tty/serial/max310x.c static void max310x_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             479 drivers/tty/serial/men_z135_uart.c static void men_z135_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             485 drivers/tty/serial/men_z135_uart.c 	if (mctrl & TIOCM_RTS)
mctrl             490 drivers/tty/serial/men_z135_uart.c 	if (mctrl & TIOCM_DTR)
mctrl             495 drivers/tty/serial/men_z135_uart.c 	if (mctrl & TIOCM_OUT1)
mctrl             500 drivers/tty/serial/men_z135_uart.c 	if (mctrl & TIOCM_OUT2)
mctrl             505 drivers/tty/serial/men_z135_uart.c 	if (mctrl & TIOCM_LOOP)
mctrl             522 drivers/tty/serial/men_z135_uart.c 	unsigned int mctrl = 0;
mctrl             528 drivers/tty/serial/men_z135_uart.c 		mctrl |= TIOCM_CTS;
mctrl             530 drivers/tty/serial/men_z135_uart.c 		mctrl |= TIOCM_DSR;
mctrl             532 drivers/tty/serial/men_z135_uart.c 		mctrl |= TIOCM_RI;
mctrl             534 drivers/tty/serial/men_z135_uart.c 		mctrl |= TIOCM_CAR;
mctrl             536 drivers/tty/serial/men_z135_uart.c 	return mctrl;
mctrl              84 drivers/tty/serial/meson_uart.c static void meson_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             241 drivers/tty/serial/milbeaut_usio.c static void mlb_usio_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1054 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1056 drivers/tty/serial/mpc52xx_uart.c 	psc_ops->set_rts(port, mctrl & TIOCM_RTS);
mctrl             112 drivers/tty/serial/mps2-uart.c static void mps2_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1001 drivers/tty/serial/msm_serial.c static void msm_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1007 drivers/tty/serial/msm_serial.c 	if (!(mctrl & TIOCM_RTS)) {
mctrl             121 drivers/tty/serial/mux.c static void mux_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             176 drivers/tty/serial/mvebu-uart.c 				 unsigned int mctrl)
mctrl             735 drivers/tty/serial/mxs-auart.c static void mxs_auart_set_mctrl(struct uart_port *u, unsigned mctrl)
mctrl             742 drivers/tty/serial/mxs-auart.c 	if (mctrl & TIOCM_RTS) {
mctrl             751 drivers/tty/serial/mxs-auart.c 	mctrl_gpio_set(s->gpios, mctrl);
mctrl             755 drivers/tty/serial/mxs-auart.c static u32 mxs_auart_modem_status(struct mxs_auart_port *s, u32 mctrl)
mctrl             759 drivers/tty/serial/mxs-auart.c 	mctrl_diff = mctrl ^ s->mctrl_prev;
mctrl             760 drivers/tty/serial/mxs-auart.c 	s->mctrl_prev = mctrl;
mctrl             768 drivers/tty/serial/mxs-auart.c 			uart_handle_dcd_change(&s->port, mctrl & TIOCM_CD);
mctrl             770 drivers/tty/serial/mxs-auart.c 			uart_handle_cts_change(&s->port, mctrl & TIOCM_CTS);
mctrl             774 drivers/tty/serial/mxs-auart.c 	return mctrl;
mctrl             781 drivers/tty/serial/mxs-auart.c 	u32 mctrl = 0;
mctrl             784 drivers/tty/serial/mxs-auart.c 		mctrl |= TIOCM_CTS;
mctrl             786 drivers/tty/serial/mxs-auart.c 	return mctrl_gpio_get(s->gpios, &mctrl);
mctrl             662 drivers/tty/serial/omap-serial.c static void serial_omap_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             668 drivers/tty/serial/omap-serial.c 	if (mctrl & TIOCM_RTS)
mctrl             670 drivers/tty/serial/omap-serial.c 	if (mctrl & TIOCM_DTR)
mctrl             672 drivers/tty/serial/omap-serial.c 	if (mctrl & TIOCM_OUT1)
mctrl             674 drivers/tty/serial/omap-serial.c 	if (mctrl & TIOCM_OUT2)
mctrl             676 drivers/tty/serial/omap-serial.c 	if (mctrl & TIOCM_LOOP)
mctrl             689 drivers/tty/serial/omap-serial.c 	if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS))
mctrl             767 drivers/tty/serial/omap-serial.c 	up->port.mctrl |= TIOCM_OUT2;
mctrl             768 drivers/tty/serial/omap-serial.c 	serial_omap_set_mctrl(&up->port, up->port.mctrl);
mctrl             808 drivers/tty/serial/omap-serial.c 	up->port.mctrl &= ~TIOCM_OUT2;
mctrl             809 drivers/tty/serial/omap-serial.c 	serial_omap_set_mctrl(&up->port, up->port.mctrl);
mctrl            1092 drivers/tty/serial/omap-serial.c 	serial_omap_set_mctrl(&up->port, up->port.mctrl);
mctrl              90 drivers/tty/serial/owl-uart.c static void owl_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl              96 drivers/tty/serial/owl-uart.c 	if (mctrl & TIOCM_LOOP)
mctrl             106 drivers/tty/serial/owl-uart.c 	unsigned int mctrl = TIOCM_CAR | TIOCM_DSR;
mctrl             112 drivers/tty/serial/owl-uart.c 		mctrl |= TIOCM_RTS;
mctrl             114 drivers/tty/serial/owl-uart.c 		mctrl |= TIOCM_CTS;
mctrl             115 drivers/tty/serial/owl-uart.c 	return mctrl;
mctrl            1195 drivers/tty/serial/pch_uart.c static void pch_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1200 drivers/tty/serial/pch_uart.c 	if (mctrl & TIOCM_DTR)
mctrl            1202 drivers/tty/serial/pch_uart.c 	if (mctrl & TIOCM_RTS)
mctrl            1204 drivers/tty/serial/pch_uart.c 	if (mctrl & TIOCM_LOOP)
mctrl            1210 drivers/tty/serial/pch_uart.c 	if (mctrl)
mctrl            1423 drivers/tty/serial/pch_uart.c 	pch_uart_set_mctrl(&priv->port, priv->port.mctrl);
mctrl              72 drivers/tty/serial/pic32_uart.c static void pic32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl              77 drivers/tty/serial/pic32_uart.c 	if (mctrl & TIOCM_LOOP)
mctrl              99 drivers/tty/serial/pic32_uart.c 	unsigned int mctrl = 0;
mctrl             102 drivers/tty/serial/pic32_uart.c 		mctrl |= TIOCM_CTS;
mctrl             104 drivers/tty/serial/pic32_uart.c 		mctrl |= TIOCM_CTS;
mctrl             109 drivers/tty/serial/pic32_uart.c 	mctrl |= TIOCM_CD;
mctrl             110 drivers/tty/serial/pic32_uart.c 	mctrl |= TIOCM_DSR;
mctrl             112 drivers/tty/serial/pic32_uart.c 	return mctrl;
mctrl             541 drivers/tty/serial/pmac_zilog.c static void pmz_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             556 drivers/tty/serial/pmac_zilog.c 		if (mctrl & TIOCM_RTS)
mctrl             561 drivers/tty/serial/pmac_zilog.c 	if (mctrl & TIOCM_DTR)
mctrl             326 drivers/tty/serial/pnx8xxx_uart.c 	unsigned int mctrl = TIOCM_DSR;
mctrl             333 drivers/tty/serial/pnx8xxx_uart.c 	mctrl |= msr & PNX8XXX_UART_MCR_CTS ? TIOCM_CTS : 0;
mctrl             334 drivers/tty/serial/pnx8xxx_uart.c 	mctrl |= msr & PNX8XXX_UART_MCR_DCD ? TIOCM_CAR : 0;
mctrl             336 drivers/tty/serial/pnx8xxx_uart.c 	return mctrl;
mctrl             339 drivers/tty/serial/pnx8xxx_uart.c static void pnx8xxx_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             298 drivers/tty/serial/pxa.c static void serial_pxa_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             303 drivers/tty/serial/pxa.c 	if (mctrl & TIOCM_RTS)
mctrl             305 drivers/tty/serial/pxa.c 	if (mctrl & TIOCM_DTR)
mctrl             307 drivers/tty/serial/pxa.c 	if (mctrl & TIOCM_OUT1)
mctrl             309 drivers/tty/serial/pxa.c 	if (mctrl & TIOCM_OUT2)
mctrl             311 drivers/tty/serial/pxa.c 	if (mctrl & TIOCM_LOOP)
mctrl             376 drivers/tty/serial/pxa.c 	up->port.mctrl |= TIOCM_OUT2;
mctrl             377 drivers/tty/serial/pxa.c 	serial_pxa_set_mctrl(&up->port, up->port.mctrl);
mctrl             413 drivers/tty/serial/pxa.c 	up->port.mctrl &= ~TIOCM_OUT2;
mctrl             414 drivers/tty/serial/pxa.c 	serial_pxa_set_mctrl(&up->port, up->port.mctrl);
mctrl             545 drivers/tty/serial/pxa.c 	serial_pxa_set_mctrl(&up->port, up->port.mctrl);
mctrl             220 drivers/tty/serial/qcom_geni_serial.c 	unsigned int mctrl = TIOCM_DSR | TIOCM_CAR;
mctrl             224 drivers/tty/serial/qcom_geni_serial.c 		mctrl |= TIOCM_CTS;
mctrl             228 drivers/tty/serial/qcom_geni_serial.c 			mctrl |= TIOCM_CTS;
mctrl             231 drivers/tty/serial/qcom_geni_serial.c 	return mctrl;
mctrl             235 drivers/tty/serial/qcom_geni_serial.c 							unsigned int mctrl)
mctrl             242 drivers/tty/serial/qcom_geni_serial.c 	if (!(mctrl & TIOCM_RTS))
mctrl             154 drivers/tty/serial/rda-uart.c 	unsigned int mctrl = 0;
mctrl             160 drivers/tty/serial/rda-uart.c 		mctrl |= TIOCM_RTS;
mctrl             162 drivers/tty/serial/rda-uart.c 		mctrl |= TIOCM_CTS;
mctrl             164 drivers/tty/serial/rda-uart.c 	return mctrl;
mctrl             167 drivers/tty/serial/rda-uart.c static void rda_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             171 drivers/tty/serial/rda-uart.c 	if (mctrl & TIOCM_RTS) {
mctrl             182 drivers/tty/serial/rda-uart.c 	if (mctrl & TIOCM_LOOP)
mctrl             299 drivers/tty/serial/rp2.c static void rp2_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             303 drivers/tty/serial/rp2.c 		((mctrl & TIOCM_DTR) ? RP2_TXRX_CTL_DTR_m : 0) |
mctrl             304 drivers/tty/serial/rp2.c 		((mctrl & TIOCM_RTS) ? RP2_TXRX_CTL_RTS_m : 0) |
mctrl             305 drivers/tty/serial/rp2.c 		((mctrl & TIOCM_LOOP) ? RP2_TXRX_CTL_LOOP_m : 0));
mctrl             339 drivers/tty/serial/sa1100.c static void sa1100_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             344 drivers/tty/serial/sa1100.c 	mctrl_gpio_set(sport->gpios, mctrl);
mctrl             825 drivers/tty/serial/samsung.c static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             829 drivers/tty/serial/samsung.c 	if (mctrl & TIOCM_RTS)
mctrl             247 drivers/tty/serial/sb1250-duart.c 	unsigned int mctrl, status;
mctrl             251 drivers/tty/serial/sb1250-duart.c 	mctrl = (!(status & M_DUART_IN_PIN0_VAL) ? TIOCM_CTS : 0) |
mctrl             255 drivers/tty/serial/sb1250-duart.c 	return mctrl;
mctrl             258 drivers/tty/serial/sb1250-duart.c static void sbd_set_mctrl(struct uart_port *uport, unsigned int mctrl)
mctrl             263 drivers/tty/serial/sb1250-duart.c 	if (mctrl & TIOCM_DTR)
mctrl             267 drivers/tty/serial/sb1250-duart.c 	if (mctrl & TIOCM_RTS)
mctrl             276 drivers/tty/serial/sb1250-duart.c 	if (mctrl & TIOCM_LOOP)
mctrl             786 drivers/tty/serial/sc16is7xx.c 				      (one->port.mctrl & TIOCM_LOOP) ?
mctrl             790 drivers/tty/serial/sc16is7xx.c 				      (one->port.mctrl & TIOCM_RTS) ?
mctrl             794 drivers/tty/serial/sc16is7xx.c 				      (one->port.mctrl & TIOCM_DTR) ?
mctrl             850 drivers/tty/serial/sc16is7xx.c static void sc16is7xx_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             571 drivers/tty/serial/sccnxp.c static void sccnxp_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             581 drivers/tty/serial/sccnxp.c 	sccnxp_set_bit(port, DTR_OP, mctrl & TIOCM_DTR);
mctrl             582 drivers/tty/serial/sccnxp.c 	sccnxp_set_bit(port, RTS_OP, mctrl & TIOCM_RTS);
mctrl             592 drivers/tty/serial/sccnxp.c 	unsigned int mctrl = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR;
mctrl             595 drivers/tty/serial/sccnxp.c 		return mctrl;
mctrl             604 drivers/tty/serial/sccnxp.c 		mctrl &= ~TIOCM_DSR;
mctrl             605 drivers/tty/serial/sccnxp.c 		mctrl |= (ipr & bitmask) ? TIOCM_DSR : 0;
mctrl             610 drivers/tty/serial/sccnxp.c 		mctrl &= ~TIOCM_CTS;
mctrl             611 drivers/tty/serial/sccnxp.c 		mctrl |= (ipr & bitmask) ? TIOCM_CTS : 0;
mctrl             616 drivers/tty/serial/sccnxp.c 		mctrl &= ~TIOCM_CAR;
mctrl             617 drivers/tty/serial/sccnxp.c 		mctrl |= (ipr & bitmask) ? TIOCM_CAR : 0;
mctrl             622 drivers/tty/serial/sccnxp.c 		mctrl &= ~TIOCM_RNG;
mctrl             623 drivers/tty/serial/sccnxp.c 		mctrl |= (ipr & bitmask) ? TIOCM_RNG : 0;
mctrl             628 drivers/tty/serial/sccnxp.c 	return mctrl;
mctrl             231 drivers/tty/serial/serial-tegra.c static void tegra_uart_set_mctrl(struct uart_port *u, unsigned int mctrl)
mctrl             236 drivers/tty/serial/serial-tegra.c 	tup->rts_active = !!(mctrl & TIOCM_RTS);
mctrl             239 drivers/tty/serial/serial-tegra.c 	enable = !!(mctrl & TIOCM_DTR);
mctrl             242 drivers/tty/serial/serial-tegra.c 	enable = !!(mctrl & TIOCM_LOOP);
mctrl             146 drivers/tty/serial/serial_core.c 	old = port->mctrl;
mctrl             147 drivers/tty/serial/serial_core.c 	port->mctrl = (old & ~clear) | set;
mctrl             148 drivers/tty/serial/serial_core.c 	if (old != port->mctrl)
mctrl             149 drivers/tty/serial/serial_core.c 		port->ops->set_mctrl(port, port->mctrl);
mctrl            1070 drivers/tty/serial/serial_core.c 		result = uport->mctrl;
mctrl            1716 drivers/tty/serial/serial_core.c 	int mctrl;
mctrl            1729 drivers/tty/serial/serial_core.c 	mctrl = uport->ops->get_mctrl(uport);
mctrl            1732 drivers/tty/serial/serial_core.c 	if (mctrl & TIOCM_CAR)
mctrl            1870 drivers/tty/serial/serial_core.c 	if (uport->mctrl & (bit)) \
mctrl            2100 drivers/tty/serial/serial_core.c 	port->mctrl |= TIOCM_DTR;
mctrl            2272 drivers/tty/serial/serial_core.c 				ops->set_mctrl(uport, uport->mctrl);
mctrl            2369 drivers/tty/serial/serial_core.c 		port->ops->set_mctrl(port, port->mctrl & TIOCM_DTR);
mctrl              29 drivers/tty/serial/serial_mctrl_gpio.c 	unsigned int mctrl;
mctrl              45 drivers/tty/serial/serial_mctrl_gpio.c void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl)
mctrl              59 drivers/tty/serial/serial_mctrl_gpio.c 				     mctrl & mctrl_gpios_desc[i].mctrl);
mctrl              76 drivers/tty/serial/serial_mctrl_gpio.c unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl)
mctrl              81 drivers/tty/serial/serial_mctrl_gpio.c 		return *mctrl;
mctrl              86 drivers/tty/serial/serial_mctrl_gpio.c 				*mctrl |= mctrl_gpios_desc[i].mctrl;
mctrl              88 drivers/tty/serial/serial_mctrl_gpio.c 				*mctrl &= ~mctrl_gpios_desc[i].mctrl;
mctrl              92 drivers/tty/serial/serial_mctrl_gpio.c 	return *mctrl;
mctrl              97 drivers/tty/serial/serial_mctrl_gpio.c mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl)
mctrl             102 drivers/tty/serial/serial_mctrl_gpio.c 		return *mctrl;
mctrl             107 drivers/tty/serial/serial_mctrl_gpio.c 				*mctrl |= mctrl_gpios_desc[i].mctrl;
mctrl             109 drivers/tty/serial/serial_mctrl_gpio.c 				*mctrl &= ~mctrl_gpios_desc[i].mctrl;
mctrl             113 drivers/tty/serial/serial_mctrl_gpio.c 	return *mctrl;
mctrl             160 drivers/tty/serial/serial_mctrl_gpio.c 	u32 mctrl = gpios->mctrl_prev;
mctrl             164 drivers/tty/serial/serial_mctrl_gpio.c 	mctrl_gpio_get(gpios, &mctrl);
mctrl             168 drivers/tty/serial/serial_mctrl_gpio.c 	mctrl_diff = mctrl ^ gpios->mctrl_prev;
mctrl             169 drivers/tty/serial/serial_mctrl_gpio.c 	gpios->mctrl_prev = mctrl;
mctrl             172 drivers/tty/serial/serial_mctrl_gpio.c 		if ((mctrl_diff & mctrl) & TIOCM_RI)
mctrl             175 drivers/tty/serial/serial_mctrl_gpio.c 		if ((mctrl_diff & mctrl) & TIOCM_DSR)
mctrl             179 drivers/tty/serial/serial_mctrl_gpio.c 			uart_handle_dcd_change(port, mctrl & TIOCM_CD);
mctrl             182 drivers/tty/serial/serial_mctrl_gpio.c 			uart_handle_cts_change(port, mctrl & TIOCM_CTS);
mctrl              38 drivers/tty/serial/serial_mctrl_gpio.h void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
mctrl              44 drivers/tty/serial/serial_mctrl_gpio.h unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
mctrl              51 drivers/tty/serial/serial_mctrl_gpio.h mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
mctrl              97 drivers/tty/serial/serial_mctrl_gpio.h void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl)
mctrl             102 drivers/tty/serial/serial_mctrl_gpio.h unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl)
mctrl             104 drivers/tty/serial/serial_mctrl_gpio.h 	return *mctrl;
mctrl             108 drivers/tty/serial/serial_mctrl_gpio.h mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl)
mctrl             110 drivers/tty/serial/serial_mctrl_gpio.h 	return *mctrl;
mctrl             435 drivers/tty/serial/serial_txx9.c static void serial_txx9_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             439 drivers/tty/serial/serial_txx9.c 	if (mctrl & TIOCM_RTS)
mctrl             572 drivers/tty/serial/serial_txx9.c 	serial_txx9_set_mctrl(&up->port, up->port.mctrl);
mctrl             597 drivers/tty/serial/serial_txx9.c 	serial_txx9_set_mctrl(&up->port, up->port.mctrl);
mctrl             729 drivers/tty/serial/serial_txx9.c 	serial_txx9_set_mctrl(&up->port, up->port.mctrl);
mctrl             725 drivers/tty/serial/sh-sci.c 			if (!(port->mctrl & TIOCM_RTS)) {
mctrl             745 drivers/tty/serial/sh-sci.c 		if (!(port->mctrl & TIOCM_RTS))
mctrl            2049 drivers/tty/serial/sh-sci.c static void sci_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            2053 drivers/tty/serial/sh-sci.c 	if (mctrl & TIOCM_LOOP) {
mctrl            2066 drivers/tty/serial/sh-sci.c 	mctrl_gpio_set(s->gpios, mctrl);
mctrl            2071 drivers/tty/serial/sh-sci.c 	if (!(mctrl & TIOCM_RTS)) {
mctrl            2098 drivers/tty/serial/sh-sci.c 	unsigned int mctrl = 0;
mctrl            2100 drivers/tty/serial/sh-sci.c 	mctrl_gpio_get(gpios, &mctrl);
mctrl            2108 drivers/tty/serial/sh-sci.c 			mctrl |= TIOCM_CTS;
mctrl            2110 drivers/tty/serial/sh-sci.c 		mctrl |= TIOCM_CTS;
mctrl            2113 drivers/tty/serial/sh-sci.c 		mctrl |= TIOCM_DSR;
mctrl            2115 drivers/tty/serial/sh-sci.c 		mctrl |= TIOCM_CAR;
mctrl            2117 drivers/tty/serial/sh-sci.c 	return mctrl;
mctrl            2598 drivers/tty/serial/sh-sci.c 		sci_set_mctrl(port, port->mctrl);
mctrl             586 drivers/tty/serial/sifive.c static void sifive_serial_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             100 drivers/tty/serial/sirfsoc_uart.c static void sirfsoc_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             104 drivers/tty/serial/sirfsoc_uart.c 	unsigned int assert = mctrl & TIOCM_RTS;
mctrl             108 drivers/tty/serial/sirfsoc_uart.c 	if (mctrl & TIOCM_LOOP) {
mctrl             166 drivers/tty/serial/sprd_serial.c static void sprd_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             170 drivers/tty/serial/sprd_serial.c 	if (mctrl & TIOCM_LOOP)
mctrl             396 drivers/tty/serial/st-asc.c static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             418 drivers/tty/serial/st-asc.c 	gpiod_set_value(ascport->rts, mctrl & TIOCM_RTS);
mctrl             508 drivers/tty/serial/stm32-usart.c static void stm32_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             513 drivers/tty/serial/stm32-usart.c 	if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS))
mctrl             248 drivers/tty/serial/sunhv.c static void sunhv_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             363 drivers/tty/serial/sunsab.c static void sunsab_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             368 drivers/tty/serial/sunsab.c 	if (mctrl & TIOCM_RTS) {
mctrl             375 drivers/tty/serial/sunsab.c 	if (mctrl & TIOCM_DTR) {
mctrl             584 drivers/tty/serial/sunsu.c static void sunsu_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             590 drivers/tty/serial/sunsu.c 	if (mctrl & TIOCM_RTS)
mctrl             592 drivers/tty/serial/sunsu.c 	if (mctrl & TIOCM_DTR)
mctrl             594 drivers/tty/serial/sunsu.c 	if (mctrl & TIOCM_OUT1)
mctrl             596 drivers/tty/serial/sunsu.c 	if (mctrl & TIOCM_OUT2)
mctrl             598 drivers/tty/serial/sunsu.c 	if (mctrl & TIOCM_LOOP)
mctrl             696 drivers/tty/serial/sunsu.c 	up->port.mctrl |= TIOCM_OUT2;
mctrl             698 drivers/tty/serial/sunsu.c 	sunsu_set_mctrl(&up->port, up->port.mctrl);
mctrl             746 drivers/tty/serial/sunsu.c 		up->port.mctrl |= TIOCM_OUT1;
mctrl             748 drivers/tty/serial/sunsu.c 		up->port.mctrl &= ~TIOCM_OUT2;
mctrl             750 drivers/tty/serial/sunsu.c 	sunsu_set_mctrl(&up->port, up->port.mctrl);
mctrl            1365 drivers/tty/serial/sunsu.c 	port->mctrl |= TIOCM_DTR;
mctrl             646 drivers/tty/serial/sunzilog.c static void sunzilog_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             655 drivers/tty/serial/sunzilog.c 	if (mctrl & TIOCM_RTS)
mctrl             659 drivers/tty/serial/sunzilog.c 	if (mctrl & TIOCM_DTR)
mctrl              39 drivers/tty/serial/tegra-tcu.c static void tegra_tcu_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             115 drivers/tty/serial/timbuart.c 		port->mctrl & TIOCM_RTS,
mctrl             210 drivers/tty/serial/timbuart.c static void timbuart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             212 drivers/tty/serial/timbuart.c 	dev_dbg(port->dev, "%s - %x\n", __func__, mctrl);
mctrl             214 drivers/tty/serial/timbuart.c 	if (mctrl & TIOCM_RTS)
mctrl             245 drivers/tty/serial/uartlite.c static void ulite_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             282 drivers/tty/serial/ucc_uart.c void qe_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             190 drivers/tty/serial/vr41xx_siu.c static void siu_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             194 drivers/tty/serial/vr41xx_siu.c 	if (mctrl & TIOCM_DTR)
mctrl             196 drivers/tty/serial/vr41xx_siu.c 	if (mctrl & TIOCM_RTS)
mctrl             198 drivers/tty/serial/vr41xx_siu.c 	if (mctrl & TIOCM_OUT1)
mctrl             200 drivers/tty/serial/vr41xx_siu.c 	if (mctrl & TIOCM_OUT2)
mctrl             202 drivers/tty/serial/vr41xx_siu.c 	if (mctrl & TIOCM_LOOP)
mctrl             211 drivers/tty/serial/vr41xx_siu.c 	unsigned int mctrl = 0;
mctrl             215 drivers/tty/serial/vr41xx_siu.c 		mctrl |= TIOCM_CAR;
mctrl             217 drivers/tty/serial/vr41xx_siu.c 		mctrl |= TIOCM_RNG;
mctrl             219 drivers/tty/serial/vr41xx_siu.c 		mctrl |= TIOCM_DSR;
mctrl             221 drivers/tty/serial/vr41xx_siu.c 		mctrl |= TIOCM_CTS;
mctrl             223 drivers/tty/serial/vr41xx_siu.c 	return mctrl;
mctrl             461 drivers/tty/serial/vr41xx_siu.c 	siu_set_mctrl(port, port->mctrl);
mctrl             483 drivers/tty/serial/vr41xx_siu.c 	port->mctrl &= ~TIOCM_OUT2;
mctrl             484 drivers/tty/serial/vr41xx_siu.c 	siu_set_mctrl(port, port->mctrl);
mctrl             579 drivers/tty/serial/vr41xx_siu.c 	siu_set_mctrl(port, port->mctrl);
mctrl             286 drivers/tty/serial/vt8500_serial.c static void vt8500_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl             290 drivers/tty/serial/vt8500_serial.c 	if (mctrl & TIOCM_RTS)
mctrl            1018 drivers/tty/serial/xilinx_uartps.c static void cdns_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
mctrl            1034 drivers/tty/serial/xilinx_uartps.c 	if (mctrl & TIOCM_RTS || mctrl & TIOCM_DTR)
mctrl            1036 drivers/tty/serial/xilinx_uartps.c 	if (mctrl & TIOCM_LOOP)
mctrl             326 drivers/tty/serial/zs.c 	unsigned int mctrl;
mctrl             331 drivers/tty/serial/zs.c 	mctrl = ((status_b & CTS) ? TIOCM_CTS : 0) |
mctrl             336 drivers/tty/serial/zs.c 	return mctrl;
mctrl             349 drivers/tty/serial/zs.c 	unsigned int mmask, mctrl, delta;
mctrl             363 drivers/tty/serial/zs.c 	mctrl = zport->mctrl;
mctrl             365 drivers/tty/serial/zs.c 		mctrl &= ~mmask;
mctrl             366 drivers/tty/serial/zs.c 		mctrl |= zs_raw_get_ab_mctrl(zport_a, zport) & mmask;
mctrl             369 drivers/tty/serial/zs.c 	delta = mctrl ^ zport->mctrl;
mctrl             371 drivers/tty/serial/zs.c 		zport->mctrl = mctrl;
mctrl             380 drivers/tty/serial/zs.c 	unsigned int mctrl;
mctrl             383 drivers/tty/serial/zs.c 	mctrl = zs_raw_get_mctrl(zport);
mctrl             386 drivers/tty/serial/zs.c 	return mctrl;
mctrl             389 drivers/tty/serial/zs.c static void zs_set_mctrl(struct uart_port *uport, unsigned int mctrl)
mctrl             398 drivers/tty/serial/zs.c 		if (mctrl & TIOCM_DTR)
mctrl             402 drivers/tty/serial/zs.c 		if (mctrl & TIOCM_RTS)
mctrl             412 drivers/tty/serial/zs.c 	if (mctrl & TIOCM_LOOP)
mctrl             681 drivers/tty/serial/zs.c 					       zport->mctrl & TIOCM_CTS);
mctrl             684 drivers/tty/serial/zs.c 					       zport->mctrl & TIOCM_CAR);
mctrl             799 drivers/tty/serial/zs.c 	zport->mctrl = zs_raw_get_mctrl(zport);
mctrl              31 drivers/tty/serial/zs.h 	unsigned int	mctrl;			/* State of modem lines.  */
mctrl             212 include/linux/amba/serial.h 	void (*set_mctrl)(struct amba_device *dev, void __iomem *base, unsigned int mctrl);
mctrl             163 include/linux/serial_8250.h extern void serial8250_do_set_mctrl(struct uart_port *port, unsigned int mctrl);
mctrl              39 include/linux/serial_core.h 	void		(*set_mctrl)(struct uart_port *, unsigned int mctrl);
mctrl             237 include/linux/serial_core.h 	unsigned int		mctrl;			/* current modem ctrl settings */