Home
last modified time | relevance | path

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

12345

/u-boot/include/
A Dpart.h105 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()
318 void (*print)(struct blk_desc *dev_desc);
[all …]
A Dblk.h61 struct blk_desc { struct
97 unsigned long (*block_read)(struct blk_desc *block_dev, argument
101 unsigned long (*block_write)(struct blk_desc *block_dev, argument
105 unsigned long (*block_erase)(struct blk_desc *block_dev, argument
112 #define BLOCK_CNT(size, blk_desc) (PAD_COUNT(size, blk_desc->blksz)) argument
113 #define PAD_TO_BLOCKSIZE(size, blk_desc) \ argument
114 (PAD_SIZE(size, blk_desc->blksz))
425 struct blk_desc *blk_get_by_device(struct udevice *dev);
487 struct blk_desc *desc;
501 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 Dubifs_uboot.h17 struct blk_desc;
26 int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
A Dide.h22 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,
A Dspl.h18 struct blk_desc;
30 struct blk_desc;
490 struct blk_desc *block_dev, int partition,
493 struct blk_desc *block_dev, int partition);
499 struct blk_desc *block_dev, int partition,
502 struct blk_desc *block_dev, int partition);
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.c77 struct blk_desc *desc; in blk_list_part()
104 struct blk_desc *desc; in blk_print_part_devnum()
122 struct blk_desc *desc; in blk_list_devices()
140 struct blk_desc *desc; in blk_print_device_num()
157 struct blk_desc *desc; in blk_show_device()
182 struct blk_desc *desc; in blk_get_devnum_by_type()
193 int blk_dselect_hwpart(struct blk_desc *desc, int hwpart) in blk_dselect_hwpart()
208 struct blk_desc *desc; in blk_get_devnum_by_typename()
223 struct blk_desc *desc; in blk_read_devnum()
243 struct blk_desc *desc; in blk_write_devnum()
[all …]
A Dblk-uclass.c75 struct blk_desc *desc; in blk_get_devnum_by_type()
222 struct blk_desc *desc; in blk_list_part()
247 struct blk_desc *desc; in blk_print_part_devnum()
262 struct blk_desc *desc; in blk_list_devices()
281 struct blk_desc *desc; in blk_print_device_num()
295 struct blk_desc *desc; in blk_show_device()
317 struct blk_desc *desc; in blk_read_devnum()
334 struct blk_desc *desc; in blk_write_devnum()
362 struct blk_desc *desc; in blk_first_device()
384 struct blk_desc *desc; in blk_next_device()
[all …]
A Dsandbox.c39 struct blk_desc *block_dev = dev_get_uclass_plat(dev);
42 static unsigned long host_block_read(struct blk_desc *block_dev,
70 struct blk_desc *block_dev = dev_get_uclass_plat(dev);
72 static unsigned long host_block_write(struct blk_desc *block_dev,
96 struct blk_desc *desc;
189 struct blk_desc *blk_dev = &host_dev->blk_dev;
208 int host_get_dev_err(int devnum, struct blk_desc **blk_devp)
/u-boot/disk/
A Dpart.c60 struct blk_desc *dev_desc; in get_dev_hwpart()
79 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev()
89 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev()
123 void dev_print (struct blk_desc *dev_desc) in dev_print()
235 void part_init(struct blk_desc *dev_desc) in part_init()
308 void part_print(struct blk_desc *dev_desc) in part_print()
327 int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
381 struct blk_desc **dev_desc) in blk_get_device_by_str()
441 struct blk_desc **dev_desc, in blk_get_device_part_str()
709 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name()
[all …]
A Dpart_mac.c36 static int part_mac_read_ddb(struct blk_desc *dev_desc,
38 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part,
44 static int part_test_mac(struct blk_desc *dev_desc) in part_test_mac()
70 static void part_print_mac(struct blk_desc *dev_desc) in part_print_mac()
159 static int part_mac_read_ddb(struct blk_desc *dev_desc, in part_mac_read_ddb()
176 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part, in part_mac_read_pdb()
218 static int part_get_info_mac(struct blk_desc *dev_desc, int part, in part_get_info_mac()
A Dpart_efi.c56 static int is_gpt_valid(struct blk_desc *dev_desc, u64 lba,
201 int get_disk_guid(struct blk_desc * dev_desc, char *guid) in get_disk_guid()
219 void part_print_efi(struct blk_desc *dev_desc) in part_print_efi()
266 int part_get_info_efi(struct blk_desc *dev_desc, int part, in part_get_info_efi()
318 static int part_test_efi(struct blk_desc *dev_desc) in part_test_efi()
336 static int set_protective_mbr(struct blk_desc *dev_desc) in set_protective_mbr()
371 int write_gpt_table(struct blk_desc *dev_desc, in write_gpt_table()
419 int gpt_fill_pte(struct blk_desc *dev_desc, in gpt_fill_pte()
705 int gpt_verify_partitions(struct blk_desc *dev_desc, in gpt_verify_partitions()
783 int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf) in is_valid_gpt_buf()
[all …]
/u-boot/drivers/mmc/
A Dmmc_private.h25 ulong mmc_bread(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt,
36 ulong mmc_bwrite(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt,
38 ulong mmc_berase(struct blk_desc *block_dev, lbaint_t start, lbaint_t blkcnt);
58 static inline unsigned long mmc_berase(struct blk_desc *block_dev, in mmc_berase()
64 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/drivers/fastboot/
A Dfb_mmc.c28 struct blk_desc *dev_desc;
31 static int raw_part_get_info_by_name(struct blk_desc *dev_desc, in raw_part_get_info_by_name()
165 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write()
176 static void write_raw_image(struct blk_desc *dev_desc, in write_raw_image()
210 static int fb_mmc_erase_mmc_hwpart(struct blk_desc *dev_desc) in fb_mmc_erase_mmc_hwpart()
341 static int fb_mmc_update_zimage(struct blk_desc *dev_desc, in fb_mmc_update_zimage()
455 struct blk_desc **dev_desc, in fastboot_mmc_get_part_info()
490 static struct blk_desc *fastboot_mmc_get_dev(char *response) in fastboot_mmc_get_dev()
492 struct blk_desc *ret = blk_get_dev("mmc", in fastboot_mmc_get_dev()
514 struct blk_desc *dev_desc;
[all …]
/u-boot/api/
A Dapi_storage.c101 struct blk_desc *dd; in dev_stor_get()
142 dd = (struct blk_desc *)di->cookie; in dev_stor_get()
160 static int dev_stor_type(struct blk_desc *dd) in dev_stor_type()
294 static int dev_stor_is_valid(int type, struct blk_desc *dd) in dev_stor_is_valid()
314 if (dev_stor_is_valid(type, (struct blk_desc *)cookie)) in dev_open_stor()
334 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_read_stor()
357 struct blk_desc *dd = (struct blk_desc *)cookie; in dev_write_stor()
/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/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/env/
A Dsata.c33 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()
/u-boot/drivers/ata/
A Dsata.c20 struct blk_desc sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];
55 struct blk_desc *sata_get_dev(int dev) in sata_get_dev()
75 static unsigned long sata_bread(struct blk_desc *block_dev, lbaint_t start, in sata_bread()
81 static unsigned long sata_bwrite(struct blk_desc *block_dev, lbaint_t start, in sata_bwrite()
95 memset(&sata_dev_desc[i], 0, sizeof(struct blk_desc)); in __sata_initialize()
/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()
58 struct blk_desc *block_dev, int partition, in spl_load_image_fat()
117 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()
168 struct blk_desc *block_dev, int partition) in spl_load_image_fat_os()

Completed in 43 milliseconds

12345