Lines Matching refs:iotte_ptr
362 volatile uint64_t *iotte_ptr; in iommu_remove_mappings() local
400 iotte_ptr = IOTTE_NDX(ioaddr, softsp->soft_tsb_base_addr); in iommu_remove_mappings()
405 ioaddr, iotte_ptr)); in iommu_remove_mappings()
406 *iotte_ptr = (uint64_t)0; /* unload tte */ in iommu_remove_mappings()
410 iotte_ptr++; in iommu_remove_mappings()
424 volatile uint64_t *iotte_ptr; in iommu_create_vaddr_mappings() local
443 iotte_ptr = IOTTE_NDX(ioaddr, softsp->soft_tsb_base_addr); in iommu_create_vaddr_mappings()
532 (void *)iotte_ptr, pfn, iotte_flag, addr, ioaddr)); in iommu_create_vaddr_mappings()
539 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_create_vaddr_mappings()
543 iotte_ptr++; in iommu_create_vaddr_mappings()
575 volatile uint64_t *iotte_ptr; in iommu_create_pp_mappings() local
594 iotte_ptr = IOTTE_NDX(ioaddr, softsp->soft_tsb_base_addr); in iommu_create_pp_mappings()
642 "tte flag %lx ioaddr %x\n", (void *)iotte_ptr, in iommu_create_pp_mappings()
650 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_create_pp_mappings()
654 iotte_ptr++; in iommu_create_pp_mappings()
985 volatile uint64_t *iotte_ptr; in iommu_dma_bindhdl() local
992 iotte_ptr = IOTTE_NDX(ioaddr, in iommu_dma_bindhdl()
1010 *iotte_ptr = in iommu_dma_bindhdl()
1025 (void *)iotte_ptr, pfn, iotte_flag, addr, ioaddr)); in iommu_dma_bindhdl()
1430 volatile uint64_t *iotte_ptr; in iommu_dma_mctl() local
1439 iotte_ptr = IOTTE_NDX(ioaddr, softsp->soft_tsb_base_addr); in iommu_dma_mctl()
1442 *iotte_ptr = (uint64_t)0; /* unload tte */ in iommu_dma_mctl()
1446 iotte_ptr++; in iommu_dma_mctl()
1502 volatile uint64_t *iotte_ptr; in iommu_dvma_kaddr_load() local
1539 iotte_ptr = IOTTE_NDX(ioaddr, softsp->soft_tsb_base_addr); in iommu_dvma_kaddr_load()
1562 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_dvma_kaddr_load()
1565 iotte_ptr++; in iommu_dvma_kaddr_load()