Home | History | Annotate | Download | only in pcictl

Lines Matching defs:pcifd

68 static int	pcifd;
142 pcifd = open(dvname, commands[i].open_flags);
143 if (pcifd < 0)
147 if (ioctl(pcifd, PCI_IOC_BUSINFO, &pci_businfo) != 0)
283 if (pcibus_conf_read(pcifd, bus, dev, func, reg, &value) == -1)
325 if (pcibus_conf_write(pcifd, bus, dev, func, reg, value) == -1)
397 if (pcibus_conf_read(pcifd, bus, dev, 0,
409 if (pcibus_conf_read(pcifd, bus, dev,
435 if (pcibus_conf_read(pcifd, bus, dev, func, PCI_ID_REG, &id) != 0)
437 if (pcibus_conf_read(pcifd, bus, dev, func, PCI_CLASS_REG, &class) != 0)
449 if (pci_drvnameonbus(pcifd, bus, dev, func, drvname,
460 pci_conf_print(pcifd, bus, dev, func);