Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dcommon.c74 if (disk_access_init(DISK_NAME)) { in wipe_partition()
75 TC_PRINT("Failed to init disk "DISK_NAME"\n"); in wipe_partition()
78 if (disk_access_ioctl(DISK_NAME, DISK_IOCTL_GET_SECTOR_COUNT, &sector_count)) { in wipe_partition()
79 TC_PRINT("Failed to get disk "DISK_NAME" sector count\n"); in wipe_partition()
82 if (disk_access_ioctl(DISK_NAME, DISK_IOCTL_GET_SECTOR_SIZE, &sector_size)) { in wipe_partition()
83 TC_PRINT("Failed to get disk "DISK_NAME" sector size\n"); in wipe_partition()
94 TC_PRINT("For "DISK_NAME" using sector write size %"PRIu32" to write %"PRIu32" at once\n", in wipe_partition()
98 if (disk_access_write(DISK_NAME, erase_buffer, sector_idx, 1)) { in wipe_partition()
99 TC_PRINT("Failed to \"erase\" sector %"PRIu32" to "DISK_NAME"\n", in wipe_partition()
Dtest_fat.h15 #define DISK_NAME "RAM" macro
17 #define DISK_NAME DT_PROP(DT_NODELABEL(test_disk), disk_name) macro
19 #define DISK_NAME "SD" macro
21 #define DISK_NAME "SD2" macro
26 #define FATFS_MNTP "/"DISK_NAME":"
Dtest_fat_mkfs.c14 .mnt_point = "/"DISK_NAME":",
23 uintptr_t fs_mkfs_dev_id = (uintptr_t) DISK_NAME":";
25 const char *some_file_path = "/"DISK_NAME":/SOME";
26 const char *other_dir_path = "/"DISK_NAME":/OTHER";
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c23 #define DISK_NAME "SD" macro
25 #define DISK_NAME "SD2" macro
30 #define IMG_FILE_PATH "/"DISK_NAME":/img.bin"
37 .storage_dev = (void *)DISK_NAME,
38 .mnt_point = "/"DISK_NAME":",
/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c41 #define DISK_NAME "loopback0" macro
43 #define DISK_NAME DISK_NAME_PHYS macro
57 static const char *disk_pdrv = DISK_NAME;
97 rc = loopback_disk_access_register(&lo_access, BACKING_PATH "/loopback.img", DISK_NAME); in setup_loopback_backing()
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c16 #define DISK_NAME "SD" macro
18 #define DISK_NAME "SD2" macro
20 #define DISK_NAME "nvme0n0" macro
46 static const char *disk_pdrv = DISK_NAME;
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c314 #define DISK_NAME "SD" macro
316 #define DISK_NAME "SD2" macro
331 static const char *disk_mount_pt = "/"DISK_NAME":"; in littlefs_mount()
332 static const char *disk_pdrv = DISK_NAME; in littlefs_mount()
/Zephyr-latest/subsys/fs/
Dshell.c44 #define DISK_NAME "SD" macro
46 #define DISK_NAME "SD2" macro
63 .storage_dev = DISK_NAME,