Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus.c201 cybt_fw_membuf_index_t fw_membuf_info = {0}; in cybt_hci_write_buf() local
211 cybt_get_bt_buf_index(&fw_membuf_info); in cybt_hci_write_buf()
212 …uint32_t buf_space = CIRC_BUF_SPACE(fw_membuf_info.host2bt_in_val, fw_membuf_info.host2bt_out_val); in cybt_hci_write_buf()
218 if (fw_membuf_info.host2bt_in_val + length <= BTSDIO_FWBUF_SIZE) { in cybt_hci_write_buf()
221 cybt_mem_write_idx(H2B_BUF_ADDR_IDX, fw_membuf_info.host2bt_in_val, p_data, length); in cybt_hci_write_buf()
222 fw_membuf_info.host2bt_in_val += length; in cybt_hci_write_buf()
225 uint32_t first_write_len = BTSDIO_FWBUF_SIZE - fw_membuf_info.host2bt_in_val; in cybt_hci_write_buf()
227 … cybt_mem_write_idx(H2B_BUF_ADDR_IDX, fw_membuf_info.host2bt_in_val, p_data, first_write_len); in cybt_hci_write_buf()
228 fw_membuf_info.host2bt_in_val += first_write_len; in cybt_hci_write_buf()
237 fw_membuf_info.host2bt_in_val += second_write_len; in cybt_hci_write_buf()
[all …]