Home
last modified time | relevance | path

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

/btstack/port/max32630-fthr/src/
H A Dbtstack_port.c70 static int bytes_to_write = 0; variable
106 bytes_to_write = len; in hal_uart_dma_send_block()
150 while (bytes_to_write) { in hal_btstack_run_loop_execute_once()
155 if (bytes_to_write > tx_avail) in hal_btstack_run_loop_execute_once()
158 tx_bytes = bytes_to_write; in hal_btstack_run_loop_execute_once()
163 bytes_to_write -= tx_bytes; in hal_btstack_run_loop_execute_once()
165 if (bytes_to_write < 0) { in hal_btstack_run_loop_execute_once()
166 bytes_to_write = 0; in hal_btstack_run_loop_execute_once()
169 if (bytes_to_write == 0){ in hal_btstack_run_loop_execute_once()
221 bytes_to_write = 0; in hal_uart_dma_init()
/btstack/port/archive/pic32-harmony/src/
H A Dbtstack_port.c121 static uint16_t bytes_to_write = 0; variable
136 bytes_to_write = 0; in hal_uart_dma_init()
203 bytes_to_write = size;} in hal_uart_dma_send_block()
271 while (bytes_to_write && !PLIB_USART_TransmitterBufferIsFull(BT_USART_ID)){ in BTSTACK_Tasks()
273 bytes_to_write--; in BTSTACK_Tasks()
274 if (bytes_to_write == 0){ in BTSTACK_Tasks()
/btstack/port/archive/msp-exp430f5438-cc2564b/src/
H A Dhal_uart_dma.c72 static uint16_t bytes_to_write = 0; variable
255 bytes_to_write = len; in hal_uart_dma_send_block()
328 if (bytes_to_write == 0){ in usbRxTxISR()
334 --bytes_to_write; in usbRxTxISR()
336 if (bytes_to_write > 0) { in usbRxTxISR()
/btstack/port/archive/ez430-rf2560/src/
H A Dhal_uart_dma.c72 static uint16_t bytes_to_write = 0; variable
255 bytes_to_write = len; in hal_uart_dma_send_block()
328 if (bytes_to_write == 0){ in usbRxTxISR()
334 --bytes_to_write; in usbRxTxISR()
336 if (bytes_to_write > 0) { in usbRxTxISR()
/btstack/port/archive/msp430f5229lp-cc2564b/src/
H A Dhal_uart_dma.c88 static uint16_t bytes_to_write = 0; variable
268 bytes_to_write = len; in hal_uart_dma_send_block()
341 if (bytes_to_write == 0){ in usbRxTxISR()
347 --bytes_to_write; in usbRxTxISR()
349 if (bytes_to_write > 0) { in usbRxTxISR()
/btstack/port/arduino/
H A Dbsp_arduino_em9301.cpp53 static uint16_t bytes_to_write = 0; variable
146 if (!bytes_to_write) return; in bt_try_send()
159 while (bytes_to_write){ in bt_try_send()
163 bytes_to_write--; in bt_try_send()
245 bytes_to_write = length; in hal_uart_dma_send_block()
/btstack/chipset/atwilc3000/
H A Dbtstack_chipset_atwilc3000.c197 uint16_t bytes_to_write = btstack_min((fw_size - fw_offset), FIRMWARE_CHUNK_SIZE); in atwilc3000_write_memory() local
204 little_endian_store_32(command_buffer, 8, bytes_to_write); in atwilc3000_write_memory()
216 uint16_t bytes_to_write = btstack_min((fw_size - fw_offset), FIRMWARE_CHUNK_SIZE); in atwilc3000_write_firmware() local
219 fw_offset += bytes_to_write; in atwilc3000_write_firmware()
222 the_uart_driver->send_block(&fw_data[offset], bytes_to_write); in atwilc3000_write_firmware()
/btstack/port/samv71-xplained-atwilc3000/
H A Dmain.c172 static volatile uint16_t bytes_to_write = 0; variable
387 if (bytes_to_write){ in hal_uart_dma_send_block()
388 log_error("send block, bytes to write %u", bytes_to_write); in hal_uart_dma_send_block()
392 bytes_to_write = size; in hal_uart_dma_send_block()
452 if (bytes_to_write){ in USART_Handler()
456 bytes_to_write--; in USART_Handler()
/btstack/platform/posix/
H A Dbtstack_sco_transport_posix_i2s_test_bridge.c90 ssize_t bytes_to_write = BRIDGE_BLOCK_SIZE_BYTES - sco_tx_packet_pos; in posix_i2s_test_bridge_process_write() local
91 ssize_t bytes_written = write(ds->source.fd, &sco_tx_packet[sco_tx_packet_pos], bytes_to_write); in posix_i2s_test_bridge_process_write()
/btstack/platform/embedded/
H A Dbtstack_tlv_flash_bank.c379 … uint32_t bytes_to_write = btstack_min(entry_size - entry_offset, sizeof(zero_buffer)); in btstack_tlv_flash_bank_delete_tag_until_offset() local
380 …_flash_bank_write(self, self->current_bank, it.offset + entry_offset, zero_buffer, bytes_to_write); in btstack_tlv_flash_bank_delete_tag_until_offset()
381 entry_offset += bytes_to_write; in btstack_tlv_flash_bank_delete_tag_until_offset()
/btstack/port/msp432p401lp-cc256x/
H A Dmain.c212 static uint16_t bytes_to_write = 0; variable