Lines Matching refs:p
41 struct iommu_table_entry *p; in pci_iommu_alloc() local
46 for (p = __iommu_table; p < __iommu_table_end; p++) { in pci_iommu_alloc()
47 if (p && p->detect && p->detect() > 0) { in pci_iommu_alloc()
48 p->flags |= IOMMU_DETECTED; in pci_iommu_alloc()
49 if (p->early_init) in pci_iommu_alloc()
50 p->early_init(); in pci_iommu_alloc()
51 if (p->flags & IOMMU_FINISH_IF_DETECTED) in pci_iommu_alloc()
61 static __init int iommu_setup(char *p) in iommu_setup() argument
65 if (!p) in iommu_setup()
68 while (*p) { in iommu_setup()
69 if (!strncmp(p, "off", 3)) in iommu_setup()
72 if (!strncmp(p, "force", 5)) in iommu_setup()
74 if (!strncmp(p, "noforce", 7)) { in iommu_setup()
79 if (!strncmp(p, "biomerge", 8)) { in iommu_setup()
83 if (!strncmp(p, "panic", 5)) in iommu_setup()
85 if (!strncmp(p, "nopanic", 7)) in iommu_setup()
87 if (!strncmp(p, "merge", 5)) { in iommu_setup()
91 if (!strncmp(p, "nomerge", 7)) in iommu_setup()
93 if (!strncmp(p, "forcesac", 8)) in iommu_setup()
95 if (!strncmp(p, "allowdac", 8)) in iommu_setup()
97 if (!strncmp(p, "nodac", 5)) in iommu_setup()
99 if (!strncmp(p, "usedac", 6)) { in iommu_setup()
104 if (!strncmp(p, "soft", 4)) in iommu_setup()
107 if (!strncmp(p, "pt", 2)) in iommu_setup()
109 if (!strncmp(p, "nopt", 4)) in iommu_setup()
112 gart_parse_options(p); in iommu_setup()
114 p += strcspn(p, ","); in iommu_setup()
115 if (*p == ',') in iommu_setup()
116 ++p; in iommu_setup()
124 struct iommu_table_entry *p; in pci_iommu_init() local
128 for (p = __iommu_table; p < __iommu_table_end; p++) { in pci_iommu_init()
129 if (p && (p->flags & IOMMU_DETECTED) && p->late_init) in pci_iommu_init()
130 p->late_init(); in pci_iommu_init()