Lines Matching defs:base
48 /* make sure the base address is in 16-bit range */
50 WARN("Window %d: base address is too big 0x%" PRIx64 "\n",
53 WARN("Set the base address to 0x%" PRIx64 "\n", win->base_addr);
57 /* for AMB The base is always 1M aligned */
61 WARN("Window %d: base address unaligned to 0x%x\n",
63 WARN("Align up the base address to 0x%" PRIx64 "\n", win->base_addr);
77 uint32_t ctrl, base, size;
86 base = win->base_addr << AMB_BASE_OFFSET;
88 mmio_write_32(AMB_WIN_BASE_OFFSET(win_num), base);
99 uint32_t ctrl, base, win_id, attr;
103 printf("bank attribute base size\n");
108 base = mmio_read_32(AMB_WIN_BASE_OFFSET(win_id));
113 attr, base, size);
119 int init_amb_adec(uintptr_t base)
127 /* Get the base address of the AMB address decoding */
128 amb_base = base + MVEBU_AMB_ADEC_OFFSET;
131 marvell_get_amb_memory_map(&win, &win_count, base);