Searched refs:end_vaddr (Results 1 – 2 of 2) sorted by relevance
204 unsigned start_region, start_offset, end_vaddr, end_region, end_offset; in xthal_set_region_attribute()209 end_vaddr = (unsigned)vaddr + size - 1; in xthal_set_region_attribute()210 if (end_vaddr < (unsigned)vaddr) in xthal_set_region_attribute()212 if (end_vaddr == 0xFFFFFFFE /*&& (unsigned)vaddr == 0*/ ) in xthal_set_region_attribute()213 end_vaddr = 0xFFFFFFFF; /* allow specifying 4 GB */ in xthal_set_region_attribute()216 end_region = (end_vaddr >> 29); in xthal_set_region_attribute()217 end_offset = ((end_vaddr+1) & 0x1FFFFFFF); in xthal_set_region_attribute()
406 unsigned end_vaddr; in xthal_set_region_translation() local424 end_vaddr = vaddr_a + size - 1; in xthal_set_region_translation()427 if ((end_vaddr < vaddr_a) || (end_paddr < paddr_a)) in xthal_set_region_translation()430 end_va_reg = end_vaddr >> addr_shift; in xthal_set_region_translation()441 if ((end_vaddr & addr_mask) != addr_mask) in xthal_set_region_translation()