Searched refs:stor_dev (Results 1 – 9 of 9) sorted by relevance
/third_party/uboot/u-boot-2020.01/common/spl/ |
D | spl_sata.c | 34 struct blk_desc *stor_dev, unsigned long sector) in spl_sata_load_image_raw() argument 41 header = spl_get_load_buffer(-sizeof(*header), stor_dev->blksz); in spl_sata_load_image_raw() 42 count = blk_dread(stor_dev, sector, 1, header); in spl_sata_load_image_raw() 50 image_size_sectors = DIV_ROUND_UP(spl_image->size, stor_dev->blksz); in spl_sata_load_image_raw() 51 count = blk_dread(stor_dev, sector, image_size_sectors, in spl_sata_load_image_raw() 63 struct blk_desc *stor_dev; in spl_sata_load_image() local 76 stor_dev = blk_get_devnum_by_type(IF_TYPE_SCSI, 0); in spl_sata_load_image() 77 if (!stor_dev) in spl_sata_load_image() 83 spl_load_image_fat_os(spl_image, stor_dev, in spl_sata_load_image() 90 err = spl_load_image_fat(spl_image, stor_dev, in spl_sata_load_image() [all …]
|
D | spl_usb.c | 24 struct blk_desc *stor_dev; in spl_usb_load_image() local 37 stor_dev = blk_get_devnum_by_type(IF_TYPE_USB, usb_stor_curr_dev); in spl_usb_load_image() 38 if (!stor_dev) in spl_usb_load_image() 45 spl_load_image_fat_os(spl_image, stor_dev, in spl_usb_load_image() 49 err = spl_load_image_fat(spl_image, stor_dev, in spl_usb_load_image()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hi3518ev300/ |
D | hi3518ev300.c | 332 struct blk_desc *stor_dev = NULL; in is_ota() local 340 stor_dev = blk_get_dev(name, dev); in is_ota() 341 if (stor_dev == NULL) { in is_ota() 346 if (fat_register_device(stor_dev, 1) != 0) { in is_ota() 401 unsigned int stor_dev = 0; in select_upgrade_dev() local 403 stor_dev = (uval >> 16) & 0x03; /* 16,0x03: store dev */ in select_upgrade_dev() 407 if (stor_dev == NUM_0) { in select_upgrade_dev()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hi3516ev200/ |
D | hi3516ev200.c | 324 struct blk_desc *stor_dev = NULL; in is_ota() local 332 stor_dev = blk_get_dev(name, dev); in is_ota() 333 if (stor_dev == NULL) { in is_ota() 338 if (fat_register_device(stor_dev, 1) != 0) { in is_ota()
|
/third_party/uboot/u-boot-2020.01/product/hiupdate/ |
D | auto_update.c | 487 struct blk_desc *stor_dev; in do_auto_update() local 510 stor_dev = blk_get_dev(s_intf[j].name, dev); in do_auto_update() 511 if (stor_dev == NULL) { in do_auto_update() 516 if (fat_register_device(stor_dev, 1) != 0) { in do_auto_update()
|
D | auto_update_adaptation.c | 1818 struct blk_desc *stor_dev; in do_auto_update() local 1847 stor_dev = blk_get_dev(s_intf[j].name, dev); in do_auto_update() 1848 if (stor_dev == NULL) { in do_auto_update() 1860 part_init(stor_dev); in do_auto_update() 1864 if (fat_register_device(stor_dev, 1) != 0) { in do_auto_update()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hi3516dv300/ |
D | hi3516dv300.c | 314 struct blk_desc *stor_dev = NULL; in is_ota() local 322 stor_dev = blk_get_dev(name, g_dev_num); in is_ota() 323 if (stor_dev == NULL) { in is_ota() 328 if (fat_register_device(stor_dev, 1) != 0) { in is_ota()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hi3519av100/ |
D | hi3519av100_amp.c | 400 unsigned int stor_dev = 0; in select_upgrade_dev() local 402 stor_dev = (uval >> 16) & 0x03; /* 16,0x03: store dev */ in select_upgrade_dev() 406 if (stor_dev == NUM_0) { in select_upgrade_dev()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hi3556av100/ |
D | hi3556av100.c | 399 unsigned int stor_dev = 0; in select_upgrade_dev() local 401 stor_dev = (uval >> 16) & 0x03; /* 16,0x03: store dev */ in select_upgrade_dev() 405 if (stor_dev == NUM_0) { in select_upgrade_dev()
|