Searched refs:wimg (Results 1 – 4 of 4) sorted by relevance
270 unsigned int wimg = ptel & HPTE_R_WIMG; in hpte_cache_flags_ok() local273 if (wimg == (HPTE_R_W | HPTE_R_I | HPTE_R_M) && in hpte_cache_flags_ok()275 wimg = HPTE_R_M; in hpte_cache_flags_ok()278 return wimg == HPTE_R_M; in hpte_cache_flags_ok()280 return (wimg & (HPTE_R_W | HPTE_R_I)) == io_type; in hpte_cache_flags_ok()
32 u8 wimg; member
249 pfn_t pfn, unsigned int wimg) in kvmppc_e500_ref_setup() argument255 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()339 unsigned int wimg = 0; in kvmppc_e500_shadow_map() local473 wimg = (*ptep >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; in kvmppc_e500_shadow_map()481 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg); in kvmppc_e500_shadow_map()
334 bat->wimg = (val >> 3) & 0xf; in kvmppc_set_bat()