Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 141) sorted by relevance

123456

/device/soc/esp/esp32/components/bootloader_support/src/
Dflash_partitions.c36 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()
Desp_image_format.c120 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 …]
Dbootloader_utility.c476 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/
Dmeson-g12b-unionpi-tiger.dts128 part-0 = <&logo>;
129 part-1 = <&updater>;
130 part-2 = <&misc>;
131 part-3 = <&dto>;
132 part-4 = <&cri_data>;
133 part-5 = <&param>;
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/
Dlittlefs.c91 const esp_partition_t *part; in littlefs_config()
92part = 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/
Desp_image_format.h107 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/
Dsunxi-panicpart.h21 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/
Dkernel_crypto.c69 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/
DREADME.en.md42 - 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/
Dload_crypto.c48 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/
Desp_ota_ops.c49 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/
Dimage.cfg51 …;----------------------------------------publish part---------------------------------------------…
71 …;------------------------------------------usb part-----------------------------------------------…
78 …;------------------------------------------card part----------------------------------------------…
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
Dblock.c127 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/
Dcrypto.c102 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/
Demmc_partitions.c630 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/
DMakefile.lib190 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/
Dapp_pwl.h41 }part[10]; member
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/
Dsoc_modules.list4 # In this file, all modules available on this part are listed
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_rkvdec2_link.c307 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/
Dmpp_rkvdec2_link.c311 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/
Dmpp_rkvdec2_link.c309 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/
Dsoc_modules.list4 # In this file, all modules available on this part are listed
/device/soc/amlogic/a311d/soc/amlogic/unifykey/
DKconfig22 platform independent part of unifykey driver
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
DKconfig20 string "representative of the blackbox log part"
23 define the representative of the blackbox log part
/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_api.cpp113 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()

123456