Searched refs:PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | soc_flash_b91.c | 19 #define BLOCK_64K_PAGES (BLOCK_64K_SIZE / PAGE_SIZE) 21 #define BLOCK_32K_PAGES (BLOCK_32K_SIZE / PAGE_SIZE) 23 #define SECTOR_PAGES (SECTOR_SIZE / PAGE_SIZE) 67 int page_nums = len / PAGE_SIZE; in flash_b91_erase() 81 if (((offset % PAGE_SIZE) != 0) || ((len % PAGE_SIZE) != 0)) { in flash_b91_erase() 111 offset += PAGE_SIZE; in flash_b91_erase() 208 .pages_count = FLASH_SIZE / PAGE_SIZE, 209 .pages_size = PAGE_SIZE,
|
D | flash_rpi_pico.c | 30 #define PAGE_SIZE 256 macro 64 static uint8_t flash_ram_buffer[PAGE_SIZE]; 229 if ((offset & (PAGE_SIZE - 1)) > 0) { in flash_rpi_write() 230 bytes_to_write = MIN(PAGE_SIZE - (offset & (PAGE_SIZE - 1)), size); in flash_rpi_write() 238 while (size >= PAGE_SIZE) { in flash_rpi_write() 239 bytes_to_write = PAGE_SIZE; in flash_rpi_write()
|
D | soc_flash_nrf_rram.c | 51 #define PAGE_SIZE DT_PROP(RRAM, erase_block_size) macro 52 #define PAGE_COUNT ((RRAM_SIZE) / (PAGE_SIZE)) 73 BUILD_ASSERT((PAGE_SIZE % (WRITE_LINE_SIZE) == 0), "erase-block-size must be a multiple of 16"); 81 BUILD_ASSERT((PAGE_SIZE % (WRITE_LINE_SIZE) == 0), 337 .pages_size = PAGE_SIZE, in nrf_rram_page_layout()
|
/Zephyr-latest/soc/intel/intel_ish/utils/ |
D | build_ish_firmware.py | 20 PAGE_SIZE = 0x1000 variable 54 return int(size / PAGE_SIZE) + (size % PAGE_SIZE > 0) 76 (HEADER_SIZE + kern_rdup_pg_size * PAGE_SIZE - 92 f.write(b'\x00' * (kern_rdup_pg_size * PAGE_SIZE - kernel_size)) 99 f.write(b'\x00' * (aon_rdup_pg_size * PAGE_SIZE - aon_size))
|
/Zephyr-latest/tests/posix/shm/src/ |
D | main.c | 167 zassert_not_ok(mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in ZTEST() 170 zassert_ok(ftruncate(fd[0], PAGE_SIZE)); in ZTEST() 173 addr[i] = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd[i], 0); in ZTEST() 177 memset(addr[0], i & 0xff, PAGE_SIZE); in ZTEST() 179 zassert_mem_equal(addr[i], addr[i - 1], PAGE_SIZE); in ZTEST() 188 zassert_ok(munmap(addr[i - 1], PAGE_SIZE)); in ZTEST()
|
/Zephyr-latest/include/zephyr/posix/ |
D | posix_features.h | 320 #define PAGE_SIZE CONFIG_POSIX_PAGE_SIZE macro 321 #define PAGESIZE PAGE_SIZE
|
/Zephyr-latest/lib/posix/options/ |
D | mmap.c | 18 #define _page_size COND_CODE_1(CONFIG_MMU, (CONFIG_MMU_PAGE_SIZE), (PAGE_SIZE))
|
D | shm.c | 23 #define _page_size COND_CODE_1(CONFIG_MMU, (CONFIG_MMU_PAGE_SIZE), (PAGE_SIZE))
|
/Zephyr-latest/include/zephyr/posix/sys/ |
D | sysconf.h | 280 #define __z_posix_sysconf_SC_PAGE_SIZE PAGE_SIZE
|
/Zephyr-latest/doc/project/ |
D | dev_env_and_tools.rst | 232 static uint8_t __aligned(PAGE_SIZE) page_pool[PAGE_SIZE * POOL_PAGES]; 237 that would be correct as ``PAGE_SIZE *POOL_PAGES`` while the second
|