Home
last modified time | relevance | path

Searched refs:fatbuf (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/fs/fat/
Dfat_write.c110 __u8 *bufptr = mydata->fatbuf; in flush_dirty_fat_buffer()
391 __u8 *bufptr = mydata->fatbuf; in set_fatent_value()
417 ((__u32 *) mydata->fatbuf)[offset] = cpu_to_le32(entry_value); in set_fatent_value()
420 ((__u16 *) mydata->fatbuf)[offset] = cpu_to_le16(entry_value); in set_fatent_value()
428 ((__u16 *)mydata->fatbuf)[off16] &= ~0xfff; in set_fatent_value()
429 ((__u16 *)mydata->fatbuf)[off16] |= val1; in set_fatent_value()
435 ((__u16 *)mydata->fatbuf)[off16] &= ~0xf000; in set_fatent_value()
436 ((__u16 *)mydata->fatbuf)[off16] |= (val1 << 12); in set_fatent_value()
438 ((__u16 *)mydata->fatbuf)[off16 + 1] &= ~0xff; in set_fatent_value()
439 ((__u16 *)mydata->fatbuf)[off16 + 1] |= val2; in set_fatent_value()
[all …]
Dfat.c197 __u8 *bufptr = mydata->fatbuf; in get_fatent()
221 ret = FAT2CPU32(((__u32 *) mydata->fatbuf)[offset]); in get_fatent()
224 ret = FAT2CPU16(((__u16 *) mydata->fatbuf)[offset]); in get_fatent()
229 ret = mydata->fatbuf[off8] + (mydata->fatbuf[off8 + 1] << 8); in get_fatent()
595 mydata->fatbuf = malloc_cache_aligned(FATBUFSIZE); in get_fs_info()
596 if (mydata->fatbuf == NULL) { in get_fs_info()
1038 free(fsdata.fatbuf); in fat_exists()
1063 free(fsdata.fatbuf); in fat_size()
1074 free(fsdata.fatbuf); in fat_size()
1102 free(fsdata.fatbuf); in file_fat_read_at()
[all …]
/external/u-boot/include/
Dfat.h164 __u8 *fatbuf; /* Current FAT buffer */ member