Lines Matching defs:base_addr
46 uint32_t base_addr;
49 if (win->base_addr > AMB_BASE_ADDR_MASK) {
51 win_num, win->base_addr);
52 win->base_addr = AMB_BASE_ADDR_MASK;
53 WARN("Set the base address to 0x%" PRIx64 "\n", win->base_addr);
56 base_addr = win->base_addr << AMB_BASE_OFFSET;
59 if (IS_NOT_ALIGN(base_addr, AMB_WIN_ALIGNMENT_1M)) {
60 win->base_addr = ALIGN_UP(base_addr, AMB_WIN_ALIGNMENT_1M);
63 WARN("Align up the base address to 0x%" PRIx64 "\n", win->base_addr);
86 base = win->base_addr << AMB_BASE_OFFSET;