Searched refs:win (Results 1 – 2 of 2) sorted by relevance
/fatfs-latest/ |
D | ff.c | 1066 if (disk_write(fs->pdrv, fs->win, fs->winsect, 1) == RES_OK) { /* Write it back into the volume */ in sync_window() 1069 …if (fs->n_fats == 2) disk_write(fs->pdrv, fs->win, fs->winsect + fs->fsize, 1); /* Reflect it to 2… in sync_window() 1093 if (disk_read(fs->pdrv, fs->win, sect, 1) != RES_OK) { in move_window() 1124 memset(fs->win, 0, sizeof fs->win); in sync_fs() 1125 st_dword(fs->win + FSI_LeadSig, 0x41615252); /* Leading signature */ in sync_fs() 1126 st_dword(fs->win + FSI_StrucSig, 0x61417272); /* Structure signature */ in sync_fs() 1127 st_dword(fs->win + FSI_Free_Count, fs->free_clst); /* Number of free clusters */ in sync_fs() 1128 st_dword(fs->win + FSI_Nxt_Free, fs->last_clst); /* Last allocated culuster */ in sync_fs() 1129 st_dword(fs->win + FSI_TrailSig, 0xAA550000); /* Trailing signature */ in sync_fs() 1130 …disk_write(fs->pdrv, fs->win, fs->winsect = fs->volbase + 1, 1); /* Write it into the FSInfo secto… in sync_fs() [all …]
|
/fatfs-latest/include/ |
D | ff.h | 174 BYTE win[FF_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */ member
|