Lines Matching refs:hw_context
138 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
142 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
143 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
149 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
224 pd->hw_context = -1; in psb_mmu_alloc_pd()
256 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
257 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
307 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
357 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
394 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
593 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
598 if (pd->hw_context != -1) in psb_mmu_remove_pfn_sequence()
650 if (pd->hw_context != -1) in psb_mmu_remove_pages()
656 if (pd->hw_context != -1) in psb_mmu_remove_pages()
695 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
700 if (pd->hw_context != -1) in psb_mmu_insert_pfn_sequence()
761 if (pd->hw_context != -1) in psb_mmu_insert_pages()
767 if (pd->hw_context != -1) in psb_mmu_insert_pages()