Searched refs:pdir_base (Results 1 – 5 of 5) sorted by relevance
207 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() local1134 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 …]
228 u64 *pdir_base; /* physical base address */ member671 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()
64 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in iommu_fill_pdir()
201 u64 *pdir_base; /* physical base address */ member312 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 …]
32 u64 *pdir_base; /* physical base address */ member