Home
last modified time | relevance | path

Searched refs:queue_size (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_api.cc662 if (enable && (p_port->rx.queue_size != 0)) { in PORT_FlowControl_MaxCredit()
738 p_port->rx.queue_size -= max_len; in PORT_ReadData()
751 p_port->rx.queue_size -= p_buf->len; in PORT_ReadData()
767 p_port->rx.queue_size, *p_len, p_data[0]); in PORT_ReadData()
769 log::verbose("PORT_ReadData queue:{} returned:{}", p_port->rx.queue_size, in PORT_ReadData()
807 if ((p_port->tx.queue_size > PORT_TX_CRITICAL_WM) || in port_write()
809 log::warn("PORT_Write: Queue size: {}", p_port->tx.queue_size); in port_write()
826 p_port->tx.queue_size += p_buf->len; in port_write()
914 p_port->tx.queue_size += (uint16_t)available; in PORT_WriteDataCO()
932 if ((p_port->tx.queue_size > PORT_TX_HIGH_WM) || in PORT_WriteDataCO()
[all …]
Dport_utils.cc213 p_port->rx.queue_size = 0; in port_release_port()
219 p_port->tx.queue_size = 0; in port_release_port()
388 (p_port->tx.queue_size > PORT_TX_HIGH_WM) || in port_flow_control_user()
496 if (p_port->rx.peer_fc && (p_port->rx.queue_size < PORT_RX_LOW_WM) && in port_flow_control_peer()
514 else if (((p_port->rx.queue_size > PORT_RX_HIGH_WM) || in port_flow_control_peer()
Dport_rfc.cc805 if ((p_port->rx.queue_size + p_buf->len > PORT_RX_CRITICAL_WM) || in PORT_DataInd()
828 p_port->rx.queue_size += p_buf->len; in PORT_DataInd()
915 if (p_port->tx.queue_size > 0) { in port_rfc_send_tx_data()
924 p_port->tx.queue_size -= p_buf->len; in port_rfc_send_tx_data()
929 p_port->tx.queue_size); in port_rfc_send_tx_data()
935 if (p_port->tx.queue_size == 0) { in port_rfc_send_tx_data()
Dport_int.h54 uint32_t queue_size; /* Number of data bytes in the queue */ member