Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dzfs_diskio.c33 static const char* const pdrv_str[] = {FF_VOLUME_STRS}; variable
41 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_status()
43 if (disk_access_status(pdrv_str[pdrv]) != 0) { in disk_status()
56 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_initialize()
58 if (disk_access_init(pdrv_str[pdrv]) != 0) { in disk_initialize()
71 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_read()
73 if (disk_access_read(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_read()
86 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_write()
88 if(disk_access_write(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_write()
104 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_ioctl()
[all …]