Home
last modified time | relevance | path

Searched refs:sect_size (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/fs/fat/
Dfat_write.c278 __u8 *buflimit = cluster + mydata->sect_size * ((curclust == 0) ? in get_long_file_name()
311 mydata->clust_size * mydata->sect_size) != 0) { in get_long_file_name()
354 mydata->clust_size * mydata->sect_size); in get_long_file_name()
511 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_cluster()
515 while (size >= mydata->sect_size) { in set_cluster()
516 memcpy(tmpbuf, buffer, mydata->sect_size); in set_cluster()
523 buffer += mydata->sect_size; in set_cluster()
524 size -= mydata->sect_size; in set_cluster()
526 } else if (size >= mydata->sect_size) { in set_cluster()
527 idx = size / mydata->sect_size; in set_cluster()
[all …]
Dfat.c261 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster()
265 while (size >= mydata->sect_size) { in get_cluster()
272 memcpy(buffer, tmpbuf, mydata->sect_size); in get_cluster()
273 buffer += mydata->sect_size; in get_cluster()
274 size -= mydata->sect_size; in get_cluster()
277 idx = size / mydata->sect_size; in get_cluster()
284 idx *= mydata->sect_size; in get_cluster()
289 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster()
315 unsigned int bytesperclust = mydata->clust_size * mydata->sect_size; in get_contents()
569 mydata->sect_size = (bs.sector_size[1] << 8) + bs.sector_size[0]; in get_fs_info()
[all …]
/external/u-boot/include/
Dfat.h22 #define DIRENTSPERBLOCK (mydata->sect_size / sizeof(dir_entry))
23 #define DIRENTSPERCLUST ((mydata->clust_size * mydata->sect_size) / \
27 #define FATBUFSIZE (mydata->sect_size * FATBUFBLOCKS)
170 __u16 sect_size; /* Size of sectors in bytes */ member
/external/u-boot/drivers/mtd/
Dcfi_mtd.c133 int sect_size = 0; in cfi_mtd_set_erasesize() local
184 if (flash_sector_size(fi, sect) > sect_size) in cfi_mtd_set_erasesize()
185 sect_size = flash_sector_size(fi, sect); in cfi_mtd_set_erasesize()
197 mtd->erasesize = sect_size; in cfi_mtd_set_erasesize()
Dpic32_flash.c352 ulong sect_size; in pic32_flash_bank_init() local
361 sect_size = info->size / info->sector_count; in pic32_flash_bank_init()
366 base += sect_size; in pic32_flash_bank_init()
/external/u-boot/cmd/
Dfdc.c411 int sect_size; in fdc_read_data() local
416 sect_size=0x080<<pFG->sect_code; in fdc_read_data()
444 len=sect_size * readblk; in fdc_read_data()
497 offset+=(sect_size*readblk); /* set up buffer pointer */ in fdc_read_data()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp666 uint32_t sect_size, uint64_t sect_addr, in DumpCstringSection() argument
668 for (uint32_t i = 0; i < sect_size; i++) { in DumpCstringSection()
675 for (; i < sect_size && sect[i] != '\0'; i++) in DumpCstringSection()
677 if (i < sect_size && sect[i] == '\0') in DumpCstringSection()
699 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral4Section() argument
701 for (uint32_t i = 0; i < sect_size; i += sizeof(float)) { in DumpLiteral4Section()
743 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral8Section() argument
745 for (uint32_t i = 0; i < sect_size; i += sizeof(double)) { in DumpLiteral8Section()
775 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral16Section() argument
777 for (uint32_t i = 0; i < sect_size; i += 16) { in DumpLiteral16Section()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp984 uint32_t sect_size, uint64_t sect_addr, in DumpCstringSection() argument
986 for (uint32_t i = 0; i < sect_size; i++) { in DumpCstringSection()
993 for (; i < sect_size && sect[i] != '\0'; i++) in DumpCstringSection()
995 if (i < sect_size && sect[i] == '\0') in DumpCstringSection()
1017 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral4Section() argument
1019 for (uint32_t i = 0; i < sect_size; i += sizeof(float)) { in DumpLiteral4Section()
1061 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral8Section() argument
1063 for (uint32_t i = 0; i < sect_size; i += sizeof(double)) { in DumpLiteral8Section()
1093 uint32_t sect_size, uint64_t sect_addr, in DumpLiteral16Section() argument
1095 for (uint32_t i = 0; i < sect_size; i += 16) { in DumpLiteral16Section()
[all …]