Searched refs:credit (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/rfcomm/ |
D | rfc_l2cap_if.cc | 356 __func__, p_buf->len, rfc_cb.rfc.rx_frame.credit); in RFCOMM_BufDataInd() 363 if (rfc_cb.rfc.rx_frame.credit != 0) { in RFCOMM_BufDataInd() 364 rfc_inc_credit(p_port, rfc_cb.rfc.rx_frame.credit); in RFCOMM_BufDataInd()
|
D | rfc_int.h | 93 uint8_t credit; member 317 extern void rfc_inc_credit(tPORT* p_port, uint8_t credit); 340 extern void rfc_send_credit(tRFC_MCB* p_mcb, uint8_t dlci, uint8_t credit);
|
D | rfc_utils.cc | 377 void rfc_inc_credit(tPORT* p_port, uint8_t credit) { in rfc_inc_credit() argument 379 p_port->credit_tx += credit; in rfc_inc_credit()
|
D | rfc_ts_frames.cc | 482 void rfc_send_credit(tRFC_MCB* p_mcb, uint8_t dlci, uint8_t credit) { in rfc_send_credit() argument 493 *p_data++ = credit; in rfc_send_credit() 551 p_frame->credit = *p_data++; in rfc_parse_data() 555 p_frame->credit = 0; in rfc_parse_data()
|
/system/bt/stack/l2cap/ |
D | l2c_csm.cc | 989 uint16_t* credit; in l2c_csm_open() local 1119 credit = (uint16_t*)p_data; in l2c_csm_open() 1120 l2cble_send_flow_control_credit(p_ccb, *credit); in l2c_csm_open() 1124 credit = (uint16_t*)p_data; in l2c_csm_open() 1125 L2CAP_TRACE_DEBUG("%s Credits received %d", __func__, *credit); in l2c_csm_open() 1126 if ((p_ccb->peer_conn_cfg.credits + *credit) > L2CAP_LE_CREDIT_MAX) { in l2c_csm_open() 1132 p_ccb->peer_conn_cfg.credits += *credit; in l2c_csm_open() 1137 (*cr_cb)(p_ccb->local_cid, *credit, p_ccb->peer_conn_cfg.credits); in l2c_csm_open()
|
D | l2c_ble.cc | 478 uint16_t credit; in l2cble_process_sig_cmd() local 713 STREAM_TO_UINT16(credit, p); in l2cble_process_sig_cmd() 714 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_RECV_FLOW_CONTROL_CREDIT, &credit); in l2cble_process_sig_cmd()
|