/trusted-firmware-a-3.7.0/plat/mediatek/mt8183/drivers/emi_mpu/ |
D | emi_mpu.c | 25 unsigned long start, unsigned long end, in emi_mpu_set_region_protection() argument 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() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8186/drivers/emi_mpu/ |
D | emi_mpu.c | 21 static int _emi_mpu_set_protection(unsigned int start, unsigned int end, in _emi_mpu_set_protection() argument 29 dgroup = (end >> 24) & 0xFF; in _emi_mpu_set_protection() 30 end &= EMI_MPU_END_MASK; in _emi_mpu_set_protection() 52 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 54 end -= DRAM_OFFSET; in _emi_mpu_set_protection() 61 mmio_write_32(EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 66 mmio_write_32(SUB_EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 74 unsigned int start, end; in emi_mpu_set_protection() local 86 end = (unsigned int)(region_info->end >> EMI_MPU_ALIGN_BITS) | (i << 24); in emi_mpu_set_protection() 88 if (_emi_mpu_set_protection(start, end, region_info->apc[i]) < 0) { in emi_mpu_set_protection() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/drivers/emi_mpu/ |
D | emi_mpu_common.c | 25 static int _emi_mpu_set_protection(unsigned int start, unsigned int end, in _emi_mpu_set_protection() argument 33 dgroup = (end >> 24) & 0xFF; in _emi_mpu_set_protection() 34 end &= EMI_MPU_END_MASK; in _emi_mpu_set_protection() 56 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 58 end -= DRAM_OFFSET; in _emi_mpu_set_protection() 65 mmio_write_32(EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 70 mmio_write_32(SUB_EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 94 unsigned int start, end; in emi_mpu_set_protection() local 106 end = (unsigned int)(region_info->end >> EMI_MPU_ALIGN_BITS) | (i << 24); in emi_mpu_set_protection() 108 if (_emi_mpu_set_protection(start, end, region_info->apc[i]) < 0) { in emi_mpu_set_protection() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8192/drivers/emi_mpu/ |
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() 37 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 39 end -= DRAM_OFFSET; in _emi_mpu_set_protection() 42 start, end); in _emi_mpu_set_protection() 47 mmio_write_32(EMI_MPU_EA(region), 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() 86 _emi_mpu_set_protection(start, end, region_info->apc[i]); in emi_mpu_set_protection() [all …]
|
/trusted-firmware-a-3.7.0/drivers/auth/mbedtls/ |
D | mbedtls_x509_parser.c | 77 const unsigned char *end; in get_ext() local 82 end = v3_ext.p + v3_ext.len; in get_ext() 93 ret = mbedtls_asn1_get_tag(&p, end, &len, in get_ext() 175 } while (p < end); in get_ext() 194 unsigned char *p, *end, *crt_end, *pk_end; in cert_parse() local 215 end = crt_end; in cert_parse() 223 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse() 225 if ((ret != 0) || ((p + len) != end)) { in cert_parse() 233 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse() 238 end = p + len; in cert_parse() [all …]
|
D | mbedtls_crypto.c | 87 unsigned char *p, *end; in verify_signature() local 92 end = (unsigned char *)(p + sig_alg_len); in verify_signature() 93 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, &sig_params); in verify_signature() 107 end = (unsigned char *)(p + pk_len); in verify_signature() 108 rc = mbedtls_pk_parse_subpubkey(&p, end, &pk); in verify_signature() 116 end = (unsigned char *)(p + sig_len); in verify_signature() 118 rc = mbedtls_asn1_get_bitstring_null(&p, end, &signature.len); in verify_signature() 119 if ((rc != 0) || ((size_t)(end - p) != signature.len)) { in verify_signature() 169 unsigned char *p, *end, *hash; in verify_hash() local 180 end = p + digest_info_len; in verify_hash() [all …]
|
D | mbedtls_psa_crypto.c | 312 unsigned char *p, *end; in verify_signature() local 327 end = (unsigned char *)(p + sig_alg_len); in verify_signature() 328 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, &sig_params); in verify_signature() 341 end = (unsigned char *)(p + sig_len); in verify_signature() 343 rc = mbedtls_asn1_get_bitstring_null(&p, end, &signature.len); in verify_signature() 344 if ((rc != 0) || ((size_t)(end - p) != signature.len)) { in verify_signature() 439 unsigned char *p, *end, *hash; in verify_hash() local 451 end = p + digest_info_len; in verify_hash() 452 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in verify_hash() 458 end = p + len; in verify_hash() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8195/drivers/emi_mpu/ |
D | emi_mpu.c | 23 static int _emi_mpu_set_protection(unsigned int start, unsigned int end, in _emi_mpu_set_protection() argument 31 dgroup = (end >> 24) & 0xFF; in _emi_mpu_set_protection() 32 end &= EMI_MPU_END_MASK; in _emi_mpu_set_protection() 54 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 56 end -= DRAM_OFFSET; in _emi_mpu_set_protection() 63 mmio_write_32(EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 68 mmio_write_32(SUB_EMI_MPU_EA(region), end); in _emi_mpu_set_protection() 76 unsigned int start, end; in emi_mpu_set_protection() local 88 end = (unsigned int)(region_info->end >> EMI_MPU_ALIGN_BITS) | in emi_mpu_set_protection() 90 _emi_mpu_set_protection(start, end, region_info->apc[i]); in emi_mpu_set_protection() [all …]
|
/trusted-firmware-a-3.7.0/docs/resources/diagrams/plantuml/ |
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
|
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
|
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
|
D | fconf_bl2_populate.puml | 6 end box 12 end box 18 end box 26 end note
|
/trusted-firmware-a-3.7.0/plat/mediatek/drivers/emi_mpu/mt8188/ |
D | emi_mpu.c | 19 region_info.end = 0x528FFFFFULL; in set_emi_mpu_regions() 30 region_info.end = 0x729FFFFFULL; in set_emi_mpu_regions() 41 region_info.end = 0x610FFFFFULL; in set_emi_mpu_regions() 52 region_info.end = 0x1FFFF0000ULL; in set_emi_mpu_regions() 67 region_info.end = (unsigned long long)(APUSYS_SEC_BUF_PA + APUSYS_SEC_BUF_SZ) - 1; in set_apu_emi_mpu_region() 106 region_info.end = phys_addr + zone_size; in emi_mpu_optee_handler()
|
/trusted-firmware-a-3.7.0/lib/libfdt/ |
D | fdt_ro.c | 252 const char *end = path + namelen; in fdt_path_offset_namelen() local 260 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen() 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() 281 q = memchr(p, '/', end - p); 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() [all …]
|
/trusted-firmware-a-3.7.0/lib/extensions/ras/ |
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()
|
/trusted-firmware-a-3.7.0/lib/libc/ |
D | memmove.c | 24 const char *end = dst; in memmove() local 27 while (d != end) in memmove()
|
/trusted-firmware-a-3.7.0/plat/st/common/ |
D | stm32mp_crypto_lib.c | 87 unsigned char *p, *end; in get_plain_pk_from_asn1() local 97 end = (unsigned char *)(p + pk_len); in get_plain_pk_from_asn1() 99 ret = mbedtls_asn1_get_tag(&p, end, len, in get_plain_pk_from_asn1() 105 end = p + *len; in get_plain_pk_from_asn1() 106 ret = mbedtls_asn1_get_alg(&p, end, &alg_oid, &alg_params); in get_plain_pk_from_asn1() 125 ret = mbedtls_asn1_get_bitstring_null(&p, end, len); in get_plain_pk_from_asn1() 264 unsigned char *p, *end; in get_plain_digest_from_asn1() local 271 end = p + digest_len; in get_plain_digest_from_asn1() 272 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in get_plain_digest_from_asn1() 279 ret = mbedtls_asn1_get_alg(&p, end, &hash_oid, ¶ms); in get_plain_digest_from_asn1() [all …]
|
/trusted-firmware-a-3.7.0/plat/socionext/uniphier/ |
D | uniphier_console_setup.c | 51 uintptr_t base, end; in uniphier_console_get_base() local 56 end = base + UNIPHIER_UART_OFFSET * UNIPHIER_UART_NR_PORTS; in uniphier_console_get_base() 58 while (base < end) { in uniphier_console_get_base()
|
/trusted-firmware-a-3.7.0/plat/imx/imx8qx/ |
D | imx8qx_bl31_setup.c | 200 sc_faddr_t start, end; in imx8_partition_resources() local 249 err = sc_rm_get_memreg_info(ipc_handle, mr, &start, &end); in imx8_partition_resources() 253 NOTICE("Memreg %u 0x%" PRIx64 " -- 0x%" PRIx64 "\n", mr, start, end); in imx8_partition_resources() 254 if (BL31_BASE >= start && (BL31_LIMIT - 1) <= end) { in imx8_partition_resources() 260 err %d\n", start, end, err); in imx8_partition_resources() 266 err = sc_rm_get_memreg_info(ipc_handle, mr_record, &start, &end); in imx8_partition_resources() 269 if ((BL31_LIMIT - 1) < end) { in imx8_partition_resources() 270 err = sc_rm_memreg_alloc(ipc_handle, &mr, BL31_LIMIT, end); in imx8_partition_resources() 273 (sc_faddr_t)BL31_LIMIT, end); in imx8_partition_resources() 277 (sc_faddr_t)BL31_LIMIT, end); in imx8_partition_resources()
|
/trusted-firmware-a-3.7.0/services/std_svc/errata_abi/ |
D | errata_abi_main.c | 173 struct erratum_entry *entry, *end; in verify_errata_implemented() local 192 end = cpu_ops->errata_list_end; in verify_errata_implemented() 193 assert(end != NULL); in verify_errata_implemented() 195 end--; /* point to the last erratum entry of the queried cpu */ in verify_errata_implemented() 197 while ((entry <= end) && (ret_val == EM_UNKNOWN_ERRATUM)) { in verify_errata_implemented()
|
/trusted-firmware-a-3.7.0/plat/imx/imx8qm/ |
D | imx8qm_bl31_setup.c | 179 sc_faddr_t start, end; in mx8_partition_resources() local 263 err = sc_rm_get_memreg_info(ipc_handle, mr, &start, &end); in mx8_partition_resources() 266 NOTICE("Memreg %u 0x%" PRIx64 " -- 0x%" PRIx64 "\n", mr, start, end); in mx8_partition_resources() 267 if (BL31_BASE >= start && (BL31_LIMIT - 1) <= end) { in mx8_partition_resources() 273 err %d\n", start, end, err); in mx8_partition_resources() 279 err = sc_rm_get_memreg_info(ipc_handle, mr_record, &start, &end); in mx8_partition_resources() 282 if ((BL31_LIMIT - 1) < end) { in mx8_partition_resources() 283 err = sc_rm_memreg_alloc(ipc_handle, &mr, BL31_LIMIT, end); in mx8_partition_resources() 286 (sc_faddr_t)BL31_LIMIT, end); in mx8_partition_resources() 290 (sc_faddr_t)BL31_LIMIT, end); in mx8_partition_resources()
|
/trusted-firmware-a-3.7.0/lib/utils/ |
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()
|
/trusted-firmware-a-3.7.0/lib/zlib/ |
D | inffast.c | 56 unsigned char FAR *end; /* while out < end, enough space available */ in inflate_fast() local 83 end = out + (strm->avail_out - 257); in inflate_fast() 287 } while (in < last && out < end); in inflate_fast() 299 strm->avail_out = (unsigned)(out < end ? in inflate_fast() 300 257 + (end - out) : 257 - (out - end)); in inflate_fast()
|
/trusted-firmware-a-3.7.0/drivers/marvell/ |
D | iob.c | 112 uint64_t start, end; in dump_iob() local 129 end = (((uint64_t)ahr + 0x10) << ADDRESS_SHIFT); in dump_iob() 134 end = start + (16 << 20); in dump_iob() 138 start, end); in dump_iob()
|
/trusted-firmware-a-3.7.0/lib/fconf/ |
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()
|