Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5660 BYTE drv, /* Physical drive number */ argument
5673 if (disk_ioctl(drv, GET_SECTOR_COUNT, &sz_drv) != RES_OK) return FR_DISK_ERR;
5684 if (disk_ioctl(drv, GET_SECTOR_SIZE, &ss) != RES_OK) return FR_DISK_ERR; /* Get sector size */
5720 …if (disk_write(drv, buf, 2 + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write to pri…
5721 …if (disk_write(drv, buf, top_bpt + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write t…
5739 if (disk_write(drv, buf, 1, 1) != RES_OK) return FR_DISK_ERR;
5748 if (disk_write(drv, buf, sz_drv - 1, 1) != RES_OK) return FR_DISK_ERR;
5754 if (disk_write(drv, buf, 0, 1) != RES_OK) return FR_DISK_ERR;
5794 if (disk_write(drv, buf, 0, 1) != RES_OK) return FR_DISK_ERR; /* Write it to the MBR */