Lines Matching refs:fat_bits
223 static void calc_fat_bits2(Fs_t *Fs, unsigned long tot_sectors, int fat_bits,
234 switch(abs(fat_bits)) {
302 if(Fs->fat_bits == 32) {
318 if(Fs->fat_bits == 32)
327 int fat_bits)
341 if(abs(fat_bits) == 16 || Fs->num_clus >= FAT12)
383 if(Fs->fat_bits == 0) {
394 fat_nybbles = Fs->fat_bits / 4;
416 if(Fs->fat_bits == 16 && Fs->num_clus >= FAT16)
418 if(Fs->fat_bits == 12 && Fs->num_clus >= FAT12)
436 if ( Fs->num_clus < FAT16 && Fs->fat_bits > 16 ){
517 int fat_bits)
527 switch(abs(fat_bits)) {
606 (dev->fat_bits == 0 || abs(dev->fat_bits) == 12) &&
614 Fs->fat_bits = 12;
646 calc_cluster_size(Fs, tot_sectors, dev->fat_bits);
648 xdf_calc_fat_size(Fs, tot_sectors, dev->fat_bits);
650 calc_fat_bits2(Fs, tot_sectors, dev->fat_bits,
1190 used_dev.fat_bits = comp_fat_bits(&Fs,used_dev.fat_bits, tot_sectors, fat32);
1192 if(used_dev.fat_bits == 32) {
1247 sprintf(labelBlock->fat_type, "FAT%2.2d ", Fs.fat_bits);
1298 if(Fs.fat_bits == 32 && WORD(ext.fat32.backupBoot) != MAX16) {