Searched refs:chunkSize (Results 1 – 1 of 1) sorted by relevance
1806 … size_t chunkSize = (remaining_length < FLASH_SECTOR_SIZE) ? remaining_length : FLASH_SECTOR_SIZE; in sl_si91x_command_to_write_common_flash() local1812 ta_to_m4_request.input_buffer_length = (uint16_t)chunkSize; in sl_si91x_command_to_write_common_flash()1827 write_address += chunkSize; in sl_si91x_command_to_write_common_flash()1830 remaining_length -= chunkSize; in sl_si91x_command_to_write_common_flash()1840 size_t chunkSize = (write_data_length < MAX_CHUNK_SIZE) ? write_data_length : MAX_CHUNK_SIZE; in sl_si91x_command_to_write_common_flash() local1846 ta_to_m4_request.input_buffer_length = (uint16_t)chunkSize; in sl_si91x_command_to_write_common_flash()1850 memcpy(&ta_to_m4_request.input_data, write_data, chunkSize); in sl_si91x_command_to_write_common_flash()1853 send_size = sizeof(sl_si91x_request_ta2m4_t) - MAX_CHUNK_SIZE + chunkSize; in sl_si91x_command_to_write_common_flash()1864 write_address += chunkSize; in sl_si91x_command_to_write_common_flash()1865 write_data += chunkSize; in sl_si91x_command_to_write_common_flash()[all …]