Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 2 of 2) sorted by relevance

/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_generic_qspi_controller2/HAL/src/
Daltera_generic_quad_spi_controller2.c520 alt_u32 padding = 0; /** bytes to pad the next word that is written */ in alt_qspi_controller2_write_block() local
546 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()
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_epcq_controller/HAL/src/
Daltera_epcq_controller.c295 alt_u32 padding = 0; /** bytes to pad the next word that is written */ in alt_epcq_controller_write_block() local
308 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()