/hal_altera-3.6.0-3.5.0-3.4.0/altera_hal/HAL/inc/sys/ |
D | alt_flash.h | 92 int offset, in alt_write_flash() argument 96 return fd->write( fd, offset, src_addr, length ); in alt_write_flash() 107 alt_flash_fd* fd, int offset, in alt_read_flash() argument 110 return fd->read( fd, offset, dest_addr, length ); in alt_read_flash() 133 alt_flash_fd* fd, int offset, int length) in alt_erase_flash_block() argument 136 ret_code = fd->erase_block( fd, offset ); in alt_erase_flash_block()
|
D | alt_flash_dev.h | 67 typedef int (*alt_flash_write)( alt_flash_dev* flash, int offset, 75 typedef int (*alt_flash_erase_block)( alt_flash_dev* flash, int offset); 76 typedef int (*alt_flash_read)(alt_flash_dev* flash, int offset,
|
D | alt_flash_types.h | 56 int offset; member
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_generic_qspi_controller2/HAL/src/ |
D | altera_generic_quad_spi_controller2.c | 42 …validate_read_write_arguments(alt_qspi_controller2_dev *flash_info,alt_u32 offset, alt_u32 length); 694 int offset, /** offset of write from base address */ in alt_qspi_controller2_write() argument 712 alt_u32 write_offset = offset; /** address of next byte to write */ in alt_qspi_controller2_write() 740 ret_code = alt_qspi_validate_read_write_arguments(qspi_flash_info, offset, length); in alt_qspi_controller2_write() 762 for(i = offset/qspi_flash_info->sector_size ; i < qspi_flash_info->number_of_sectors; i++) in alt_qspi_controller2_write() 902 int offset, /** offset of read from base address */ in alt_qspi_controller2_read() argument 936 ret_code = alt_qspi_validate_read_write_arguments(qspi_flash_info, offset, length); in alt_qspi_controller2_read() 946 memcpy(dest_addr, (alt_u8*)qspi_flash_info->data_base + offset, length); in alt_qspi_controller2_read() 1264 flash->dev.region_info[0].offset = 0; in altera_qspi_controller2_init() 1342 alt_u32 offset, /** offset of read/write */ in alt_qspi_validate_read_write_arguments() argument [all …]
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_epcq_controller/HAL/src/ |
D | altera_epcq_controller.c | 42 …_validate_read_write_arguments(alt_epcq_controller_dev *flash_info,alt_u32 offset, alt_u32 length); 382 int offset, /** offset of write from base address */ in alt_epcq_controller_write() argument 391 alt_u32 write_offset = offset; /** address of next byte to write */ in alt_epcq_controller_write() 405 ret_code = alt_epcq_validate_read_write_arguments(epcq_flash_info, offset, length); in alt_epcq_controller_write() 416 for(i = offset/epcq_flash_info->sector_size ; i < epcq_flash_info->number_of_sectors; i++) in alt_epcq_controller_write() 486 int offset, /** offset of read from base address */ in alt_epcq_controller_read() argument 503 ret_code = alt_epcq_validate_read_write_arguments(epcq_flash_info, offset, length); in alt_epcq_controller_read() 508 memcpy(dest_addr, (alt_u8*)epcq_flash_info->data_base + offset, length); in alt_epcq_controller_read() 667 flash->dev.region_info[0].offset = 0; in altera_epcq_controller_init() 706 alt_u32 offset, /** offset of read/write */ in alt_epcq_validate_read_write_arguments() argument [all …]
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_generic_qspi_controller2/HAL/inc/ |
D | altera_generic_quad_spi_controller2.h | 101 int alt_qspi_controller2_read(alt_flash_dev *flash_info, int offset, void *dest_addr, int length); 109 int alt_qspi_controller2_write(alt_flash_dev *flash_info, int offset, const void *src_addr, int len…
|
/hal_altera-3.6.0-3.5.0-3.4.0/drivers/altera_epcq_controller/HAL/inc/ |
D | altera_epcq_controller.h | 95 int alt_epcq_controller_read(alt_flash_dev *flash_info, int offset, void *dest_addr, int length); 103 int alt_epcq_controller_write(alt_flash_dev *flash_info, int offset, const void *src_addr, int leng…
|