Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/disk/
Dloopback_disk.c18 #define LOOPBACK_SECTOR_SIZE CONFIG_LOOPBACK_DISK_SECTOR_SIZE macro
34 int ret = fs_seek(&ctx->file, start_sector * LOOPBACK_SECTOR_SIZE, FS_SEEK_SET); in loopback_disk_access_read()
41 const size_t total_len = num_sector * LOOPBACK_SECTOR_SIZE; in loopback_disk_access_read()
72 int ret = fs_seek(&ctx->file, start_sector * LOOPBACK_SECTOR_SIZE, FS_SEEK_SET); in loopback_disk_access_write()
79 const size_t total_len = num_sector * LOOPBACK_SECTOR_SIZE; in loopback_disk_access_write()
107 *(uint32_t *)buff = LOOPBACK_SECTOR_SIZE; in loopback_disk_access_ioctl()
147 if (entry.size % LOOPBACK_SECTOR_SIZE != 0) { in loopback_disk_access_register()
150 LOOPBACK_SECTOR_SIZE, entry.size); in loopback_disk_access_register()
152 ctx->num_sectors = entry.size / LOOPBACK_SECTOR_SIZE; in loopback_disk_access_register()