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 | 2742 if (disk_read(LD2PD(vol), fs->win, bsect + offset, 1) != RES_OK) return FR_DISK_ERR; in find_volume() 2820 fs->pdrv = LD2PD(vol); /* Volume hosting physical drive */ in mount_volume() 5618 pdrv = LD2PD(vol); /* Physical drive */ 5667 if (disk_read(LD2PD(vol), buf, extended_base, 1) != RES_OK) return FR_DISK_ERR; 5677 … if (disk_read(LD2PD(vol), buf, extended_base + extended_offset, 1) != RES_OK) return FR_DISK_ERR; 5922 …if (disk_write(LD2PD(vol), multi_buf, n, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } /* Write i… 5929 if (disk_read(LD2PD(vol), multi_buf, b_vol, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } 5936 …if (disk_write(LD2PD(vol), multi_buf, b_vol, 1) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; } /* Wri…
|