Lines Matching refs:hw_context
120 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
124 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
125 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
131 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
206 pd->hw_context = -1; in psb_mmu_alloc_pd()
238 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
239 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
288 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
337 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
374 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
553 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
558 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
610 if (pd->hw_context != -1) in psb_mmu_remove_pages()
616 if (pd->hw_context != -1) in psb_mmu_remove_pages()
655 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
660 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
721 if (pd->hw_context != -1) in psb_mmu_insert_pages()
727 if (pd->hw_context != -1) in psb_mmu_insert_pages()