Home
last modified time | relevance | path

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

/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc154 p_cb->conn_id, p_cb->num_buff, p_cb->tx_q.count); in nfc_ncif_send_data()
160 if (p_cb->init_credits == p_cb->num_buff) { in nfc_ncif_send_data()
165 p_cb->init_credits, p_cb->num_buff); in nfc_ncif_send_data()
184 while (p_data && (p_data->len >= 0) && (p_cb->num_buff > 0)) { in nfc_ncif_send_data()
224 if (p_cb->num_buff != NFC_CONN_NO_FC) p_cb->num_buff--; in nfc_ncif_send_data()
634 if (p_cb && p_cb->num_buff != NFC_CONN_NO_FC) { in nfc_ncif_proc_credits()
635 p_cb->num_buff += (*p); in nfc_ncif_proc_credits()
637 if (p_cb->num_buff > p_cb->init_credits) { in nfc_ncif_proc_credits()
643 p_cb->num_buff, p_cb->init_credits); in nfc_ncif_proc_credits()
645 p_cb->num_buff = p_cb->init_credits; in nfc_ncif_proc_credits()
[all …]
Dnfc_main.cc238 p_cb->init_credits = p_cb->num_buff = 0; in nfc_enabled()
246 STREAM_TO_UINT8(p_cb->num_buff, p); in nfc_enabled()
247 p_cb->init_credits = p_cb->num_buff; in nfc_enabled()
251 "hci num_buf=%d buf_size=%d", p_cb->num_buff, p_cb->buff_size); in nfc_enabled()
1147 p_cb->init_credits, p_cb->num_buff); in NFC_Deactivate()
1149 (p_cb->init_credits != p_cb->num_buff)) { in NFC_Deactivate()
1343 if (p_cback && p_cb->buff_size && p_cb->num_buff) { in NFC_SetStaticHciCback()
1350 evt_data.conn_create.num_buffs = p_cb->num_buff; in NFC_SetStaticHciCback()
/system/nfc/src/nfc/include/
Dnfc_int.h133 uint8_t num_buff; /* num of buffers left to send on this connection */ member