Searched refs:bdev (Results 1 – 11 of 11) sorted by relevance
/u-boot/lib/efi_driver/ |
A D | efi_block_device.c | 137 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 D | unzip.c | 49 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 D | host.c | 94 host_dev = dev_get_plat(blk_dev->bdev); in do_host_info()
|
/u-boot/drivers/mmc/ |
A D | mmc-uclass.c | 385 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 D | scsi.c | 153 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 D | blk-uclass.c | 357 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 D | virtio_blk.c | 98 desc->bdev = dev; in virtio_blk_bind()
|
/u-boot/include/ |
A D | blk.h | 95 struct udevice *bdev; member
|
/u-boot/lib/efi_loader/ |
A D | efi_device_path.c | 722 dev = desc->bdev->parent; in dp_part_size() 820 dev = desc->bdev->parent; in dp_part_fill()
|
/u-boot/drivers/xen/ |
A D | pvblock.c | 677 desc->bdev = udev; in pvblock_blk_bind()
|
/u-boot/drivers/nvme/ |
A D | nvme.c | 729 desc->bdev = udev; in nvme_blk_probe()
|
Completed in 16 milliseconds