Lines Matching refs:pdrv

46                                 const char *drv, sdmmc_card_t *card, BYTE pdrv);
58 BYTE pdrv = FF_DRV_NOT_USED; in mount_prepare_mem() local
59 if (ff_diskio_get_drive(&pdrv) != ESP_OK || pdrv == FF_DRV_NOT_USED) { in mount_prepare_mem()
81 *out_pdrv = pdrv; in mount_prepare_mem()
90 … mount_to_vfs_fat(const esp_vfs_fat_mount_config_t *mount_config, sdmmc_card_t *card, uint8_t pdrv, in mount_to_vfs_fat() argument
95 ff_diskio_register_sdmmc(pdrv, card); in mount_to_vfs_fat()
96 ESP_LOGD(TAG, "using pdrv=%i", pdrv); in mount_to_vfs_fat()
97 char drv[3] = {(char)('0' + pdrv), ':', 0}; in mount_to_vfs_fat()
118 err = partition_card(mount_config, drv, card, pdrv); in mount_to_vfs_fat()
138 ff_diskio_unregister(pdrv); in mount_to_vfs_fat()
143 const char *drv, sdmmc_card_t *card, BYTE pdrv) in partition_card() argument
157 res = f_fdisk(pdrv, plist, workbuf); in partition_card()
203 BYTE pdrv = FF_DRV_NOT_USED; in esp_vfs_fat_sdmmc_mount() local
207 err = mount_prepare_mem(base_path, &pdrv, &dup_path, &card); in esp_vfs_fat_sdmmc_mount()
240 err = mount_to_vfs_fat(mount_config, card, pdrv, dup_path); in esp_vfs_fat_sdmmc_mount()
249 s_pdrv = pdrv; in esp_vfs_fat_sdmmc_mount()
287 BYTE pdrv = FF_DRV_NOT_USED; in esp_vfs_fat_sdspi_mount() local
291 err = mount_prepare_mem(base_path, &pdrv, &dup_path, &card); in esp_vfs_fat_sdspi_mount()
322 err = mount_to_vfs_fat(mount_config, card, pdrv, dup_path); in esp_vfs_fat_sdspi_mount()
331 s_pdrv = pdrv; in esp_vfs_fat_sdspi_mount()
367 BYTE pdrv = ff_diskio_get_pdrv_card(card); in unmount_card_core() local
368 if (pdrv == 0xff) { in unmount_card_core()
373 char drv[3] = {(char)('0' + pdrv), ':', 0}; in unmount_card_core()
376 ff_diskio_unregister(pdrv); in unmount_card_core()