Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/
Ddiskio_usb.c16 static usb_disk_t *s_disks[FF_VOLUMES] = { NULL };
32 assert(pdrv < FF_VOLUMES); in usb_disk_read()
54 assert(pdrv < FF_VOLUMES); in usb_disk_write()
75 assert(pdrv < FF_VOLUMES); in usb_disk_ioctl()
97 assert(pdrv < FF_VOLUMES); in ff_diskio_register_msc()
112 for (int i = 0; i < FF_VOLUMES; i++) { in ff_diskio_get_pdrv_disk()
/hal_espressif-3.6.0/components/fatfs/diskio/
Ddiskio_wl.c26 wl_handle_t ff_wl_handles[FF_VOLUMES] = {
95 if (pdrv >= FF_VOLUMES) { in ff_diskio_register_wl_partition()
112 for (int i = 0; i < FF_VOLUMES; i++) { in ff_diskio_get_pdrv_wl()
122 for (int i = 0; i < FF_VOLUMES; i++) { in ff_diskio_clear_pdrv_wl()
Ddiskio_rawflash.c25 const esp_partition_t* ff_raw_handles[FF_VOLUMES];
80 if (pdrv >= FF_VOLUMES) { in ff_diskio_register_raw_partition()
99 for (int i = 0; i < FF_VOLUMES; i++) { in ff_diskio_get_pdrv_raw()
Ddiskio.c19 static ff_diskio_impl_t * s_impls[FF_VOLUMES] = { NULL };
31 for(i=0; i<FF_VOLUMES; i++) { in ff_diskio_get_drive()
42 assert(pdrv < FF_VOLUMES); in ff_diskio_register()
Ddiskio_sdmmc.c14 static sdmmc_card_t* s_cards[FF_VOLUMES] = { NULL };
104 for (int i = 0; i < FF_VOLUMES; i++) { in ff_diskio_get_pdrv_card()
/hal_espressif-3.6.0/components/fatfs/vfs/
Dvfs_fat.c95 static vfs_fat_ctx_t* s_fat_ctxs[FF_VOLUMES] = { NULL, NULL };
101 for(size_t i=0; i<FF_VOLUMES; i++) { in find_context_index_by_path()
106 return FF_VOLUMES; in find_context_index_by_path()
111 for(size_t i=0; i<FF_VOLUMES; i++) { in find_unused_context_index()
116 return FF_VOLUMES; in find_unused_context_index()
122 if (ctx < FF_VOLUMES) { in esp_vfs_fat_register()
127 if (ctx == FF_VOLUMES) { in esp_vfs_fat_register()
197 if (ctx == FF_VOLUMES) { in esp_vfs_fat_unregister_path()
/hal_espressif-3.6.0/components/fatfs/src/
Dffconf.h184 #define FF_VOLUMES 2 macro
Dff.c435 #if FF_VOLUMES < 1 || FF_VOLUMES > 10
436 #error Wrong FF_VOLUMES setting
438 static FATFS* FatFs[FF_VOLUMES]; /* Pointer to the filesystem objects (logical drives) */
451 static const char* const VolumeStr[FF_VOLUMES] = {FF_VOLUME_STRS}; /* Pre-defined volume ID */
3130 i = FF_VOLUMES;
3144 } while ((c || tp != tt) && ++i < FF_VOLUMES); /* Repeat for each id until pattern match */
3147 if (i < FF_VOLUMES) { /* If a volume ID is found, get the drive number and strip it */
3163 …} while ((c || (tc != '/' && (UINT)tc >= (FF_USE_LFN ? ' ' : '!'))) && ++i < FF_VOLUMES); /* Repea…
3164 if (i < FF_VOLUMES) { /* If a volume ID is found, get the drive number and strip it */
4143 for (i = FF_VOLUMES - 1; i && fs != FatFs[i]; i--) ; /* Set current drive */
[all …]
Dff.h73 extern const char* VolumeStr[FF_VOLUMES]; /* User defied volume ID */