Lines Matching refs:XTHAL_MPU_ENTRY_GET_VSTARTADDR

128         assert_attributes_equivalent(XTHAL_MPU_ENTRY_GET_VSTARTADDR(initial[i]), initial, fg, bg);  in assert_maps_equivalent()
129 assert_attributes_equivalent(XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]), initial, fg, bg); in assert_maps_equivalent()
132 assert_attributes_equivalent(XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i]), initial, fg, bg); in assert_maps_equivalent()
367 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) <= addr) in _xthal_get_entry()
381 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i]) <= addr) in _xthal_get_entry()
396 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i]) == address) in _xthal_in_bgmap()
456 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) == XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i + 1])) in bubble_free_to_ip()
482 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) == XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i - 1])) in bubble_free_to_ip()
503 …THAL_MPU_ENTRY_GET_VALID(fg[i - 1])) && (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) > XTHAL_MPU_ENTRY_G… in remove_inaccessible_entries()
508 (!_xthal_in_bgmap(XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]), bg))) in remove_inaccessible_entries()
509 …(!XTHAL_MPU_ENTRY_GET_VALID(fg[i - 1])) && (!_xthal_in_bgmap(XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i])… in remove_inaccessible_entries()
541 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) <= first) in find_entry()
562 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) == first) in needed_entries_exist()
578 if (last == XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[j])) in needed_entries_exist()
614 … if (i && (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) == XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i - 1]))) in number_available()
629 if (first > XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i])) in get_bg_map_index()
652 …unsigned length = end_of_segment - XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip]); // initially keep lengt… in safe_region()
671 void* addr = (void*) XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip]); in safe_region()
745 unsigned current = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[current_index]); in next_address_to_commit()
746 …return max(first, XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[current_index - 1]), XTHAL_MPU_ENTRY_GET_VSTAR… in next_address_to_commit()
769 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) < last) in safe_and_commit_overlaped_regions()
773 end_of_segment = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in safe_and_commit_overlaped_regions()
777 if (next == XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i - 1])) in safe_and_commit_overlaped_regions()
781 end_of_segment = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in safe_and_commit_overlaped_regions()
788 for (; i < XCHAL_MPU_ENTRIES && XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) < last; i++) in safe_and_commit_overlaped_regions()
817 unsigned fgipm1_addr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip - 1]); in handle_invalid_pred()
822 unsigned fgip_addr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip]); in handle_invalid_pred()
827 unsigned addr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i]); in handle_invalid_pred()
849 … xthal_MPU_entry temp = _xthal_get_entry(fg, bg, XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip - 1]), 0); in handle_invalid_pred()
850 XTHAL_MPU_ENTRY_SET_VSTARTADDR(temp, XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[ip - 1])); in handle_invalid_pred()
870 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) == first) in insert_entry_if_needed_with_existing_attr()
908 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) >= x) in smallest_entry_greater_than_equal()
909 return XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in smallest_entry_greater_than_equal()
923 …unsigned preceding_bg_entry_x_addr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[preceding_bg_entry_index_x]… in create_aligning_entries_if_required()
926 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) < x) in create_aligning_entries_if_required()
935 next_entry_address = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in create_aligning_entries_if_required()
959 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[next_bg_entry_index]) > x) in create_aligning_entries_if_required()
961 …if (next_entry_address == XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[next_bg_entry_index])) // In this case… in create_aligning_entries_if_required()
971 …if ((rv = insert_entry_if_needed_with_existing_attr(fg, bg, XTHAL_MPU_ENTRY_GET_VSTARTADDR(_xthal_… in create_aligning_entries_if_required()
977XTHAL_MPU_ENTRY_GET_VSTARTADDR(_xthal_get_entry(fg, bg, XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[next_bg_… in create_aligning_entries_if_required()
1005 addr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(bg[i]); in start_initial_region()
1119 pbg = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[get_bg_map_index(Xthal_mpu_bgmap, x)]); in safe_add_region()
1242 if ((XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) < current)) in check_map()
1244 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]) & MPU_VSTART_CORRECTNESS_MASK) in check_map()
1246 current = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i]); in check_map()
1248 …if (XCHAL_MPU_ALIGN_REQ && XTHAL_MPU_ENTRY_GET_VALID(fg[0]) && XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[0… in check_map()
1249 && !_xthal_in_bgmap(XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[0]), bg)) in check_map()
1253 && !_xthal_in_bgmap(XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[i + 1]), bg)) in check_map()
1580 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(Xthal_mpu_bgmap[i]) <= (unsigned) paddr) in xthal_get_entry_for_address()
1746 vaddr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[fg_index]); in xthal_calc_cacheadrdis()
1775 (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[fg_index])) : in xthal_calc_cacheadrdis()
1778 while ((caddr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(Xthal_mpu_bgmap[bg_index])) >= vaddr) in xthal_calc_cacheadrdis()
1782 caddr = max2(XTHAL_MPU_ENTRY_GET_VSTARTADDR(Xthal_mpu_bgmap[bg_index]), in xthal_calc_cacheadrdis()