Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/parisc/
Dccio-dma.c283 #define CCIO_IOVA(iovp,offset) ((iovp) | (offset)) argument
286 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument
288 #define MKIOVA(iovp,offset) (dma_addr_t)((long)iovp | (long)offset) argument
433 unsigned long iovp = CCIO_IOVP(iova); in ccio_free_range() local
434 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; in ccio_free_range()
627 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument
631 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ in ccio_clear_io_tlb()
635 WRITE_U32(CMD_TLB_PURGE | iovp, &ioc->ioc_regs->io_command); in ccio_clear_io_tlb()
636 iovp += chain_size; in ccio_clear_io_tlb()
662 u32 iovp = (u32)CCIO_IOVP(iova); in ccio_mark_invalid() local
[all …]
Dsba_iommu.c306 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument
310 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((iovp) | (offset)) argument
314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument
490 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local
491 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()
609 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local
610 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()
620 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()
634 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
649 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()
[all …]
Ddino.c927 void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
/kernel/linux/linux-5.10/arch/ia64/hp/common/
Dsba_iommu.c427 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset)) argument
432 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift) argument
722 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local
723 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()
840 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local
842 int off = PDIR_INDEX(iovp); in sba_mark_invalid()
851 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()
859 iovp |= iovp_shift; /* set "size" field for PCOM */ in sba_mark_invalid()
880 iovp |= t; in sba_mark_invalid()
897 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
[all …]
/kernel/linux/linux-5.10/include/linux/
Duio.h294 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp,
297 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp,
/kernel/linux/linux-5.10/lib/
Diov_iter.c1733 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, in __import_iovec() argument
1740 iov = iovec_from_user(uvec, nr_segs, fast_segs, *iovp, compat); in __import_iovec()
1742 *iovp = NULL; in __import_iovec()
1758 if (iov != *iovp) in __import_iovec()
1760 *iovp = NULL; in __import_iovec()
1772 if (iov == *iovp) in __import_iovec()
1773 *iovp = NULL; in __import_iovec()
1775 *iovp = iov; in __import_iovec()
1803 struct iovec **iovp, struct iov_iter *i) in import_iovec() argument
1805 return __import_iovec(type, uvec, nr_segs, fast_segs, iovp, i, in import_iovec()