/Zephyr-Core-3.5.0/tests/drivers/disk/disk_access/ |
D | README.txt | 14 * 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-Core-3.5.0/tests/drivers/disk/disk_performance/ |
D | README.txt | 12 sector, than over multiple sequential sectors. 18 one sector, than over multiple sequential sectors.
|
/Zephyr-Core-3.5.0/boards/arm/nucleo_f767zi/ |
D | nucleo_f767zi.dts | 211 * The two sectors 0-1 (32+32 kbytes) are reserved for 223 * This represents sectors 2-3 (32+32 kbytes) 235 * Allocated 3 (256k x 3) sectors for image-0. Sectors 5-7. 243 * Allocated 3 (256k x 3) sectors for image-1. Sectors 8-10.
|
/Zephyr-Core-3.5.0/doc/services/storage/nvs/ |
D | nvs.rst | 7 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, 56 - ``NVS_SECTOR_COUNT`` is the number of sectors, it is at least 2, one 75 equal to the pagesize (1024 bytes) and 2 sectors have been defined. 81 only two sectors, the first sector will be used for storage and will be erased 83 writes, with two sectors writing every 171 minutes, the device should last
|
/Zephyr-Core-3.5.0/tests/drivers/disk/disk_access/src/ |
D | main.c | 63 TC_PRINT("Disk reports %u sectors\n", cmd_buf); in test_setup() 78 /* Reads sectors, verifying overflow does not occur */ 92 /* Tests reading from a variety of sectors */ 97 TC_PRINT("Testing reads of %u sectors\n", num_sectors); in test_sector_read() 148 /* Tests writing to a variety of sectors 155 TC_PRINT("Testing writes of %u sectors\n", num_sectors); in test_sector_write()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/flash/ |
D | stm32_flash_api_extensions.h | 14 * first mask is used to enable protection on sectors, while second mask 20 * Input can be NULL if we only want to get protected sectors.
|
/Zephyr-Core-3.5.0/include/zephyr/storage/ |
D | flash_map.h | 55 * Each partition contains one or more flash sectors. 201 * Retrieve info about sectors within the area. 204 * @param[out] sectors buffer for sectors data 205 * @param[in,out] count On input Capacity of @p sectors, on output number of 206 * sectors Retrieved. 213 struct flash_sector *sectors);
|
D | disk_access.h | 72 * @param[in] num_sector Number of disk sectors to read 90 * @param[in] num_sector Number of disk sectors to write
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_stm32f7x.c | 165 * manuals, but the flash layout for a given number of sectors is 166 * consistent across these manuals. The number of sectors is given 170 * In case of 8 sectors and 24 sectors we need to differentiate 172 * In case of 24 sectors we need to check if the SoC is running
|
D | flash_stm32f2x.c | 170 * 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.
|
D | flash_stm32f4x.c | 381 * sectors is consistent across these manuals, with one "gotcha". The 382 * number of sectors is given by the HAL as FLASH_SECTOR_TOTAL. 384 * The only "gotcha" is that when there are 24 sectors, they are split 385 * across 2 "banks" of 12 sectors each, with another set of small 386 * sectors (16 KB) in the second bank occurring after the large ones
|
/Zephyr-Core-3.5.0/tests/drivers/disk/disk_performance/src/ |
D | main.c | 70 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-Core-3.5.0/samples/drivers/spi_flash/src/ |
D | main.c | 18 /* The FPGA bitstream is stored in the lower 536 sectors of the flash. */ 101 printf("\nPerform test on multiple consequtive sectors"); in multi_sector_test() 112 * Erase 2 sectors for check for erase of consequtive sectors in multi_sector_test()
|
/Zephyr-Core-3.5.0/samples/subsys/nvs/boards/ |
D | nucleo_f429zi.overlay | 11 /* Set 48KB of storage at the beginning of bank2 in order to have 3 sectors smaller than 32K
|
/Zephyr-Core-3.5.0/tests/subsys/fs/fcb/src/ |
D | main.c | 27 /* Sectors for FCB are defined far from application code 113 void fcb_tc_pretest(int sectors, struct fcb *_fcb) in fcb_tc_pretest() argument 119 _fcb->f_sector_cnt = sectors; in fcb_tc_pretest()
|
/Zephyr-Core-3.5.0/dts/bindings/mtd/ |
D | atmel,at45.yaml | 30 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-Core-3.5.0/subsys/usb/device_next/class/ |
D | usbd_msc_scsi.c | 713 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-Core-3.5.0/boards/arm/legend/ |
D | legend.dts | 104 * 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-Core-3.5.0/include/zephyr/drivers/ |
D | disk.h | 40 /** Get the number of sectors in the disk */ 46 /** How many sectors constitute a FLASH Erase block */
|
/Zephyr-Core-3.5.0/dts/bindings/disk/ |
D | zephyr,ram-disk.yaml | 28 Number of sectors.
|
/Zephyr-Core-3.5.0/boards/arm/nucleo_f410rb/ |
D | nucleo_f410rb.dts | 136 * The flash sectors 2&3 at 0x00008000 and ending at 144 * The flash sectors 4 at 0x00010000 and ending at
|
/Zephyr-Core-3.5.0/boards/arm/mr_canhubk3/support/ |
D | startup.cmm | 72 ; all target non-empty flash sectors are marked as pending, to be reprogrammed. 78 ; Program only changed sectors to target flash and erase obsolete code
|
/Zephyr-Core-3.5.0/include/zephyr/fs/ |
D | fcb.h | 106 /**< Number of sectors to keep empty. This can be used if you need 111 /**< Array of sectors, must be contiguous */ 246 * Rotate fcb sectors 272 * @return Number of free sectors.
|
D | nvs.h | 48 /** File system is split into sectors, each sector must be multiple of erase-block-size */ 50 /** Number of sectors in the file system */
|
/Zephyr-Core-3.5.0/tests/drivers/flash/stm32/src/ |
D | main.c | 71 TC_PRINT("Protected sectors: 0x%x\n", wp_status.protected_mask); in flash_stm32_setup() 134 "sectors"); in ZTEST()
|