Searched refs:blk_dev (Results 1 – 7 of 7) sorted by relevance
/u-boot/drivers/block/ |
A D | sandbox.c | 169 if (host_dev->blk_dev.priv) { 171 host_dev->blk_dev.priv = NULL; 189 struct blk_desc *blk_dev = &host_dev->blk_dev; local 191 blk_dev->priv = host_dev; 192 blk_dev->blksz = 512; 193 blk_dev->lba = os_lseek(host_dev->fd, 0, OS_SEEK_END) / blk_dev->blksz; 196 blk_dev->devnum = dev; 198 blk_dev->removable = 1; 202 part_init(blk_dev); 224 if (!host_dev->blk_dev.priv) [all …]
|
A D | ide.c | 1193 struct udevice *blk_dev; in ide_probe() local 1215 blksz, size, &blk_dev); in ide_probe()
|
/u-boot/cmd/ |
A D | host.c | 78 struct blk_desc *blk_dev; in do_host_info() local 82 ret = host_get_dev_err(dev, &blk_dev); in do_host_info() 94 host_dev = dev_get_plat(blk_dev->bdev); in do_host_info() 96 host_dev = blk_dev->priv; in do_host_info() 98 printf("%12lu %s\n", (unsigned long)blk_dev->lba, in do_host_info() 109 struct blk_desc *blk_dev; in do_host_dev() local 130 ret = host_get_dev_err(dev, &blk_dev); in do_host_dev()
|
/u-boot/drivers/xen/ |
A D | pvblock.c | 603 struct blkfront_dev *blk_dev = dev_get_priv(udev); in pvblock_iop() local 620 aiocb.aio_dev = blk_dev; in pvblock_iop() 629 memcpy(blk_dev->bounce_buffer, buffer, desc->blksz); in pvblock_iop() 638 memcpy(buffer, blk_dev->bounce_buffer, desc->blksz); in pvblock_iop() 688 struct blkfront_dev *blk_dev = dev_get_priv(udev); in pvblock_blk_probe() local 696 ret = init_blkfront(devid, blk_dev); in pvblock_blk_probe() 700 desc->blksz = blk_dev->info.sector_size; in pvblock_blk_probe() 701 desc->lba = blk_dev->info.sectors; in pvblock_blk_probe() 702 desc->log2blksz = LOG2(blk_dev->info.sector_size); in pvblock_blk_probe() 709 struct blkfront_dev *blk_dev = dev_get_priv(udev); in pvblock_blk_remove() local [all …]
|
/u-boot/include/ |
A D | sandboxblockdev.h | 11 struct blk_desc blk_dev; member
|
/u-boot/drivers/dfu/ |
A D | dfu_mmc.c | 399 struct blk_desc *blk_dev = mmc_get_blk_desc(mmc); in dfu_fill_entity_mmc() local 404 if (part_get_info(blk_dev, mmcpart, &partinfo) != 0) { in dfu_fill_entity_mmc()
|
/u-boot/drivers/ata/ |
A D | sata_sil.c | 709 static int scan_sata(struct udevice *blk_dev, int dev) 711 struct blk_desc *desc = dev_get_uclass_plat(blk_dev); 712 struct sil_sata_priv *priv = dev_get_plat(blk_dev);
|
Completed in 10 milliseconds