Lines Matching refs:cfc
299 d->cfc = RFCOMM_CFC_DISABLED; in rfcomm_dlc_clear_state()
411 d->cfc = (s->cfc == RFCOMM_CFC_UNKNOWN) ? 0 : s->cfc; in __rfcomm_dlc_open()
630 if (!d->cfc) { in __rfcomm_dlc_throttle()
641 if (!d->cfc) { in __rfcomm_dlc_unthrottle()
697 s->cfc = disable_cfc ? RFCOMM_CFC_DISABLED : RFCOMM_CFC_UNKNOWN; in rfcomm_session_add()
978 if (s->cfc) { in rfcomm_send_pn()
1410 if ((pn->flow_ctrl == 0xf0 && s->cfc != RFCOMM_CFC_DISABLED) || in rfcomm_apply_pn()
1412 d->cfc = RFCOMM_CFC_ENABLED; in rfcomm_apply_pn()
1415 d->cfc = RFCOMM_CFC_DISABLED; in rfcomm_apply_pn()
1419 if (s->cfc == RFCOMM_CFC_UNKNOWN) in rfcomm_apply_pn()
1420 s->cfc = d->cfc; in rfcomm_apply_pn()
1622 if (msc->v24_sig & RFCOMM_V24_FC && !d->cfc) in rfcomm_recv_msc()
1717 if (pf && d->cfc) { in rfcomm_recv_data()
1834 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1840 if (d->cfc) { in rfcomm_process_tx()
1844 d->rx_credits <= (d->cfc >> 2)) { in rfcomm_process_tx()
1845 rfcomm_send_credits(d->session, d->addr, d->cfc - d->rx_credits); in rfcomm_process_tx()
1846 d->rx_credits = d->cfc; in rfcomm_process_tx()
1867 if (d->cfc && !d->tx_credits) { in rfcomm_process_tx()