Searched refs:sect_size (Results 1 – 5 of 5) sorted by relevance
/u-boot/fs/fat/ |
A D | fat.c | 263 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 D | fat_write.c | 585 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 D | cfi_mtd.c | 135 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 D | pic32_flash.c | 357 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 D | fat.h | 25 #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 11 milliseconds