Searched refs:padding (Results 1 – 2 of 2) sorted by relevance
520 alt_u32 padding = 0; /** bytes to pad the next word that is written */ in alt_qspi_controller2_write_block() local546 padding = write_offset & (sizeof(alt_u32) - 1); in alt_qspi_controller2_write_block()552 bytes_to_copy -= padding; in alt_qspi_controller2_write_block()566 write_offset = write_offset - padding; 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()
295 alt_u32 padding = 0; /** bytes to pad the next word that is written */ in alt_epcq_controller_write_block() local308 padding = write_offset & (sizeof(alt_u32) - 1); in alt_epcq_controller_write_block()311 bytes_to_copy -= padding; in alt_epcq_controller_write_block()318 write_offset = write_offset - padding; 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()