Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/fatfs/src/
Dff.c5534 DWORD au, /* Size of allocation unit (cluster) [byte] */ argument
5574 …if ((au != 0 && au < ss) || au > 0x1000000 || (au & (au - 1))) return FR_INVALID_PARAMETER; /* Che…
5575 au /= ss; /* Cluster size in unit of sector */
5614 …if ((opt & FM_ANY) == FM_EXFAT || sz_vol >= 0x4000000 || au > 128) { /* exFAT only, vol >= 64Ms or…
5618 if (au > 128) LEAVE_MKFS(FR_INVALID_PARAMETER); /* Too large au for FAT/FAT32 */
5641 if (au == 0) { /* au auto-selection */
5642 au = 8;
5643 if (sz_vol >= 0x80000) au = 64; /* >= 512Ks */
5644 if (sz_vol >= 0x4000000) au = 256; /* >= 64Ms */
5647 sz_fat = ((sz_vol / au + 2) * 4 + ss - 1) / ss; /* Number of FAT sectors */
[all …]
Dff.h310 FRESULT f_mkfs (const TCHAR* path, BYTE opt, DWORD au, void* work, UINT len); /* Create a FAT volum…