/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_spl.c | 115 int blk_size; in nand_spl_load_image() local 159 blk_size = pages_per_blk * page_size; in nand_spl_load_image() 223 offs = (offs + blk_size) & ~(blk_size - 1); in nand_spl_load_image() 224 pos &= ~(blk_size - 1); in nand_spl_load_image() 233 } while ((offs & (blk_size - 1)) && (pos < uboot_size)); in nand_spl_load_image()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | virtio-blkdev.c | 125 vdev->config.blk.blk_size = VIRTIO_ISO_BLOCK_SIZE; in virtio_assume_iso9660() 144 vdev->config.blk.blk_size = VIRTIO_DASD_DEFAULT_BLOCK_SIZE; in virtio_assume_eckd() 147 vdev->config.blk.blk_size = vdev->scsi_block_size; in virtio_assume_eckd() 152 virtio_eckd_sectors_for_block_size(vdev->config.blk.blk_size); in virtio_assume_eckd() 176 return vdev->config.blk.blk_size; in virtio_get_block_size()
|
H A D | virtio.h | 163 uint32_t blk_size; /* block size of device (if VIRTIO_BLK_F_BLK_SIZE) */ member
|
H A D | virtio.c | 240 vdev->config.blk.blk_size = 0; /* mark "illegal" - setup started... */ in virtio_setup_ccw()
|
/openbmc/u-boot/disk/ |
H A D | part_mac.c | 85 mb = ldiv(n, ((1024 * 1024) / ddesc->blk_size)); /* MB */ in part_print_mac() 87 mb.rem *= 10 * ddesc->blk_size; in part_print_mac() 101 ddesc->blk_size, in part_print_mac() 131 bytes /= (1024 / ddesc->blk_size); /* kB; assumes blk_size == 512 */ in part_print_mac() 226 info->blksz = ddesc->blk_size; in part_get_info_mac()
|
H A D | part_mac.h | 27 __u16 blk_size; /* block size of device */ member
|
/openbmc/linux/fs/reiserfs/ |
D | tail_conversion.c |
|
/openbmc/linux/drivers/s390/block/ |
D | dasd_fba.h |
|
/openbmc/u-boot/drivers/spi/ |
H A D | mxc_spi.c | 340 u32 blk_size; in mxc_spi_xfer_internal() local 352 blk_size = n_bytes; in mxc_spi_xfer_internal() 354 blk_size = MAX_SPI_BYTES; in mxc_spi_xfer_internal() 356 n_bits = blk_size * 8; in mxc_spi_xfer_internal() 363 p_outbuf += blk_size; in mxc_spi_xfer_internal() 365 p_inbuf += blk_size; in mxc_spi_xfer_internal() 366 n_bytes -= blk_size; in mxc_spi_xfer_internal()
|
/openbmc/linux/drivers/char/ |
D | ps3flash.c |
|
/openbmc/qemu/block/export/ |
H A D | vhost-user-blk-server.c | 236 uint32_t blk_size, in vu_blk_initialize_config() argument 241 config->blk_size = cpu_to_le32(blk_size); in vu_blk_initialize_config() 251 cpu_to_le32(blk_size >> VIRTIO_BLK_SECTOR_BITS); in vu_blk_initialize_config()
|
H A D | vduse-blk.c | 317 config.blk_size = cpu_to_le32(logical_block_size); in vduse_blk_exp_create()
|
/openbmc/linux/arch/powerpc/include/asm/ |
D | ps3stor.h |
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_blk.h | 50 __u32 blk_size; member
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
D | platform.h |
|
D | repository.c |
|
/openbmc/linux/include/uapi/linux/ |
D | virtio_blk.h |
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_blk.h | 73 __virtio32 blk_size; member
|
/openbmc/linux/drivers/scsi/ |
D | ps3rom.c |
|
/openbmc/qemu/hw/block/ |
H A D | virtio-blk.c | 1147 int blk_size = conf->logical_block_size; in virtio_blk_update_config() local 1155 virtio_stl_p(vdev, &blkcfg.blk_size, blk_size); in virtio_blk_update_config() 1156 virtio_stw_p(vdev, &blkcfg.min_io_size, conf->min_io_size / blk_size); in virtio_blk_update_config() 1157 virtio_stl_p(vdev, &blkcfg.opt_io_size, conf->opt_io_size / blk_size); in virtio_blk_update_config() 1171 if (length > 0 && length / conf->heads / conf->secs % blk_size) { in virtio_blk_update_config() 1184 discard_granularity = blk_size; in virtio_blk_update_config() 1221 virtio_stl_p(vdev, &blkcfg.zoned.write_granularity, blk_size); in virtio_blk_update_config()
|
/openbmc/linux/drivers/iommu/ |
D | io-pgtable-arm-v7s.c |
|
/openbmc/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 538 config->blk_size = vub_get_blocksize(fd); in vub_initialize_config() 547 config->discard_sector_alignment = config->blk_size >> 9; in vub_initialize_config()
|
/openbmc/qemu/hw/sd/ |
H A D | sd.c | 2785 int64_t blk_size; in sd_realize() local 2792 blk_size = blk_getlength(sd->blk); in sd_realize() 2793 if (blk_size > 0 && !is_power_of_2(blk_size)) { in sd_realize() 2794 int64_t blk_size_aligned = pow2ceil(blk_size); in sd_realize() 2797 blk_size_str = size_to_str(blk_size); in sd_realize()
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_blk.c |
|
/openbmc/linux/drivers/staging/rts5208/ |
D | ms.c |
|