/u-boot/arch/riscv/cpu/andes/ |
H A D | spl.c | 22 void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument 24 return spl_get_load_buffer(0, sectors * bl_len);
|
/u-boot/drivers/virtio/ |
H A D | virtio_blk.h | 36 /* The capacity (in 512-byte sectors) */ 46 __u8 sectors; member in struct:virtio_blk_config::virtio_blk_geometry
|
/u-boot/common/ |
H A D | avb_verify.c | 309 lbaint_t sectors, 321 if ((start + sectors) > (part->info.start + part->info.size)) { 322 sectors = part->info.start + part->info.size - start; 324 __func__, sectors); 336 if (sectors > buf_size / part->info.blksz) 337 sectors = buf_size / part->info.blksz; 343 start, sectors, tmp_buf); 345 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); 348 memcpy(buffer, tmp_buf, sectors * part->info.blksz); 354 lbaint_t sectors, voi 307 mmc_read_and_flush(struct mmc_part *part, lbaint_t start, lbaint_t sectors, void *buffer) argument 353 mmc_write(struct mmc_part *part, lbaint_t start, lbaint_t sectors, void *buffer) argument 452 u64 start_offset, start_sector, sectors, residue; local [all...] |
/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | imx-nandbcb.h | 42 u32 sectors; /* Number of 2K sections per block */ member in struct:fcb_block 70 u32 patch_size; /* Size of patch in sectors */ 73 u32 fw1_pages; /* Number of sectors in firmware image */
|
/u-boot/disk/ |
H A D | part_amiga.h | 45 u32 sectors; member in struct:rigid_disk_block
|
H A D | part_amiga.c | 344 rdb->block_bytes, rdb->cylinders, rdb->sectors,
|
/u-boot/include/ |
H A D | ata.h | 106 unsigned short sectors; /* "physical" sectors per track */ member in struct:hd_driveid 129 unsigned short cur_sectors; /* logical sectors per track */ 130 unsigned short cur_capacity0; /* logical total sectors on drive */ 134 unsigned short lba_capacity[2];/* two words containing total number of sectors */ 161 /*unsigned long long lba48_capacity; /--* 4 16bit values containing lba 48 total number of sectors */ 162 unsigned short lba48_capacity[4]; /* 4 16bit values containing lba 48 total number of sectors */
|
H A D | fat.h | 92 __u16 reserved; /* Number of reserved sectors */ 95 __u8 sectors[2]; /* Number of sectors */ member in struct:boot_sector 100 __u32 hidden; /* Number of hidden sectors */ 101 __u32 total_sect; /* Number of sectors (if sectors == 0) */ 167 __u32 fatlength; /* Length of FAT in sectors */ 171 __u16 sect_size; /* Size of sectors in bytes */ 172 __u16 clust_size; /* Size of clusters in sectors */ 177 u32 total_sect; /* Number of sectors */ [all...] |
/u-boot/test/image/ |
H A D | spl_load_fs.c | 178 u32 sectors = file_sector + file_sectors; local 190 if (sectors > sector_size / sizeof(u32)) 218 bs->total_sect = cpu_to_le32(sectors); 252 return sectors * sector_size;
|
H A D | spl_load.c | 29 void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument 34 if (size < sectors * bl_len) { 36 size = sectors * bl_len;
|
/u-boot/fs/fat/ |
H A D | fat.c | 504 u16 sectors = get_unaligned_le16(bs->sectors); local 505 u32 total_sectors = sectors ? sectors : bs->total_sect; 636 mydata->total_sect = get_unaligned_le16(bs.sectors);
|
/u-boot/arch/arm/mach-imx/ |
H A D | spl.c | 326 void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument
|
H A D | cmd_nandbcb.c | 447 fcb->sectors = mtd->erasesize / mtd->writesize; 1184 P1(sectors);
|
/u-boot/drivers/xen/ |
H A D | pvblock.c | 41 u64 sectors; member in struct:blkfront_info 246 snprintf(path, sizeof(path), "%s/sectors", dev->backend); 251 dev->info.sectors = xenbus_read_integer(path); 273 debug("%llu sectors of %u bytes, bounce buffer at %p\n", 274 dev->info.sectors, dev->info.sector_size, 705 desc->lba = blk_dev->info.sectors;
|
/u-boot/common/spl/ |
H A D | spl_fit.c | 564 __weak void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument 566 return spl_get_fit_load_buffer(sectors * bl_len);
|
/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 204 * @param sectors the sector address 205 * @param count the number of sectors 210 static int onenand_buffer_address(int dataram1, int sectors, int count) argument 215 bsa = sectors & ONENAND_BSA_MASK; 337 int sectors = 0, count = 0; local 423 value = onenand_page_address(page, sectors); 428 value = onenand_buffer_address(dataram, sectors, count);
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 1090 int sectors; local 1102 sectors = cfg->page_size / (512 << cfg->sector_size_1k); 1107 for (i = 0, idx1 = 0, idx2 = 0; i < sectors; i++) { 1149 layout->eccbytes = req * sectors; 1150 for (i = 0, idx1 = 0, idx2 = 0; i < sectors; i++) { 1293 * @sector_1k: 1 for 1KiB sectors, 0 for 512B, other values are illegal 1316 * @sector_1k: 1 for 1KiB sectors, 0 for 512B, other values are illegal 2253 /* Account for Hamming ECC and for BCH 512B vs 1KiB sectors */ 2349 dev_err(ctrl->dev, "1KB sectors not supported\n"); 2354 "odd ECC not supported with 1KB sectors\ [all...] |