Lines Matching refs:dev_desc
21 struct blk_desc *dev_desc, in android_bootloader_message_load() argument
32 if (blk_dread(dev_desc, part_info->start, message_blocks, message) != in android_bootloader_message_load()
42 struct blk_desc *dev_desc, in android_bootloader_message_write() argument
53 if (blk_dwrite(dev_desc, part_info->start, message_blocks, message) != in android_bootloader_message_write()
63 struct blk_desc *dev_desc, in android_bootloader_load_and_clear_mode() argument
81 if (android_bootloader_message_load(dev_desc, misc_part_info, &bcb) < in android_bootloader_load_and_clear_mode()
92 android_bootloader_message_write(dev_desc, misc_part_info, 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() argument
141 part_num = part_get_info_by_name(dev_desc, part_name, part_info); in android_part_get_info_by_name_suffix()
263 int android_bootloader_boot_flow(struct blk_desc *dev_desc, in android_bootloader_boot_flow() argument
280 mode = android_bootloader_load_and_clear_mode(dev_desc, misc_part_info); in android_bootloader_boot_flow()
313 android_part_get_info_by_name_suffix(dev_desc, in android_bootloader_boot_flow()
322 android_part_get_info_by_name_suffix(dev_desc, in android_bootloader_boot_flow()
331 ret = android_image_load(dev_desc, &boot_part_info, kernel_address, in android_bootloader_boot_flow()
337 env_set_ulong("android_root_devnum", dev_desc->devnum); in android_bootloader_boot_flow()