Searched refs:LD2PD (Results 1 – 2 of 2) sorted by relevance
/third_party/FatFs/source/ |
D | ff.h | 105 #define LD2PD(vol) (VolToPart[vol].pd) /* Get physical drive number */ macro
|
D | ff.c | 2767 if (disk_read(LD2PD(vol), fs->win, bsect + offset, 1) != RES_OK) return FR_DISK_ERR; in find_volume() 2846 fs->pdrv = LD2PD(vol); /* Volume hosting physical drive */ in mount_volume() 5649 pdrv = LD2PD(vol); /* Hosting physical drive */ 5700 if (disk_read(LD2PD(vol), buf, extended_base, 1) != RES_OK) return FR_DISK_ERR; 5710 … if (disk_read(LD2PD(vol), buf, extended_base + extended_offset, 1) != RES_OK) return FR_DISK_ERR; 5956 …if (disk_write(LD2PD(vol), multi_buf, n, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } /* Write i… 5963 if (disk_read(LD2PD(vol), multi_buf, b_vol, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } 5970 …if (disk_write(LD2PD(vol), multi_buf, b_vol, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } /* Wri…
|