Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c59 ZTEST(tx_buffer_alloc, test_tx_buffer_alloc) in ZTEST() argument
73 conn[j].llcp.tx_buffer_alloc = 0; in ZTEST()
80 zassert_equal(conn[0].llcp.tx_buffer_alloc, i + 1); in ZTEST()
89 zassert_equal(conn[0].llcp.tx_buffer_alloc, in ZTEST()
107 zassert_equal(conn[j].llcp.tx_buffer_alloc, i + 1); in ZTEST()
117 zassert_equal(conn[0].llcp.tx_buffer_alloc, CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM + in ZTEST()
128 zassert_equal(conn[0].llcp.tx_buffer_alloc, in ZTEST()
137 zassert_equal(conn[0].llcp.tx_buffer_alloc, CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM + in ZTEST()
145 zassert_true(!(conn[2].llcp.tx_buffer_alloc < in ZTEST()
150 zassert_true((conn[2].llcp.tx_buffer_alloc < in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn_types.h149 uint8_t tx_buffer_alloc; member
Dull_llcp.c124 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in ull_cp_update_tx_buffer_queue()
125 common_tx_buffer_alloc -= (conn->llcp.tx_buffer_alloc - in ull_cp_update_tx_buffer_queue()
139 if (conn->llcp.tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in static_tx_buffer_available()
198 conn->llcp.tx_buffer_alloc++; in llcp_tx_alloc()
200 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in llcp_tx_alloc()
461 conn->llcp.tx_buffer_alloc = 0; in ull_llcp_init()
475 LL_ASSERT(conn->llcp.tx_buffer_alloc > 0); in ull_cp_release_tx()
476 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in ull_cp_release_tx()
479 conn->llcp.tx_buffer_alloc--; in ull_cp_release_tx()