Searched refs:ADDR_SECT_MASK (Results 1 – 6 of 6) sorted by relevance
21 #define ADDR_SECT_MASK GENMASK64(63, 32) macro24 #define SECTOR_NUM(x) FIELD_GET(ADDR_SECT_MASK, x)
143 return (addr & ADDR_SECT_MASK) + fs->sector_size - fs->ate_size; in zms_empty_ate_addr()149 return (addr & ADDR_SECT_MASK) + fs->sector_size - 2 * fs->ate_size; in zms_close_ate_addr()342 addr &= ADDR_SECT_MASK; in zms_flash_erase_sector()566 data_end_addr = *addr & ADDR_SECT_MASK; in zms_recover_last_ate()577 data_end_addr &= ADDR_SECT_MASK; in zms_recover_last_ate()623 (*addr) &= ADDR_SECT_MASK; in zms_compute_prev_addr()704 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in zms_sector_close()732 addr &= ADDR_SECT_MASK; in zms_add_empty_ate()916 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in zms_gc()939 gc_addr &= ADDR_SECT_MASK; in zms_gc()[all …]
336 addr &= ADDR_SECT_MASK; in nvs_flash_erase_sector()496 data_end_addr = *addr & ADDR_SECT_MASK; in nvs_recover_last_ate()504 data_end_addr &= ADDR_SECT_MASK; in nvs_recover_last_ate()557 (*addr) &= ADDR_SECT_MASK; in nvs_prev_ate()595 fs->ate_wra &= ADDR_SECT_MASK; in nvs_sector_close()604 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in nvs_sector_close()637 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in nvs_gc()656 gc_addr &= ADDR_SECT_MASK; in nvs_gc()709 data_addr = (gc_prev_addr & ADDR_SECT_MASK); in nvs_gc()831 fs->data_wra = addr & ADDR_SECT_MASK; in nvs_startup()[all …]
20 #define ADDR_SECT_MASK 0xFFFF0000 macro
693 uint64_t mask = compare_sector_only ? ADDR_SECT_MASK : UINT64_MAX; in num_matching_cache_entries()
762 uint32_t mask = compare_sector_only ? ADDR_SECT_MASK : UINT32_MAX; in num_matching_cache_entries()