Searched refs:iovp (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/parisc/ |
H A D | ccio-dma.c | 283 #define CCIO_IOVA(iovp,offset) ((iovp) | (offset)) 286 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) 288 #define MKIOVA(iovp,offset) (dma_addr_t)((long)iovp | (long)offset) 434 unsigned long iovp = CCIO_IOVP(iova); ccio_free_range() local 435 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; ccio_free_range() 623 * @iovp: The I/O Virtual Page. 631 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) ccio_clear_io_tlb() argument 635 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ ccio_clear_io_tlb() 639 WRITE_U32(CMD_TLB_PURGE | iovp, &ioc->ioc_regs->io_command); ccio_clear_io_tlb() 640 iovp += chain_size; ccio_clear_io_tlb() 666 u32 iovp = (u32)CCIO_IOVP(iova); ccio_mark_invalid() local 674 unsigned int idx = PDIR_INDEX(iovp); ccio_mark_invalid() 689 iovp += IOVP_SIZE; ccio_mark_invalid() 739 dma_addr_t iovp; ccio_map_single() local 762 iovp = (dma_addr_t)MKIOVP(idx); ccio_map_single() 767 __func__, addr, (long)iovp | offset, size); ccio_map_single() 788 return CCIO_IOVA(iovp, offset); ccio_map_single() 811 DBG_RUN("%s() iovp 0x%lx/%x\n", ccio_unmap_single() 1182 void ccio_cujo20_fixup(struct parisc_device *cujo, u32 iovp) ccio_cujo20_fixup() argument 1191 idx = PDIR_INDEX(iovp) >> 3; ccio_cujo20_fixup()
|
H A D | sba_iommu.c | 306 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) 310 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((iovp) | (offset)) 314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) 491 unsigned long iovp = SBA_IOVP(ioc, iova); sba_free_range() local 492 unsigned int pide = PDIR_INDEX(iovp); sba_free_range() 612 u32 iovp = (u32) SBA_IOVP(ioc,iova); sba_mark_invalid() local 613 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; sba_mark_invalid() 623 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); sba_mark_invalid() 637 iovp |= get_order(byte_cnt) + PAGE_SHIFT; sba_mark_invalid() 652 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ sba_mark_invalid() 665 WRITE_REG( SBA_IOVA(ioc, iovp, 0, 0), ioc->ioc_hpa+IOC_PCOM); sba_mark_invalid() 719 dma_addr_t iovp; sba_map_single() local 742 iovp = (dma_addr_t) pide << IOVP_SHIFT; sba_map_single() 745 __func__, addr, (long) iovp | offset); sba_map_single() 779 return SBA_IOVA(ioc, iovp, offset, DEFAULT_DMA_HINT_REG); sba_map_single() 803 DBG_RUN("%s() iovp 0x%lx/%x\n", __func__, (long) iova, size); sba_unmap_single()
|
H A D | dino.c | 878 void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
|
/linux-4.1.27/arch/ia64/hp/common/ |
H A D | sba_iommu.c | 435 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset)) 440 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift) 731 unsigned long iovp = SBA_IOVP(ioc, iova); sba_free_range() local 732 unsigned int pide = PDIR_INDEX(iovp); sba_free_range() 849 u32 iovp = (u32) SBA_IOVP(ioc,iova); sba_mark_invalid() local 851 int off = PDIR_INDEX(iovp); sba_mark_invalid() 860 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); sba_mark_invalid() 868 iovp |= iovp_shift; /* set "size" field for PCOM */ sba_mark_invalid() 889 iovp |= t; sba_mark_invalid() 906 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); sba_mark_invalid() 926 dma_addr_t iovp; sba_map_page() local 978 iovp = (dma_addr_t) pide << iovp_shift; sba_map_page() 980 DBG_RUN("%s() 0x%p -> 0x%lx\n", __func__, addr, (long) iovp | offset); sba_map_page() 1003 return SBA_IOVA(ioc, iovp, offset); sba_map_page() 1018 u32 iovp = (u32) SBA_IOVP(ioc,iova); sba_mark_clean() local 1019 int off = PDIR_INDEX(iovp); sba_mark_clean() 1079 DBG_RUN("%s() iovp 0x%lx/%x\n", __func__, (long) iova, size); sba_unmap_page()
|
Completed in 169 milliseconds