Lines Matching refs:v24_sig
74 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
457 d, d->state, d->v24_sig); in rfcomm_dlc_get_modem_status()
459 *v24_sig = d->v24_sig; in rfcomm_dlc_get_modem_status()
829 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc() argument
836 BT_DBG("%p cr %d v24 0x%x", s, cr, v24_sig); in rfcomm_send_msc()
849 msc->v24_sig = v24_sig | 0x01; in rfcomm_send_msc()
994 rfcomm_send_msc(s, 1, dlci, d->v24_sig); in rfcomm_recv_ua()
1109 rfcomm_send_msc(s, 1, dlci, d->v24_sig); in rfcomm_recv_sabm()
1128 rfcomm_send_msc(s, 1, dlci, d->v24_sig); in rfcomm_recv_sabm()
1336 BT_DBG("dlci %d cr %d v24 0x%x", dlci, cr, msc->v24_sig); in rfcomm_recv_msc()
1343 if (msc->v24_sig & RFCOMM_V24_FC && !d->cfc) in rfcomm_recv_msc()
1350 d->modem_status(d, msc->v24_sig); in rfcomm_recv_msc()
1353 rfcomm_send_msc(s, 0, dlci, msc->v24_sig); in rfcomm_recv_msc()
1544 rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig); in rfcomm_process_tx()