/device/soc/esp/esp32/components/bootloader_support/src/ |
D | flash_partitions.c | 36 const esp_partition_info_t *part = &partition_table[num_parts]; in esp_partition_table_verify() local 38 if (part->magic == ESP_PARTITION_MAGIC) { in esp_partition_table_verify() 39 const esp_partition_pos_t *pos = &part->pos; in esp_partition_table_verify() 47 } else if (part->magic == ESP_PARTITION_MAGIC_MD5) { in esp_partition_table_verify() 61 unsigned char *md5sum = ((unsigned char *) part) + ESP_PARTITION_MD5_OFFSET; in esp_partition_table_verify() 72 } else if (part->magic == 0xFFFF in esp_partition_table_verify() 73 && part->type == PART_TYPE_END in esp_partition_table_verify() 74 && part->subtype == PART_SUBTYPE_END) { in esp_partition_table_verify() 80 ESP_LOGE(TAG, "partition %d invalid magic number 0x%x", num_parts, part->magic); in esp_partition_table_verify()
|
D | esp_image_format.c | 120 static esp_err_t image_load(esp_image_load_mode_t mode, const esp_partition_pos_t *part, esp_image_… in image_load() argument 147 bool verify_sha = (part->offset != ESP_BOOTLOADER_OFFSET) && do_verify; in image_load() 150 if (data == NULL || part == NULL) { in image_load() 154 if (part->size > SIXTEEN_MB) { in image_load() 156 FAIL_LOAD("partition size 0x%x invalid, larger than 16MB", part->size); in image_load() 160 …CHECK_ERR(process_image_header(data, part->offset, (verify_sha) ? p_sha_handle : NULL, do_verify, … in image_load() 164 CHECK_ERR(process_appended_hash(data, part->size, do_verify, silent)); in image_load() 250 esp_err_t bootloader_load_image(const esp_partition_pos_t *part, esp_image_metadata_t *data) in bootloader_load_image() argument 268 return image_load(mode, part, data); in bootloader_load_image() 272 esp_err_t bootloader_load_image_no_verify(const esp_partition_pos_t *part, esp_image_metadata_t *da… in bootloader_load_image_no_verify() argument [all …]
|
D | bootloader_utility.c | 476 esp_partition_pos_t part; local 490 part = index_to_partition(bs, index); 491 if (part.size == 0) { 494 ESP_LOGD(TAG, TRY_LOG_FORMAT, index, part.offset, part.size); 495 if (check_anti_rollback(&part) && try_load_partition(&part, &image_data)) { 504 part = index_to_partition(bs, index); 505 if (part.size == 0) { 508 ESP_LOGD(TAG, TRY_LOG_FORMAT, index, part.offset, part.size); 509 if (check_anti_rollback(&part) && try_load_partition(&part, &image_data)) {
|
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b-unionpi-tiger.dts | 128 part-0 = <&logo>; 129 part-1 = <&updater>; 130 part-2 = <&misc>; 131 part-3 = <&dto>; 132 part-4 = <&cri_data>; 133 part-5 = <¶m>; 134 part-6 = <&boot>; 135 part-7 = <&rsv>; 136 part-8 = <&tee>; 137 part-9 = <&vendor>; [all …]
|
/device/board/openvalley/niobeu4/liteos_m/third_party_adapter/littlefs/ |
D | littlefs.c | 91 const esp_partition_t *part; in littlefs_config() 92 …part = esp_partition_find_first(LITTLEFS_PARTITION_TYPE, LITTLEFS_PARTITION_SUBTYPE, LITTLEFS_PART… in littlefs_config() 93 if (!part) { in littlefs_config() 97 pCfg->partNo = (void *)part->address; in littlefs_config() 98 pCfg->blockCount = part->size / BLOCK_SIZE; in littlefs_config()
|
/device/soc/esp/esp32/components/bootloader_support/include/ |
D | esp_image_format.h | 107 esp_err_t esp_image_verify(esp_image_load_mode_t mode, const esp_partition_pos_t *part, esp_image_m… 121 esp_err_t esp_image_get_metadata(const esp_partition_pos_t *part, esp_image_metadata_t *metadata); 147 esp_err_t bootloader_load_image(const esp_partition_pos_t *part, esp_image_metadata_t *data); 165 esp_err_t bootloader_load_image_no_verify(const esp_partition_pos_t *part, esp_image_metadata_t *da…
|
/device/board/isoftstone/zhiyuan/kernel/driver/include/ |
D | sunxi-panicpart.h | 21 ssize_t (*panic_read)(struct panic_part *part, loff_t sec_off, 23 ssize_t (*panic_write)(struct panic_part *part, loff_t sec_off, 30 extern int sunxi_panicpart_init(struct panic_part *part);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
D | kernel_crypto.c | 69 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() argument 75 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_salt() 80 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_salt() 231 static hi_u32 crypto_load_key_content(crypto_workkey_partition part, hi_flash_crypto_content *key_c… in crypto_load_key_content() argument 238 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_key_content() 243 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_key_content() 248 } else if (part == CRYPTO_WORKKEY_KERNEL_B) { in crypto_load_key_content() 253 } else if (part == CRYPTO_WORKKEY_KERNEL_B_BACKUP) { in crypto_load_key_content() 283 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_cont… in crypto_save_work_key() argument 303 if ((hi_u32)part & CRYPTO_WORKKEY_KERNEL_A) { in crypto_save_work_key() [all …]
|
/device/soc/rockchip/common/ |
D | README.en.md | 42 - Kernel part of the modified files 46 - Kernel part of the new files 50 - Kernel part of the new files
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
D | load_crypto.c | 48 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() argument 56 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_salt() 61 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_salt() 220 static hi_u32 crypto_load_key_content(crypto_workkey_partition part, hi_flash_crypto_content *key_c… in crypto_load_key_content() argument 228 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_key_content() 233 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_key_content() 263 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_cont… in crypto_save_work_key() argument 285 if ((hi_u32)part & CRYPTO_WORKKEY_KERNEL_A) { in crypto_save_work_key() 292 if ((hi_u32)part & CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_save_work_key()
|
/device/soc/esp/esp32/components/app_update/ |
D | esp_ota_ops.c | 49 const esp_partition_t *part; member 176 new_entry->part = partition; in esp_ota_begin() 204 …ret = esp_partition_erase_range(it->part, it->wrote_size, ((last_sector - first_sector) + 1) * SPI… in esp_ota_write() 206 …ret = esp_partition_erase_range(it->part, (first_sector + 1) * SPI_FLASH_SEC_SIZE, (last_sector - … in esp_ota_write() 231 ret = esp_partition_write(it->part, it->wrote_size, it->partial_data, 16); in esp_ota_write() 250 ret = esp_partition_write(it->part, it->wrote_size, data_bytes, size); in esp_ota_write() 287 ret = esp_partition_write(it->part, offset, data_bytes, size); in esp_ota_write_with_offset() 342 ret = esp_partition_write(it->part, it->wrote_size, it->partial_data, 16); in esp_ota_end() 353 .offset = it->part->address, in esp_ota_end() 354 .size = it->part->size, in esp_ota_end()
|
/device/board/isoftstone/zhiyuan/bootloader/configs/default/ |
D | image.cfg | 51 …;----------------------------------------publish part---------------------------------------------… 71 …;------------------------------------------usb part-----------------------------------------------… 78 …;------------------------------------------card part----------------------------------------------…
|
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/ |
D | block.c | 127 struct list_head part; member 286 list_for_each_entry(part_md, &md->part, part) { in power_ro_lock_store() 2339 INIT_LIST_HEAD(&md->part); in mmc_blk_alloc_req() 2447 list_add(&part_md->part, &md->part); in mmc_blk_alloc_part() 2608 if (card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB) { in mmc_blk_alloc_parts() 2615 ret = mmc_blk_alloc_rpmb_part(card, md, card->part[idx].part_cfg, in mmc_blk_alloc_parts() 2616 … card->part[idx].size / MMC_SINGLE_SECTOR_SIZE, card->part[idx].name); in mmc_blk_alloc_parts() 2620 } else if (card->part[idx].size) { in mmc_blk_alloc_parts() 2621 …ret = mmc_blk_alloc_part(card, md, card->part[idx].part_cfg, card->part[idx].size / MMC_SINGLE_SEC… in mmc_blk_alloc_parts() 2622 … card->part[idx].force_ro, card->part[idx].name, card->part[idx].area_type); in mmc_blk_alloc_parts() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
D | crypto.c | 102 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() argument 109 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_salt() 114 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_salt() 294 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_cont… in crypto_save_work_key() argument 316 if ((hi_u32)part & CRYPTO_WORKKEY_KERNEL_A) { in crypto_save_work_key() 323 if ((hi_u32)part & CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_save_work_key() 337 static hi_u32 crypto_load_key_content(crypto_workkey_partition part, hi_flash_crypto_content *key_c… in crypto_load_key_content() argument 345 if (part == CRYPTO_WORKKEY_KERNEL_A) { in crypto_load_key_content() 350 } else if (part == CRYPTO_WORKKEY_KERNEL_A_BACKUP) { in crypto_load_key_content() 355 } else if (part == CRYPTO_WORKKEY_KERNEL_B) { in crypto_load_key_content() [all …]
|
/device/soc/amlogic/a311d/soc/amlogic/mmc/ |
D | emmc_partitions.c | 630 static int mmc_partition_tbl_checksum_calc(struct partitions *part, int part_num) in mmc_partition_tbl_checksum_calc() argument 636 p = (u32 *)part; in mmc_partition_tbl_checksum_calc() 768 if (ptbl->part[partno]) { in add_emmc_each_part() 824 rcu_assign_pointer(ptbl->part[partno], p); in add_emmc_each_part() 1072 struct hd_struct *part; in aml_emmc_partition_ops() local 1115 while ((part = disk_part_iter_next(&piter))) { in aml_emmc_partition_ops() 1116 pr_info("Delete invalid mbr partition part %p, part->partno %d\n", part, part->partno); in aml_emmc_partition_ops() 1117 delete_partition(part); in aml_emmc_partition_ops()
|
/device/soc/rockchip/common/sdk_linux/scripts/ |
D | Makefile.lib | 190 part-of-module = $(if $(filter $(basename $@).o, $(real-obj-m)),y) 191 quiet_modtag = $(if $(part-of-module),[M], ) 194 $(if $(part-of-module), \ 198 modkern_aflags = $(if $(part-of-module), \
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/apps/pwl/ |
D | app_pwl.h | 41 }part[10]; member
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/ |
D | soc_modules.list | 4 # In this file, all modules available on this part are listed
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/ |
D | mpp_rkvdec2_link.c | 307 struct rkvdec_link_part *part; in rkvdec_link_write_task_to_slot() local 320 part = info->part_w; in rkvdec_link_write_task_to_slot() 342 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 343 s = part[i].reg_start; in rkvdec_link_write_task_to_slot() 344 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 353 part = info->part_r; in rkvdec_link_write_task_to_slot() 355 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 356 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 483 struct rkvdec_link_part *part = info->part_r; in rkvdec2_link_finish() local 492 off = part[i].tb_reg_off; in rkvdec2_link_finish() [all …]
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
D | mpp_rkvdec2_link.c | 311 struct rkvdec_link_part *part; in rkvdec_link_write_task_to_slot() local 324 part = info->part_w; in rkvdec_link_write_task_to_slot() 348 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 349 s = part[i].reg_start; in rkvdec_link_write_task_to_slot() 350 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 359 part = info->part_r; in rkvdec_link_write_task_to_slot() 361 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 362 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 485 struct rkvdec_link_part *part = info->part_r; in rkvdec2_link_finish() local 494 off = part[i].tb_reg_off; in rkvdec2_link_finish() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
D | mpp_rkvdec2_link.c | 309 struct rkvdec_link_part *part; in rkvdec_link_write_task_to_slot() local 322 part = info->part_w; in rkvdec_link_write_task_to_slot() 346 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 347 s = part[i].reg_start; in rkvdec_link_write_task_to_slot() 348 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 357 part = info->part_r; in rkvdec_link_write_task_to_slot() 359 off = part[i].tb_reg_off; in rkvdec_link_write_task_to_slot() 360 n = part[i].reg_num; in rkvdec_link_write_task_to_slot() 487 struct rkvdec_link_part *part = info->part_r; in rkvdec2_link_finish() local 496 off = part[i].tb_reg_off; in rkvdec2_link_finish() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/ |
D | soc_modules.list | 4 # In this file, all modules available on this part are listed
|
/device/soc/amlogic/a311d/soc/amlogic/unifykey/ |
D | Kconfig | 22 platform independent part of unifykey driver
|
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/ |
D | Kconfig | 20 string "representative of the blackbox log part" 23 define the representative of the blackbox log part
|
/device/soc/esp/esp32/components/nvs_flash/src/ |
D | nvs_api.cpp | 113 NVSPartition *part = new (std::nothrow) NVSPartition(partition); in nvs_flash_init_partition_ptr() local 114 if (part == nullptr) { in nvs_flash_init_partition_ptr() 118 esp_err_t init_res = NVSPartitionManager::get_instance()->init_custom(part, in nvs_flash_init_partition_ptr() 123 delete part; in nvs_flash_init_partition_ptr()
|