Home
last modified time | relevance | path

Searched refs:blk_dev (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/drivers/block/
Dsandbox.c159 if (host_dev->blk_dev.priv) {
161 host_dev->blk_dev.priv = NULL;
179 struct blk_desc *blk_dev = &host_dev->blk_dev; local
180 blk_dev->if_type = IF_TYPE_HOST;
181 blk_dev->priv = host_dev;
182 blk_dev->blksz = 512;
183 blk_dev->lba = os_lseek(host_dev->fd, 0, OS_SEEK_END) / blk_dev->blksz;
184 blk_dev->block_read = host_block_read;
185 blk_dev->block_write = host_block_write;
186 blk_dev->devnum = dev;
[all …]
Dide.c1191 struct udevice *blk_dev; in ide_probe() local
1213 blksz, size, &blk_dev); in ide_probe()
/external/u-boot/cmd/
Dhost.c76 struct blk_desc *blk_dev; in do_host_info() local
80 ret = host_get_dev_err(dev, &blk_dev); in do_host_info()
92 host_dev = dev_get_priv(blk_dev->bdev); in do_host_info()
94 host_dev = blk_dev->priv; in do_host_info()
96 printf("%12lu %s\n", (unsigned long)blk_dev->lba, in do_host_info()
107 struct blk_desc *blk_dev; in do_host_dev() local
128 ret = host_get_dev_err(dev, &blk_dev); in do_host_dev()
/external/u-boot/include/
Dsandboxblockdev.h11 struct blk_desc blk_dev; member
/external/squashfs-tools/RELEASE-READMEs/
Dpseudo-file.example56 # a block device "blk_dev" with major:minor 200:200, both with root
59 blk_dev b 666 0 0 200 200
DREADME-4.042 /dev/blk_dev b 444 0 0 200 200
DREADME-4.1225 /dev/blk_dev b 666 0 0 200 200
228 a block device "/dev/blk_dev" with major:minor 200:200, both with root
/external/u-boot/drivers/dfu/
Ddfu_mmc.c357 struct blk_desc *blk_dev = mmc_get_blk_desc(mmc); in dfu_fill_entity_mmc() local
361 if (part_get_info(blk_dev, mmcpart, &partinfo) != 0) { in dfu_fill_entity_mmc()
/external/squashfs-tools/
DRELEASE-README675 /dev/blk_dev b 666 0 0 200 200
678 a block device "/dev/blk_dev" with major:minor 200:200, both with root