Lines Matching refs:ADDR_SECT_SHIFT
79 if ((*cache_entry >> ADDR_SECT_SHIFT) == sector) { in nvs_lookup_cache_invalidate()
117 offset += fs->sector_size * (addr >> ADDR_SECT_SHIFT); in nvs_flash_al_wrt()
152 offset += fs->sector_size * (addr >> ADDR_SECT_SHIFT); in nvs_flash_rd()
339 offset += fs->sector_size * (addr >> ADDR_SECT_SHIFT); in nvs_flash_erase_sector()
345 nvs_lookup_cache_invalidate(fs, addr >> ADDR_SECT_SHIFT); in nvs_flash_erase_sector()
490 (*addr >> ADDR_SECT_SHIFT)); in nvs_recover_last_ate()
536 if (((*addr) >> ADDR_SECT_SHIFT) == 0U) { in nvs_prev_ate()
537 *addr += ((fs->sector_count - 1) << ADDR_SECT_SHIFT); in nvs_prev_ate()
539 *addr -= (1 << ADDR_SECT_SHIFT); in nvs_prev_ate()
574 *addr += (1 << ADDR_SECT_SHIFT); in nvs_sector_advance()
575 if ((*addr >> ADDR_SECT_SHIFT) == fs->sector_count) { in nvs_sector_advance()
576 *addr -= (fs->sector_count << ADDR_SECT_SHIFT); in nvs_sector_advance()
768 addr = (i << ADDR_SECT_SHIFT) + in nvs_startup()
795 addr = ((fs->sector_count - 1) << ADDR_SECT_SHIFT) + in nvs_startup()
993 addr = i << ADDR_SECT_SHIFT; in nvs_clear()
1055 (fs->ate_wra >> ADDR_SECT_SHIFT), in nvs_mount()
1058 (fs->data_wra >> ADDR_SECT_SHIFT), in nvs_mount()