/third_party/uboot/u-boot-2020.01/include/ |
D | part.h | 93 struct blk_desc *blk_get_dev(const char *ifname, int dev); 95 struct blk_desc *mg_disk_get_dev(int dev); 96 int host_get_dev_err(int dev, struct blk_desc **blk_devp); 99 int part_get_info(struct blk_desc *dev_desc, int part, disk_partition_t *info); 104 int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info); 106 void part_print(struct blk_desc *dev_desc); 107 void part_init(struct blk_desc *dev_desc); 108 void dev_print(struct blk_desc *dev_desc); 136 struct blk_desc **dev_desc); 172 struct blk_desc **dev_desc, [all …]
|
D | blk.h | 60 struct blk_desc { struct 96 unsigned long (*block_read)(struct blk_desc *block_dev, argument 100 unsigned long (*block_write)(struct blk_desc *block_dev, argument 104 unsigned long (*block_erase)(struct blk_desc *block_dev, argument 111 #define BLOCK_CNT(size, blk_desc) (PAD_COUNT(size, blk_desc->blksz)) argument 112 #define PAD_TO_BLOCKSIZE(size, blk_desc) \ argument 113 (PAD_SIZE(size, blk_desc->blksz)) 271 unsigned long blk_dread(struct blk_desc *block_dev, lbaint_t start, 273 unsigned long blk_dwrite(struct blk_desc *block_dev, lbaint_t start, 275 unsigned long blk_derase(struct blk_desc *block_dev, lbaint_t start, [all …]
|
D | ide.h | 22 struct blk_desc; 30 ulong ide_read(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt, 32 ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt,
|
D | spl.h | 350 struct blk_desc *block_dev, int partition, 353 struct blk_desc *block_dev, int partition); 359 struct blk_desc *block_dev, int partition, 362 struct blk_desc *block_dev, int partition);
|
D | ext4fs.h | 117 struct blk_desc *dev_desc; 155 void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info); 158 int ext4fs_probe(struct blk_desc *fs_dev_desc,
|
/third_party/uboot/u-boot-2020.01/drivers/block/ |
D | blk_legacy.c | 57 static int get_desc(struct blk_driver *drv, int devnum, struct blk_desc **descp) in get_desc() 75 struct blk_desc *desc; in blk_list_part() 102 struct blk_desc *desc; in blk_print_part_devnum() 120 struct blk_desc *desc; in blk_list_devices() 138 struct blk_desc *desc; in blk_print_device_num() 155 struct blk_desc *desc; in blk_show_device() 177 struct blk_desc *blk_get_devnum_by_type(enum if_type if_type, int devnum) in blk_get_devnum_by_type() 180 struct blk_desc *desc; in blk_get_devnum_by_type() 191 int blk_dselect_hwpart(struct blk_desc *desc, int hwpart) in blk_dselect_hwpart() 203 struct blk_desc *blk_get_devnum_by_typename(const char *if_typename, int devnum) in blk_get_devnum_by_typename() [all …]
|
D | blk-uclass.c | 67 struct blk_desc *blk_get_devnum_by_type(enum if_type if_type, int devnum) in blk_get_devnum_by_type() 69 struct blk_desc *desc; in blk_get_devnum_by_type() 86 struct blk_desc *blk_get_devnum_by_typename(const char *if_typename, int devnum) in blk_get_devnum_by_typename() 111 struct blk_desc *desc = dev_get_uclass_platdata(dev); in blk_get_devnum_by_typename() 143 struct blk_desc *blk_get_by_device(struct udevice *dev) in blk_get_by_device() 169 static int get_desc(enum if_type if_type, int devnum, struct blk_desc **descp) in get_desc() 181 struct blk_desc *desc = dev_get_uclass_platdata(dev); in get_desc() 216 struct blk_desc *desc; in blk_list_part() 241 struct blk_desc *desc; in blk_print_part_devnum() 256 struct blk_desc *desc; in blk_list_devices() [all …]
|
D | sandbox.c | 37 struct blk_desc *block_dev = dev_get_uclass_platdata(dev); 40 static unsigned long host_block_read(struct blk_desc *block_dev, 68 struct blk_desc *block_dev = dev_get_uclass_platdata(dev); 70 static unsigned long host_block_write(struct blk_desc *block_dev, 180 struct blk_desc *blk_dev = &host_dev->blk_dev; 195 int host_get_dev_err(int devnum, struct blk_desc **blk_devp)
|
/third_party/uboot/u-boot-2020.01/disk/ |
D | part.c | 27 static struct part_driver *part_driver_lookup_type(struct blk_desc *dev_desc) in part_driver_lookup_type() 56 static struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 58 struct blk_desc *dev_desc; in get_dev_hwpart() 77 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 82 struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 87 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 120 void dev_print (struct blk_desc *dev_desc) in dev_print() 230 void part_init(struct blk_desc *dev_desc) in part_init() 252 static void print_part_header(const char *type, struct blk_desc *dev_desc) in print_part_header() 300 void part_print(struct blk_desc *dev_desc) in part_print() [all …]
|
D | part_mac.c | 34 static int part_mac_read_ddb(struct blk_desc *dev_desc, 36 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part, 42 static int part_test_mac(struct blk_desc *dev_desc) in part_test_mac() 68 static void part_print_mac(struct blk_desc *dev_desc) in part_print_mac() 157 static int part_mac_read_ddb(struct blk_desc *dev_desc, in part_mac_read_ddb() 174 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part, in part_mac_read_pdb() 216 static int part_get_info_mac(struct blk_desc *dev_desc, int part, in part_get_info_mac()
|
D | part_efi.c | 50 static int is_gpt_valid(struct blk_desc *dev_desc, u64 lba, 52 static gpt_entry *alloc_read_gpt_entries(struct blk_desc *dev_desc, 55 static int find_valid_gpt(struct blk_desc *dev_desc, gpt_header *gpt_head, 191 int get_disk_guid(struct blk_desc * dev_desc, char *guid) in get_disk_guid() 209 void part_print_efi(struct blk_desc *dev_desc) in part_print_efi() 255 int part_get_info_efi(struct blk_desc *dev_desc, int part, in part_get_info_efi() 307 static int part_test_efi(struct blk_desc *dev_desc) in part_test_efi() 325 static int set_protective_mbr(struct blk_desc *dev_desc) in set_protective_mbr() 360 int write_gpt_table(struct blk_desc *dev_desc, in write_gpt_table() 408 int gpt_fill_pte(struct blk_desc *dev_desc, in gpt_fill_pte() [all …]
|
D | part_dos.c | 104 static int part_test_dos(struct blk_desc *dev_desc) in part_test_dos() 136 static void print_partition_extended(struct blk_desc *dev_desc, in print_partition_extended() 207 static int part_get_info_extended(struct blk_desc *dev_desc, in part_get_info_extended() 307 void part_print_dos(struct blk_desc *dev_desc) in part_print_dos() 313 int part_get_info_dos(struct blk_desc *dev_desc, int part, in part_get_info_dos() 324 int write_mbr_partition(struct blk_desc *dev_desc, void *buf) in write_mbr_partition()
|
D | part_iso.c | 28 unsigned long iso_dread(struct blk_desc *block_dev, lbaint_t start, in iso_dread() 48 int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num, in part_get_info_iso_verb() 201 static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, in part_get_info_iso() 207 static void part_print_iso(struct blk_desc *dev_desc) in part_print_iso() 226 static int part_test_iso(struct blk_desc *dev_desc) in part_test_iso()
|
D | part_amiga.c | 129 struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) in get_rdisk() 169 struct bootcode_block *get_bootcode(struct blk_desc *dev_desc) in get_bootcode() 210 static int part_test_amiga(struct blk_desc *dev_desc) in part_test_amiga() 239 static struct partition_block *find_partition(struct blk_desc *dev_desc, in find_partition() 293 static int part_get_info_amiga(struct blk_desc *dev_desc, int part, in part_get_info_amiga() 321 static void part_print_amiga(struct blk_desc *dev_desc) in part_print_amiga()
|
/third_party/uboot/u-boot-2020.01/drivers/mmc/ |
D | mmc_private.h | 27 ulong mmc_bread(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt, 38 ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt, 40 ulong mmc_berase(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt); 60 static inline unsigned long mmc_berase(struct blk_desc *block_dev, in mmc_berase() 66 static inline ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, in mmc_bwrite()
|
D | mmc_legacy.c | 32 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc) in mmc_get_blk_desc() 61 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc) in mmc_get_blk_desc() 174 struct blk_desc *bdesc; in mmc_create() 222 static int mmc_select_hwpartp(struct blk_desc *desc, int hwpart) in mmc_select_hwpartp() 243 static int mmc_get_dev(int dev, struct blk_desc **descp) in mmc_get_dev()
|
/third_party/uboot/u-boot-2020.01/api/ |
D | api_storage.c | 100 struct blk_desc *dd; in dev_stor_get() 141 dd = (struct blk_desc *)di->cookie; in dev_stor_get() 159 static int dev_stor_type(struct blk_desc *dd) in dev_stor_type() 293 static int dev_stor_is_valid(int type, struct blk_desc *dd) in dev_stor_is_valid() 313 if (dev_stor_is_valid(type, (struct blk_desc *)cookie)) in dev_open_stor() 333 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_read_stor() 356 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_write_stor()
|
/third_party/uboot/u-boot-2020.01/drivers/fastboot/ |
D | fb_mmc.c | 25 struct blk_desc *dev_desc; 28 static int part_get_info_by_name_or_alias(struct blk_desc *dev_desc, in part_get_info_by_name_or_alias() 58 static lbaint_t fb_mmc_blk_write(struct blk_desc *block_dev, lbaint_t start, in fb_mmc_blk_write() 89 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write() 100 static void write_raw_image(struct blk_desc *dev_desc, disk_partition_t *info, in write_raw_image() 142 static lbaint_t fb_mmc_get_boot_header(struct blk_desc *dev_desc, in fb_mmc_get_boot_header() 189 static int fb_mmc_update_zimage(struct blk_desc *dev_desc, in fb_mmc_update_zimage() 303 struct blk_desc **dev_desc, in fastboot_mmc_get_part_info() 338 struct blk_desc *dev_desc; in fastboot_mmc_flash_write() 442 struct blk_desc *dev_desc; in fastboot_mmc_erase()
|
/third_party/uboot/u-boot-2020.01/drivers/ata/ |
D | sata.c | 18 struct blk_desc sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE]; 53 struct blk_desc *sata_get_dev(int dev) in sata_get_dev() 73 static unsigned long sata_bread(struct blk_desc *block_dev, lbaint_t start, in sata_bread() 79 static unsigned long sata_bwrite(struct blk_desc *block_dev, lbaint_t start, in sata_bwrite() 93 memset(&sata_dev_desc[i], 0, sizeof(struct blk_desc)); in __sata_initialize()
|
/third_party/uboot/u-boot-2020.01/env/ |
D | sata.c | 33 static inline int write_env(struct blk_desc *sata, unsigned long size, in write_env() 49 struct blk_desc *sata = NULL; in env_sata_save() 79 static inline int read_env(struct blk_desc *sata, unsigned long size, in read_env() 95 struct blk_desc *sata = NULL; in env_sata_load()
|
/third_party/uboot/u-boot-2020.01/common/spl/ |
D | spl_fat.c | 22 static int spl_register_fat_device(struct blk_desc *block_dev, int partition) in spl_register_fat_device() 57 struct blk_desc *block_dev, int partition, in spl_load_image_fat() 116 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os() 167 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()
|
D | spl_ext.c | 12 struct blk_desc *block_dev, int partition, in spl_load_image_ext() 68 struct blk_desc *block_dev, int partition) in spl_load_image_ext_os() 141 struct blk_desc *block_dev, int partition) in spl_load_image_ext_os()
|
/third_party/uboot/u-boot-2020.01/lib/efi_loader/ |
D | efi_disk.c | 42 struct blk_desc *desc; 77 struct blk_desc *desc; in efi_disk_rw_blocks() 83 desc = (struct blk_desc *) diskobj->desc; in efi_disk_rw_blocks() 274 static int efi_fs_exists(struct blk_desc *desc, int part) in efi_fs_exists() 302 struct blk_desc *desc, in efi_disk_add_dev() 386 int efi_disk_create_partitions(efi_handle_t parent, struct blk_desc *desc, in efi_disk_create_partitions() 442 struct blk_desc *desc = dev_get_uclass_platdata(dev); in efi_disk_register() 480 struct blk_desc *desc; in efi_disk_register()
|
/third_party/uboot/u-boot-2020.01/fs/reiserfs/ |
D | dev.c | 14 static struct blk_desc *reiserfs_blk_desc; 18 void reiserfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info) in reiserfs_set_blk_dev()
|
/third_party/uboot/u-boot-2020.01/fs/zfs/ |
D | dev.c | 16 static struct blk_desc *zfs_blk_desc; 19 void zfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info) in zfs_set_blk_dev()
|