/linux/include/uapi/asm-generic/ |
H A D | termios.h | 39 #define TIOCM_CAR 0x040 macro 42 #define TIOCM_CD TIOCM_CAR
|
/linux/arch/mips/include/uapi/asm/ |
H A D | termios.h | 71 #define TIOCM_CAR 0x100 /* carrier detect */ macro 72 #define TIOCM_CD TIOCM_CAR
|
/linux/arch/xtensa/include/uapi/asm/ |
H A D | ioctls.h | 65 # define TIOCM_CAR 0x040 macro 68 # define TIOCM_CD TIOCM_CAR
|
/linux/arch/sh/include/uapi/asm/ |
H A D | ioctls.h | 53 # define TIOCM_CAR 0x040 macro 56 # define TIOCM_CD TIOCM_CAR
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | ioctls.h | 61 # define TIOCM_CAR 0x040 macro 64 # define TIOCM_CD TIOCM_CAR
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctls.h | 66 # define TIOCM_CAR 0x040 macro 69 # define TIOCM_CD TIOCM_CAR
|
/linux/drivers/tty/serial/ |
H A D | timbuart.c | 199 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl() 201 return TIOCM_DSR | TIOCM_CAR; in timbuart_get_mctrl()
|
H A D | sa1100.c | 100 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 D | sunplus-uart.c | 113 if (mctrl & TIOCM_CAR) in sunplus_set_mctrl() 144 ret |= TIOCM_CAR; in sunplus_get_mctrl()
|
H A D | sccnxp.c | 590 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 D | mux.c | 130 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in mux_get_mctrl()
|
H A D | 21285.c | 176 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in serial21285_get_mctrl()
|
H A D | esp32_acm.c | 91 return TIOCM_CAR; in esp32s3_acm_get_mctrl()
|
H A D | altera_jtaguart.c | 70 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in altera_jtaguart_get_mctrl()
|
H A D | sc16is7xx.c | 752 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 D | liteuart.c | 178 return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR; in liteuart_get_mctrl()
|
H A D | sunhv.c | 255 return TIOCM_DSR | TIOCM_CAR | TIOCM_CTS; in sunhv_get_mctrl()
|
H A D | apbuart.c | 158 return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; in apbuart_get_mctrl()
|
H A D | clps711x.c | 195 unsigned int result = TIOCM_DSR | TIOCM_CTS | TIOCM_CAR; in uart_clps711x_get_mctrl()
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-tty.c | 243 if (status & TIOCM_CAR) in ledtrig_tty_work()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250.h | 282 tiocm |= TIOCM_CAR; in serial8250_MSR_to_TIOCM()
|
H A D | 8250_lpss.c | 111 ret |= TIOCM_CAR | TIOCM_DSR; in byt_get_mctrl()
|
/linux/drivers/mmc/core/ |
H A D | sdio_uart.c | 202 ret |= TIOCM_CAR; in sdio_uart_get_mctrl() 535 return ret & TIOCM_CAR; in uart_carrier_raised()
|
/linux/drivers/usb/serial/ |
H A D | ssu100.c | 370 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in ssu100_tiocmget()
|
H A D | keyspan_pda.c | 421 ((status & BIT(6)) ? TIOCM_CAR : 0) | in keyspan_pda_tiocmget()
|