Home
last modified time | relevance | path

Searched refs:pte_addr (Results 1 – 4 of 4) sorted by relevance

/drivers/iommu/
A Drockchip-iommu.c544 u32 *pte_addr = NULL; in log_iova() local
564 pte_addr = phys_to_virt(pte_addr_phys); in log_iova()
565 pte = *pte_addr; in log_iova()
756 u32 *pte_addr, dma_addr_t pte_dma, in rk_iommu_unmap_iova() argument
765 u32 pte = pte_addr[pte_count]; in rk_iommu_unmap_iova()
769 pte_addr[pte_count] = rk_mk_pte_invalid(pte); in rk_iommu_unmap_iova()
788 u32 pte = pte_addr[pte_count]; in rk_iommu_map_iova()
811 rk_iommu_unmap_iova(rk_domain, pte_addr, pte_dma, in rk_iommu_map_iova()
829 u32 *page_table, *pte_addr; in rk_iommu_map() local
850 pte_addr = &page_table[pte_index]; in rk_iommu_map()
[all …]
A Dsun50i-iommu.c602 u32 *page_table, *pte_addr; in sun50i_iommu_map() local
620 pte_addr = &page_table[pte_index]; in sun50i_iommu_map()
621 if (unlikely(sun50i_pte_is_page_valid(*pte_addr))) { in sun50i_iommu_map()
622 phys_addr_t page_phys = sun50i_pte_get_page_address(*pte_addr); in sun50i_iommu_map()
630 *pte_addr = sun50i_mk_pte(paddr, prot); in sun50i_iommu_map()
631 sun50i_table_flush(sun50i_domain, pte_addr, 1); in sun50i_iommu_map()
643 u32 *pte_addr; in sun50i_iommu_unmap() local
651 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap()
653 if (!sun50i_pte_is_page_valid(*pte_addr)) in sun50i_iommu_unmap()
656 memset(pte_addr, 0, sizeof(*pte_addr)); in sun50i_iommu_unmap()
[all …]
/drivers/accel/habanalabs/common/mmu/
A Dmmu.c1293 void hl_mmu_dr_clear_pte(struct hl_ctx *ctx, u64 pte_addr) in hl_mmu_dr_clear_pte() argument
1295 hl_mmu_dr_write_final_pte(ctx, pte_addr, 0); in hl_mmu_dr_clear_pte()
/drivers/accel/habanalabs/common/
A Dhabanalabs.h3939 void hl_mmu_dr_clear_pte(struct hl_ctx *ctx, u64 pte_addr);

Completed in 30 milliseconds