Home
last modified time | relevance | path

Searched refs:discardable (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.5.0/tests/bluetooth/host/buf/bt_buf_get_evt/src/
Dtest_suite_hci_evt_num_completed_packets.c28 static struct net_buf_pool *get_memory_pool(bool discardable) in get_memory_pool() argument
41 if (discardable) { in get_memory_pool()
73 bool discardable; in ZTEST() local
84 discardable = params_vector->discardable; in ZTEST()
91 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
93 expect_single_call_net_buf_alloc(get_memory_pool(discardable), &timeout); in ZTEST()
125 bool discardable; in ZTEST() local
134 discardable = params_vector->discardable; in ZTEST()
141 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
143 expect_single_call_net_buf_alloc(get_memory_pool(discardable), &timeout); in ZTEST()
Dmain.c63 static struct net_buf_pool *get_memory_pool(bool discardable) in get_memory_pool() argument
73 if (discardable) { in get_memory_pool()
103 bool discardable; in ZTEST() local
114 discardable = params_vector->discardable; in ZTEST()
122 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
124 expect_single_call_net_buf_alloc(get_memory_pool(discardable), &timeout); in ZTEST()
157 bool discardable; in ZTEST() local
166 discardable = params_vector->discardable; in ZTEST()
174 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
176 expect_single_call_net_buf_alloc(get_memory_pool(discardable), &timeout); in ZTEST()
Dtest_suite_hci_evt_cmd.c67 bool discardable; in ZTEST() local
76 discardable = params_vector->discardable; in ZTEST()
84 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
121 bool discardable; in ZTEST() local
132 discardable = params_vector->discardable; in ZTEST()
140 returned_buf = bt_buf_get_evt(evt, discardable, timeout); in ZTEST()
/Zephyr-Core-3.5.0/drivers/bluetooth/hci/
Dhci_b91.c53 bool discardable; in bt_b91_evt_recv() local
63 discardable = is_hci_event_discardable(data); in bt_b91_evt_recv()
75 buf = bt_buf_get_evt(hdr.evt, discardable, K_NO_WAIT); in bt_b91_evt_recv()
77 if (discardable) { in bt_b91_evt_recv()
Drpmsg.c70 bool discardable; in bt_rpmsg_evt_recv() local
80 discardable = is_hci_event_discardable(data); in bt_rpmsg_evt_recv()
93 buf = bt_buf_get_evt(hdr.evt, discardable, discardable ? K_NO_WAIT : K_SECONDS(10)); in bt_rpmsg_evt_recv()
95 if (discardable) { in bt_rpmsg_evt_recv()
Dhci_esp32.c57 bool discardable = false; in bt_esp_evt_recv() local
67 discardable = is_hci_event_discardable(data); in bt_esp_evt_recv()
79 buf = bt_buf_get_evt(hdr.evt, discardable, K_NO_WAIT); in bt_esp_evt_recv()
81 if (discardable) { in bt_esp_evt_recv()
Dh4.c51 bool discardable; member
161 rx.discardable = true; in get_evt_hdr()
171 rx.discardable = true; in get_evt_hdr()
192 rx.discardable = false; in reset_rx()
201 return bt_buf_get_evt(rx.evt.evt, rx.discardable, timeout); in get_rx()
289 if (rx.discardable) { in read_payload()
Duserchan.c72 bool discardable = false; in get_rx() local
79 discardable = true; in get_rx()
83 return bt_buf_get_evt(buf[1], discardable, timeout); in get_rx()
Dspi.c290 bool discardable = false; in bt_spi_rx_thread() local
363 discardable = true; in bt_spi_rx_thread()
368 discardable, timeout); in bt_spi_rx_thread()
Dipm_stm32wb.c165 bool discardable = false; in bt_ipm_rx_thread() local
194 discardable = true; in bt_ipm_rx_thread()
200 discardable, timeout); in bt_ipm_rx_thread()
/Zephyr-Core-3.5.0/tests/bluetooth/host/buf/mocks/
Dbuf_help_utils.h21 bool discardable; /* Discardable flag */ member
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dbuf.c105 struct net_buf *bt_buf_get_evt(uint8_t evt, bool discardable, in bt_buf_get_evt() argument
127 if (discardable) { in bt_buf_get_evt()
Dhci_raw.c182 struct net_buf *bt_buf_get_evt(uint8_t evt, bool discardable, k_timeout_t timeout) in bt_buf_get_evt() argument
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dbuf.h154 struct net_buf *bt_buf_get_evt(uint8_t evt, bool discardable, k_timeout_t timeout);
/Zephyr-Core-3.5.0/subsys/bluetooth/common/
DKconfig137 int "Maximum supported discardable HCI Event buffer length"
146 Maximum support discardable HCI event size of buffers in the separate
147 discardable event buffer pool. This value does not include the
153 int "Number of discardable HCI Event buffers"
160 the HCI driver considers discardable. Examples of such events
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.0.rst423 * Switched to separate, dedicated pools for discardable events and number of
Drelease-notes-3.3.rst3337 * :github:`51650` - Bluetooth: Extended adv reports with legacy data should also be discardable