Home
last modified time | relevance | path

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

/Zephyr-latest/modules/fatfs/
Dzfs_diskio.c76 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
83 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
94 if ((disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
104 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
116 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
123 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
/Zephyr-latest/samples/subsys/fs/fs_sample/src/
Dmain.c121 if (disk_access_ioctl(disk_pdrv, in main()
127 if (disk_access_ioctl(disk_pdrv, in main()
134 if (disk_access_ioctl(disk_pdrv, in main()
144 if (disk_access_ioctl(disk_pdrv, in main()
/Zephyr-latest/subsys/fs/ext2/
Dext2_disk_access.c41 rc = disk_access_ioctl(disk, DISK_IOCTL_CTRL_SYNC, NULL); in disk_read()
55 rc = disk_access_ioctl(disk, DISK_IOCTL_CTRL_SYNC, NULL); in disk_write()
136 return disk_access_ioctl(disk->name, DISK_IOCTL_CTRL_SYNC, NULL); in disk_access_sync()
160 rc = disk_access_ioctl(name, DISK_IOCTL_GET_SECTOR_COUNT, &sector_count); in ext2_init_disk_access_backend()
166 rc = disk_access_ioctl(name, DISK_IOCTL_GET_SECTOR_SIZE, &sector_size); in ext2_init_disk_access_backend()
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dutils.c17 rc = disk_access_ioctl(disk, DISK_IOCTL_GET_SECTOR_COUNT, sc); in sectors_info()
23 rc = disk_access_ioctl(disk, DISK_IOCTL_GET_SECTOR_SIZE, ss); in sectors_info()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dcommon.c78 if (disk_access_ioctl(DISK_NAME, DISK_IOCTL_GET_SECTOR_COUNT, &sector_count)) { in wipe_partition()
82 if (disk_access_ioctl(DISK_NAME, DISK_IOCTL_GET_SECTOR_SIZE, &sector_size)) { in wipe_partition()
/Zephyr-latest/include/zephyr/storage/
Ddisk_access.h114 int disk_access_ioctl(const char *pdrv, uint8_t cmd, void *buff);
/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c114 rc = disk_access_ioctl(disk_pdrv, DISK_IOCTL_GET_SECTOR_COUNT, &cmd_buf); in test_setup()
120 rc = disk_access_ioctl(disk_pdrv, DISK_IOCTL_GET_SECTOR_SIZE, &cmd_buf); in test_setup()
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c67 rc = disk_access_ioctl(disk_pdrv, DISK_IOCTL_GET_SECTOR_COUNT, &cmd_buf); in test_setup()
73 rc = disk_access_ioctl(disk_pdrv, DISK_IOCTL_GET_SECTOR_SIZE, &cmd_buf); in test_setup()
/Zephyr-latest/tests/drivers/disk/disk_access/
DREADME.txt9 disk_access_ioctl by querying the disk for its sector size and sector count.
/Zephyr-latest/subsys/usb/device/class/
Dmsc.c835 if (disk_access_ioctl(disk_pdrv, DISK_IOCTL_CTRL_SYNC, NULL)) { in thread_memory_write_done()
1030 if (disk_access_ioctl(disk_pdrv, in mass_storage_init()
1036 if (disk_access_ioctl(disk_pdrv, in mass_storage_init()
/Zephyr-latest/subsys/disk/
Ddisk_access.c121 int disk_access_ioctl(const char *pdrv, uint8_t cmd, void *buf) in disk_access_ioctl() function
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc_scsi.c332 if (disk_access_ioctl(ctx->disk, DISK_IOCTL_GET_SECTOR_COUNT, &ctx->sector_count) != 0) { in update_disk_info()
337 if (disk_access_ioctl(ctx->disk, DISK_IOCTL_GET_SECTOR_SIZE, &ctx->sector_size) != 0) { in update_disk_info()
763 if (disk_access_ioctl(ctx->disk, DISK_IOCTL_CTRL_SYNC, NULL)) { in store_write_10()
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c230 int rc = disk_access_ioctl(disk, DISK_IOCTL_CTRL_SYNC, NULL); in lfs_api_sync_blk()
748 int ret = disk_access_ioctl((char *) fs->backend, in littlefs_init_cfg()
805 int ret = disk_access_ioctl((char *) fs->backend, in littlefs_init_cfg()