Lines Matching refs:v24_sig
82 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig);
510 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig) in rfcomm_dev_modem_status() argument
516 BT_DBG("dlc %p dev %p v24_sig 0x%02x", dlc, dev, v24_sig); in rfcomm_dev_modem_status()
519 ((v24_sig & RFCOMM_V24_RTC) ? (TIOCM_DSR | TIOCM_DTR) : 0) | in rfcomm_dev_modem_status()
520 ((v24_sig & RFCOMM_V24_RTR) ? (TIOCM_RTS | TIOCM_CTS) : 0) | in rfcomm_dev_modem_status()
521 ((v24_sig & RFCOMM_V24_IC) ? TIOCM_RI : 0) | in rfcomm_dev_modem_status()
522 ((v24_sig & RFCOMM_V24_DV) ? TIOCM_CD : 0); in rfcomm_dev_modem_status()
706 u8 v24_sig, mask; in rfcomm_tty_set_modem_status() local
711 v24_sig = 0; in rfcomm_tty_set_modem_status()
713 rfcomm_dlc_get_modem_status(dlc, &v24_sig); in rfcomm_tty_set_modem_status()
723 v24_sig &= ~mask; in rfcomm_tty_set_modem_status()
725 v24_sig |= mask; in rfcomm_tty_set_modem_status()
727 rfcomm_dlc_set_modem_status(dlc, v24_sig); in rfcomm_tty_set_modem_status()