Home
last modified time | relevance | path

Searched refs:v24_sig (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/bluetooth/rfcomm/
Dtty.c76 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig);
642 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig) in rfcomm_dev_modem_status() argument
648 BT_DBG("dlc %p dev %p v24_sig 0x%02x", dlc, dev, v24_sig); in rfcomm_dev_modem_status()
650 if ((dev->modem_status & TIOCM_CD) && !(v24_sig & RFCOMM_V24_DV)) in rfcomm_dev_modem_status()
654 ((v24_sig & RFCOMM_V24_RTC) ? (TIOCM_DSR | TIOCM_DTR) : 0) | in rfcomm_dev_modem_status()
655 ((v24_sig & RFCOMM_V24_RTR) ? (TIOCM_RTS | TIOCM_CTS) : 0) | in rfcomm_dev_modem_status()
656 ((v24_sig & RFCOMM_V24_IC) ? TIOCM_RI : 0) | in rfcomm_dev_modem_status()
657 ((v24_sig & RFCOMM_V24_DV) ? TIOCM_CD : 0); in rfcomm_dev_modem_status()
1076 u8 v24_sig; in rfcomm_tty_tiocmset() local
1080 rfcomm_dlc_get_modem_status(dlc, &v24_sig); in rfcomm_tty_tiocmset()
[all …]
Dcore.c61 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
297 d->v24_sig = RFCOMM_V24_RTC | RFCOMM_V24_RTR | RFCOMM_V24_DV; in rfcomm_dlc_clear_state()
631 d->v24_sig |= RFCOMM_V24_FC; in __rfcomm_dlc_throttle()
642 d->v24_sig &= ~RFCOMM_V24_FC; in __rfcomm_dlc_unthrottle()
653 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig) in rfcomm_dlc_set_modem_status() argument
656 d, d->state, v24_sig); in rfcomm_dlc_set_modem_status()
659 v24_sig |= RFCOMM_V24_FC; in rfcomm_dlc_set_modem_status()
661 v24_sig &= ~RFCOMM_V24_FC; in rfcomm_dlc_set_modem_status()
663 d->v24_sig = v24_sig; in rfcomm_dlc_set_modem_status()
671 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig) in rfcomm_dlc_get_modem_status() argument
[all …]
/Linux-v6.6/include/net/bluetooth/
Drfcomm.h149 u8 v24_sig; member
182 u8 v24_sig; member
199 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig);
241 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig);
242 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig);