Home
last modified time | relevance | path

Searched refs:blk_desc (Results 1 – 25 of 147) sorted by relevance

123456

/u-boot/include/
A Dpart.h106 struct blk_desc *mg_disk_get_dev(int dev);
118 void part_print(struct blk_desc *dev_desc);
119 void part_init(struct blk_desc *dev_desc);
120 void dev_print(struct blk_desc *dev_desc);
148 struct blk_desc **dev_desc);
184 struct blk_desc **dev_desc,
237 struct blk_desc **dev_desc,
270 struct blk_desc **dev_desc) in blk_get_device_by_str()
274 struct blk_desc **dev_desc, in blk_get_device_part_str()
297 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name_or_num()
[all …]
A Dblk.h52 struct blk_desc { struct
87 unsigned long (*block_read)(struct blk_desc *block_dev, argument
91 unsigned long (*block_write)(struct blk_desc *block_dev, argument
95 unsigned long (*block_erase)(struct blk_desc *block_dev, argument
102 #define BLOCK_CNT(size, blk_desc) (PAD_COUNT(size, blk_desc->blksz)) argument
103 #define PAD_TO_BLOCKSIZE(size, blk_desc) \ argument
104 (PAD_SIZE(size, blk_desc->blksz))
503 struct blk_desc *blk_get_by_device(struct udevice *dev);
565 struct blk_desc *desc;
579 int (*get_dev)(int devnum, struct blk_desc **descp);
[all …]
A Dandroid_ab.h9 struct blk_desc;
33 int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info);
A Dfb_mmc.h9 struct blk_desc;
21 struct blk_desc **dev_desc,
A Dbtrfs.h11 struct blk_desc;
14 int btrfs_probe(struct blk_desc *fs_dev_desc,
A Dsemihostingfs.h10 struct blk_desc;
13 int smh_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
A Dubifs_uboot.h17 struct blk_desc;
26 int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
A Dsandboxfs.h21 struct blk_desc;
24 int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
A Dreiserfs.h21 struct blk_desc;
68 void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
/u-boot/drivers/block/
A Dblk_legacy.c76 struct blk_desc *desc; in blk_list_part()
103 struct blk_desc *desc; in blk_print_part_devnum()
121 struct blk_desc *desc; in blk_list_devices()
139 struct blk_desc *desc; in blk_print_device_num()
156 struct blk_desc *desc; in blk_show_device()
180 struct blk_desc *desc; in blk_get_devnum_by_uclass_id()
191 int blk_dselect_hwpart(struct blk_desc *desc, int hwpart) in blk_dselect_hwpart()
206 struct blk_desc *desc; in blk_get_devnum_by_uclass_idname()
221 struct blk_desc *desc; in blk_read_devnum()
241 struct blk_desc *desc; in blk_write_devnum()
[all …]
A Dblk-uclass.c89 struct blk_desc *desc; in blk_get_devnum_by_uclass_id()
236 struct blk_desc *desc; in blk_list_part()
261 struct blk_desc *desc; in blk_print_part_devnum()
276 struct blk_desc *desc; in blk_list_devices()
295 struct blk_desc *desc; in blk_print_device_num()
309 struct blk_desc *desc; in blk_show_device()
331 struct blk_desc *desc; in blk_read_devnum()
348 struct blk_desc *desc; in blk_write_devnum()
376 struct blk_desc *desc; in _blk_next_device()
403 struct blk_desc *desc; in blk_next_device()
[all …]
/u-boot/drivers/mmc/
A Dmmc_private.h24 ulong mmc_bread(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt,
35 ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt,
37 ulong mmc_berase(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt);
57 static inline unsigned long mmc_berase(struct blk_desc *block_dev, in mmc_berase()
63 static inline ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, in mmc_bwrite()
A Dmmc_legacy.c31 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc) in mmc_get_blk_desc()
60 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc) in mmc_get_blk_desc()
170 struct blk_desc *bdesc; in mmc_create()
218 static int mmc_select_hwpartp(struct blk_desc *desc, int hwpart) in mmc_select_hwpartp()
239 static int mmc_get_dev(int dev, struct blk_desc **descp) in mmc_get_dev()
/u-boot/disk/
A Dpart.c59 struct blk_desc *dev_desc; in get_dev_hwpart()
80 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev()
114 void dev_print(struct blk_desc *dev_desc) in dev_print()
222 void part_init(struct blk_desc *dev_desc) in part_init()
292 void part_print(struct blk_desc *dev_desc) in part_print()
309 int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
363 struct blk_desc **dev_desc) in blk_get_device_by_str()
424 struct blk_desc **dev_desc, in blk_get_device_part_str()
688 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name()
725 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name_or_num()
[all …]
A Dpart_mac.c34 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()
A Dpart_efi.c54 static int is_gpt_valid(struct blk_desc *dev_desc, u64 lba,
198 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()
258 int part_get_info_efi(struct blk_desc *dev_desc, int part, in part_get_info_efi()
309 static int part_test_efi(struct blk_desc *dev_desc) in part_test_efi()
327 static int set_protective_mbr(struct blk_desc *dev_desc) in set_protective_mbr()
362 int write_gpt_table(struct blk_desc *dev_desc, in write_gpt_table()
410 int gpt_fill_pte(struct blk_desc *dev_desc, in gpt_fill_pte()
719 static int write_one_gpt_table(struct blk_desc *dev_desc, in write_one_gpt_table()
743 int gpt_repair_headers(struct blk_desc *dev_desc) in gpt_repair_headers()
[all …]
A Ddisk-uclass.c23 struct blk_desc *desc = dev_get_uclass_plat(blk_dev); in part_create_block_devices()
152 static struct blk_desc *dev_get_blk(struct udevice *dev) in dev_get_blk()
154 struct blk_desc *desc; in dev_get_blk()
174 struct blk_desc *desc; in disk_blk_read()
208 struct blk_desc *desc; in disk_blk_write()
227 struct blk_desc *desc; in disk_blk_erase()
A Dpart_iso.c29 unsigned long iso_dread(struct blk_desc *block_dev, lbaint_t start, in iso_dread()
49 int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num, in part_get_info_iso_verb()
202 static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, in part_get_info_iso()
208 static void part_print_iso(struct blk_desc *dev_desc) in part_print_iso()
227 static int part_test_iso(struct blk_desc *dev_desc) in part_test_iso()
/u-boot/api/
A Dapi_storage.c98 struct blk_desc *dd; in dev_stor_get()
139 dd = (struct blk_desc *)di->cookie; in dev_stor_get()
157 static int dev_stor_type(struct blk_desc *dd) in dev_stor_type()
291 static int dev_stor_is_valid(int type, struct blk_desc *dd) in dev_stor_is_valid()
311 if (dev_stor_is_valid(type, (struct blk_desc *)cookie)) in dev_open_stor()
331 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_read_stor()
354 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_write_stor()
/u-boot/drivers/fastboot/
A Dfb_mmc.c27 struct blk_desc *dev_desc;
30 static int raw_part_get_info_by_name(struct blk_desc *dev_desc, in raw_part_get_info_by_name()
159 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write()
170 static void write_raw_image(struct blk_desc *dev_desc, in write_raw_image()
204 static int fb_mmc_erase_mmc_hwpart(struct blk_desc *dev_desc) in fb_mmc_erase_mmc_hwpart()
334 static int fb_mmc_update_zimage(struct blk_desc *dev_desc, in fb_mmc_update_zimage()
456 struct blk_desc **dev_desc, in fastboot_mmc_get_part_info()
491 static struct blk_desc *fastboot_mmc_get_dev(char *response) in fastboot_mmc_get_dev()
493 struct blk_desc *ret = blk_get_dev("mmc", in fastboot_mmc_get_dev()
515 struct blk_desc *dev_desc; in fastboot_mmc_flash_write()
[all …]
/u-boot/fs/reiserfs/
A Ddev.c14 static struct blk_desc *reiserfs_blk_desc;
18 void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info) in reiserfs_set_blk_dev()
/u-boot/fs/zfs/
A Ddev.c16 static struct blk_desc *zfs_blk_desc;
19 void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info) in zfs_set_blk_dev()
/u-boot/cmd/mvebu/
A Dbubt.c191 struct blk_desc *blk_desc; in mmc_burn_image() local
212 blk_desc = mmc_get_blk_desc(mmc); in mmc_burn_image()
213 if (!blk_desc) { in mmc_burn_image()
221 orig_part = blk_desc->hwpart; in mmc_burn_image()
231 err = blk_dselect_hwpart(blk_desc, part); in mmc_burn_image()
346 struct blk_desc *blk_desc; in sata_burn_image() local
355 if (!blk_desc) in sata_burn_image()
364 switch (blk_desc->part_type) { in sata_burn_image()
368 if (part_get_info(blk_desc, part, &info)) in sata_burn_image()
403 blk_count = image_size / blk_desc->blksz; in sata_burn_image()
[all …]
/u-boot/common/spl/
A Dspl_fat.c23 static int spl_register_fat_device(struct blk_desc *block_dev, int partition) in spl_register_fat_device()
59 struct blk_desc *block_dev, int partition, in spl_load_image_fat()
119 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()
171 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()
/u-boot/test/dm/
A Dpart.c17 struct blk_desc *mmc_dev_desc; in do_test()
32 struct blk_desc *mmc_dev_desc; in dm_test_part()
99 struct blk_desc *desc; in dm_test_part_bootable()

Completed in 51 milliseconds

123456