Lines Matching refs:sect_cnt
2072 flash_sect_t sect_cnt; in flash_get_size() local
2174 sect_cnt = 0; in flash_get_size()
2196 if (sect_cnt >= CONFIG_SYS_MAX_FLASH_SECT) { in flash_get_size()
2200 info->start[sect_cnt] = in flash_get_size()
2219 flash_write_cmd(info, sect_cnt, 0, in flash_get_size()
2221 info->protect[sect_cnt] = in flash_get_size()
2222 flash_isset(info, sect_cnt, in flash_get_size()
2225 flash_write_cmd(info, sect_cnt, 0, in flash_get_size()
2232 info->protect[sect_cnt] = 0; in flash_get_size()
2243 info->protect[sect_cnt] = in flash_get_size()
2245 info, sect_cnt, in flash_get_size()
2251 info->protect[sect_cnt] = 0; in flash_get_size()
2254 sect_cnt++; in flash_get_size()
2258 info->sector_count = sect_cnt; in flash_get_size()