| /u-boot/arch/x86/cpu/slimbootloader/ |
| A D | sdram.c | 56 u64 addr_end; in board_get_usable_ram_top() local 70 addr_end = addr_start + data->entry[i].size; in board_get_usable_ram_top() 75 if (addr_end > SZ_4G) in board_get_usable_ram_top() 76 addr_end = SZ_4G; in board_get_usable_ram_top() 78 if (addr_end < total_size) in board_get_usable_ram_top() 82 addr_end = rounddown(addr_end - total_size, SZ_4K); in board_get_usable_ram_top() 83 if (addr_end >= addr_start) { in board_get_usable_ram_top() 84 ram_top = (ulong)addr_end + total_size; in board_get_usable_ram_top()
|
| /u-boot/arch/arm/mach-imx/imx9/ |
| A D | trdc.c | 232 u32 addr_end, bool sec_access, u32 glbac_id) in trdc_mrc_region_config() argument 247 addr_end &= ~0x3fff; in trdc_mrc_region_config() 265 if (addr_start >= end || addr_end <= start || !vld) in trdc_mrc_region_config() 280 if (addr_start >= start && addr_end <= end) in trdc_mrc_region_config() 291 debug("[0x%x] [0x%x]\n", addr_start | (glbac_id & 0x7), addr_end | 0x1); in trdc_mrc_region_config() 295 writel(addr_end | 0x1, (void __iomem *)(desc_w + 1)); in trdc_mrc_region_config() 298 writel((addr_end | 0x1 | 0x10), (void __iomem *)(desc_w + 1)); in trdc_mrc_region_config()
|
| /u-boot/arch/arm/mach-imx/imx8ulp/ |
| A D | rdc.c | 421 int trdc_mrc_region_set_access(u32 mrc_x, u32 dom_x, u32 addr_start, u32 addr_end, bool sec_access) in trdc_mrc_region_set_access() argument 444 if (addr_start >= end || addr_end <= start || !vld) in trdc_mrc_region_set_access() 459 if (addr_start >= start && addr_end <= end) in trdc_mrc_region_set_access() 470 addr_end &= ~0xfff; in trdc_mrc_region_set_access() 474 writel(addr_end | 0x1, (void __iomem *)(desc_w + 1)); in trdc_mrc_region_set_access() 477 writel((addr_end | 0x1 | 0x10), (void __iomem *)(desc_w + 1)); in trdc_mrc_region_set_access()
|
| /u-boot/arch/arm/mach-imx/imx8/ |
| A D | cpu.c | 259 sc_faddr_t *addr_end) in get_owned_memreg() argument 274 *addr_end = end; in get_owned_memreg() 475 static u64 get_block_size(sc_faddr_t addr_start, sc_faddr_t addr_end) in get_block_size() argument 489 if ((addr_end + 1) > end1) in get_block_size() 492 if ((addr_end + 1) > end2) in get_block_size() 496 return (addr_end - addr_start + 1); in get_block_size()
|
| /u-boot/arch/arm/include/asm/arch-imx9/ |
| A D | trdc.h | 14 u32 addr_end, bool sec_access, u32 glbac_id);
|
| /u-boot/drivers/ram/cadence/ |
| A D | ddr_ctrl.c | 202 u32 addr_end; in cdns_ddr_enable_port_addr_range() local 215 addr_end = addr_start + size - 1; in cdns_ddr_enable_port_addr_range() 217 addr_end = addr_start; in cdns_ddr_enable_port_addr_range() 227 tmp |= addr_end; in cdns_ddr_enable_port_addr_range()
|
| /u-boot/arch/arm/include/asm/arch-imx8ulp/ |
| A D | rdc.h | 22 int trdc_mrc_region_set_access(u32 mrc_x, u32 dom_x, u32 addr_start, u32 addr_end, bool sec_access);
|
| /u-boot/include/firmware/imx/sci/ |
| A D | sci.h | 95 sc_faddr_t addr_end); 99 sc_faddr_t *addr_end); 238 sc_faddr_t addr_end) in sc_rm_find_memreg() argument 250 sc_faddr_t *addr_end) in sc_rm_get_memreg_info() argument
|
| /u-boot/drivers/ddr/imx/imx8m/ |
| A D | ddr_init.c | 150 unsigned int addr_end) in look_for_max() argument 154 for (i = addr_start; i <= addr_end; i++) { in look_for_max()
|
| /u-boot/drivers/misc/imx8/ |
| A D | scu_api.c | 516 sc_faddr_t addr_end) in sc_rm_find_memreg() argument 531 RPC_U32(&msg, 8U) = (u32)(addr_end >> 32ULL); in sc_rm_find_memreg() 532 RPC_U32(&msg, 12U) = (u32)(addr_end); in sc_rm_find_memreg() 537 printf("%s: start:0x%llx, end:0x%llx res:%d\n", __func__, addr_start, addr_end, RPC_R8(&msg)); in sc_rm_find_memreg() 574 sc_faddr_t *addr_end) in sc_rm_get_memreg_info() argument 598 if (addr_end) in sc_rm_get_memreg_info() 599 *addr_end = ((u64)RPC_U32(&msg, 8U) << 32U) | in sc_rm_get_memreg_info()
|
| /u-boot/drivers/ddr/imx/imx9/ |
| A D | ddr_init.c | 96 unsigned int addr_end) in look_for_max() argument 100 for (i = addr_start; i <= addr_end; i++) { in look_for_max()
|