Home
last modified time | relevance | path

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

/external/u-boot/include/
Dfat.h81 + (mydata->fatsize != 32 ? 0 : \
83 #define IS_LAST_CLUST(x, fatsize) ((x) >= ((fatsize) != 32 ? \ argument
84 ((fatsize) != 16 ? 0xff8 : 0xfff8) : \
86 #define CHECK_CLUST(x, fatsize) ((x) <= 1 || \ argument
87 (x) >= ((fatsize) != 32 ? \
88 ((fatsize) != 16 ? 0xff0 : 0xfff0) : \
165 int fatsize; /* Size of FAT in bits */ member
/external/u-boot/fs/fat/
Dfat.c167 if (CHECK_CLUST(entry, mydata->fatsize)) { in get_fatent()
172 switch (mydata->fatsize) { in get_fatent()
192 mydata->fatsize, entry, entry, offset, offset); in get_fatent()
219 switch (mydata->fatsize) { in get_fatent()
236 mydata->fatsize, ret, entry, offset); in get_fatent()
338 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
368 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
384 if (CHECK_CLUST(newclust, mydata->fatsize)) { in get_contents()
411 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
480 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) in read_bootsectandvi() argument
[all …]
Dfat_write.c302 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_long_file_name()
370 switch (mydata->fatsize) { in set_fatent_value()
415 switch (mydata->fatsize) { in set_fatent_value()
486 mydata->fatsize, entry, next_entry); in determine_fatent()
586 if (mydata->fatsize == 32) in flush_dir_table()
588 else if (mydata->fatsize == 16) in flush_dir_table()
590 else if (mydata->fatsize == 12) in flush_dir_table()
611 while (!CHECK_CLUST(entry, mydata->fatsize)) { in clear_fatent()
670 if (CHECK_CLUST(newclust, mydata->fatsize)) { in set_contents()
688 if (mydata->fatsize == 12) in set_contents()
[all …]
/external/u-boot/cmd/
Dfat.c27 fatsize, 4, 0, do_fat_size,