Home
last modified time | relevance | path

Searched defs:dev_desc (Results 1 – 25 of 91) sorted by relevance

1234

/OK3568_Linux_fs/u-boot/disk/
H A Dpart.c34 static struct part_driver *part_driver_lookup_type(struct blk_desc *dev_desc) in part_driver_lookup_type()
64 struct blk_desc *dev_desc; in get_dev_hwpart() local
126 void dev_print (struct blk_desc *dev_desc) in dev_print()
237 void part_init(struct blk_desc *dev_desc) in part_init()
259 static void print_part_header(const char *type, struct blk_desc *dev_desc) in print_part_header()
316 void part_print(struct blk_desc *dev_desc) in part_print()
333 const char *part_get_type(struct blk_desc *dev_desc) in part_get_type()
348 int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
382 int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info) in part_get_info_whole_disk()
401 struct blk_desc **dev_desc) in blk_get_device_by_str()
[all …]
H A Dpart_efi.c197 int get_disk_guid(struct blk_desc * dev_desc, char *guid) in get_disk_guid()
224 void part_print_efi(struct blk_desc *dev_desc) in part_print_efi()
281 int part_get_info_efi(struct blk_desc *dev_desc, int part, in part_get_info_efi()
356 static void gpt_entry_modify(struct blk_desc *dev_desc, in gpt_entry_modify()
378 static int part_efi_repair(struct blk_desc *dev_desc, gpt_entry *gpt_pte, in part_efi_repair()
445 static int part_test_efi(struct blk_desc *dev_desc) in part_test_efi()
515 static int set_protective_mbr(struct blk_desc *dev_desc) in set_protective_mbr()
548 int write_gpt_table(struct blk_desc *dev_desc, in write_gpt_table()
596 int gpt_fill_pte(struct blk_desc *dev_desc, in gpt_fill_pte()
716 static uint32_t partition_entries_offset(struct blk_desc *dev_desc) in partition_entries_offset()
[all …]
H A Dpart_mac.c43 static int part_test_mac(struct blk_desc *dev_desc) in part_test_mac()
69 static void part_print_mac(struct blk_desc *dev_desc) in part_print_mac()
158 static int part_mac_read_ddb(struct blk_desc *dev_desc, in part_mac_read_ddb()
175 static int part_mac_read_pdb(struct blk_desc *dev_desc, int part, in part_mac_read_pdb()
217 static int part_get_info_mac(struct blk_desc *dev_desc, int part, in part_get_info_mac()
H A Dpart_dos.c90 static int part_test_dos(struct blk_desc *dev_desc) in part_test_dos()
111 static void print_partition_extended(struct blk_desc *dev_desc, in print_partition_extended()
175 static int part_get_info_extended(struct blk_desc *dev_desc, in part_get_info_extended()
268 void part_print_dos(struct blk_desc *dev_desc) in part_print_dos()
274 int part_get_info_dos(struct blk_desc *dev_desc, int part, in part_get_info_dos()
285 int write_mbr_partition(struct blk_desc *dev_desc, void *buf) in write_mbr_partition()
H A Dpart_env.c18 #define DEV_NUM(dev_desc) (((dev_desc)->if_type << 8) + (dev_desc)->devnum) argument
74 static int env_init_parts(struct blk_desc *dev_desc, struct list_head *parts_head) in env_init_parts()
132 void part_print_env(struct blk_desc *dev_desc) in part_print_env()
155 static int part_get_info_env(struct blk_desc *dev_desc, int idx, in part_get_info_env()
199 static int part_test_env(struct blk_desc *dev_desc) in part_test_env()
H A Dpart_rkram.c20 static int rkram_part_init(struct blk_desc *dev_desc, in rkram_part_init()
78 static void part_print_rkram_part(struct blk_desc *dev_desc) in part_print_rkram_part()
97 static int part_get_info_rkram_part(struct blk_desc *dev_desc, int idx, in part_get_info_rkram_part()
135 static int part_test_rkram_part(struct blk_desc *dev_desc) in part_test_rkram_part()
H A Dpart_amiga.c129 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()
H A Dpart_rkparm.c43 struct blk_desc *dev_desc) in rkparm_param_parse()
111 static int rkparm_init_param(struct blk_desc *dev_desc, in rkparm_init_param()
148 static void part_print_rkparm(struct blk_desc *dev_desc) in part_print_rkparm()
174 static int part_get_info_rkparm(struct blk_desc *dev_desc, int idx, in part_get_info_rkparm()
219 static int part_test_rkparm(struct blk_desc *dev_desc) in part_test_rkparm()
H A Dpart_iso.c49 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()
/OK3568_Linux_fs/u-boot/common/
H A Dandroid_ab.c67 struct blk_desc *dev_desc, in android_boot_control_create_from_disk()
114 struct blk_desc *dev_desc, in android_boot_control_store()
156 int android_ab_select(struct blk_desc *dev_desc, disk_partition_t *part_info) in android_ab_select()
275 struct blk_desc *dev_desc; in read_misc_virtual_ab_message() local
309 struct blk_desc *dev_desc; in write_misc_virtual_ab_message() local
340 int ab_is_support_dynamic_partition(struct blk_desc *dev_desc) in ab_is_support_dynamic_partition()
389 struct blk_desc *dev_desc; in get_partition_unique_uuid() local
425 struct blk_desc *dev_desc; in ab_update_root_uuid() local
449 struct blk_desc *dev_desc; in ab_update_root_partition() local
572 struct blk_desc *dev_desc; in ab_can_find_recovery_part() local
H A Dfb_mmc.c48 struct blk_desc *dev_desc; member
51 static int part_get_info_by_name_or_alias(struct blk_desc *dev_desc, in part_get_info_by_name_or_alias()
101 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write() local
112 static void write_raw_image(struct blk_desc *dev_desc, disk_partition_t *info, in write_raw_image()
153 static lbaint_t fb_mmc_get_boot_header(struct blk_desc *dev_desc, in fb_mmc_get_boot_header()
199 static int fb_mmc_update_zimage(struct blk_desc *dev_desc, in fb_mmc_update_zimage()
305 struct blk_desc *dev_desc; in fb_mmc_flash_write() local
424 struct blk_desc *dev_desc; in fb_mmc_erase() local
H A Dandroid_bootloader.c36 struct blk_desc *dev_desc, in android_bootloader_message_load()
58 struct blk_desc *dev_desc, in android_bootloader_message_write()
80 struct blk_desc *dev_desc, in android_bootloader_load_and_clear_mode()
127 struct blk_desc *dev_desc; in android_bcb_write() local
188 struct blk_desc *dev_desc; in android_bootloader_get_fdt() local
758 struct blk_desc *dev_desc; in android_slot_verify() local
991 struct blk_desc *dev_desc; in android_get_dtbo() local
1085 struct blk_desc *dev_desc; in android_fdt_overlay_apply() local
1185 int android_image_load_by_partname(struct blk_desc *dev_desc, in android_image_load_by_partname()
1211 int android_bootloader_boot_flow(struct blk_desc *dev_desc, in android_bootloader_boot_flow()
[all …]
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_ab.c111 static int spl_read_ab_metadata(struct blk_desc *dev_desc, AvbABData *ab_data, in spl_read_ab_metadata()
137 static int spl_write_ab_metadata(struct blk_desc *dev_desc, AvbABData *ab_data, in spl_write_ab_metadata()
162 static int spl_ab_data_write(struct blk_desc *dev_desc, AvbABData *ab_data, in spl_ab_data_write()
172 static int spl_ab_data_read(struct blk_desc *dev_desc, AvbABData *ab_data, in spl_ab_data_read()
203 int spl_get_current_slot(struct blk_desc *dev_desc, char *partition, char *slot) in spl_get_current_slot()
254 int spl_ab_append_part_slot(struct blk_desc *dev_desc, in spl_ab_append_part_slot()
277 static int spl_save_metadata_if_changed(struct blk_desc *dev_desc, in spl_save_metadata_if_changed()
288 int spl_ab_decrease_tries(struct blk_desc *dev_desc) in spl_ab_decrease_tries()
327 int spl_ab_decrease_reset(struct blk_desc *dev_desc) in spl_ab_decrease_reset()
/OK3568_Linux_fs/u-boot/include/
H A Dpart.h231 static inline int part_get_info(struct blk_desc *dev_desc, int part, in part_get_info()
233 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc, in part_get_info_whole_disk()
237 static inline const char *part_get_type(struct blk_desc *dev_desc) { return NULL; } in part_get_type()
238 static inline void part_print(struct blk_desc *dev_desc) {} in part_print()
239 static inline void part_init(struct blk_desc *dev_desc) {} in part_init()
240 static inline void dev_print(struct blk_desc *dev_desc) {} in dev_print()
242 struct blk_desc **dev_desc) in blk_get_device_by_str()
246 struct blk_desc **dev_desc, in blk_get_device_part_str()
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Duimage.c15 int uimage_load_one(struct blk_desc *dev_desc, disk_partition_t *part, in uimage_load_one()
53 static image_header_t *uimage_get_hdr(struct blk_desc *dev_desc, in uimage_get_hdr()
76 struct blk_desc *dev_desc; in uimage_load_bootables() local
187 int uimage_init_resource(struct blk_desc *dev_desc) in uimage_init_resource()
H A Dspl_boot_mode.c13 static int misc_require_recovery(struct blk_desc *dev_desc, u32 bcb_offset) in misc_require_recovery()
41 int rockchip_get_boot_mode(struct blk_desc *dev_desc, u32 bcb_sector_offset) in rockchip_get_boot_mode()
H A Dvendor.c149 int flash_vendor_dev_ops_register(int (*read)(struct blk_desc *dev_desc, in flash_vendor_dev_ops_register()
153 int (*write)(struct blk_desc *dev_desc, in flash_vendor_dev_ops_register()
168 static int mtd_vendor_storage_init(struct blk_desc *dev_desc) in mtd_vendor_storage_init()
264 static int mtd_vendor_write(struct blk_desc *dev_desc, in mtd_vendor_write()
315 struct blk_desc *dev_desc; in vendor_ops() local
434 struct blk_desc *dev_desc; in vendor_storage_init() local
H A Dfit.c139 static void *fit_get_blob(struct blk_desc *dev_desc, in fit_get_blob()
297 static int fit_image_load_one(const void *fit, struct blk_desc *dev_desc, in fit_image_load_one()
367 struct blk_desc *dev_desc; in fit_image_load_bootables() local
409 ulong fit_image_init_resource(struct blk_desc *dev_desc) in fit_image_init_resource()
452 struct blk_desc *dev_desc; in fit_image_read_dtb() local
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A Ddfu_mtd.c17 struct blk_desc *dev_desc; in dfu_write_medium_mtd() local
69 struct blk_desc *dev_desc; in dfu_read_medium_mtd() local
121 struct blk_desc *dev_desc; in dfu_fill_entity_mtd() local
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Drkflash_api.c199 int rksfc_nor_vendor_read(struct blk_desc *dev_desc, in rksfc_nor_vendor_read()
210 int rksfc_nor_vendor_write(struct blk_desc *dev_desc, in rksfc_nor_vendor_write()
268 int rksfc_nand_vendor_read(struct blk_desc *dev_desc, in rksfc_nand_vendor_read()
282 int rksfc_nand_vendor_write(struct blk_desc *dev_desc, in rksfc_nand_vendor_write()
334 int rknand_flash_vendor_read(struct blk_desc *dev_desc, in rknand_flash_vendor_read()
348 int rknand_flash_vendor_write(struct blk_desc *dev_desc, in rknand_flash_vendor_write()
/OK3568_Linux_fs/u-boot/lib/avb/libavb_user/
H A Davb_ops_user.c75 struct blk_desc *dev_desc; in get_size_of_partition() local
98 struct blk_desc *dev_desc; in read_from_partition() local
153 struct blk_desc *dev_desc; in write_to_partition() local
349 struct blk_desc *dev_desc; in get_unique_guid_for_partition() local
443 struct blk_desc *dev_desc; in get_preloaded_partition() local
/OK3568_Linux_fs/u-boot/cmd/
H A Dandroid_cmds.c26 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name()
58 struct blk_desc **dev_desc, in part_get_info_by_dev_and_name_or_num()
H A Dgpt.c307 static int get_gpt_info(struct blk_desc *dev_desc) in get_gpt_info()
346 static int do_get_gpt_info(struct blk_desc *dev_desc) in do_get_gpt_info()
373 static int set_gpt_info(struct blk_desc *dev_desc, in set_gpt_info()
618 static int do_disk_guid(struct blk_desc *dev_desc, char * const namestr) in do_disk_guid()
651 static int do_rename_gpt_parts(struct blk_desc *dev_desc, char *subcomm, in do_rename_gpt_parts()
/OK3568_Linux_fs/u-boot/env/
H A Dext4.c40 struct blk_desc *dev_desc = NULL; in env_ext4_save() local
81 struct blk_desc *dev_desc = NULL; in env_ext4_load() local
H A Dfat.c40 struct blk_desc *dev_desc = NULL; in env_fat_save() local
80 struct blk_desc *dev_desc = NULL; in env_fat_load() local

1234