Home
last modified time | relevance | path

Searched refs:tiocm (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/8250/
H A D8250.h239 int tiocm = 0; in serial8250_MCR_to_TIOCM() local
242 tiocm |= TIOCM_RTS; in serial8250_MCR_to_TIOCM()
244 tiocm |= TIOCM_DTR; in serial8250_MCR_to_TIOCM()
246 tiocm |= TIOCM_OUT1; in serial8250_MCR_to_TIOCM()
252 return tiocm; in serial8250_MCR_to_TIOCM()
258 int tiocm = 0; in serial8250_MSR_to_TIOCM() local
261 tiocm |= TIOCM_CAR; in serial8250_MSR_to_TIOCM()
263 tiocm |= TIOCM_RNG; in serial8250_MSR_to_TIOCM()
265 tiocm |= TIOCM_DSR; in serial8250_MSR_to_TIOCM()
267 tiocm |= TIOCM_CTS; in serial8250_MSR_to_TIOCM()
[all …]
/openbmc/qemu/chardev/
H A Dmsmouse.c61 int tiocm; member
132 if (!MSMOUSE_PWR(mouse->tiocm)) { in msmouse_input_event()
160 if (!MSMOUSE_PWR(mouse->tiocm)) { in msmouse_input_sync()
193 c = mouse->tiocm; in msmouse_ioctl()
194 mouse->tiocm = *(int *)arg; in msmouse_ioctl()
195 if (MSMOUSE_PWR(mouse->tiocm)) { in msmouse_ioctl()
238 *targ = mouse->tiocm; in msmouse_ioctl()
266 mouse->tiocm = 0; in msmouse_chr_open()