Lines Matching full:pagesize
49 * The EEPROM size, pagesize and the flash partition used for the EEPROM are
748 #define ASSERT_SIZE_PAGESIZE_VALID(size, pagesize, readonly) \ argument
749 BUILD_ASSERT(readonly ? (size <= pagesize) : (4*size <= 3*pagesize), \
750 "EEPROM size to big for pagesize")
752 #define ASSERT_PAGESIZE_PARTSIZE_VALID(pagesize, partsize) \ argument
753 BUILD_ASSERT(partsize % pagesize == 0U, \
754 "Partition size not a multiple of pagesize")
756 #define ASSERT_PAGESIZE_SIZE(pagesize, partsize, onepage) \ argument
757 BUILD_ASSERT(onepage ? (partsize >= pagesize) : (partsize > pagesize),\
781 DT_INST_PROP(n, pagesize), EEPROM_EMU_ONEPAGE(n)); \
782 ASSERT_PAGESIZE_PARTSIZE_VALID(DT_INST_PROP(n, pagesize), \
784 ASSERT_PAGESIZE_SIZE(DT_INST_PROP(n, pagesize), \
793 .page_size = DT_INST_PROP(n, pagesize), \