/trusted-firmware-a-3.6.0-3.5.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.6.0-3.5.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.6.0-3.5.0/plat/mediatek/drivers/emi_mpu/ |
D | emi_mpu_common.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() 92 unsigned int start, end; in emi_mpu_set_protection() local 104 end = (unsigned int)(region_info->end >> EMI_MPU_ALIGN_BITS) | (i << 24); in emi_mpu_set_protection() 106 if (_emi_mpu_set_protection(start, end, region_info->apc[i]) < 0) { in emi_mpu_set_protection() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/drivers/auth/cryptocell/713/ |
D | cryptocell_crypto.c | 91 uint8_t *p, *end; in verify_signature() local 100 end = p + sig_alg_len; in verify_signature() 101 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, ¶ms); in verify_signature() 138 end = p + pk_len; in verify_signature() 139 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 145 end = p + len; in verify_signature() 146 rc = mbedtls_asn1_get_alg_null(&p, end, &alg_oid); in verify_signature() 159 rc = mbedtls_asn1_get_bitstring_null(&p, end, &len); in verify_signature() 164 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 171 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_INTEGER); in verify_signature() [all …]
|
/trusted-firmware-a-3.6.0-3.5.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() 145 } while (p < end); in get_ext() 164 unsigned char *p, *end, *crt_end, *pk_end; in cert_parse() local 185 end = crt_end; in cert_parse() 193 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse() 195 if ((ret != 0) || ((p + len) != end)) { in cert_parse() 203 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse() 208 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 179 end = p + digest_info_len; in verify_hash() [all …]
|
/trusted-firmware-a-3.6.0-3.5.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.6.0-3.5.0/drivers/auth/cryptocell/712/ |
D | cryptocell_crypto.c | 103 uint8_t *p, *end; in verify_signature() local 110 end = p + sig_alg_len; in verify_signature() 111 rc = mbedtls_asn1_get_alg(&p, end, &sig_oid, ¶ms); in verify_signature() 147 end = p + pk_len; in verify_signature() 148 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 154 end = p + len; in verify_signature() 155 rc = mbedtls_asn1_get_alg_null(&p, end, &alg_oid); in verify_signature() 168 rc = mbedtls_asn1_get_bitstring_null(&p, end, &len); in verify_signature() 173 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature() 179 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_INTEGER); in verify_signature() [all …]
|
/trusted-firmware-a-3.6.0-3.5.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.6.0-3.5.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.6.0-3.5.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.6.0-3.5.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.6.0-3.5.0/lib/libc/ |
D | memmove.c | 24 const char *end = dst; in memmove() local 27 while (d != end) in memmove()
|
/trusted-firmware-a-3.6.0-3.5.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() 256 unsigned char *p, *end; in get_plain_digest_from_asn1() local 263 end = p + digest_len; in get_plain_digest_from_asn1() 264 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in get_plain_digest_from_asn1() 271 ret = mbedtls_asn1_get_alg(&p, end, &hash_oid, ¶ms); in get_plain_digest_from_asn1() [all …]
|
/trusted-firmware-a-3.6.0-3.5.0/plat/socionext/uniphier/ |
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()
|
/trusted-firmware-a-3.6.0-3.5.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.6.0-3.5.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.6.0-3.5.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.6.0-3.5.0/lib/zlib/ |
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));
|
/trusted-firmware-a-3.6.0-3.5.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.6.0-3.5.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()
|
/trusted-firmware-a-3.6.0-3.5.0/plat/brcm/board/stingray/include/ |
D | ddr_init.h | 22 void ddr_secure_region_config(uint64_t start, uint64_t end) in ddr_secure_region_config() argument
|