Lines Matching refs:i
202 uint32_t i = 0; in flash_area_open() local
204 while(NULL != boot_area_descs[i]) in flash_area_open()
206 if(id == boot_area_descs[i]->fa_id) in flash_area_open()
208 *fa = boot_area_descs[i]; in flash_area_open()
212 i++; in flash_area_open()
291 for (uint32_t i = 0; i < row_number; i++) in flash_area_write() local
475 for (uint8_t i = 0; i < len; i++) { in flash_area_read_is_empty() local
476 if (mem_dest[i] != flash_area_erased_val(fa)) { in flash_area_read_is_empty()
487 uint32_t i = 0; in flash_area_get_sectors() local
490 while(NULL != boot_area_descs[i]) in flash_area_get_sectors()
492 if(idx == boot_area_descs[i]->fa_id) in flash_area_get_sectors()
494 fa = boot_area_descs[i]; in flash_area_get_sectors()
497 i++; in flash_area_get_sectors()
500 if(NULL != boot_area_descs[i]) in flash_area_get_sectors()
530 for(i = 0; i < sectors_n; i++) in flash_area_get_sectors()
532 ret[i].fs_size = sector_size ; in flash_area_get_sectors()
533 ret[i].fs_off = addr ; in flash_area_get_sectors()