Lines Matching refs:mt
180 inline static int is_cacheable(unsigned int mt);
196 inline static int is_cacheable(unsigned int mt) in is_cacheable() argument
198 return (0x180 & mt) || ((mt & 0x18) == 0x10) || ((mt & 0x30) == 0x30); in is_cacheable()
201 inline static int is_writeback(unsigned int mt) in is_writeback() argument
203 return (((0x180 & mt) && (mt & 0x11)) || in is_writeback()
204 ((((mt & 0x18) == 0x10) || ((mt & 0x30) == 0x30)) & 0x1)); in is_writeback()
207 inline static int is_device(unsigned int mt) in is_device() argument
209 return ((mt & 0x1f0) == 0); in is_device()
1371 int xthal_is_cacheable(unsigned int mt) in xthal_is_cacheable() argument
1374 return is_cacheable(mt); in xthal_is_cacheable()
1380 int xthal_is_writeback(unsigned int mt) in xthal_is_writeback() argument
1383 return is_writeback(mt); in xthal_is_writeback()
1389 int xthal_is_device(unsigned int mt) in xthal_is_device() argument
1392 return is_device(mt); in xthal_is_device()
1750 unsigned int mt = XTHAL_MPU_ENTRY_GET_MEMORY_TYPE(fg[fg_index]); in xthal_calc_cacheadrdis() local
1751 if (is_cacheable(mt)) in xthal_calc_cacheadrdis()
1787 unsigned int mt = XTHAL_MPU_ENTRY_GET_MEMORY_TYPE( in xthal_calc_cacheadrdis() local
1789 if (is_cacheable(mt)) in xthal_calc_cacheadrdis()