Home
last modified time | relevance | path

Searched refs:iovp (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/parisc/
Dccio-dma.c285 #define CCIO_IOVA(iovp,offset) ((iovp) | (offset)) argument
288 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument
290 #define MKIOVA(iovp,offset) (dma_addr_t)((long)iovp | (long)offset) argument
436 unsigned long iovp = CCIO_IOVP(iova); in ccio_free_range() local
437 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; in ccio_free_range()
633 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument
637 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ in ccio_clear_io_tlb()
641 WRITE_U32(CMD_TLB_PURGE | iovp, &ioc->ioc_regs->io_command); in ccio_clear_io_tlb()
642 iovp += chain_size; in ccio_clear_io_tlb()
668 u32 iovp = (u32)CCIO_IOVP(iova); in ccio_mark_invalid() local
[all …]
Dsba_iommu.c308 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument
312 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((iovp) | (offset)) argument
316 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument
493 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local
494 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()
614 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local
615 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()
625 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()
639 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
654 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()
[all …]
Ddino.c883 void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
/Linux-v4.19/arch/ia64/hp/common/
Dsba_iommu.c435 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset)) argument
440 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift) argument
731 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local
732 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()
849 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local
851 int off = PDIR_INDEX(iovp); in sba_mark_invalid()
860 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()
868 iovp |= iovp_shift; /* set "size" field for PCOM */ in sba_mark_invalid()
889 iovp |= t; in sba_mark_invalid()
906 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
[all …]