/external/u-boot/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 | 59 struct blk_desc { struct 95 unsigned long (*block_read)(struct blk_desc *block_dev, argument 99 unsigned long (*block_write)(struct blk_desc *block_dev, argument 103 unsigned long (*block_erase)(struct blk_desc *block_dev, argument 110 #define BLOCK_CNT(size, blk_desc) (PAD_COUNT(size, blk_desc->blksz)) argument 111 #define PAD_TO_BLOCKSIZE(size, blk_desc) \ argument 112 (PAD_SIZE(size, blk_desc->blksz)) 270 unsigned long blk_dread(struct blk_desc *block_dev, lbaint_t start, 272 unsigned long blk_dwrite(struct blk_desc *block_dev, lbaint_t start, 274 unsigned long blk_derase(struct blk_desc *block_dev, lbaint_t start, [all …]
|
D | spl.h | 215 struct blk_desc *block_dev, int partition, 218 struct blk_desc *block_dev, int partition); 224 struct blk_desc *block_dev, int partition, 227 struct blk_desc *block_dev, int partition);
|
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 | ext4fs.h | 116 struct blk_desc *dev_desc; 147 void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info); 149 int ext4fs_probe(struct blk_desc *fs_dev_desc,
|
/external/u-boot/drivers/block/ |
D | blk-uclass.c | 65 struct blk_desc *blk_get_devnum_by_type(enum if_type if_type, int devnum) in blk_get_devnum_by_type() 67 struct blk_desc *desc; in blk_get_devnum_by_type() 84 struct blk_desc *blk_get_devnum_by_typename(const char *if_typename, int devnum) in blk_get_devnum_by_typename() 109 struct blk_desc *desc = dev_get_uclass_platdata(dev); in blk_get_devnum_by_typename() 144 static int get_desc(enum if_type if_type, int devnum, struct blk_desc **descp) in get_desc() 156 struct blk_desc *desc = dev_get_uclass_platdata(dev); in get_desc() 191 struct blk_desc *desc; in blk_list_part() 216 struct blk_desc *desc; in blk_print_part_devnum() 231 struct blk_desc *desc; in blk_list_devices() 250 struct blk_desc *desc; in blk_print_device_num() [all …]
|
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 | 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, 179 struct blk_desc *blk_dev = &host_dev->blk_dev; 194 int host_get_dev_err(int devnum, struct blk_desc **blk_devp)
|
/external/u-boot/disk/ |
D | part.c | 26 static struct part_driver *part_driver_lookup_type(struct blk_desc *dev_desc) in part_driver_lookup_type() 55 static struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 57 struct blk_desc *dev_desc; in get_dev_hwpart() 76 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 81 struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 86 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 119 void dev_print (struct blk_desc *dev_desc) in dev_print() 226 void part_init(struct blk_desc *dev_desc) in part_init() 248 static void print_part_header(const char *type, struct blk_desc *dev_desc) in print_part_header() 293 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, 189 int get_disk_guid(struct blk_desc * dev_desc, char *guid) in get_disk_guid() 216 void part_print_efi(struct blk_desc *dev_desc) in part_print_efi() 273 int part_get_info_efi(struct blk_desc *dev_desc, int part, in part_get_info_efi() 336 static int part_test_efi(struct blk_desc *dev_desc) in part_test_efi() 354 static int set_protective_mbr(struct blk_desc *dev_desc) in set_protective_mbr() 389 int write_gpt_table(struct blk_desc *dev_desc, in write_gpt_table() 437 int gpt_fill_pte(struct blk_desc *dev_desc, in gpt_fill_pte() 557 static uint32_t partition_entries_offset(struct blk_desc *dev_desc) in partition_entries_offset() [all …]
|
D | part_dos.c | 89 static int part_test_dos(struct blk_desc *dev_desc) in part_test_dos() 120 static void print_partition_extended(struct blk_desc *dev_desc, in print_partition_extended() 184 static int part_get_info_extended(struct blk_desc *dev_desc, in part_get_info_extended() 277 void part_print_dos(struct blk_desc *dev_desc) in part_print_dos() 283 int part_get_info_dos(struct blk_desc *dev_desc, int part, in part_get_info_dos() 294 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 | 128 struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) in get_rdisk() 168 struct bootcode_block *get_bootcode(struct blk_desc *dev_desc) in get_bootcode() 209 static int part_test_amiga(struct blk_desc *dev_desc) in part_test_amiga() 238 static struct partition_block *find_partition(struct blk_desc *dev_desc, in find_partition() 292 static int part_get_info_amiga(struct blk_desc *dev_desc, int part, in part_get_info_amiga() 320 static void part_print_amiga(struct blk_desc *dev_desc) in part_print_amiga()
|
/external/u-boot/drivers/mmc/ |
D | mmc_private.h | 26 ulong mmc_bread(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt, 37 ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt, 39 ulong mmc_berase(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt); 59 static inline unsigned long mmc_berase(struct blk_desc *block_dev, in mmc_berase() 65 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() 165 struct blk_desc *bdesc; in mmc_create() 213 static int mmc_select_hwpartp(struct blk_desc *desc, int hwpart) in mmc_select_hwpartp() 234 static int mmc_get_dev(int dev, struct blk_desc **descp) in mmc_get_dev()
|
/external/u-boot/drivers/fastboot/ |
D | fb_mmc.c | 24 struct blk_desc *dev_desc; 27 static int part_get_info_by_name_or_alias(struct blk_desc *dev_desc, in part_get_info_by_name_or_alias() 57 static lbaint_t fb_mmc_blk_write(struct blk_desc *block_dev, lbaint_t start, in fb_mmc_blk_write() 88 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write() 99 static void write_raw_image(struct blk_desc *dev_desc, disk_partition_t *info, in write_raw_image() 141 static lbaint_t fb_mmc_get_boot_header(struct blk_desc *dev_desc, in fb_mmc_get_boot_header() 188 static int fb_mmc_update_zimage(struct blk_desc *dev_desc, in fb_mmc_update_zimage() 301 int fastboot_mmc_get_part_info(char *part_name, struct blk_desc **dev_desc, in fastboot_mmc_get_part_info() 336 struct blk_desc *dev_desc; in fastboot_mmc_flash_write() 440 struct blk_desc *dev_desc; in fastboot_mmc_erase()
|
/external/u-boot/api/ |
D | api_storage.c | 100 struct blk_desc *dd; in dev_stor_get() 136 dd = (struct blk_desc *)di->cookie; in dev_stor_get() 154 static int dev_stor_type(struct blk_desc *dd) in dev_stor_type() 288 static int dev_stor_is_valid(int type, struct blk_desc *dd) in dev_stor_is_valid() 308 if (dev_stor_is_valid(type, (struct blk_desc *)cookie)) in dev_open_stor() 328 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_read_stor()
|
/external/u-boot/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()
|
/external/u-boot/env/ |
D | sata.c | 32 static inline int write_env(struct blk_desc *sata, unsigned long size, in write_env() 48 struct blk_desc *sata = NULL; in env_sata_save() 78 static inline int read_env(struct blk_desc *sata, unsigned long size, in read_env() 94 struct blk_desc *sata = NULL; in env_sata_load()
|
/external/u-boot/common/spl/ |
D | spl_fat.c | 21 static int spl_register_fat_device(struct blk_desc *block_dev, int partition) in spl_register_fat_device() 56 struct blk_desc *block_dev, int partition, in spl_load_image_fat() 105 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os() 156 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()
|
/external/u-boot/common/ |
D | android_bootloader.c | 21 struct blk_desc *dev_desc, in android_bootloader_message_load() 42 struct blk_desc *dev_desc, in android_bootloader_message_write() 63 struct blk_desc *dev_desc, in android_bootloader_load_and_clear_mode() 122 static int android_part_get_info_by_name_suffix(struct blk_desc *dev_desc, in android_part_get_info_by_name_suffix() 263 int android_bootloader_boot_flow(struct blk_desc *dev_desc, in android_bootloader_boot_flow()
|
/external/u-boot/lib/efi_loader/ |
D | efi_disk.c | 38 struct blk_desc *desc; 58 struct blk_desc *desc; in efi_disk_rw_blocks() 64 desc = (struct blk_desc *) diskobj->desc; in efi_disk_rw_blocks() 232 struct blk_desc *desc, in efi_disk_add_dev() 309 int efi_disk_create_partitions(efi_handle_t parent, struct blk_desc *desc, in efi_disk_create_partitions() 365 struct blk_desc *desc = dev_get_uclass_platdata(dev); in efi_disk_register() 403 struct blk_desc *desc; in efi_disk_register()
|
D | efi_device_path.c | 47 static bool is_sd(struct blk_desc *desc) in is_sd() 515 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() 532 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() 546 struct blk_desc *desc = dev_get_uclass_platdata(dev); in dp_fill() 569 struct blk_desc *desc = mmc_get_blk_desc(mmc); in dp_fill() 622 static unsigned dp_part_size(struct blk_desc *desc, int part) in dp_part_size() 657 static void *dp_part_node(void *buf, struct blk_desc *desc, int part) in dp_part_node() 722 static void *dp_part_fill(void *buf, struct blk_desc *desc, int part) in dp_part_fill() 762 struct efi_device_path *efi_dp_from_part(struct blk_desc *desc, int part) in efi_dp_from_part() 784 struct efi_device_path *efi_dp_part_node(struct blk_desc *desc, int part) in efi_dp_part_node() [all …]
|
/external/u-boot/drivers/scsi/ |
D | scsi.c | 44 static struct blk_desc scsi_dev_desc[CONFIG_SYS_SCSI_MAX_DEVICE]; 148 static ulong scsi_read(struct blk_desc *block_dev, lbaint_t blknr, in scsi_read() 153 struct blk_desc *block_dev = dev_get_uclass_platdata(dev); in scsi_read() 224 static ulong scsi_write(struct blk_desc *block_dev, lbaint_t blknr, in scsi_write() 229 struct blk_desc *block_dev = dev_get_uclass_platdata(dev); in scsi_write() 442 static void scsi_init_dev_desc_priv(struct blk_desc *dev_desc) in scsi_init_dev_desc_priv() 466 static void scsi_init_dev_desc(struct blk_desc *dev_desc, int devnum) in scsi_init_dev_desc() 491 struct blk_desc *dev_desc) in scsi_detect_dev() 563 struct blk_desc bd; in do_scsi_scan_one() 564 struct blk_desc *bdesc; in do_scsi_scan_one()
|