Home
last modified time | relevance | path

Searched refs:media_ptr (Results 1 – 4 of 4) sorted by relevance

/LevelX-v6.4.1/common/src/
Dfx_nor_flash_simulator_driver.c58 VOID _fx_nor_flash_simulator_driver(FX_MEDIA *media_ptr);
123 VOID _fx_nor_flash_simulator_driver(FX_MEDIA *media_ptr) in _fx_nor_flash_simulator_driver() argument
204 switch(media_ptr -> fx_media_driver_request) in _fx_nor_flash_simulator_driver()
211 logical_sector = media_ptr -> fx_media_driver_logical_sector; in _fx_nor_flash_simulator_driver()
212 destination_buffer = (UCHAR *) media_ptr -> fx_media_driver_buffer; in _fx_nor_flash_simulator_driver()
215 for (i = 0; i < media_ptr -> fx_media_driver_sectors; i++) in _fx_nor_flash_simulator_driver()
226 media_ptr -> fx_media_driver_status = FX_IO_ERROR; in _fx_nor_flash_simulator_driver()
233 destination_buffer = destination_buffer + media_ptr -> fx_media_bytes_per_sector; in _fx_nor_flash_simulator_driver()
237 media_ptr -> fx_media_driver_status = FX_SUCCESS; in _fx_nor_flash_simulator_driver()
245 logical_sector = media_ptr -> fx_media_driver_logical_sector; in _fx_nor_flash_simulator_driver()
[all …]
Dfx_nand_flash_simulated_driver.c65 VOID _fx_nand_flash_simulator_driver(FX_MEDIA *media_ptr);
133 VOID _fx_nand_flash_simulator_driver(FX_MEDIA *media_ptr) in _fx_nand_flash_simulator_driver() argument
213 switch(media_ptr -> fx_media_driver_request) in _fx_nand_flash_simulator_driver()
220 logical_sector = media_ptr -> fx_media_driver_logical_sector; in _fx_nand_flash_simulator_driver()
221 count = media_ptr -> fx_media_driver_sectors; in _fx_nand_flash_simulator_driver()
222 buffer = (UCHAR *) media_ptr -> fx_media_driver_buffer; in _fx_nand_flash_simulator_driver()
234 media_ptr -> fx_media_driver_status = FX_IO_ERROR; in _fx_nand_flash_simulator_driver()
242 buffer += media_ptr -> fx_media_bytes_per_sector; in _fx_nand_flash_simulator_driver()
245 media_ptr -> fx_media_driver_status = FX_SUCCESS; in _fx_nand_flash_simulator_driver()
253 logical_sector = media_ptr -> fx_media_driver_logical_sector; in _fx_nand_flash_simulator_driver()
[all …]
/LevelX-v6.4.1/samples/
Ddemo_filex_nand_flash.c20 VOID _fx_nand_flash_simulator_driver(FX_MEDIA *media_ptr);
Ddemo_filex_nor_flash.c19 VOID _fx_nor_flash_simulator_driver(FX_MEDIA *media_ptr);