Searched refs:blk_size (Results 1 - 9 of 9) sorted by relevance
/u-boot/fs/squashfs/ |
H A D | sqfs_inode.c | 20 int sqfs_inode_size(struct squashfs_base_inode *inode, u32 blk_size) argument 34 blk_list_size = file_size / blk_size; 36 blk_list_size = DIV_ROUND_UP(file_size, blk_size); 72 blk_list_size = DIV_ROUND_UP(file_size, blk_size); 74 blk_list_size = file_size / blk_size;
|
/u-boot/disk/ |
H A D | part_mac.c | 84 mb = ldiv(n, ((1024 * 1024) / ddesc->blk_size)); /* MB */ 86 mb.rem *= 10 * ddesc->blk_size; 100 ddesc->blk_size, 130 bytes /= (1024 / ddesc->blk_size); /* kB; assumes blk_size == 512 */ 222 info->blksz = ddesc->blk_size;
|
H A D | part_mac.h | 27 __u16 blk_size; /* block size of device */ member in struct:mac_driver_desc
|
/u-boot/drivers/crypto/aspeed/ |
H A D | aspeed_hace.c | 46 uint32_t blk_size; member in struct:aspeed_hace_ctx 129 hace_ctx->blk_size = 64; 135 hace_ctx->blk_size = 64; 141 hace_ctx->blk_size = 128; 147 hace_ctx->blk_size = 128; 173 left = hace_ctx->total[0] & (hace_ctx->blk_size - 1); 174 fill = hace_ctx->blk_size - left; 182 rc = aspeed_hace_process(dev, ctx, hace_ctx->buf, hace_ctx->blk_size); 192 while (ilen >= hace_ctx->blk_size) { 193 rc = aspeed_hace_process(dev, ctx, ibuf, hace_ctx->blk_size); [all...] |
/u-boot/drivers/virtio/ |
H A D | virtio_blk.h | 50 __u32 blk_size; member in struct:virtio_blk_config
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_spl.c | 119 int blk_size; local 164 blk_size = pages_per_blk * page_size; 228 offs = (offs + blk_size) & ~(blk_size - 1); 229 pos &= ~(blk_size - 1); 238 } while ((offs & (blk_size - 1)) && (pos < uboot_size));
|
/u-boot/drivers/spi/ |
H A D | mxc_spi.c | 423 u32 blk_size; local 435 blk_size = n_bytes; 437 blk_size = MAX_SPI_BYTES; 439 n_bits = blk_size * 8; 446 p_outbuf += blk_size; 448 p_inbuf += blk_size; 449 n_bytes -= blk_size;
|
/u-boot/drivers/mmc/ |
H A D | rockchip_sdhci.c | 494 u32 ctrl, blk_size; local 503 blk_size = SDHCI_MAKE_BLKSZ(SDHCI_DEFAULT_BOUNDARY_ARG, 64); 505 blk_size = SDHCI_MAKE_BLKSZ(SDHCI_DEFAULT_BOUNDARY_ARG, 128); 506 sdhci_writew(host, blk_size, SDHCI_BLOCK_SIZE);
|
/u-boot/test/lib/ |
H A D | lmb.c | 682 const phys_size_t blk_size = 0x10000; local 713 offset = ram + 2 * i * blk_size; 714 ret = lmb_reserve(&lmb, offset, blk_size); 722 offset = ram + 2 * (CONFIG_LMB_MAX_REGIONS + 1) * blk_size; 723 ret = lmb_reserve(&lmb, offset, blk_size); 734 ut_asserteq(lmb.reserved.region[i].base, ram + 2 * i * blk_size);
|
Completed in 77 milliseconds