Lines Matching refs:tx
123 memset(&p_port->tx, 0, sizeof(p_port->tx)); in port_set_defaults()
125 p_port->tx.queue = fixed_queue_new(SIZE_MAX); in port_set_defaults()
215 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue)) != in port_release_port()
219 p_port->tx.queue_size = 0; in port_release_port()
237 fixed_queue_free(p_port->tx.queue, nullptr); in port_release_port()
238 p_port->tx.queue = nullptr; in port_release_port()
388 bool fc = p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_flow_control_user()
390 (p_port->tx.queue_size > PORT_TX_HIGH_WM) || in port_flow_control_user()
391 (fixed_queue_length(p_port->tx.queue) > PORT_TX_BUF_HIGH_WM); in port_flow_control_user()
393 if (p_port->tx.user_fc == fc) return (0); in port_flow_control_user()
395 p_port->tx.user_fc = fc; in port_flow_control_user()