| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | mmc-uclass.c | 275 struct udevice *bdev; in mmc_bind() local 285 devnum, 512, 0, &bdev); in mmc_bind() 290 bdesc = dev_get_uclass_platdata(bdev); in mmc_bind() 311 struct udevice *bdev; in mmc_unbind() local 313 device_find_first_child(dev, &bdev); in mmc_unbind() 314 if (bdev) { in mmc_unbind() 315 device_remove(bdev, DM_REMOVE_NORMAL); in mmc_unbind() 316 device_unbind(bdev); in mmc_unbind() 322 static int mmc_select_hwpart(struct udevice *bdev, int hwpart) in mmc_select_hwpart() argument 324 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | unzip.c | 46 struct blk_desc *bdev; in do_gzwrite() local 56 ret = blk_get_device_by_str(argv[1], argv[2], &bdev); in do_gzwrite() 73 ret = gzwrite(addr, length, bdev, writebuf, startoffs, szexpected); in do_gzwrite()
|
| H A D | host.c | 93 host_dev = dev_get_priv(blk_dev->bdev); in do_host_info()
|
| H A D | rockusb.c | 49 mtd_blk = dev_get_uclass_platdata(block_dev->bdev); in rkusb_write_sector()
|
| /rk3399_rockchip-uboot/drivers/ram/ |
| H A D | ramdisk_ro.c | 37 struct udevice *bdev; in ramdisk_ro_bind() local 41 IF_TYPE_RAMDISK, 0, 512, 0, &bdev); in ramdisk_ro_bind()
|
| /rk3399_rockchip-uboot/drivers/rkflash/ |
| H A D | rksfc_base.c | 75 struct udevice *bdev; in rksfc_blk_bind() local 80 0, 512, 0, &bdev); in rksfc_blk_bind() 83 1, 512, 0, &bdev); in rksfc_blk_bind()
|
| H A D | rknandc_base.c | 54 struct udevice *bdev; in rknand_blk_bind() local 59 0, 512, 0, &bdev); in rknand_blk_bind()
|
| H A D | rkflash_blk.c | 99 desc->bdev = udev; in rkflash_blk_probe()
|
| H A D | rkflash_api.c | 204 struct rkflash_info *priv = dev_get_priv(dev_desc->bdev->parent); in rksfc_nor_vendor_read() 215 struct rkflash_info *priv = dev_get_priv(dev_desc->bdev->parent); in rksfc_nor_vendor_write()
|
| /rk3399_rockchip-uboot/drivers/block/ |
| H A D | systemace.c | 240 struct udevice *bdev; in systemace_bind() local 244 -1, 512, 0, &bdev); in systemace_bind() 249 bdesc = dev_get_uclass_platdata(bdev); in systemace_bind()
|
| H A D | blk-uclass.c | 383 return blk_select_hwpart(desc->bdev, hwpart); in blk_dselect_hwpart() 464 struct udevice *dev = block_dev->bdev; in blk_dread() 489 struct udevice *dev = block_dev->bdev; in blk_dwrite() 508 struct udevice *dev = block_dev->bdev; in blk_dwrite_zeroes() 527 struct udevice *dev = block_dev->bdev; in blk_derase() 673 desc->bdev = dev; in blk_create_device()
|
| /rk3399_rockchip-uboot/drivers/scsi/ |
| H A D | scsi.c | 172 struct udevice *bdev = dev->parent; in _scsi_read() local 174 struct udevice *bdev = NULL; in _scsi_read() 223 if (scsi_exec(bdev, pccb)) { in _scsi_read() 305 struct udevice *bdev = dev->parent; in _scsi_write() local 307 struct udevice *bdev = NULL; in _scsi_write() 345 if (scsi_exec(bdev, pccb)) { in _scsi_write() 416 struct udevice *bdev = dev->parent; in scsi_erase() local 427 if (scsi_exec(bdev, pccb)) { in scsi_erase() 451 if (scsi_exec(bdev, pccb)) { in scsi_erase() 732 struct udevice *bdev; in do_scsi_scan_one() local [all …]
|
| /rk3399_rockchip-uboot/drivers/rknand/ |
| H A D | rknand.c | 147 struct udevice *bdev; in rknand_blk_bind() local 152 0, 512, 0, &bdev); in rknand_blk_bind() 173 desc->bdev = udev; in rknand_blk_probe()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_blk.c | 59 mtd = desc->bdev->priv; in mtd_blk_map_table_init() 165 mtd = dev_get_priv(desc->bdev->parent); in mtd_blk_map_fit() 169 mtd = desc->bdev->priv; in mtd_blk_map_fit() 400 mtd = (struct mtd_info *)dev_desc->bdev->priv; in mtd_part_parse() 505 mtd = desc->bdev->priv; in mtd_dread() 588 mtd = desc->bdev->priv; in mtd_dwrite() 671 mtd = desc->bdev->priv; in mtd_derase() 722 desc->bdev->priv = mtd; in mtd_blk_probe()
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | sf_probe.c | 151 struct udevice *bdev; in spi_flash_std_bind() local 154 BLK_MTD_SPI_NOR, 512, 0, &bdev); in spi_flash_std_bind()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | rockchip_nand_spl_v9.c | 415 struct udevice *bdev; in rockchip_nandc_bind() local 418 BLK_MTD_NAND, 512, 0, &bdev); in rockchip_nandc_bind()
|
| H A D | rockchip_nand_spl.c | 415 struct udevice *bdev; in rockchip_nandc_bind() local 418 BLK_MTD_NAND, 512, 0, &bdev); in rockchip_nandc_bind()
|
| H A D | rockchip_nand_v9.c | 697 struct udevice *bdev; in rockchip_nandc_bind() local 700 BLK_MTD_NAND, 512, 0, &bdev); in rockchip_nandc_bind()
|
| H A D | rockchip_nand.c | 696 struct udevice *bdev; in rockchip_nandc_bind() local 699 BLK_MTD_NAND, 512, 0, &bdev); in rockchip_nandc_bind()
|
| /rk3399_rockchip-uboot/lib/efi_loader/ |
| H A D | efi_device_path.c | 357 dpsize = dp_size(desc->bdev->parent); in dp_part_size() 378 buf = dp_fill(buf, desc->bdev->parent); in dp_part_fill()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | blk.h | 112 struct udevice *bdev; member
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_rockusb.c | 304 struct mtd_info *mtd = (struct mtd_info *)desc->bdev->priv; in rkusb_do_read_flash_info() 425 struct mtd_info *mtd = (struct mtd_info *)desc->bdev->priv; in rkusb_do_erase_force()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/spi/ |
| H A D | core.c | 1297 struct udevice *bdev; in spinand_bind() local 1300 BLK_MTD_SPI_NAND, 512, 0, &bdev); in spinand_bind()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | vendor.c | 171 struct mtd_info *mtd = (struct mtd_info *)dev_desc->bdev->priv; in mtd_vendor_storage_init()
|
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme.c | 730 desc->bdev = udev; in nvme_blk_probe()
|