Home
last modified time | relevance | path

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

/Zephyr-latest/modules/fatfs/
Dzfs_diskio.c19 static const char * const pdrv_str[] = {FF_VOLUME_STRS}; variable
24 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_status()
26 if (disk_access_status(pdrv_str[pdrv]) != 0) { in disk_status()
44 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_read()
46 if (disk_access_read(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_read()
57 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_write()
59 if (disk_access_write(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_write()
72 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_ioctl()
76 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
83 if (disk_access_ioctl(pdrv_str[pdrv], in disk_ioctl()
[all …]