| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | sdhci-cmd.c | 74 void sdhci_cmd_regs(QTestState *qts, uint64_t base_addr, uint16_t blksize, in sdhci_cmd_regs() argument 78 qtest_writew(qts, base_addr + SDHC_BLKSIZE, blksize); in sdhci_cmd_regs() 103 size_t count, size_t blksize) in sdhci_write_cmd() argument 105 sdhci_cmd_regs(qts, base_addr, blksize, 1, 0, in sdhci_write_cmd() 111 fill_block(qts, base_addr + SDHC_BDATA, (blksize - count) / 4); in sdhci_write_cmd()
|
| H A D | sdhci-cmd.h | 62 void sdhci_cmd_regs(QTestState *qts, uint64_t base_addr, uint16_t blksize, 72 size_t count, size_t blksize);
|
| H A D | virtio-9p-client.h | 51 uint64_t blksize; member
|
| H A D | virtio-9p-client.c | 544 v9fs_uint64_read(req, &attr->blksize); in v9fs_rgetattr()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/ |
| H A D | 0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch | 42 + blk64_t pblk, blksize, blk = 0; 47 + blksize = fs->blocksize; 48 + blksize >>= SECTOR_SHIFT; 70 + sec = (sector_t)pblk * blksize; 71 + for (i = 0; i < blksize; i++) {
|
| /openbmc/qemu/contrib/plugins/ |
| H A D | cache.c | 233 static const char *cache_config_error(int blksize, int assoc, int cachesize) in cache_config_error() argument 235 if (cachesize % blksize != 0) { in cache_config_error() 237 } else if (cachesize % (blksize * assoc) != 0) { in cache_config_error() 244 static bool bad_cache_params(int blksize, int assoc, int cachesize) in bad_cache_params() argument 246 return (cachesize % blksize) != 0 || (cachesize % (blksize * assoc) != 0); in bad_cache_params() 249 static Cache *cache_init(int blksize, int assoc, int cachesize) in cache_init() argument 259 g_assert(!bad_cache_params(blksize, assoc, cachesize)); in cache_init() 264 cache->num_sets = cachesize / (blksize * assoc); in cache_init() 266 cache->blksize_shift = pow_of_two(blksize); in cache_init() 274 blk_mask = blksize - 1; in cache_init() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/ |
| H A D | tftp-0.42-tftpboot.patch | 40 -/usr/sbin/in.tftpd -s /tftpboot -r blksize 41 +/usr/sbin/in.tftpd -s /var/lib/tftpboot -r blksize 46 -in.tftpd -s /tftpboot -r blksize 47 +in.tftpd -s /var/lib/tftpboot -r blksize
|
| /openbmc/qemu/pc-bios/s390-ccw/ |
| H A D | virtio-blkdev.c | 157 int blksize = virtio_get_block_size(); in virtio_ipl_disk_is_valid() local 167 blksize >= 512 && blksize <= 4096; in virtio_ipl_disk_is_valid()
|
| H A D | bootmap.c | 1035 int blksize = virtio_get_block_size(); in has_iso_signature() local 1037 if (!blksize || virtio_read(0x8000 / blksize, sec)) { in has_iso_signature() 1050 int blksize = virtio_get_block_size(); in zipl_load_vblk() local 1052 if (blksize == VIRTIO_ISO_BLOCK_SIZE || has_iso_signature()) { in zipl_load_vblk() 1053 if (blksize != VIRTIO_ISO_BLOCK_SIZE) { in zipl_load_vblk() 1061 if (blksize != VIRTIO_DASD_DEFAULT_BLOCK_SIZE) { in zipl_load_vblk()
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | arm_pl180_mmci.c | 108 static int read_bytes(struct mmc *dev, u32 *dest, u32 blkcount, u32 blksize) in read_bytes() argument 111 u64 xfercount = blkcount * blksize; in read_bytes() 115 debug("read_bytes: blkcount=%u blksize=%u\n", blkcount, blksize); in read_bytes() 163 static int write_bytes(struct mmc *dev, u32 *src, u32 blkcount, u32 blksize) in write_bytes() argument 167 u64 xfercount = blkcount * blksize; in write_bytes() 171 debug("write_bytes: blkcount=%u blksize=%u\n", blkcount, blksize); in write_bytes()
|
| H A D | bcm2835_sdhost.c | 273 size_t blksize = data->blocksize; in bcm2835_transfer_block_pio() local 278 if (blksize % sizeof(u32)) in bcm2835_transfer_block_pio() 284 data->dest += blksize; in bcm2835_transfer_block_pio() 286 data->src += blksize; in bcm2835_transfer_block_pio() 288 copy_words = blksize / sizeof(u32); in bcm2835_transfer_block_pio()
|
| H A D | tegra_mmc.c | 92 writew((7 << 12) | (data->blocksize & 0xFFF), &priv->reg->blksize); in tegra_mmc_prepare_data()
|
| /openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
| H A D | tegra_mmc.h | 23 unsigned short blksize; /* _BLOCK_SIZE_BLOCK_COUNT_0 15:00 */ member
|
| /openbmc/qemu/include/hw/sd/ |
| H A D | sdhci.h | 55 uint16_t blksize; /* Host DMA Buff Boundary and Transfer BlkSize Reg */ member
|
| /openbmc/qemu/ui/ |
| H A D | spice-display.c | 194 static const int blksize = 32; in qemu_spice_create_update() local 195 int blocks = DIV_ROUND_UP(surface_width(ssd->ds), blksize); in qemu_spice_create_update() 215 for (x = ssd->dirty.left; x < ssd->dirty.right; x += blksize) { in qemu_spice_create_update() 217 blk = x / blksize; in qemu_spice_create_update() 218 bw = MIN(blksize, ssd->dirty.right - x); in qemu_spice_create_update() 240 for (x = ssd->dirty.left; x < ssd->dirty.right; x += blksize) { in qemu_spice_create_update() 241 blk = x / blksize; in qemu_spice_create_update() 242 bw = MIN(blksize, ssd->dirty.right - x); in qemu_spice_create_update()
|
| /openbmc/u-boot/cmd/ |
| H A D | gpt.c | 218 lbaint_t blksize) in prettyprint_part_size() argument 222 partbytes = partsize * blksize; in prettyprint_part_size()
|