Lines Matching refs:v24_sig
61 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
674 d, d->state, d->v24_sig); in rfcomm_dlc_get_modem_status()
676 *v24_sig = d->v24_sig; in rfcomm_dlc_get_modem_status()
1061 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) in rfcomm_send_msc() argument
1068 BT_DBG("%p cr %d v24 0x%x", s, cr, v24_sig); in rfcomm_send_msc()
1081 msc->v24_sig = v24_sig | 0x01; in rfcomm_send_msc()
1225 rfcomm_send_msc(s, 1, dlci, d->v24_sig); in rfcomm_recv_ua()
1339 rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig); in rfcomm_dlc_accept()
1615 BT_DBG("dlci %d cr %d v24 0x%x", dlci, cr, msc->v24_sig); in rfcomm_recv_msc()
1622 if (msc->v24_sig & RFCOMM_V24_FC && !d->cfc) in rfcomm_recv_msc()
1629 d->remote_v24_sig = msc->v24_sig; in rfcomm_recv_msc()
1632 d->modem_status(d, msc->v24_sig); in rfcomm_recv_msc()
1636 rfcomm_send_msc(s, 0, dlci, msc->v24_sig); in rfcomm_recv_msc()
1838 rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig); in rfcomm_process_tx()