Searched refs:bytes_to_copy (Results 1 – 2 of 2) sorted by relevance
522 alt_u32 bytes_to_copy = sizeof(alt_u32); /** number of bytes from source to copy */ in alt_qspi_controller2_write_block() local552 bytes_to_copy -= padding; in alt_qspi_controller2_write_block()556 if(bytes_to_copy > remaining_length) in alt_qspi_controller2_write_block()560 bytes_to_copy = remaining_length; in alt_qspi_controller2_write_block()582 if(bytes_to_copy > remaining_length) in alt_qspi_controller2_write_block()586 bytes_to_copy = remaining_length; in alt_qspi_controller2_write_block()596 memcpy((((void*)&word_to_write)) + padding, ((void*)data) + buffer_offset, bytes_to_copy); in alt_qspi_controller2_write_block()602 buffer_offset += bytes_to_copy; in alt_qspi_controller2_write_block()604 remaining_length -= bytes_to_copy; in alt_qspi_controller2_write_block()
296 alt_u32 bytes_to_copy = sizeof(alt_u32); /** number of bytes from source to copy */ in alt_epcq_controller_write_block() local311 bytes_to_copy -= padding; in alt_epcq_controller_write_block()313 if(bytes_to_copy > remaining_length) in alt_epcq_controller_write_block()315 bytes_to_copy = remaining_length; in alt_epcq_controller_write_block()326 if(bytes_to_copy > remaining_length) in alt_epcq_controller_write_block()328 bytes_to_copy = remaining_length; in alt_epcq_controller_write_block()333 memcpy((((void*)&word_to_write)) + padding, ((void*)data) + buffer_offset, bytes_to_copy); in alt_epcq_controller_write_block()336 buffer_offset += bytes_to_copy; in alt_epcq_controller_write_block()337 remaining_length -= bytes_to_copy; in alt_epcq_controller_write_block()