Searched refs:sectors (Results 1 - 17 of 17) sorted by last modified time

/u-boot/test/image/
H A Dspl_load.c28 void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument
33 if (size < sectors * bl_len) {
35 size = sectors * bl_len;
H A Dspl_load_fs.c177 u32 sectors = file_sector + file_sectors; local
189 if (sectors > sector_size / sizeof(u32))
217 bs->total_sect = cpu_to_le32(sectors);
251 return sectors * sector_size;
/u-boot/fs/fat/
H A Dfat.c503 u16 sectors = get_unaligned_le16(bs->sectors); local
504 u32 total_sectors = sectors ? sectors : bs->total_sect;
635 mydata->total_sect = get_unaligned_le16(bs.sectors);
/u-boot/drivers/xen/
H A Dpvblock.c40 u64 sectors; member in struct:blkfront_info
245 snprintf(path, sizeof(path), "%s/sectors", dev->backend);
250 dev->info.sectors = xenbus_read_integer(path);
272 debug("%llu sectors of %u bytes, bounce buffer at %p\n",
273 dev->info.sectors, dev->info.sector_size,
704 desc->lba = blk_dev->info.sectors;
/u-boot/drivers/mtd/onenand/
H A Donenand_base.c203 * @param sectors the sector address
204 * @param count the number of sectors
209 static int onenand_buffer_address(int dataram1, int sectors, int count) argument
214 bsa = sectors & ONENAND_BSA_MASK;
336 int sectors = 0, count = 0; local
422 value = onenand_page_address(page, sectors);
427 value = onenand_buffer_address(dataram, sectors, count);
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1089 int sectors; local
1101 sectors = cfg->page_size / (512 << cfg->sector_size_1k);
1106 for (i = 0, idx1 = 0, idx2 = 0; i < sectors; i++) {
1148 layout->eccbytes = req * sectors;
1149 for (i = 0, idx1 = 0, idx2 = 0; i < sectors; i++) {
1292 * @sector_1k: 1 for 1KiB sectors, 0 for 512B, other values are illegal
1315 * @sector_1k: 1 for 1KiB sectors, 0 for 512B, other values are illegal
2252 /* Account for Hamming ECC and for BCH 512B vs 1KiB sectors */
2348 dev_err(ctrl->dev, "1KB sectors not supported\n");
2353 "odd ECC not supported with 1KB sectors\
[all...]
/u-boot/disk/
H A Dpart_amiga.c344 rdb->block_bytes, rdb->cylinders, rdb->sectors,
H A Dpart_amiga.h45 u32 sectors; member in struct:rigid_disk_block
/u-boot/common/spl/
H A Dspl_fit.c563 __weak void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument
565 return spl_get_fit_load_buffer(sectors * bl_len);
/u-boot/arch/riscv/cpu/andes/
H A Dspl.c22 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/arch/arm/mach-imx/
H A Dspl.c326 void *board_spl_fit_buffer_addr(ulong fit_size, int sectors, int bl_len) argument
H A Dcmd_nandbcb.c446 fcb->sectors = mtd->erasesize / mtd->writesize;
1183 P1(sectors);
/u-boot/common/
H A Davb_verify.c309 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/include/
H A Dfat.h92 __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...]
H A Data.h106 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 */
/u-boot/arch/arm/include/asm/mach-imx/
H A Dimx-nandbcb.h42 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/drivers/virtio/
H A Dvirtio_blk.h36 /* The capacity (in 512-byte sectors) */
46 __u8 sectors; member in struct:virtio_blk_config::virtio_blk_geometry

Completed in 147 milliseconds