Lines Matching defs:path
138 /* Only generate path[] for device addition event */
143 size = struct_size(info, path, level);
162 info->path[level].bus = tmp->bus->number;
163 info->path[level].device = PCI_SLOT(tmp->devfn);
164 info->path[level].function = PCI_FUNC(tmp->devfn);
180 struct acpi_dmar_pci_path *path, int count)
190 if (path[i].device != info->path[i].device ||
191 path[i].function != info->path[i].function)
203 if (bus == info->path[i].bus &&
204 path[0].device == info->path[i].device &&
205 path[0].function == info->path[i].function) {
207 bus, path[0].device, path[0].function);
223 struct acpi_dmar_pci_path *path;
234 path = (struct acpi_dmar_pci_path *)(scope + 1);
235 level = (scope->length - sizeof(*scope)) / sizeof(*path);
236 if (!dmar_match_pci_path(info, scope->bus, path, level))
736 struct acpi_dmar_pci_path *path;
751 path = (void *)(scope + 1);
754 scope->bus, path->device, path->function);
758 dmaru->devices[i].devfn = PCI_DEVFN(path->device,
759 path->function);