Home
last modified time | relevance | path

Searched refs:current_size (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.6.0/secure_fw/partitions/protected_storage/
Dps_object_system.c119 if (type == READ_ALL_OBJECT && g_ps_object.header.info.current_size > 0) { in ps_read_object()
122 g_ps_object.header.info.current_size, in ps_read_object()
204 if (offset > g_ps_object.header.info.current_size) { in ps_object_read()
210 g_ps_object.header.info.current_size - offset); in ps_object_read()
293 g_ps_object.header.info.current_size = size; in ps_object_create()
308 wrt_size = PS_OBJECT_SIZE(g_ps_object.header.info.current_size); in ps_object_create()
385 if (offset > g_ps_object.header.info.current_size) { in ps_object_write()
404 if ((offset + size) > g_ps_object.header.info.current_size) { in ps_object_write()
405 g_ps_object.header.info.current_size = offset + size; in ps_object_write()
423 wrt_size = PS_OBJECT_SIZE(g_ps_object.header.info.current_size); in ps_object_write()
[all …]
Dps_object_defs.h26 uint32_t current_size; /*!< Current size of the object content in bytes */ member
Dps_encrypted_object.c197 wrt_size = PS_ENCRYPT_SIZE(obj->header.info.current_size); in ps_encrypted_object_write()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/fw_update_agent/
Duefi_fmp.c175 int current_size = sizeof(packed_buffer_t); in pack_image_info() local
179 if (size < current_size) { in pack_image_info()
200 current_size += size_requirement_1 + size_requirement_2; in pack_image_info()
202 if (size < current_size) { in pack_image_info()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/stm32l562e_dk/src/
Dstm32l562e_discovery_ospi.c421 uint32_t end_addr, current_size, current_addr; in BSP_OSPI_NOR_Write() local
432 current_size = MX25LM51245G_PAGE_SIZE - (WriteAddr % MX25LM51245G_PAGE_SIZE); in BSP_OSPI_NOR_Write()
435 if (current_size > Size) in BSP_OSPI_NOR_Write()
437 current_size = Size; in BSP_OSPI_NOR_Write()
462 …aceMode, MX25LM51245G_4BYTES_SIZE, (uint8_t*)data_addr, current_addr, current_size) != MX25LM51245… in BSP_OSPI_NOR_Write()
470 …geProgramDTR(&hospi_nor[Instance], (uint8_t*)data_addr, current_addr, current_size) != MX25LM51245… in BSP_OSPI_NOR_Write()
486 current_addr += current_size; in BSP_OSPI_NOR_Write()
487 data_addr += current_size; in BSP_OSPI_NOR_Write()
488current_size = ((current_addr + MX25LM51245G_PAGE_SIZE) > end_addr) ? (end_addr - current_addr) : … in BSP_OSPI_NOR_Write()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/b_u585i_iot02a/src/
Db_u585i_iot02a_ospi.c452 uint32_t current_size; in BSP_OSPI_NOR_Write() local
464 current_size = MX25LM51245G_PAGE_SIZE - (WriteAddr % MX25LM51245G_PAGE_SIZE); in BSP_OSPI_NOR_Write()
467 if (current_size > Size) in BSP_OSPI_NOR_Write()
469 current_size = Size; in BSP_OSPI_NOR_Write()
498 current_size) != MX25LM51245G_OK) in BSP_OSPI_NOR_Write()
507 current_size) != MX25LM51245G_OK) in BSP_OSPI_NOR_Write()
524 current_addr += current_size; in BSP_OSPI_NOR_Write()
525 data_addr += current_size; in BSP_OSPI_NOR_Write()
526 current_size = ((current_addr + MX25LM51245G_PAGE_SIZE) > end_addr) in BSP_OSPI_NOR_Write()