Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/bluetooth/rfcomm/
Dtty.c82 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()
[all …]
Dcore.c74 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
203 d->v24_sig = RFCOMM_V24_RTC | RFCOMM_V24_RTR | RFCOMM_V24_DV; in rfcomm_dlc_clear_state()
414 d->v24_sig |= RFCOMM_V24_FC; in __rfcomm_dlc_throttle()
425 d->v24_sig &= ~RFCOMM_V24_FC; in __rfcomm_dlc_unthrottle()
436 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig) in rfcomm_dlc_set_modem_status() argument
439 d, d->state, v24_sig); in rfcomm_dlc_set_modem_status()
442 v24_sig |= RFCOMM_V24_FC; in rfcomm_dlc_set_modem_status()
444 v24_sig &= ~RFCOMM_V24_FC; in rfcomm_dlc_set_modem_status()
446 d->v24_sig = v24_sig; in rfcomm_dlc_set_modem_status()
454 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig) in rfcomm_dlc_get_modem_status() argument
[all …]
/linux-2.4.37.9/include/net/bluetooth/
Drfcomm.h156 u8 v24_sig; member
189 u8 v24_sig; member
201 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig);
248 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig);
249 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig);