Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus.c251 uint32_t fw_b2h_buf_count; in cybt_hci_read() local
266 fw_b2h_buf_count = CIRC_BUF_CNT(fw_membuf_info.bt2host_in_val, in cybt_hci_read()
269 fw_membuf_info.bt2host_in_val, fw_membuf_info.bt2host_out_val, fw_b2h_buf_count); in cybt_hci_read()
270 if (fw_b2h_buf_count < available) { in cybt_hci_read()
271 …intf("error: cybt_hci_read buffer overflow fw_b2h_buf_count=%ld available=%lu\n", fw_b2h_buf_count, in cybt_hci_read()
279 if (fw_b2h_buf_count == 0) { in cybt_hci_read()
282 if (read_len > fw_b2h_buf_count) { in cybt_hci_read()
283 read_len = fw_b2h_buf_count; in cybt_hci_read()
308 … available = fw_b2h_buf_count - read_len; // remember amount available to check for buffer overflow in cybt_hci_read()