Home
last modified time | relevance | path

Searched full:sectors (Results 1 – 25 of 119) sorted by relevance

12345

/Zephyr-latest/tests/drivers/disk/disk_access/
DREADME.txt14 * Read test: Verifies that the driver can consistently read sectors. This test
15 starts by reading sectors from a variety of start locations. Each location is
16 read from several times, each time with a different number of desired sectors.
17 The test deliberately will read sectors beyond the end of the disk, and if
22 * Write test: Verifies that the driver can consistently write sectors. This test
25 of various length to various sectors (once again, the driver must reject
/Zephyr-latest/tests/drivers/disk/disk_performance/
DREADME.txt12 sector, than over multiple sequential sectors.
18 one sector, than over multiple sequential sectors.
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h52 * Each partition contains one or more flash sectors.
242 * Retrieve info about sectors within the area.
245 * @param[in,out] count On input Capacity of @p sectors, on output number of
246 * sectors Retrieved.
247 * @param[out] sectors buffer for sectors data
254 struct flash_sector *sectors);
257 * Retrieve info about sectors within the area.
260 * @param[in,out] count On input Capacity of @p sectors, on output number of
261 * sectors retrieved.
262 * @param[out] sectors buffer for sectors data
[all …]
Ddisk_access.h78 * @param[in] num_sector Number of disk sectors to read
96 * @param[in] num_sector Number of disk sectors to write
/Zephyr-latest/boards/st/nucleo_f767zi/
Dnucleo_f767zi.dts210 * The two sectors 0-1 (32+32 kbytes) are reserved for
222 * This represents sectors 2-3 (32+32 kbytes)
234 * Allocated 3 (256k x 3) sectors for image-0. Sectors 5-7.
242 * Allocated 3 (256k x 3) sectors for image-1. Sectors 8-10.
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst12 ZMS divides the memory space into sectors (minimum 2), and each sector is filled with key-value
35 A sector is organized in this form (example with 3 sectors):
114 /** Storage system is split into sectors, each sector size must be multiple of
118 /** Number of sectors in the file system */
137 To avoid rewriting the same data with the same ID again, it must look in all the sectors if the
156 However, this operation is very time consuming and needs to browse all valid ATEs in all sectors
174 Closing sectors
234 So, if we suppose that 4 sectors exist in a partition, ZMS will only use 3 sectors to store
236 The empty sector will rotate between the 4 sectors in the partition.
255 ``NUM_SECTOR:`` Total number of sectors
[all …]
/Zephyr-latest/doc/services/storage/nvs/
Dnvs.rst7 FIFO-managed circular buffer. The flash area is divided into sectors. Elements
10 sector it is checked that identifier - data pairs exist in the sectors in use,
67 - ``NVS_SECTOR_COUNT`` is the number of sectors, it is at least 2, one
86 equal to the pagesize (1024 bytes) and 2 sectors have been defined.
92 only two sectors, the first sector will be used for storage and will be erased
94 writes, with two sectors writing every 171 minutes, the device should last
/Zephyr-latest/include/zephyr/drivers/flash/
Dstm32_flash_api_extensions.h17 * first mask is used to enable protection on sectors, while second mask
23 * Input can be NULL if we only want to get protected sectors.
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c70 TC_PRINT("Disk reports %u sectors\n", cmd_buf); in test_setup()
133 TC_PRINT("Average read speed over %d sectors: %"PRIu64" KiB/s\n", in ZTEST()
196 TC_PRINT("Average write speed over %d sectors: %"PRIu64" KiB/s\n", in ZTEST()
212 /* Build list of sectors to read from. */ in ZTEST()
256 /* Build list of sectors to read from. */ in ZTEST()
295 /* Restore backed up sectors */ in ZTEST()
/Zephyr-latest/samples/subsys/nvs/boards/
Dnucleo_f429zi.overlay9 /* Set 48KB of storage at the beginning of bank2 in order to have 3 sectors smaller than 32K
/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c117 TC_PRINT("Disk reports %u sectors\n", cmd_buf); in test_setup()
132 /* Reads sectors, verifying overflow does not occur */
146 /* Tests reading from a variety of sectors */
151 TC_PRINT("Testing reads of %u sectors\n", num_sectors); in test_sector_read()
202 /* Tests writing to a variety of sectors
209 TC_PRINT("Testing writes of %u sectors\n", num_sectors); in test_sector_write()
/Zephyr-latest/samples/subsys/fs/fs_sample/boards/
Dnrf52840dk_nrf52840_ram_disk.overlay15 /* Disk size is 64kB, 128 sectors of 512B, the minimal
/Zephyr-latest/drivers/flash/
Dflash_stm32f7x.c214 * manuals, but the flash layout for a given number of sectors is
215 * consistent across these manuals. The number of sectors is given
219 * In case of 8 sectors and 24 sectors we need to differentiate
221 * In case of 24 sectors we need to check if the SoC is running
Dflash_stm32f2x.c170 * The flash memory in stm32f2 series has bank 1 only with 12 sectors,
171 * they are split as 4 sectors of 16 Kbytes, 1 sector of 64 Kbytes,
172 * and 7 sectors of 128 Kbytes.
Dflash_stm32f4x.c323 * sectors is consistent across these manuals, with one "gotcha". The
324 * number of sectors is given by the HAL as FLASH_SECTOR_TOTAL.
326 * The only "gotcha" is that when there are 24 sectors, they are split
327 * across 2 "banks" of 12 sectors each, with another set of small
328 * sectors (16 KB) in the second bank occurring after the large ones
/Zephyr-latest/tests/subsys/fs/fcb/src/
Dmain.c29 /* Sectors for FCB are defined far from application code
115 void fcb_tc_pretest(int sectors, struct fcb *_fcb) in fcb_tc_pretest() argument
121 _fcb->f_sector_cnt = sectors; in fcb_tc_pretest()
/Zephyr-latest/dts/bindings/mtd/
Datmel,at45.yaml30 Most available AT45 flash chips have their first two sectors shorter
36 Value of zero means that the flash chip has all sectors of equal size.
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc_scsi.c713 uint32_t sectors; in fill_read_10() local
715 sectors = MIN(CONFIG_USBD_MSC_SCSI_BUFFER_SIZE, ctx->remaining_data) / ctx->sector_size; in fill_read_10()
716 if (disk_access_read(ctx->disk, buf, ctx->lba, sectors) != 0) { in fill_read_10()
718 sectors = 0; in fill_read_10()
720 ctx->lba += sectors; in fill_read_10()
721 return sectors * ctx->sector_size; in fill_read_10()
749 uint32_t sectors; in store_write_10() local
753 sectors = MIN(length, ctx->remaining_data) / ctx->sector_size; in store_write_10()
754 if (disk_access_write(ctx->disk, buf, ctx->lba, sectors) != 0) { in store_write_10()
756 sectors = 0; in store_write_10()
[all …]
/Zephyr-latest/samples/drivers/spi_flash/src/
Dmain.c18 /* The FPGA bitstream is stored in the lower 536 sectors of the flash. */
130 printf("\nPerform test on multiple consecutive sectors"); in multi_sector_test()
141 * Erase 2 sectors for check for erase of consequtive sectors in multi_sector_test()
/Zephyr-latest/dts/bindings/disk/
Dzephyr,ram-disk.yaml28 Number of sectors.
/Zephyr-latest/boards/seagate/legend/
Dlegend.dts104 * Erase size : whole chip, 64 and 32 KB blocks, 4 KB sectors,
116 * Erase size : whole chip, 64 and 32 KB blocks, 4 KB sectors
127 * Erase size : whole chip, 64 and 32 KB blocks, 4 KB sectors
/Zephyr-latest/samples/subsys/fs/zms/
DREADME.rst54 [00:00:00.000,000] <inf> fs_zms: 3 Sectors of 4096 bytes
62 [00:00:00.000,000] <inf> fs_zms: 3 Sectors of 4096 bytes
81 [00:00:00.000,000] <inf> fs_zms: 3 Sectors of 4096 bytes
/Zephyr-latest/samples/drivers/mspi/mspi_flash/src/
Dmain.c89 printf("\nPerform test on multiple consequtive sectors"); in multi_sector_test()
100 * Erase 2 sectors for check for erase of consequtive sectors in multi_sector_test()
/Zephyr-latest/boards/st/nucleo_f410rb/
Dnucleo_f410rb.dts136 * The flash sectors 2&3 at 0x00008000 and ending at
144 * The flash sectors 4 at 0x00010000 and ending at
/Zephyr-latest/boards/nxp/ucans32k1sic/support/
Dstartup.cmm65 ; all target non-empty flash sectors are marked as pending, to be reprogrammed.
71 ; Program only changed sectors to target flash and erase obsolete code

12345