Searched refs:iommu (Results 1 - 25 of 66) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dpci_iommu.c40 static void __iommu_flushall(struct iommu *iommu) argument
42 if (iommu->iommu_flushinv) {
43 pci_iommu_write(iommu->iommu_flushinv, ~(u64)0);
48 tag = iommu->iommu_flush + (0xa580UL - 0x0210UL);
55 (void) pci_iommu_read(iommu->write_complete_reg);
69 #define IOPTE_IS_DUMMY(iommu, iopte) \
70 ((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)
72 static inline void iopte_make_dummy(struct iommu *iommu, iopte_ argument
83 pci_arena_alloc(struct iommu *iommu, unsigned long npages) argument
132 pci_iommu_table_init(struct iommu *iommu, int tsbsize, u32 dma_offset, u32 dma_addr_mask) argument
178 alloc_npages(struct iommu *iommu, unsigned long npages) argument
189 free_npages(struct iommu *iommu, dma_addr_t base, unsigned long npages) argument
194 iommu_alloc_ctx(struct iommu *iommu) argument
213 iommu_free_ctx(struct iommu *iommu, int ctx) argument
228 struct iommu *iommu; local
274 struct iommu *iommu; local
299 struct iommu *iommu; local
351 pci_strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, u32 vaddr, unsigned long ctx, unsigned long npages, int direction) argument
418 struct iommu *iommu; local
549 struct iommu *iommu; local
634 struct iommu *iommu; local
692 struct iommu *iommu; local
730 struct iommu *iommu; local
806 struct iommu *iommu = pdev->dev.archdata.iommu; local
[all...]
H A Dsbus.c30 struct iommu iommu; member in struct:sbus_info
47 static void __iommu_flushall(struct iommu *iommu) argument
52 tag = iommu->iommu_control + (IOMMU_TAGDIAG - IOMMU_CONTROL);
57 upa_readq(iommu->write_complete_reg);
72 static void sbus_strbuf_flush(struct iommu *iommu, struct strbuf *strbuf, u32 base, unsigned long npages, int direction) argument
92 upa_readq(iommu->write_complete_reg);
108 /* Based largely upon the ppc64 iommu allocato
109 sbus_arena_alloc(struct iommu *iommu, unsigned long npages) argument
158 sbus_iommu_table_init(struct iommu *iommu, unsigned int tsbsize) argument
189 alloc_npages(struct iommu *iommu, unsigned long npages) argument
200 free_npages(struct iommu *iommu, dma_addr_t base, unsigned long npages) argument
208 struct iommu *iommu; local
255 struct iommu *iommu; local
279 struct iommu *iommu; local
321 struct iommu *iommu = &info->iommu; local
423 struct iommu *iommu; local
485 struct iommu *iommu; local
521 struct iommu *iommu; local
545 struct iommu *iommu; local
576 struct iommu *iommu = &info->iommu; local
717 struct iommu *iommu = &info->iommu; local
780 struct iommu *iommu = &info->iommu; local
853 struct iommu *iommu = &info->iommu; local
928 struct iommu *iommu = &info->iommu; local
995 struct iommu *iommu = &info->iommu; local
1041 struct iommu *iommu; local
[all...]
H A Dpci_fire.c43 struct iommu *iommu = pbm->iommu; local
55 iommu->iommu_control = pbm->pbm_regs + FIRE_IOMMU_CONTROL;
56 iommu->iommu_tsbbase = pbm->pbm_regs + FIRE_IOMMU_TSBBASE;
57 iommu->iommu_flush = pbm->pbm_regs + FIRE_IOMMU_FLUSH;
58 iommu->iommu_flushinv = pbm->pbm_regs + FIRE_IOMMU_FLUSHINV;
63 iommu->write_complete_reg = pbm->controller_regs + 0x410000UL;
68 fire_write(iommu->iommu_flushinv, ~(u64)0);
70 pci_iommu_table_init(iommu, tsbsiz
219 struct iommu *iommu; local
[all...]
H A Dpci_sun4v.c17 #include <asm/iommu.h>
165 struct iommu *iommu; local
183 iommu = pdev->dev.archdata.iommu;
185 spin_lock_irqsave(&iommu->lock, flags);
186 entry = pci_arena_alloc(&iommu->arena, npages);
187 spin_unlock_irqrestore(&iommu->lock, flags);
192 *dma_addrp = (iommu->page_table_map_base +
219 spin_lock(&iommu
231 struct iommu *iommu; local
263 struct iommu *iommu; local
327 struct iommu *iommu; local
462 struct iommu *iommu; local
538 struct iommu *iommu; local
612 probe_existing_entries(struct pci_pbm_info *pbm, struct iommu *iommu) argument
642 struct iommu *iommu = pbm->iommu; local
1170 struct iommu *iommu; local
[all...]
H A Dpci_impl.h15 #include <asm/iommu.h>
112 struct iommu *iommu; member in struct:pci_pbm_info
134 extern void pci_iommu_table_init(struct iommu *iommu, int tsbsize,
H A Dpci_sabre.c16 #include <asm/iommu.h>
216 struct iommu *iommu = pbm->iommu; local
223 spin_lock_irqsave(&iommu->lock, flags);
224 control = sabre_read(iommu->iommu_control);
232 sabre_write(iommu->iommu_control, control);
251 sabre_write(iommu->iommu_control,
263 sabre_write(iommu->iommu_control, control);
297 spin_unlock_irqrestore(&iommu
676 struct iommu *iommu = pbm->iommu; local
748 struct iommu *iommu; local
[all...]
H A Diommu_common.h2 * iommu_common.h: UltraSparc SBUS/PCI common iommu declarations.
12 #include <asm/iommu.h>
16 * These give mapping size of each iommu pte/tlb.
H A Dpci_schizo.c13 #include <asm/iommu.h>
252 struct iommu *iommu = pbm->iommu; local
259 spin_lock_irqsave(&iommu->lock, flags);
260 control = schizo_read(iommu->iommu_control);
267 schizo_write(iommu->iommu_control, control);
297 schizo_write(iommu->iommu_control,
314 schizo_write(iommu->iommu_control, control);
356 spin_unlock_irqrestore(&iommu
1140 struct iommu *iommu = pbm->iommu; local
1411 struct iommu *iommu; local
[all...]
H A Dpci_psycho.c15 #include <asm/iommu.h>
289 struct iommu *iommu = pbm->iommu; local
296 spin_lock_irqsave(&iommu->lock, flags);
297 control = psycho_read(iommu->iommu_control);
303 psycho_write(iommu->iommu_control, control);
333 psycho_write(iommu->iommu_control,
349 psycho_write(iommu->iommu_control, control);
388 spin_unlock_irqrestore(&iommu
814 struct iommu *iommu = pbm->iommu; local
1009 struct iommu *iommu; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Ddevice.h13 void *iommu; member in struct:dev_archdata
H A Diommu.h1 /* $Id: iommu.h,v 1.1.1.1 2007/08/03 18:53:36 Exp $
2 * iommu.h: Definitions for the sun5 IOMMU.
27 struct iommu { struct
H A Dsbus.h16 #include <asm/iommu.h>
72 void *iommu; /* Opaque IOMMU cookie */ member in struct:sbus_bus
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/mm/
H A Diommu.c2 * iommu.c: IOMMU specific routines for memory management.
26 #include <asm/iommu.h>
63 struct iommu_struct *iommu; local
68 iommu = kmalloc(sizeof(struct iommu_struct), GFP_ATOMIC);
69 if (!iommu) {
70 prom_printf("Unable to allocate iommu structure\n");
73 iommu->regs = NULL;
79 iommu->regs = (struct iommu_regs *)
82 if (!iommu->regs) {
86 impl = (iommu
169 struct iommu_struct *iommu = sbus->iommu; local
289 struct iommu_struct *iommu = sbus->iommu; local
332 struct iommu_struct *iommu = sbus_root->iommu; local
397 struct iommu_struct *iommu = sbus_root->iommu; local
418 struct iommu_struct *iommu = sbus_root->iommu; local
[all...]
H A DMakefile12 obj-y += srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o
H A Dio-unit.c69 sbus->iommu = (struct iommu_struct *)iounit;
130 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
141 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
155 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
170 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
213 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
235 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
277 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
313 struct iounit_struct *iounit = (struct iounit_struct *)sbus->iommu;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Diommu.c31 #include <asm/iommu.h>
121 struct cbe_iommu *iommu; member in struct:iommu_window
149 static void invalidate_tce_cache(struct cbe_iommu *iommu, unsigned long *pte, argument
156 reg = iommu->xlate_regs + IOC_IOPT_CacheInvd;
208 invalidate_tce_cache(window->iommu, io_pte, npages);
229 pte = IOPTE_PP_R | IOPTE_M | IOPTE_SO_RW | __pa(window->iommu->pad_page)
240 invalidate_tce_cache(window->iommu, io_pte, npages);
246 struct cbe_iommu *iommu = data; local
248 stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat);
251 printk(KERN_ERR "iommu
308 cell_iommu_setup_hardware(struct cbe_iommu *iommu, unsigned long size) argument
410 cell_iommu_setup_window(struct cbe_iommu *iommu, struct device_node *np, unsigned long offset, unsigned long size, unsigned long pte_offset) argument
472 struct cbe_iommu *iommu; local
542 struct cbe_iommu *iommu; local
[all...]
H A DMakefile1 obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dswsusp_64.c10 #include <asm/iommu.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A DMakefile1 obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dtce.h25 #include <asm/iommu.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/celleb/
H A DMakefile1 obj-y += interrupt.o iommu.o setup.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/
H A DMakefile6 hvcall.o proc.o htab.o iommu.o misc.o irq.o
H A Diommu.c32 #include <asm/iommu.h>
39 #include <asm/iseries/iommu.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A DMakefile6 setup.o iommu.o ras.o rtasd.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dpci-ip32.c119 .iommu = 0,

Completed in 191 milliseconds

123