Home
last modified time | relevance | path

Searched refs:disk_ioctl (Results 1 - 5 of 5) sorted by relevance

/third_party/FatFs/documents/res/
H A Dapp4.c71 printf(" disk_ioctl(%u, GET_SECTOR_COUNT, 0x%08X)", pdrv, (UINT)&sz_drv); in test_diskio()
73 dr = disk_ioctl(pdrv, GET_SECTOR_COUNT, &sz_drv); in test_diskio()
88 printf(" disk_ioctl(%u, GET_SECTOR_SIZE, 0x%X)", pdrv, (UINT)&sz_sect); in test_diskio()
90 dr = disk_ioctl(pdrv, GET_SECTOR_SIZE, &sz_sect); in test_diskio()
103 printf(" disk_ioctl(%u, GET_BLOCK_SIZE, 0x%X)", pdrv, (UINT)&sz_eblk); in test_diskio()
105 dr = disk_ioctl(pdrv, GET_BLOCK_SIZE, &sz_eblk); in test_diskio()
129 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
130 dr = disk_ioctl(pdrv, CTRL_SYNC, 0); in test_diskio()
168 printf(" disk_ioctl(%u, CTRL_SYNC, NULL)", pdrv); in test_diskio()
169 dr = disk_ioctl(pdr in test_diskio()
[all...]
H A Dapp6.c24 if (disk_ioctl(pdrv, GET_SECTOR_SIZE, &ss) != RES_OK) { in test_raw_speed()
40 if (disk_ioctl(pdrv, CTRL_SYNC, 0) != RES_OK) { in test_raw_speed()
/third_party/FatFs/source/
H A Ddiskio.c186 DRESULT disk_ioctl ( in disk_ioctl() function
202 return (DRESULT)g_diskDrv.drv[pdrv]->disk_ioctl(g_diskDrv.lun[pdrv], cmd, buff); in disk_ioctl()
H A Ddiskio.h47 DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
H A Dff.c1009 if (disk_ioctl(fs->pdrv, CTRL_SYNC, 0) != RES_OK) res = FR_DISK_ERR; in sync_fs()
1205 disk_ioctl(fs->pdrv, CTRL_TRIM, rt); /* Inform storage device that the data in the block may be erased */ in remove_chain()
2855 if (disk_ioctl(fs->pdrv, GET_SECTOR_SIZE, &SS(fs)) != RES_OK) return FR_DISK_ERR; in mount_volume()
5566 if (disk_ioctl(drv, GET_SECTOR_COUNT, &sz_drv) != RES_OK) return FR_DISK_ERR;
5660 if (sz_blk == 0) disk_ioctl(pdrv, GET_BLOCK_SIZE, &sz_blk); /* Block size from the paramter or lower layer */
5663 if (disk_ioctl(pdrv, GET_SECTOR_SIZE, &ss) != RES_OK) return FR_DISK_ERR;
5741 if (disk_ioctl(pdrv, GET_SECTOR_COUNT, &sz_vol) != RES_OK) {fr = FR_DISK_ERR; goto EXIT;}
5840 disk_ioctl(pdrv, CTRL_TRIM, lba);
5983 if (disk_ioctl(pdrv, CTRL_SYNC, 0) != RES_OK) { fr = FR_DISK_ERR; goto EXIT; }
6037 if (sz_blk == 0 && disk_ioctl(pdr
[all...]

Completed in 9 milliseconds