Home
last modified time | relevance | path

Searched refs:pide (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/ia64/hp/common/
Dsba_iommu.c317 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry() argument
320 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry()
321 unsigned long *rptr = (unsigned long *) &ioc->res_map[(pide >>3) & -sizeof(unsigned long)]; in sba_dump_pdir_entry()
325 msg, rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry()
330 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
353 uint pide = 0; in sba_check_pdir() local
371 sba_dump_pdir_entry(ioc, msg, pide); in sba_check_pdir()
377 pide++; in sba_check_pdir()
488 unsigned long flags, pide = ~0UL, tpide; in sba_search_bitmap() local
526 pide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); in sba_search_bitmap()
[all …]
/linux-3.4.99/drivers/parisc/
Diommu-helpers.h44 u32 pide = sg_dma_address(startsg) & ~PIDE_FLAG; in iommu_fill_pdir() local
52 dma_offset = (unsigned long) pide & ~IOVP_MASK; in iommu_fill_pdir()
56 sg_dma_address(dma_sg) = pide | ioc->ibase; in iommu_fill_pdir()
61 sg_dma_address(dma_sg) = pide; in iommu_fill_pdir()
63 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in iommu_fill_pdir()
Dsba_iommu.c198 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry() argument
201 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
207 rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry()
212 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
235 uint pide = 0; in sba_check_pdir() local
250 sba_dump_pdir_entry(ioc, msg, pide); in sba_check_pdir()
256 pide++; in sba_check_pdir()
341 unsigned long pide = ~0UL, tpide; in sba_search_bitmap() local
365 pide = tpide; in sba_search_bitmap()
[all …]