41 #ifndef __ALT_QSPI_H__
42 #define __ALT_QSPI_H__
336 #if defined (soc_a10)
345 ALT_STATUS_CODE alt_qspi_ecc_start(
void);
362 ALT_STATUS_CODE alt_qspi_ecc_get_correct_data(uint32_t address, uint32_t * data);
416 ALT_STATUS_CODE
alt_qspi_read(
void * dest, uint32_t src,
size_t size);
439 ALT_STATUS_CODE
alt_qspi_write(uint32_t dest,
const void * src,
size_t size);
1139 const size_t num_bytes);
1251 const size_t num_bytes);
1351 #define ALT_QSPI_SRAM_FIFO_SIZE (512)
1356 #define ALT_QSPI_SRAM_FIFO_ENTRY_COUNT (512 / sizeof(uint32_t))
1445 uint32_t * actual_address, uint32_t * actual_size);
1512 ALT_STATUS_CODE
alt_qspi_replace(uint32_t dst,
const void * src,
size_t size,
char *bank_buffer, uint32_t buffer_size);
1581 uint32_t * burst_type_sz);
1619 const uint32_t burst_type_sz);