• Home
  • Raw
  • Download

Lines Matching refs:devfn

244                                          const char *name, int devfn,  in do_pci_register_device()  argument
248 if (devfn < 0) { in do_pci_register_device()
249 for(devfn = bus->devfn_min ; devfn < 256; devfn += 8) { in do_pci_register_device()
250 if (!bus->devices[devfn]) in do_pci_register_device()
257 pci_dev->devfn = devfn; in do_pci_register_device()
268 bus->devices[devfn] = pci_dev; in do_pci_register_device()
274 int instance_size, int devfn, in pci_register_device() argument
281 pci_dev = do_pci_register_device(pci_dev, bus, name, devfn, in pci_register_device()
321 pci_dev->bus->devices[pci_dev->devfn] = NULL; in pci_unregister_device()
729 d->bus->bus_num, d->devfn >> 3, d->devfn & 7); in pci_info_device()
776 int devfn; in pci_for_each_device() local
781 for(devfn = 0; devfn < 256; devfn++) { in pci_for_each_device()
782 d = bus->devices[devfn]; in pci_for_each_device()
819 PCIDevice *pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn, in pci_nic_init() argument
830 qdev_set_prop_int(dev, "devfn", devfn); in pci_nic_init()
883 PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did, in pci_bridge_init() argument
888 devfn, NULL, pci_bridge_write_config); in pci_bridge_init()
919 int devfn; in pci_qdev_init() local
922 devfn = qdev_get_prop_int(qdev, "devfn", -1); in pci_qdev_init()
923 pci_dev = do_pci_register_device(pci_dev, bus, "FIXME", devfn, in pci_qdev_init()
943 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name) in pci_create_simple() argument
948 qdev_set_prop_int(dev, "devfn", devfn); in pci_create_simple()