/u-boot/fs/erofs/ |
H A D | erofs_fs.h | 54 __le32 blocks; /* total fs blocks of this device */ member in struct:erofs_deviceslot 74 __le32 blocks; /* used for statfs */ member in struct:erofs_super_block 148 /* total compressed blocks for compressed inodes */
|
/u-boot/drivers/mmc/ |
H A D | sandbox_mmc.c | 84 data->blocks * data->blocksize); 89 data->blocks * data->blocksize);
|
H A D | sunxi_mmc.c | 250 unsigned word_cnt = (data->blocksize * data->blocks) >> 2; 358 if (data->blocks > 1) 361 writel(data->blocks * data->blocksize, &priv->reg->bytecnt); 379 bytecnt = data->blocksize * data->blocks; 400 data->blocks > 1 ?
|
H A D | jz_mmc.c | 144 int sz = DIV_ROUND_UP(data->blocks * data->blocksize, 4); 164 int sz = data->blocks * data->blocksize; 220 writel(data->blocks, priv->regs + MSC_NOB);
|
H A D | mmc_spi.c | 41 * Read and write blocks start with these tokens and end with crc; 182 * @bcnt: number of data blocks to transfer 239 * @bcnt: number of data blocks to transfer 429 debug("%s: data flags=0x%x blocks=%d block_size=%d\n", 430 __func__, data->flags, data->blocks, data->blocksize); 434 data->blocks, data->blocksize); 437 data->blocks, data->blocksize,
|
H A D | tegra_mmc.c | 85 debug("buf: %p (%p), data->blocks: %u, data->blocksize: %u\n", 86 bbstate->bounce_buffer, bbstate->user_buffer, data->blocks, 104 writew(data->blocks, &priv->reg->blkcnt); 125 if (data->blocks > 1) 355 len = data->blocks * data->blocksize;
|
H A D | piton_mmc.c | 57 for (byte_cnt = data->blocks * data->blocksize; byte_cnt;
|
H A D | meson_gx_mmc.c | 152 data->blocks; 168 data_size = data->blocks * data->blocksize; 283 cfg->b_max = 511; /* max 512 - 1 blocks */
|
H A D | bcm2835_sdhost.c | 169 unsigned int blocks; /* remaining PIO blocks */ member in struct:bcm2835_host 390 host->blocks = data->blocks; 393 writel(data->blocks, host->ioaddr + SDHBLC); 585 host->blocks--; 586 if (host->blocks == 0) {
|
H A D | sdhci.c | 152 if (++block >= data->blocks) { 155 * blocks. 182 dma_unmap_single(host->start_addr, data->blocks * data->blocksize, 280 trans_bytes = data->blocks * data->blocksize; 281 if (data->blocks > 1) 295 sdhci_writew(host, data->blocks, SDHCI_BLOCK_COUNT);
|
H A D | arm_pl180_mmci.c | 231 u32 data_len = (u32) (data->blocks * data->blocksize); 255 error = read_bytes(dev, (u32 *)data->dest, (u32)data->blocks, 263 error = write_bytes(dev, (u32 *)data->src, (u32)data->blocks,
|
H A D | gen_atmel_mci.c | 180 if (data->blocks > 1) 270 /* For multi blocks read/write, set the block register */ 273 writel(data->blocks | MMCI_BF(BLKLEN, data->blocksize), 304 /* transfer all of the blocks */ 322 block_count < data->blocks && !status;
|
H A D | sh_mmcif.c | 235 for (j = 0; j < data->blocks; j++) { 300 for (j = 0; j < data->blocks; j++) { 392 sh_mmcif_bitset(data->blocks << 16, &host->regs->ce_block_set);
|
H A D | davinci_mmc.c | 196 bytes_left = (data->blocksize * data->blocks); 215 set_val(®s->mmcnblk, (data->blocks & MMCNBLK_NBLK_MASK)); 284 /* Wait until all of the blocks are transferred */
|
H A D | mxcmmc.c | 152 unsigned int nob = data->blocks; 348 length = data->blocks * data->blocksize;
|
H A D | mvebu_mmc.c | 51 dev_dbg(dev, "data %s : blocks=%d blksz=%d\n", 53 data->blocks, data->blocksize); 68 mvebu_mmc_write(mmc, SDIO_BLK_COUNT, data->blocks);
|
H A D | owl_mmc.c | 139 writel(data->blocks, priv->reg_base + OWL_REG_SD_BLK_NUM); 141 total = data->blocksize * data->blocks;
|
H A D | mmc_write.c | 103 * blocks instead of erase groups. 170 data.blocks = blkcnt;
|
/u-boot/drivers/ata/ |
H A D | ahci.c | 39 * Some controllers limit number of blocks they can read/write at once. 658 u16 blocks = 0; local 685 blocks = (((u16)pccb->cmd[13]) << 8) | ((u16) pccb->cmd[14]); 687 blocks = (((u16)pccb->cmd[7]) << 8) | ((u16) pccb->cmd[8]); 689 debug("scsi_ahci: %s %u blocks starting from lba 0x" LBAFU "\n", 690 is_write ? "write" : "read", blocks, lba); 699 while (blocks) { 700 u16 now_blocks; /* number of blocks per iteration */ 703 now_blocks = min((u16)MAX_SATA_BLOCKS_READ_WRITE, blocks); 755 blocks [all...] |
/u-boot/include/ |
H A D | ext_common.h | 32 /* Amount of indirect blocks in an inode. */ 153 __le16 free_blocks; /* Free blocks count */ 196 } blocks; member in union:ext2_inode::__anon14
|
/u-boot/fs/ext4/ |
H A D | ext4_common.c | 550 printf("All blocks full: Allocate new\n"); 567 g_parent_inode->b.blocks. 1263 file_inode->b.blocks.indir_block = cpu_to_le32(si_blockno); 1370 file_inode->b.blocks.double_indir_block = cpu_to_le32(di_blockno_parent); 1486 file_inode->b.blocks.triple_indir_block = cpu_to_le32(ti_gp_blockno); 1504 /* allocation of direct blocks */ 1511 file_inode->b.blocks.dir_blocks[i] = cpu_to_le32(direct_blockno); 1677 inode->b.blocks.dir_blocks, 1713 /* Direct blocks. */ 1715 blknr = le32_to_cpu(inode->b.blocks [all...] |
/u-boot/drivers/mtd/ |
H A D | jedec_flash.c | 155 #define ERASEINFO(size,blocks) (size<<8)|(blocks-1)
|
/u-boot/common/ |
H A D | usb_storage.c | 104 unsigned short max_xfer_blk; /* maximum transfer blocks */ 1087 unsigned long start, unsigned short blocks) 1096 srb->cmd[7] = ((unsigned char) (blocks >> 8)) & 0xff; 1097 srb->cmd[8] = (unsigned char) blocks & 0xff; 1099 debug("read10: start %lx blocks %x\n", start, blocks); 1104 unsigned long start, unsigned short blocks) 1113 srb->cmd[7] = ((unsigned char) (blocks >> 8)) & 0xff; 1114 srb->cmd[8] = (unsigned char) blocks & 0xff; 1116 debug("write10: start %lx blocks 1086 usb_read_10(struct scsi_cmd *srb, struct us_data *ss, unsigned long start, unsigned short blocks) argument 1103 usb_write_10(struct scsi_cmd *srb, struct us_data *ss, unsigned long start, unsigned short blocks) argument [all...] |
/u-boot/lib/ |
H A D | sha256.c | 189 unsigned int blocks) 191 if (!blocks) 194 while (blocks--) { 188 sha256_process(sha256_context *ctx, const unsigned char *data, unsigned int blocks) argument
|
H A D | sha1.c | 222 unsigned int blocks) 224 if (!blocks) 227 while (blocks--) { 221 sha1_process(sha1_context *ctx, const unsigned char *data, unsigned int blocks) argument
|