Searched refs:pdir_ptr (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/parisc/
H A Dsba_iommu.c528 * @pdir_ptr: pointer to IO PDIR entry
537 * pdir_ptr (arg0).
567 sba_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba, sba_io_pdir_entry() argument
581 *pdir_ptr = cpu_to_le64(pa); /* swap and store into I/O Pdir */ sba_io_pdir_entry()
589 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_io_pdir_entry()
613 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; sba_mark_invalid() local
622 if (0x80 != (((u8 *) pdir_ptr)[7])) { sba_mark_invalid()
631 L1_CACHE_ALIGN(((unsigned long) pdir_ptr)) sba_mark_invalid()
632 - (unsigned long) pdir_ptr; sba_mark_invalid()
641 ((u8 *) pdir_ptr)[7] = 0; sba_mark_invalid()
643 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_mark_invalid()
648 pdir_ptr++; sba_mark_invalid()
661 ((u8 *) pdir_ptr)[7] = 0; sba_mark_invalid()
663 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_mark_invalid()
H A Dccio-dma.c529 * @pdir_ptr: A pointer into I/O Pdir.
535 * load the I/O PDIR entry pointed to by pdir_ptr (arg0). Each IO Pdir
557 ccio_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba, ccio_io_pdir_entry() argument
575 ((u32 *)pdir_ptr)[1] = (u32) pa; ccio_io_pdir_entry()
602 ((u32 *)pdir_ptr)[0] = (u32) pa; ccio_io_pdir_entry()
616 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); ccio_io_pdir_entry()
675 char *pdir_ptr = (char *) &(ioc->pdir_base[idx]); ccio_mark_invalid() local
678 pdir_ptr[7] = 0; /* clear only VALID bit */ ccio_mark_invalid()
687 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr[7])); ccio_mark_invalid()
/linux-4.4.14/arch/ia64/hp/common/
H A Dsba_iommu.c775 * @pdir_ptr: pointer to IO PDIR entry
781 * loads the I/O PDIR entry pointed to by pdir_ptr (arg0).
799 #define sba_io_pdir_entry(pdir_ptr, vba) *pdir_ptr = ((vba & ~0xE000000000000FFFULL) \
803 sba_io_pdir_entry(u64 *pdir_ptr, unsigned long vba) sba_io_pdir_entry() argument
805 *pdir_ptr = ((vba & ~0xE000000000000FFFULL) | 0x80000000000000FFULL); sba_io_pdir_entry()

Completed in 146 milliseconds