Home
last modified time | relevance | path

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

/FileX-v6.2.1/test/regression_test/
Dfx_ram_driver_test.c213 UINT bytes_per_block; in _fx_ram_driver() local
385 bytes_per_block = media_ptr -> fx_media_bytes_per_sector * SECTORS_PER_BLOCK; in _fx_ram_driver()
403 …k_start < (UCHAR *) media_ptr -> fx_media_driver_info + media_size; block_start += bytes_per_block) in _fx_ram_driver()
407 if ((block_start <= data_start) && (block_start + bytes_per_block > data_start)) in _fx_ram_driver()
424 bytes_per_write = bytes_per_block - offset; in _fx_ram_driver()
434 if ((offset + remaining_bytes) < bytes_per_block) in _fx_ram_driver()
438 bytes_per_write -= (bytes_per_block - (offset + remaining_bytes)); in _fx_ram_driver()
442 _fx_utility_memory_copy(block_start, buffer, bytes_per_block); in _fx_ram_driver()
450 memset(block_start, 0, bytes_per_block); in _fx_ram_driver()
471 _fx_utility_memory_copy(buffer, block_start, bytes_per_block); in _fx_ram_driver()
[all …]