Searched refs:media_ptr (Results 1 – 4 of 4) sorted by relevance
58 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() argument204 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 …]
65 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() argument213 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 …]
20 VOID _fx_nand_flash_simulator_driver(FX_MEDIA *media_ptr);
19 VOID _fx_nor_flash_simulator_driver(FX_MEDIA *media_ptr);