/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/emi_mpu/ |
A D | emi_mpu.c | 31 if (end <= start) { in emi_mpu_set_region_protection() 39 end = EMI_PHY_OFFSET & 0xffff; in emi_mpu_set_region_protection() 43 end = end - EMI_PHY_OFFSET; in emi_mpu_set_region_protection() 48 end = end >> 16; in emi_mpu_set_region_protection() 54 mmio_write_32(EMI_MPU_EA0, end); in emi_mpu_set_region_protection() 61 mmio_write_32(EMI_MPU_EA1, end); in emi_mpu_set_region_protection() 68 mmio_write_32(EMI_MPU_EA2, end); in emi_mpu_set_region_protection() 75 mmio_write_32(EMI_MPU_EA3, end); in emi_mpu_set_region_protection() 82 mmio_write_32(EMI_MPU_EA4, end); in emi_mpu_set_region_protection() 89 mmio_write_32(EMI_MPU_EA5, end); in emi_mpu_set_region_protection() [all …]
|
/tf-a-ffa_el3_spmc/drivers/auth/mbedtls/ |
A D | mbedtls_x509_parser.c | 78 const unsigned char *end; in get_ext() local 91 while (p < end) { in get_ext() 152 end = p + len; in cert_parse() 180 end = p + len; in cert_parse() 181 tbs.len = end - tbs.p; in cert_parse() 212 if ((end - p) < 1) { in cert_parse() 315 while (p < end) { in cert_parse() 345 if (p != end) { in cert_parse() 349 end = crt_end; in cert_parse() 363 if ((end - p) < 1) { in cert_parse() [all …]
|
A D | mbedtls_crypto.c | 72 unsigned char *p, *end; in verify_signature() local 77 end = (unsigned char *)(p + sig_alg_len); in verify_signature() 78 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, &sig_params); in verify_signature() 92 end = (unsigned char *)(p + pk_len); in verify_signature() 93 rc = mbedtls_pk_parse_subpubkey(&p, end, &pk); in verify_signature() 101 end = (unsigned char *)(p + sig_len); in verify_signature() 103 rc = mbedtls_asn1_get_bitstring_null(&p, end, &signature.len); in verify_signature() 154 unsigned char *p, *end, *hash; in verify_hash() local 161 end = p + digest_info_len; in verify_hash() 162 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in verify_hash() [all …]
|
/tf-a-ffa_el3_spmc/drivers/auth/cryptocell/713/ |
A D | cryptocell_crypto.c | 88 uint8_t *p, *end; in verify_signature() local 97 end = p + sig_alg_len; in verify_signature() 129 end = p + pk_len; in verify_signature() 130 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 135 end = p + len; in verify_signature() 136 rc = mbedtls_asn1_get_alg_null(&p, end, &alg_oid); in verify_signature() 150 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 173 rc = mbedtls_asn1_get_int(&p, end, &exp); in verify_signature() 182 end = p + sig_len; in verify_signature() 222 uint8_t *p, *end, *hash; in verify_hash() local [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/emi_mpu/ |
A D | emi_mpu.c | 19 unsigned long start, unsigned long end, in _emi_mpu_set_protection() argument 27 dgroup = (end >> 24) & 0xFF; in _emi_mpu_set_protection() 28 end &= 0x00FFFFFF; in _emi_mpu_set_protection() 39 end -= DRAM_OFFSET; in _emi_mpu_set_protection() 42 start, end); in _emi_mpu_set_protection() 74 unsigned long start, end; in emi_mpu_set_protection() local 84 end = (unsigned long)(region_info->end >> EMI_MPU_ALIGN_BITS) | in emi_mpu_set_protection() 100 region_info.end = 0xC3FF0000ULL; in emi_mpu_init() 111 region_info.end = 0x513F0000ULL; in emi_mpu_init() 122 region_info.end = 0x1FFFF0000ULL; in emi_mpu_init() [all …]
|
/tf-a-ffa_el3_spmc/drivers/auth/cryptocell/712/ |
A D | cryptocell_crypto.c | 104 uint8_t *p, *end; in verify_signature() local 111 end = p + sig_alg_len; in verify_signature() 142 end = p + pk_len; in verify_signature() 143 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 148 end = p + len; in verify_signature() 149 rc = mbedtls_asn1_get_alg_null(&p, end, &alg_oid); in verify_signature() 163 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 186 rc = mbedtls_asn1_get_int(&p, end, &exp); in verify_signature() 206 end = p + sig_len; in verify_signature() 248 uint8_t *p, *end, *hash; in verify_hash() local [all …]
|
/tf-a-ffa_el3_spmc/docs/resources/diagrams/plantuml/ |
A D | io_dev_init_and_check.puml | 15 end note 30 end note 31 end opt 40 end note 55 end note 57 end opt 59 end alt 61 end group
|
A D | io_dev_registration.puml | 17 end note 24 end note 35 end note 36 end opt 47 end note 48 end opt 51 end group
|
A D | fconf_bl1_load_config.puml | 6 end box 12 end box 18 end box 29 end note 40 end note 60 end note 73 end note
|
A D | fconf_bl2_populate.puml | 6 end box 12 end box 18 end box 26 end note
|
/tf-a-ffa_el3_spmc/lib/libfdt/ |
A D | fdt_ro.c | 263 q = end; in fdt_path_offset_namelen() 273 while (p < end) { in fdt_path_offset_namelen() 278 if (p == end) in fdt_path_offset_namelen() 283 q = end; in fdt_path_offset_namelen() 725 const char *list, *end; in fdt_stringlist_count() local 732 end = list + length; in fdt_stringlist_count() 734 while (list < end) { in fdt_stringlist_count() 759 end = list + length; in fdt_stringlist_search() 761 while (list < end) { in fdt_stringlist_search() 793 end = list + length; in fdt_stringlist_get() [all …]
|
A D | fdt_sw.c | 340 fdt32_t *end; in fdt_finish() local 348 end = fdt_grab_space_(fdt, sizeof(*end)); in fdt_finish() 349 if (! end) in fdt_finish() 351 *end = cpu_to_fdt32(FDT_END); in fdt_finish()
|
/tf-a-ffa_el3_spmc/lib/libc/ |
A D | memmove.c | 24 const char *end = dst; in memmove() local 27 while (d != end) in memmove()
|
/tf-a-ffa_el3_spmc/lib/extensions/ras/ |
A D | ras_common.c | 129 int start, end, mid, ret __unused; in ras_interrupt_handler() local 142 end = (int)ras_interrupt_mappings.num_intrs - 1; in ras_interrupt_handler() 143 while (start <= end) { in ras_interrupt_handler() 144 mid = ((end + start) / 2); in ras_interrupt_handler() 150 end = mid - 1; in ras_interrupt_handler()
|
/tf-a-ffa_el3_spmc/plat/socionext/uniphier/ |
A D | uniphier_console_setup.c | 49 uintptr_t base, end; in uniphier_console_get_base() local 54 end = base + UNIPHIER_UART_OFFSET * UNIPHIER_UART_NR_PORTS; in uniphier_console_get_base() 56 while (base < end) { in uniphier_console_get_base()
|
/tf-a-ffa_el3_spmc/plat/imx/imx8qx/ |
A D | imx8qx_bl31_setup.c | 188 sc_faddr_t start, end; in imx8_partition_resources() local 237 err = sc_rm_get_memreg_info(ipc_handle, mr, &start, &end); in imx8_partition_resources() 241 NOTICE("Memreg %u 0x%llx -- 0x%llx\n", mr, start, end); in imx8_partition_resources() 242 if (BL31_BASE >= start && (BL31_LIMIT - 1) <= end) { in imx8_partition_resources() 248 err %d\n", start, end, err); in imx8_partition_resources() 254 err = sc_rm_get_memreg_info(ipc_handle, mr_record, &start, &end); in imx8_partition_resources() 257 if ((BL31_LIMIT - 1) < end) { in imx8_partition_resources() 258 err = sc_rm_memreg_alloc(ipc_handle, &mr, BL31_LIMIT, end); in imx8_partition_resources() 261 (sc_faddr_t)BL31_LIMIT, end); in imx8_partition_resources() 265 (sc_faddr_t)BL31_LIMIT, end); in imx8_partition_resources()
|
/tf-a-ffa_el3_spmc/plat/imx/imx8qm/ |
A D | imx8qm_bl31_setup.c | 177 sc_faddr_t start, end; in mx8_partition_resources() local 261 err = sc_rm_get_memreg_info(ipc_handle, mr, &start, &end); in mx8_partition_resources() 264 NOTICE("Memreg %u 0x%llx -- 0x%llx\n", mr, start, end); in mx8_partition_resources() 265 if (BL31_BASE >= start && (BL31_LIMIT - 1) <= end) { in mx8_partition_resources() 271 err %d\n", start, end, err); in mx8_partition_resources() 277 err = sc_rm_get_memreg_info(ipc_handle, mr_record, &start, &end); in mx8_partition_resources() 280 if ((BL31_LIMIT - 1) < end) { in mx8_partition_resources() 281 err = sc_rm_memreg_alloc(ipc_handle, &mr, BL31_LIMIT, end); in mx8_partition_resources() 284 (sc_faddr_t)BL31_LIMIT, end); in mx8_partition_resources() 288 (sc_faddr_t)BL31_LIMIT, end); in mx8_partition_resources()
|
/tf-a-ffa_el3_spmc/lib/utils/ |
A D | mem_region.c | 118 uintptr_t region_start, region_end, start, end; in mem_region_in_array_chk() local 131 end = start + (tbl->nbytes - 1); in mem_region_in_array_chk() 132 if ((region_start >= start) && (region_end <= end)) { in mem_region_in_array_chk()
|
/tf-a-ffa_el3_spmc/lib/zlib/ |
A D | inffast.c | 59 unsigned char FAR *end; /* while out < end, enough space available */ local 86 end = out + (strm->avail_out - 257); 290 } while (in < last && out < end); 302 strm->avail_out = (unsigned)(out < end ? 303 257 + (end - out) : 257 - (out - end));
|
/tf-a-ffa_el3_spmc/drivers/marvell/ |
A D | iob.c | 109 uint64_t start, end; in dump_iob() local 126 end = (((uint64_t)ahr + 0x10) << ADDRESS_SHIFT); in dump_iob() 131 end = start + (16 << 20); in dump_iob() 135 start, end); in dump_iob()
|
/tf-a-ffa_el3_spmc/lib/fconf/ |
A D | fconf.c | 64 IMPORT_SYM(struct fconf_populator *, __FCONF_POPULATOR_END__, end); in fconf_populate() 67 for (populator = start; populator != end; populator++) { in fconf_populate()
|
/tf-a-ffa_el3_spmc/plat/brcm/board/stingray/include/ |
A D | ddr_init.h | 22 void ddr_secure_region_config(uint64_t start, uint64_t end) in ddr_secure_region_config() argument
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/common/ |
A D | tegra_bl31_setup.c | 333 uint64_t end = base + size_in_bytes - U(1); in bl31_check_ns_address() local 348 (end > TEGRA_DRAM_END)) { in bl31_check_ns_address() 358 if ((base < (uint64_t)TZDRAM_END) && (end > tegra_bl31_phys_base)) { in bl31_check_ns_address()
|
/tf-a-ffa_el3_spmc/plat/arm/common/ |
A D | arm_tzc_dmc500.c | 49 tzc_dmc500_configure_region(region_index, p->base, p->end, in arm_tzc_dmc500_setup()
|
A D | arm_tzc400.c | 53 p->base, p->end, p->sec_attr, p->nsaid_permissions); in arm_tzc400_setup()
|