/trusted-firmware-a-latest/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() 38 start = EMI_PHY_OFFSET & 0xffff; in emi_mpu_set_region_protection() 42 start = start - EMI_PHY_OFFSET; in emi_mpu_set_region_protection() 47 start = start >> 16; in emi_mpu_set_region_protection() 53 mmio_write_32(EMI_MPU_SA0, start); in emi_mpu_set_region_protection() 60 mmio_write_32(EMI_MPU_SA1, start); in emi_mpu_set_region_protection() 67 mmio_write_32(EMI_MPU_SA2, start); in emi_mpu_set_region_protection() 74 mmio_write_32(EMI_MPU_SA3, start); in emi_mpu_set_region_protection() 81 mmio_write_32(EMI_MPU_SA4, start); in emi_mpu_set_region_protection() [all …]
|
/trusted-firmware-a-latest/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 27 region = (start >> 24) & 0xFF; in _emi_mpu_set_protection() 28 start &= EMI_MPU_START_MASK; in _emi_mpu_set_protection() 52 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 53 start -= DRAM_OFFSET; in _emi_mpu_set_protection() 60 mmio_write_32(EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 65 mmio_write_32(SUB_EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 74 unsigned int start, end; in emi_mpu_set_protection() local 82 start = (unsigned int)(region_info->start >> EMI_MPU_ALIGN_BITS) | 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-latest/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 31 region = (start >> 24) & 0xFF; in _emi_mpu_set_protection() 32 start &= EMI_MPU_START_MASK; in _emi_mpu_set_protection() 56 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 57 start -= DRAM_OFFSET; in _emi_mpu_set_protection() 64 mmio_write_32(EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 69 mmio_write_32(SUB_EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 94 unsigned int start, end; in emi_mpu_set_protection() local 102 start = (unsigned int)(region_info->start >> EMI_MPU_ALIGN_BITS) | 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-latest/plat/mediatek/mt8192/drivers/emi_mpu/ |
D | emi_mpu.c | 19 unsigned long start, unsigned long end, in _emi_mpu_set_protection() argument 25 region = (start >> 24) & 0xFF; in _emi_mpu_set_protection() 26 start &= 0x00FFFFFF; in _emi_mpu_set_protection() 37 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 38 start -= DRAM_OFFSET; in _emi_mpu_set_protection() 42 start, end); in _emi_mpu_set_protection() 46 mmio_write_32(EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 74 unsigned long start, end; in emi_mpu_set_protection() local 80 start = (unsigned long)(region_info->start >> 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-latest/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 29 region = (start >> 24) & 0xFF; in _emi_mpu_set_protection() 30 start &= EMI_MPU_START_MASK; in _emi_mpu_set_protection() 54 if ((start >= DRAM_OFFSET) && (end >= start)) { in _emi_mpu_set_protection() 55 start -= DRAM_OFFSET; in _emi_mpu_set_protection() 62 mmio_write_32(EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 67 mmio_write_32(SUB_EMI_MPU_SA(region), start); in _emi_mpu_set_protection() 76 unsigned int start, end; in emi_mpu_set_protection() local 84 start = (unsigned int)(region_info->start >> 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-latest/lib/extensions/ras/ |
D | ras_common.c | 106 struct ras_interrupt *start = ras_interrupt_mappings.intrs; in assert_interrupts_sorted() local 111 last = start[0].intr_number; in assert_interrupts_sorted() 113 assert(start[i].intr_number > last); in assert_interrupts_sorted() 114 last = start[i].intr_number; in assert_interrupts_sorted() 129 int start, end, mid, ret __unused; in ras_interrupt_handler() local 141 start = 0; in ras_interrupt_handler() 143 while (start <= end) { in ras_interrupt_handler() 144 mid = ((end + start) / 2); in ras_interrupt_handler() 153 start = mid + 1; in ras_interrupt_handler()
|
/trusted-firmware-a-latest/lib/coreboot/ |
D | coreboot_table.c | 94 coreboot_memory_t coreboot_get_memory_type(uintptr_t start, size_t size) in coreboot_get_memory_type() argument 103 if ((start >= range->start) && in coreboot_get_memory_type() 104 (start - range->start < range->size) && in coreboot_get_memory_type() 105 (size <= range->size - (start - range->start))) { in coreboot_get_memory_type()
|
/trusted-firmware-a-latest/plat/mediatek/drivers/emi_mpu/mt8188/ |
D | emi_mpu.c | 18 region_info.start = 0x50000000ULL; in set_emi_mpu_regions() 29 region_info.start = 0x70000000ULL; in set_emi_mpu_regions() 40 region_info.start = 0x60000000ULL; in set_emi_mpu_regions() 51 region_info.start = 0x40000000ULL; in set_emi_mpu_regions() 66 region_info.start = (unsigned long long)APUSYS_SEC_BUF_PA; in set_apu_emi_mpu_region() 105 region_info.start = phys_addr; in emi_mpu_optee_handler()
|
/trusted-firmware-a-latest/drivers/delay_timer/ |
D | delay_timer.c | 30 uint32_t start, delta; in udelay() local 35 start = timer_ops->get_timer_value(); in udelay() 55 delta = start - timer_ops->get_timer_value(); in udelay()
|
/trusted-firmware-a-latest/lib/utils/ |
D | mem_region.c | 118 uintptr_t region_start, region_end, start, end; in mem_region_in_array_chk() local 130 start = tbl->base; in mem_region_in_array_chk() 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-latest/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() 280 if (start < (BL31_BASE - 1)) { in imx8_partition_resources() 281 err = sc_rm_memreg_alloc(ipc_handle, &mr, start, BL31_BASE - 1); in imx8_partition_resources() 284 start, (sc_faddr_t)BL31_BASE - 1); in imx8_partition_resources() 288 start, (sc_faddr_t)BL31_BASE - 1); in imx8_partition_resources()
|
/trusted-firmware-a-latest/plat/imx/imx8m/ |
D | imx_hab.c | 66 enum hab_status (*check_target)(enum hab_target type, const void *start, size_t bytes); 67 void* (*authenticate_image)(uint8_t cid, long ivt_offset, void **start, 76 void* (*authenticate_image_no_dcd)(uint8_t cid, long ivt_offset, void **start, 79 enum hab_status (*authenticate_container)(uint8_t cid, long ivt_offset, void **start,
|
/trusted-firmware-a-latest/lib/libfdt/ |
D | fdt_wip.c | 51 static void fdt_nop_region_(void *start, int len) in fdt_nop_region_() argument 55 for (p = start; (char *)p < ((char *)start + len); p++) in fdt_nop_region_()
|
/trusted-firmware-a-latest/include/lib/ |
D | coreboot.h | 25 uint64_t start; member 42 coreboot_memory_t coreboot_get_memory_type(uintptr_t start, size_t size);
|
/trusted-firmware-a-latest/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() 293 if (start < (BL31_BASE - 1)) { in mx8_partition_resources() 294 err = sc_rm_memreg_alloc(ipc_handle, &mr, start, BL31_BASE - 1); in mx8_partition_resources() 297 start, (sc_faddr_t)BL31_BASE - 1); in mx8_partition_resources() 301 start, (sc_faddr_t)BL31_BASE - 1); in mx8_partition_resources()
|
/trusted-firmware-a-latest/tools/memory/memory/ |
D | printer.py | 98 start: int = 12, 102 col_width = int((self.term_size - start) / len(modules)) 110 " " * start 119 f"{addr:{num_fmt}}" + " " if addr != last_addr else " " * start 158 node.start,
|
/trusted-firmware-a-latest/lib/zlib/ |
D | inffast.h | 11 void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start);
|
/trusted-firmware-a-latest/drivers/marvell/ |
D | iob.c | 112 uint64_t start, end; in dump_iob() local 126 start = ((uint64_t)alr << ADDRESS_SHIFT); in dump_iob() 134 end = start + (16 << 20); in dump_iob() 138 start, end); in dump_iob()
|
/trusted-firmware-a-latest/lib/fconf/ |
D | fconf.c | 63 IMPORT_SYM(struct fconf_populator *, __FCONF_POPULATOR_START__, start); in fconf_populate() 67 for (populator = start; populator != end; populator++) { in fconf_populate()
|
/trusted-firmware-a-latest/drivers/nxp/crypto/caam/src/ |
D | caam.c | 73 bool start = false; in start_jr() local 78 start = true; in start_jr() 82 start = true; in start_jr() 86 if (start == true) { in start_jr()
|
/trusted-firmware-a-latest/plat/renesas/rzg/ |
D | bl2_plat_setup.c | 496 static int bl2_add_memory_node(uint64_t start, uint64_t size) in bl2_add_memory_node() argument 505 unsigned_num_print(start, 16, nodename + strlen(nodename)); in bl2_add_memory_node() 516 ret = fdt_setprop_u64(fdt, node, "reg", start); in bl2_add_memory_node() 526 uint64_t start, size; in bl2_advertise_dram_entries() local 530 start = dram_config[2 * chan]; in bl2_advertise_dram_entries() 537 chan, start, start + size - 1U, in bl2_advertise_dram_entries() 549 start = dram_config[2 * chan]; in bl2_advertise_dram_entries() 565 start = dram_config[chan] + MAX_DRAM_SIZE_CH0_32BIT_ADDR_SPACE; in bl2_advertise_dram_entries() 567 ret = bl2_add_memory_node(start, size); in bl2_advertise_dram_entries() 572 start = 0x48000000U; in bl2_advertise_dram_entries() [all …]
|
/trusted-firmware-a-latest/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
|
/trusted-firmware-a-latest/include/drivers/nxp/timer/ |
D | nxp_timer.h | 18 uint64_t get_timer_val(uint64_t start);
|
/trusted-firmware-a-latest/drivers/nxp/timer/ |
D | nxp_timer.c | 19 uint64_t get_timer_val(uint64_t start) in get_timer_val() argument 25 return (cntpct * 1000ULL / read_cntfrq_el0() - start); in get_timer_val()
|
/trusted-firmware-a-latest/docs/tools/ |
D | memory-layout-tool.rst | 38 default, it prints the symbols representing the start and end address of the 147 The script relies on symbols in the symbol table to determine the start, end, 154 ``-t`` or ``--tree`` to the tool. This gives the start, end, and size of each 161 name start end size 214 name start end size
|