Searched refs:iovp (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/parisc/ |
D | ccio-dma.c | 272 #define CCIO_IOVA(iovp,offset) ((iovp) | (offset)) argument 275 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument 277 #define MKIOVA(iovp,offset) (dma_addr_t)((long)iovp | (long)offset) argument 423 unsigned long iovp = CCIO_IOVP(iova); in ccio_free_range() local 424 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; in ccio_free_range() 617 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument 621 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ in ccio_clear_io_tlb() 625 WRITE_U32(CMD_TLB_PURGE | iovp, &ioc->ioc_regs->io_command); in ccio_clear_io_tlb() 626 iovp += chain_size; in ccio_clear_io_tlb() 652 u32 iovp = (u32)CCIO_IOVP(iova); in ccio_mark_invalid() local [all …]
|
D | sba_iommu.c | 310 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument 314 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((iovp) | (offset)) argument 318 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument 496 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local 497 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range() 615 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local 616 __le64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid() 626 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid() 640 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid() 655 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid() [all …]
|
/linux-6.6.21/arch/ia64/hp/common/ |
D | sba_iommu.c | 427 #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() 848 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local 850 int off = PDIR_INDEX(iovp); in sba_mark_invalid() 859 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid() 867 iovp |= iovp_shift; /* set "size" field for PCOM */ in sba_mark_invalid() 888 iovp |= t; in sba_mark_invalid() 905 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid() [all …]
|
/linux-6.6.21/lib/ |
D | iov_iter.c | 1436 struct iovec **iovp, struct iov_iter *i, in __import_iovec_ubuf() argument 1439 struct iovec *iov = *iovp; in __import_iovec_ubuf() 1452 *iovp = NULL; in __import_iovec_ubuf() 1457 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, in __import_iovec() argument 1465 return __import_iovec_ubuf(type, uvec, iovp, i, compat); in __import_iovec() 1467 iov = iovec_from_user(uvec, nr_segs, fast_segs, *iovp, compat); in __import_iovec() 1469 *iovp = NULL; in __import_iovec() 1485 if (iov != *iovp) in __import_iovec() 1487 *iovp = NULL; in __import_iovec() 1499 if (iov == *iovp) in __import_iovec() [all …]
|
/linux-6.6.21/include/linux/ |
D | uio.h | 370 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, 373 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp,
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | processor.h | 325 extern void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
|