Home
last modified time | relevance | path

Searched refs:pdir_base (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/parisc/
Dsba_iommu.c207 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
240 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir()
458 if(0x00 != ((u8 *) ioc->pdir_base)[pide*sizeof(u64) + 7]) { in sba_alloc_range()
616 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()
745 pdir_start = &(ioc->pdir_base[pide]); in sba_map_single()
1131 unsigned long pdir_base; in sba_alloc_pdir() local
1134 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()
1135 if (NULL == (void *) pdir_base) { in sba_alloc_pdir()
1149 return (void *) pdir_base; in sba_alloc_pdir()
1170 if (((virt_to_phys(pdir_base)+pdir_size-1) & PIRANHA_ADDR_MASK) == PIRANHA_ADDR_VAL) { in sba_alloc_pdir()
[all …]
Dccio-dma.c228 u64 *pdir_base; /* physical base address */ member
671 char *pdir_ptr = (char *) &(ioc->pdir_base[idx]); in ccio_mark_invalid()
757 pdir_start = &(ioc->pdir_base[idx]); in ccio_map_single()
1290 ioc->pdir_base = (u64 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1292 if(NULL == ioc->pdir_base) { in ccio_ioc_init()
1295 memset(ioc->pdir_base, 0, ioc->pdir_size); in ccio_ioc_init()
1297 BUG_ON((((unsigned long)ioc->pdir_base) & PAGE_MASK) != (unsigned long)ioc->pdir_base); in ccio_ioc_init()
1298 DBG_INIT(" base %p\n", ioc->pdir_base); in ccio_ioc_init()
1330 WRITE_U32(virt_to_phys(ioc->pdir_base), in ccio_ioc_init()
Diommu-helpers.h64 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in iommu_fill_pdir()
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c201 u64 *pdir_base; /* physical base address */ member
312 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry()
344 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir()
693 prefetchw(&(ioc->pdir_base[pide])); in sba_alloc_range()
697 if(0x00 != ((u8 *) ioc->pdir_base)[pide*PDIR_ENTRY_SIZE + 7]) { in sba_alloc_range()
850 if (!(ioc->pdir_base[off] >> 60)) { in sba_mark_invalid()
868 ioc->pdir_base[off] &= ~(0x80000000000000FFULL); in sba_mark_invalid()
875 ioc->pdir_base[off] = (0x80000000000000FFULL | prefetch_spill_page); in sba_mark_invalid()
885 ASSERT(ioc->pdir_base[off] >> 63); in sba_mark_invalid()
888 ioc->pdir_base[off] &= ~(0x80000000000000FFULL); in sba_mark_invalid()
[all …]
/linux-6.1.9/arch/parisc/include/asm/
Dropes.h32 u64 *pdir_base; /* physical base address */ member