Lines Matching refs:domain

34 	int domain;
118 static struct pcistub_device *pcistub_device_find(int domain, int bus,
128 && domain == pci_domain_nr(psdev->dev->bus)
166 int domain, int bus,
177 && domain == pci_domain_nr(psdev->dev->bus)
232 * (so it's ready for the next domain)
251 /* Match the specified device by domain, bus, slot, func and also if
255 if (pci_domain_nr(dev->bus) == pdev_id->domain
484 printk(KERN_WARNING DRV_NAME ": ****** driver domain may"
487 "domain before binding device\n");
522 snprintf(nodename, PCI_NODENAME_MAX, "/local/domain/0/backend/pci/%d/0",
563 &aer_op->domain, &aer_op->bus, &aer_op->devfn);
573 aer_cmd, aer_op->domain, aer_op->bus, aer_op->devfn);
861 static inline int str_to_slot(const char *buf, int *domain, int *bus,
866 err = sscanf(buf, " %x:%x:%x.%x", domain, bus, slot, func);
872 /* try again without domain */
873 *domain = 0;
881 static inline int str_to_quirk(const char *buf, int *domain, int *bus, int
887 sscanf(buf, " %04x:%02x:%02x.%d-%08x:%1x:%08x", domain, bus, slot,
894 static int pcistub_device_id_add(int domain, int bus, int slot, int func)
903 pci_dev_id->domain = domain;
908 domain, bus, slot, func);
917 static int pcistub_device_id_remove(int domain, int bus, int slot, int func)
927 if (pci_dev_id->domain == domain
938 "seize list\n", domain, bus, slot, func);
946 static int pcistub_reg_add(int domain, int bus, int slot, int func, int reg,
954 psdev = pcistub_device_find(domain, bus, slot, func);
985 int domain, bus, slot, func;
988 err = str_to_slot(buf, &domain, &bus, &slot, &func);
992 err = pcistub_device_id_add(domain, bus, slot, func);
1004 int domain, bus, slot, func;
1007 err = str_to_slot(buf, &domain, &bus, &slot, &func);
1011 err = pcistub_device_id_remove(domain, bus, slot, func);
1033 pci_dev_id->domain, pci_dev_id->bus,
1078 int domain, bus, slot, func;
1081 err = str_to_slot(buf, &domain, &bus, &slot, &func);
1085 psdev = pcistub_device_find(domain, bus, slot, func);
1112 int domain, bus, slot, func, reg, size, mask;
1115 err = str_to_quirk(buf, &domain, &bus, &slot, &func, &reg, &size,
1120 err = pcistub_reg_add(domain, bus, slot, func, reg, size, mask);
1177 int domain, bus, slot, func;
1181 err = str_to_slot(buf, &domain, &bus, &slot, &func);
1184 psdev = pcistub_device_find(domain, bus, slot, func);
1260 int domain, bus, slot, func;
1269 &domain, &bus, &slot, &func, &parsed);
1271 domain = 0;
1279 err = pcistub_device_id_add(domain, bus, slot, func);