Home
last modified time | relevance | path

Searched refs:credit_rx (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Dport_utils.c122 p_port->credit_rx = 0; in port_set_defaults()
503 if (count > p_port->credit_rx) { in port_flow_control_peer()
504 p_port->credit_rx = 0; in port_flow_control_peer()
506 p_port->credit_rx -= count; in port_flow_control_peer()
512 if ((p_port->credit_rx <= p_port->credit_rx_low) in port_flow_control_peer()
514 && (p_port->credit_rx_max > p_port->credit_rx)) { in port_flow_control_peer()
516 (UINT8) (p_port->credit_rx_max - p_port->credit_rx)); in port_flow_control_peer()
517 …ACE_DEBUG("send credit: max %d, rx %d, count %d", p_port->credit_rx_max, p_port->credit_rx, count); in port_flow_control_peer()
518 p_port->credit_rx = p_port->credit_rx_max; in port_flow_control_peer()
522 …E_DEBUG("credit: max %d, rx %d, low %d", p_port->credit_rx_max, p_port->credit_rx, p_port->credit_… in port_flow_control_peer()
Drfc_port_fsm.c401 && (p_port->credit_rx_max > p_port->credit_rx)) { in rfc_port_sm_opened()
402 … ((BT_HDR *)p_data)->layer_specific = (UINT8) (p_port->credit_rx_max - p_port->credit_rx); in rfc_port_sm_opened()
403 p_port->credit_rx = p_port->credit_rx_max; in rfc_port_sm_opened()
Drfc_port_if.c168 p_port->credit_rx = k; in RFCOMM_ParNegReq()
Dport_rfc.c348 p_port->credit_rx = our_k; in PORT_ParNegInd()
Dport_api.c871 port_flow_control_peer(p_port, TRUE, p_port->credit_rx);
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h195 UINT16 credit_rx; /* Flow control credits for rx path, this is */ member
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c57 uint16_t credit_rx; member
148 (*slot)->credit_rx = BTA_JV_MAX_CREDIT_NUM; in spp_malloc_slot()
1307 slot->credit_rx += count; in btc_spp_cb_handler()
1385 if (--slot->credit_rx == 0) { in bta_co_rfc_data_incoming()
1389 if (slot->credit_rx > BTA_JV_MAX_CREDIT_NUM) { in bta_co_rfc_data_incoming()
1390 BTC_TRACE_WARNING("%s credit %d", __func__, slot->credit_rx); in bta_co_rfc_data_incoming()
1619 slot->credit_rx += count; in spp_vfs_read()