Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/parisc/
Dsba_iommu.c201 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
234 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir()
452 if(0x00 != ((u8 *) ioc->pdir_base)[pide*sizeof(u64) + 7]) { in sba_alloc_range()
610 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()
739 pdir_start = &(ioc->pdir_base[pide]); in sba_map_single()
1124 unsigned long pdir_base; in sba_alloc_pdir() local
1127 pdir_base = __get_free_pages(GFP_KERNEL, pdir_order); in sba_alloc_pdir()
1128 if (NULL == (void *) pdir_base) { in sba_alloc_pdir()
1142 return (void *) pdir_base; in sba_alloc_pdir()
1163 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()
1289 ioc->pdir_base = (u64 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1291 if(NULL == ioc->pdir_base) { in ccio_ioc_init()
1294 memset(ioc->pdir_base, 0, ioc->pdir_size); in ccio_ioc_init()
1296 BUG_ON((((unsigned long)ioc->pdir_base) & PAGE_MASK) != (unsigned long)ioc->pdir_base); in ccio_ioc_init()
1297 DBG_INIT(" base %p\n", ioc->pdir_base); in ccio_ioc_init()
1329 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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dropes.h32 u64 *pdir_base; /* physical base address */ member