Home
last modified time | relevance | path

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

/openbmc/u-boot/include/
H A 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)))
/openbmc/u-boot/fs/fat/
H A Dfat.c225 ret = FAT2CPU16(((__u16 *) mydata->fatbuf)[offset]); in get_fatent()
501 bs->reserved = FAT2CPU16(bs->reserved); in read_bootsectandvi()
502 bs->fat_length = FAT2CPU16(bs->fat_length); in read_bootsectandvi()
503 bs->secs_track = FAT2CPU16(bs->secs_track); in read_bootsectandvi()
504 bs->heads = FAT2CPU16(bs->heads); in read_bootsectandvi()
511 bs->flags = FAT2CPU16(bs->flags); in read_bootsectandvi()
513 bs->info_sector = FAT2CPU16(bs->info_sector); in read_bootsectandvi()
514 bs->backup_boot = FAT2CPU16(bs->backup_boot); in read_bootsectandvi()