Home
last modified time | relevance | path

Searched refs:disk_write (Results 1 - 6 of 6) sorted by relevance

/third_party/FatFs/documents/res/
H A Dapp4.c121 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
122 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
160 printf(" disk_write(%u, 0x%X, %lu, %u)", pdrv, (UINT)pbuff, lba, ns); in test_diskio()
161 dr = disk_write(pdrv, pbuff, lba, ns); in test_diskio()
200 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+3), lba); in test_diskio()
201 dr = disk_write(pdrv, pbuff+3, lba, 1); in test_diskio()
238 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)pbuff, lba); in test_diskio()
239 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
246 printf(" disk_write(%u, 0x%X, %lu, 1)", pdrv, (UINT)(pbuff+sz_sect), lba2); in test_diskio()
247 dr = disk_write(pdr in test_diskio()
[all...]
H A Dapp6.c35 if (disk_write(pdrv, buff, lba + ofs, sz_buff / ss) != RES_OK) { in test_raw_speed()
H A Dapp3.c103 dr = disk_write(fil.fs->drv, Buff, org, 1024); /* Write 512KiB from top of the file */ in main()
/third_party/FatFs/source/
H A Ddiskio.c144 DRESULT disk_write ( in disk_write() function
161 return (DRESULT)g_diskDrv.drv[pdrv]->disk_write(g_diskDrv.lun[pdrv], buff, sector, count); in disk_write()
H A Ddiskio.h41 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count);
H A Dff.c908 if (disk_write(fs->pdrv, fs->win, fs->winsect, 1) == RES_OK) { /* Write it back into the volume */ in sync_window()
911 if (fs->n_fats == 2) disk_write(fs->pdrv, fs->win, fs->winsect + fs->fsize, 1); /* Reflect it to 2nd FAT if needed */ in sync_window()
1005 disk_write(fs->pdrv, fs->win, fs->winsect, 1); in sync_fs()
1422 for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* Fill the cluster with 0 */ in dir_clear()
1428 for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* Fill the cluster with 0 */ in dir_clear()
3621 if (disk_write(fs->pdrv, fp->buf, fp->sect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); in f_read()
3718 if (disk_write(fs->pdrv, fp->buf, fp->sect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); in f_write()
3730 if (disk_write(fs->pdrv, wbuff, sect, cc) != RES_OK) ABORT(fs, FR_DISK_ERR); in f_write()
3814 if (disk_write(fs->pdrv, fp->buf, fp->sect, 1) != RES_OK) LEAVE_FF(fs, FR_DISK_ERR); in f_sync()
4116 if (disk_write(f in f_lseek()
[all...]

Completed in 9 milliseconds