• Home
  • Raw
  • Download

Lines Matching refs:devfn

243                                          const char *name, int devfn,  in do_pci_register_device()  argument
247 if (devfn < 0) { in do_pci_register_device()
248 for(devfn = bus->devfn_min ; devfn < 256; devfn += 8) { in do_pci_register_device()
249 if (!bus->devices[devfn]) in do_pci_register_device()
256 pci_dev->devfn = devfn; in do_pci_register_device()
267 bus->devices[devfn] = pci_dev; in do_pci_register_device()
273 int instance_size, int devfn, in pci_register_device() argument
280 pci_dev = do_pci_register_device(pci_dev, bus, name, devfn, in pci_register_device()
320 pci_dev->bus->devices[pci_dev->devfn] = NULL; in pci_unregister_device()
725 d->bus->bus_num, d->devfn >> 3, d->devfn & 7); in pci_info_device()
769 int devfn; in pci_for_each_device() local
774 for(devfn = 0; devfn < 256; devfn++) { in pci_for_each_device()
775 d = bus->devices[devfn]; in pci_for_each_device()
812 PCIDevice *pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn, in pci_nic_init() argument
823 qdev_set_prop_int(dev, "devfn", devfn); in pci_nic_init()
876 PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did, in pci_bridge_init() argument
881 devfn, NULL, pci_bridge_write_config); in pci_bridge_init()
912 int devfn; in pci_qdev_init() local
915 devfn = qdev_get_prop_int(qdev, "devfn", -1); in pci_qdev_init()
916 pci_dev = do_pci_register_device(pci_dev, bus, "FIXME", devfn, in pci_qdev_init()
936 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name) in pci_create_simple() argument
941 qdev_set_prop_int(dev, "devfn", devfn); in pci_create_simple()