Searched refs:fg_index (Results 1 – 1 of 1) sorted by relevance
1737 int fg_index = num_entries - 1; in xthal_calc_cacheadrdis() local1742 while (bg_index >= 0 || fg_index >= 0) in xthal_calc_cacheadrdis()1744 if ((fg_index >= 0 && XTHAL_MPU_ENTRY_GET_VALID(fg[fg_index]))) in xthal_calc_cacheadrdis()1746 vaddr = XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[fg_index]); in xthal_calc_cacheadrdis()1750 unsigned int mt = XTHAL_MPU_ENTRY_GET_MEMORY_TYPE(fg[fg_index]); in xthal_calc_cacheadrdis()1769 && ((fg_index <= 0) in xthal_calc_cacheadrdis()1770 || XTHAL_MPU_ENTRY_GET_VALID(fg[fg_index-1]))&& vaddr) in xthal_calc_cacheadrdis()1774 (fg_index >= 0) ? in xthal_calc_cacheadrdis()1775 (XTHAL_MPU_ENTRY_GET_VSTARTADDR(fg[fg_index])) : in xthal_calc_cacheadrdis()1810 fg_index--; in xthal_calc_cacheadrdis()