Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus.c212 …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()
242 const uint32_t new_h2b_in_val = fw_membuf_info.host2bt_in_val & (BTSDIO_FWBUF_SIZE - 1); in cybt_hci_write_buf()
Dcybt_shared_bus_driver.c492 cybt_reg_read(H2B_BUF_IN_ADDR, &buf_index.host2bt_in_val); in cybt_debug_dump()
493 …f("H2B_BUF_IN_ADDR: 0x%08lx = 0x%08lx (last 0x%08lx)\n", H2B_BUF_IN_ADDR, buf_index.host2bt_in_val, in cybt_debug_dump()
494 last_buf_index.host2bt_in_val); in cybt_debug_dump()
522 p_buf_index->host2bt_in_val = buf[0]; in cybt_get_bt_buf_index()
528 p_buf_index->host2bt_in_val, in cybt_get_bt_buf_index()
534 …if (p_buf_index->host2bt_in_val >= BTSDIO_FWBUF_SIZE || p_buf_index->host2bt_out_val >= BTSDIO_FWB… in cybt_get_bt_buf_index()
543 assert(p_buf_index->host2bt_in_val < BTSDIO_FWBUF_SIZE); in cybt_get_bt_buf_index()
Dcybt_shared_bus_driver.h53 uint32_t host2bt_in_val; member