Searched refs:ADDR_OFFS_MASK (Results 1 – 3 of 3) sorted by relevance
23 #define ADDR_OFFS_MASK GENMASK64(31, 0) macro25 #define SECTOR_OFFSET(x) FIELD_GET(ADDR_OFFS_MASK, x)
22 #define ADDR_OFFS_MASK 0x0000FFFF macro
118 offset += addr & ADDR_OFFS_MASK; in nvs_flash_al_wrt()153 offset += addr & ADDR_OFFS_MASK; in nvs_flash_rd()452 entry.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_flash_wrt_entry()531 if (((*addr) & ADDR_OFFS_MASK) != (fs->sector_size - ate_size)) { in nvs_prev_ate()592 close_ate.offset = (uint16_t)((fs->ate_wra + ate_size) & ADDR_OFFS_MASK); in nvs_sector_close()613 LOG_DBG("Adding gc done ate at %x", fs->ate_wra & ADDR_OFFS_MASK); in nvs_add_gc_done_ate()617 gc_done_ate.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_add_gc_done_ate()712 gc_ate.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_gc()890 while ((addr & ADDR_OFFS_MASK) < (fs->sector_size - ate_size)) { in nvs_startup()973 if ((!rc) && ((fs->ate_wra & ADDR_OFFS_MASK) == in nvs_startup()[all …]