Home
last modified time | relevance | path

Searched refs:SECTOR_SIZE (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/subsys/fs/fcb/src/
Dmain.c24 #define SECTOR_SIZE 0x20000 /* 128K */ macro
26 #define SECTOR_SIZE 0x4000 /* 16K */ macro
36 .fs_size = SECTOR_SIZE
39 .fs_off = SECTOR_SIZE,
40 .fs_size = SECTOR_SIZE
43 .fs_off = 2 * SECTOR_SIZE,
44 .fs_size = SECTOR_SIZE
47 .fs_off = 3 * SECTOR_SIZE,
48 .fs_size = SECTOR_SIZE
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c26 #define SECTOR_SIZE 512 macro
37 #define BUF_SIZE (SECTOR_SIZE * SEQ_BLOCK_COUNT)
79 zassert_true(cmd_buf == SECTOR_SIZE, in test_setup()
128 ((SECTOR_SIZE * (NSEC_PER_SEC / time_ns))) / 1024); in ZTEST()
154 sys_rand_get(test_buf, num_blocks * SECTOR_SIZE); in write_helper()
191 ((SECTOR_SIZE * (NSEC_PER_SEC / time_ns))) / 1024); in ZTEST()
262 rc = disk_access_read(disk_pdrv, &backup_buf[i * SECTOR_SIZE], in ZTEST()
280 rc = disk_access_write(disk_pdrv, &test_buf[i * SECTOR_SIZE], in ZTEST()
297 disk_access_write(disk_pdrv, &backup_buf[i * SECTOR_SIZE], in ZTEST()
/Zephyr-latest/drivers/flash/
Dsoc_flash_b91.c22 #define SECTOR_SIZE (0x1000u) macro
23 #define SECTOR_PAGES (SECTOR_SIZE / PAGE_SIZE)
102 } else if ((page_nums >= SECTOR_PAGES) && ((offset % SECTOR_SIZE) == 0)) { in flash_b91_erase()
106 offset += SECTOR_SIZE; in flash_b91_erase()
Dflash_rpi_pico.c31 #define SECTOR_SIZE DT_PROP(DT_CHOSEN(zephyr_flash), erase_block_size) macro
271 if ((offset % SECTOR_SIZE) || (size % SECTOR_SIZE)) { in flash_rpi_erase()
296 .pages_count = FLASH_SIZE / SECTOR_SIZE,
297 .pages_size = SECTOR_SIZE,
/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c47 #define SECTOR_SIZE 512 macro
62 static uint8_t scratch_buf[2][SECTOR_COUNT4 * SECTOR_SIZE + 4];
128 zassert_true(cmd_buf <= SECTOR_SIZE, in test_setup()
/Zephyr-latest/tests/subsys/sd/mmc/src/
Dmain.c14 #define SECTOR_SIZE 512 /* subsystem should set all cards to 512 byte blocks */ macro
15 #define BUF_SIZE (SECTOR_SIZE * SECTOR_COUNT)
/Zephyr-latest/tests/subsys/sd/sdmmc/src/
Dmain.c15 #define SECTOR_SIZE 512 /* subsystem should set all cards to 512 byte blocks */ macro
16 #define BUF_SIZE SECTOR_SIZE * SECTOR_COUNT
/Zephyr-latest/tests/drivers/disk/disk_access/
DREADME.txt12 the value of SECTOR_SIZE must be increased)
/Zephyr-latest/doc/services/storage/nvs/
Dnvs.rst101 - ``SECTOR_SIZE`` in bytes, and
106 SECTOR_COUNT * SECTOR_SIZE * PAGE_ERASES / (NS * (DS+8)) minutes
109 short: increase ``SECTOR_COUNT`` or ``SECTOR_SIZE``.
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst257 ``SECTOR_SIZE:`` Size of the sector