Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/storage/
Ddisk_access.h77 uint32_t start_sector, uint32_t num_sector);
95 uint32_t start_sector, uint32_t num_sector);
/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_disk.c26 uint32_t start_sector, in nvme_disk_read() argument
54 start_sector, num_sector); in nvme_disk_read()
64 start_sector, num_sector, ns->name); in nvme_disk_read()
75 uint32_t start_sector, in nvme_disk_write() argument
103 start_sector, num_sector); in nvme_disk_write()
113 start_sector, num_sector, ns->name); in nvme_disk_write()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Ddisk.h87 uint32_t start_sector, uint32_t num_sector);
89 uint32_t start_sector, uint32_t num_sector);
/Zephyr-Core-3.5.0/subsys/disk/
Ddisk_access.c83 uint32_t start_sector, uint32_t num_sector) in disk_access_read() argument
90 rc = disk->ops->read(disk, data_buf, start_sector, num_sector); in disk_access_read()
97 uint32_t start_sector, uint32_t num_sector) in disk_access_write() argument
104 rc = disk->ops->write(disk, data_buf, start_sector, num_sector); in disk_access_write()
/Zephyr-Core-3.5.0/tests/subsys/fs/ext2/src/
Dutils.c55 uint32_t start_sector = CONFIG_EXT2_DISK_STARTING_SECTOR + 1024 / sector_size; in wipe_partition() local
59 rc = disk_access_write(name, zeros, start_sector + i, 1); in wipe_partition()
/Zephyr-Core-3.5.0/drivers/disk/
Dflashdisk.c139 uint32_t start_sector, uint32_t sector_count) in sectors_in_range() argument
143 start = ctx->offset + (start_sector * ctx->sector_size); in sectors_in_range()
151 " outside partition boundary", start_sector, sector_count); in sectors_in_range()
156 uint32_t start_sector, uint32_t sector_count) in disk_flash_access_read() argument
167 if (!sectors_in_range(ctx, start_sector, sector_count)) { in disk_flash_access_read()
171 fl_addr = ctx->offset + start_sector * ctx->sector_size; in disk_flash_access_read()
301 uint32_t start_sector, uint32_t sector_count) in disk_flash_access_write() argument
315 if (!sectors_in_range(ctx, start_sector, sector_count)) { in disk_flash_access_write()
319 fl_addr = ctx->offset + start_sector * ctx->sector_size; in disk_flash_access_write()
Dsdmmc_stm32.c321 uint32_t start_sector, uint32_t num_sector) in stm32_sdmmc_access_read() argument
330 err = HAL_SD_ReadBlocks_DMA(&priv->hsd, data_buf, start_sector, in stm32_sdmmc_access_read()
333 err = HAL_SD_ReadBlocks_IT(&priv->hsd, data_buf, start_sector, in stm32_sdmmc_access_read()
360 uint32_t start_sector, uint32_t num_sector) in stm32_sdmmc_access_write() argument
369 err = HAL_SD_WriteBlocks_DMA(&priv->hsd, (uint8_t *)data_buf, start_sector, in stm32_sdmmc_access_write()
372 err = HAL_SD_WriteBlocks_IT(&priv->hsd, (uint8_t *)data_buf, start_sector, in stm32_sdmmc_access_write()
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_stm32f2x.c129 uint32_t start_sector, end_sector; in flash_stm32_block_erase_loop() local
137 start_sector = info.index; in flash_stm32_block_erase_loop()
144 for (i = start_sector; i <= end_sector; i++) { in flash_stm32_block_erase_loop()
Dflash_stm32f7x.c122 uint32_t start_sector, end_sector; in flash_stm32_block_erase_loop() local
130 start_sector = info.index; in flash_stm32_block_erase_loop()
137 for (i = start_sector; i <= end_sector; i++) { in flash_stm32_block_erase_loop()
Dflash_stm32f4x.c173 uint32_t start_sector, end_sector; in flash_stm32_block_erase_loop() local
181 start_sector = info.index; in flash_stm32_block_erase_loop()
188 for (i = start_sector; i <= end_sector; i++) { in flash_stm32_block_erase_loop()