Lines Matching refs:tx
124 memset(&p_port->tx, 0, sizeof(p_port->tx)); in port_set_defaults()
126 p_port->tx.queue = fixed_queue_new(SIZE_MAX); in port_set_defaults()
217 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue)) != in port_release_port()
221 p_port->tx.queue_size = 0; in port_release_port()
239 fixed_queue_free(p_port->tx.queue, nullptr); in port_release_port()
240 p_port->tx.queue = nullptr; in port_release_port()
390 bool fc = p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_flow_control_user()
392 (p_port->tx.queue_size > PORT_TX_HIGH_WM) || in port_flow_control_user()
393 (fixed_queue_length(p_port->tx.queue) > PORT_TX_BUF_HIGH_WM); in port_flow_control_user()
395 if (p_port->tx.user_fc == fc) return (0); in port_flow_control_user()
397 p_port->tx.user_fc = fc; in port_flow_control_user()