Home
last modified time | relevance | path

Searched refs:TIOCM_CAR (Results 1 – 25 of 71) sorted by relevance

123

/linux/include/uapi/asm-generic/
H A Dtermios.h39 #define TIOCM_CAR 0x040 macro
42 #define TIOCM_CD TIOCM_CAR
/linux/arch/mips/include/uapi/asm/
H A Dtermios.h71 #define TIOCM_CAR 0x100 /* carrier detect */ macro
72 #define TIOCM_CD TIOCM_CAR
/linux/arch/xtensa/include/uapi/asm/
H A Dioctls.h65 # define TIOCM_CAR 0x040 macro
68 # define TIOCM_CD TIOCM_CAR
/linux/arch/sh/include/uapi/asm/
H A Dioctls.h53 # define TIOCM_CAR 0x040 macro
56 # define TIOCM_CD TIOCM_CAR
/linux/arch/powerpc/include/uapi/asm/
H A Dioctls.h61 # define TIOCM_CAR 0x040 macro
64 # define TIOCM_CD TIOCM_CAR
/linux/arch/alpha/include/uapi/asm/
H A Dioctls.h66 # define TIOCM_CAR 0x040 macro
69 # define TIOCM_CD TIOCM_CAR
/linux/drivers/tty/serial/
H A Dtimbuart.c199 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
201 return TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
H A Dsa1100.c100 if (changed & TIOCM_CAR) in sa1100_mctrl_check()
101 uart_handle_dcd_change(&sport->port, status & TIOCM_CAR); in sa1100_mctrl_check()
299 int ret = TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in sa1100_get_mctrl()
H A Dsunplus-uart.c113 if (mctrl & TIOCM_CAR) in sunplus_set_mctrl()
144 ret |= TIOCM_CAR; in sunplus_get_mctrl()
H A Dsccnxp.c590 unsigned int mctrl = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in sccnxp_get_mctrl()
614 mctrl &= ~TIOCM_CAR; in sccnxp_get_mctrl()
615 mctrl |= (ipr & bitmask) ? TIOCM_CAR : 0; in sccnxp_get_mctrl()
H A Dmux.c130 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in mux_get_mctrl()
H A D21285.c176 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in serial21285_get_mctrl()
H A Desp32_acm.c91 return TIOCM_CAR; in esp32s3_acm_get_mctrl()
H A Daltera_jtaguart.c70 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in altera_jtaguart_get_mctrl()
H A Dsc16is7xx.c752 mctrl |= (msr & SC16IS7XX_MSR_CD_BIT) ? TIOCM_CAR : 0; in sc16is7xx_get_hwmctrl()
778 if (changed & TIOCM_CAR) in sc16is7xx_update_mlines()
779 uart_handle_dcd_change(port, status & TIOCM_CAR); in sc16is7xx_update_mlines()
H A Dliteuart.c178 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in liteuart_get_mctrl()
H A Dsunhv.c255 return TIOCM_DSR | TIOCM_CAR | TIOCM_CTS; in sunhv_get_mctrl()
H A Dapbuart.c158 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in apbuart_get_mctrl()
H A Dclps711x.c195 unsigned int result = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in uart_clps711x_get_mctrl()
/linux/drivers/leds/trigger/
H A Dledtrig-tty.c243 if (status & TIOCM_CAR) in ledtrig_tty_work()
/linux/drivers/tty/serial/8250/
H A D8250.h282 tiocm |= TIOCM_CAR; in serial8250_MSR_to_TIOCM()
H A D8250_lpss.c111 ret |= TIOCM_CAR | TIOCM_DSR; in byt_get_mctrl()
/linux/drivers/mmc/core/
H A Dsdio_uart.c202 ret |= TIOCM_CAR; in sdio_uart_get_mctrl()
535 return ret & TIOCM_CAR; in uart_carrier_raised()
/linux/drivers/usb/serial/
H A Dssu100.c370 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in ssu100_tiocmget()
H A Dkeyspan_pda.c421 ((status & BIT(6)) ? TIOCM_CAR : 0) | in keyspan_pda_tiocmget()

123