Searched refs:PAGE_LEN (Results 1 – 1 of 1) sorted by relevance
11 #define PAGE_LEN DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro89 if ((offset < 0) || (data_len % PAGE_LEN != 0) || (offset % PAGE_LEN != 0)) { in ifx_cat1_flash_write()104 data_ptr += PAGE_LEN; in ifx_cat1_flash_write()105 write_offset += PAGE_LEN; in ifx_cat1_flash_write()106 data_len -= PAGE_LEN; in ifx_cat1_flash_write()121 if ((offset < 0) || ((offset % PAGE_LEN) != 0)) { in ifx_cat1_flash_erase()125 if (((erase_offset + size) > config->max_addr) || ((size % PAGE_LEN) != 0)) { in ifx_cat1_flash_erase()136 size -= PAGE_LEN; in ifx_cat1_flash_erase()137 erase_offset += PAGE_LEN; in ifx_cat1_flash_erase()145 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / PAGE_LEN,[all …]