Home
last modified time | relevance | path

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

/external/u-boot/include/
Dfat.h65 #define FAT2CPU16 le16_to_cpu macro
69 #define FAT2CPU16(x) (x) macro
72 #define FAT2CPU16(x) ((((x) & 0x00ff) << 8) | (((x) & 0xff00) >> 8)) macro
80 #define START(dent) (FAT2CPU16((dent)->start) \
82 (FAT2CPU16((dent)->starthi) << 16)))
/external/u-boot/fs/fat/
Dfat.c224 ret = FAT2CPU16(((__u16 *) mydata->fatbuf)[offset]); in get_fatent()
503 bs->reserved = FAT2CPU16(bs->reserved); in read_bootsectandvi()
504 bs->fat_length = FAT2CPU16(bs->fat_length); in read_bootsectandvi()
505 bs->secs_track = FAT2CPU16(bs->secs_track); in read_bootsectandvi()
506 bs->heads = FAT2CPU16(bs->heads); in read_bootsectandvi()
513 bs->flags = FAT2CPU16(bs->flags); in read_bootsectandvi()
515 bs->info_sector = FAT2CPU16(bs->info_sector); in read_bootsectandvi()
516 bs->backup_boot = FAT2CPU16(bs->backup_boot); in read_bootsectandvi()