Home
last modified time | relevance | path

Searched refs:bdev (Results 1 – 11 of 11) sorted by relevance

/u-boot/lib/efi_driver/
A Defi_block_device.c137 struct udevice *bdev, *parent = dm_root(); in efi_bl_bind() local
164 (lbaint_t)io->media->last_block, &bdev); in efi_bl_bind()
167 if (!bdev) in efi_bl_bind()
170 device_set_name_alloced(bdev); in efi_bl_bind()
172 plat = dev_get_plat(bdev); in efi_bl_bind()
176 ret = device_probe(bdev); in efi_bl_bind()
179 EFI_PRINT("%s: block device '%s' created\n", __func__, bdev->name); in efi_bl_bind()
182 disks = efi_bl_bind_partitions(handle, bdev); in efi_bl_bind()
/u-boot/cmd/
A Dunzip.c49 struct blk_desc *bdev; in do_gzwrite() local
59 ret = blk_get_device_by_str(argv[1], argv[2], &bdev); in do_gzwrite()
76 ret = gzwrite(addr, length, bdev, writebuf, startoffs, szexpected); in do_gzwrite()
A Dhost.c94 host_dev = dev_get_plat(blk_dev->bdev); in do_host_info()
/u-boot/drivers/mmc/
A Dmmc-uclass.c385 struct udevice *bdev; in mmc_bind() local
397 devnum, 512, 0, &bdev); in mmc_bind()
402 bdesc = dev_get_uclass_plat(bdev); in mmc_bind()
423 struct udevice *bdev; in mmc_unbind() local
425 device_find_first_child(dev, &bdev); in mmc_unbind()
426 if (bdev) { in mmc_unbind()
427 device_remove(bdev, DM_REMOVE_NORMAL); in mmc_unbind()
428 device_unbind(bdev); in mmc_unbind()
434 static int mmc_select_hwpart(struct udevice *bdev, int hwpart) in mmc_select_hwpart() argument
436 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart()
[all …]
/u-boot/drivers/scsi/
A Dscsi.c153 struct udevice *bdev = dev->parent; in scsi_read() local
154 struct scsi_plat *uc_plat = dev_get_uclass_plat(bdev); in scsi_read()
203 if (scsi_exec(bdev, pccb)) { in scsi_read()
223 struct udevice *bdev = dev->parent; in scsi_write() local
224 struct scsi_plat *uc_plat = dev_get_uclass_plat(bdev); in scsi_write()
261 if (scsi_exec(bdev, pccb)) { in scsi_write()
563 struct udevice *bdev; in do_scsi_scan_one() local
583 bd.blksz, bd.lba, &bdev); in do_scsi_scan_one()
589 bdesc = dev_get_uclass_plat(bdev); in do_scsi_scan_one()
/u-boot/drivers/block/
A Dblk-uclass.c357 return blk_select_hwpart(desc->bdev, hwpart); in blk_dselect_hwpart()
438 struct udevice *dev = block_dev->bdev; in blk_dread()
459 struct udevice *dev = block_dev->bdev; in blk_dwrite()
472 struct udevice *dev = block_dev->bdev; in blk_derase()
592 desc->bdev = dev; in blk_create_device()
/u-boot/drivers/virtio/
A Dvirtio_blk.c98 desc->bdev = dev; in virtio_blk_bind()
/u-boot/include/
A Dblk.h95 struct udevice *bdev; member
/u-boot/lib/efi_loader/
A Defi_device_path.c722 dev = desc->bdev->parent; in dp_part_size()
820 dev = desc->bdev->parent; in dp_part_fill()
/u-boot/drivers/xen/
A Dpvblock.c677 desc->bdev = udev; in pvblock_blk_bind()
/u-boot/drivers/nvme/
A Dnvme.c729 desc->bdev = udev; in nvme_blk_probe()

Completed in 16 milliseconds