Home
last modified time | relevance | path

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

/u-boot/fs/fat/
A Dfat.c263 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster()
267 while (size >= mydata->sect_size) { in get_cluster()
274 memcpy(buffer, tmpbuf, mydata->sect_size); in get_cluster()
275 buffer += mydata->sect_size; in get_cluster()
276 size -= mydata->sect_size; in get_cluster()
281 idx = size / mydata->sect_size; in get_cluster()
291 idx *= mydata->sect_size; in get_cluster()
591 if (mydata->sect_size != cur_part_info.blksz) { in get_fs_info()
593 mydata->sect_size, cur_part_info.blksz); in get_fs_info()
616 mydata->sect_size; in get_fs_info()
[all …]
A Dfat_write.c585 while (size >= mydata->sect_size) { in set_sectors()
586 memcpy(tmpbuf, buffer, mydata->sect_size); in set_sectors()
593 buffer += mydata->sect_size; in set_sectors()
594 size -= mydata->sect_size; in set_sectors()
596 } else if (size >= mydata->sect_size) { in set_sectors()
599 nsects = size / mydata->sect_size; in set_sectors()
607 buffer += nsects * mydata->sect_size; in set_sectors()
608 size -= nsects * mydata->sect_size; in set_sectors()
614 memset(tmpbuf, 0, mydata->sect_size); in set_sectors()
658 mydata->clust_size * mydata->sect_size); in flush_dir()
[all …]
/u-boot/drivers/mtd/
A Dcfi_mtd.c135 int sect_size = 0; in cfi_mtd_set_erasesize() local
186 if (flash_sector_size(fi, sect) > sect_size) in cfi_mtd_set_erasesize()
187 sect_size = flash_sector_size(fi, sect); in cfi_mtd_set_erasesize()
199 mtd->erasesize = sect_size; in cfi_mtd_set_erasesize()
A Dpic32_flash.c357 ulong sect_size; in pic32_flash_bank_init() local
366 sect_size = info->size / info->sector_count; in pic32_flash_bank_init()
371 base += sect_size; in pic32_flash_bank_init()
/u-boot/include/
A Dfat.h25 #define DIRENTSPERCLUST ((mydata->clust_size * mydata->sect_size) / \
29 #define FATBUFSIZE (mydata->sect_size * FATBUFBLOCKS)
177 __u16 sect_size; /* Size of sectors in bytes */ member

Completed in 10 milliseconds