Lines Matching refs:hw_context
128 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
132 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
133 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
139 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
214 pd->hw_context = -1; in psb_mmu_alloc_pd()
246 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
247 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
297 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
347 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
384 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
583 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
588 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
640 if (pd->hw_context != -1) in psb_mmu_remove_pages()
646 if (pd->hw_context != -1) in psb_mmu_remove_pages()
685 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
690 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
751 if (pd->hw_context != -1) in psb_mmu_insert_pages()
757 if (pd->hw_context != -1) in psb_mmu_insert_pages()