Home
last modified time | relevance | path

Searched refs:busnumber (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dpciehp_pci.c370 int pciehp_save_config(struct controller *ctrl, int busnumber, int num_ctlr_slots, int first_device… in pciehp_save_config() argument
414 pci_bus->number = busnumber; in pciehp_save_config()
415 dbg("%s: bus = %x, dev = %x\n", __FUNCTION__, busnumber, device); in pciehp_save_config()
465 new_slot = pciehp_slot_find(busnumber, device, index++); in pciehp_save_config()
468 __FUNCTION__, new_slot, busnumber, device, index-1); in pciehp_save_config()
471 new_slot = pciehp_slot_find(busnumber, device, index++); in pciehp_save_config()
473 __FUNCTION__, new_slot, busnumber, device, index-1); in pciehp_save_config()
477 new_slot = pciehp_slot_create(busnumber); in pciehp_save_config()
479 __FUNCTION__, new_slot, busnumber, device, function); in pciehp_save_config()
485 new_slot->bus = (u8) busnumber; in pciehp_save_config()
[all …]
Dcpqphp_pci.c504 int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug) in cpqhp_save_config() argument
540 rc = pci_read_config_dword_nodev (ctrl->pci_ops, busnumber, device, 0, PCI_VENDOR_ID, &ID); in cpqhp_save_config()
543 rc = pci_read_config_byte_nodev (ctrl->pci_ops, busnumber, device, 0, 0x0B, &class_code); in cpqhp_save_config()
547 …rc = pci_read_config_byte_nodev (ctrl->pci_ops, busnumber, device, 0, PCI_HEADER_TYPE, &header_typ… in cpqhp_save_config()
565 …rc = pci_read_config_byte_nodev (ctrl->pci_ops, busnumber, device, function, PCI_SECONDARY_BUS, &s… in cpqhp_save_config()
581 new_slot = cpqhp_slot_find(busnumber, device, index++); in cpqhp_save_config()
584 new_slot = cpqhp_slot_find(busnumber, device, index++); in cpqhp_save_config()
588 new_slot = cpqhp_slot_create(busnumber); in cpqhp_save_config()
594 new_slot->bus = (u8) busnumber; in cpqhp_save_config()
604 …rc = pci_read_config_dword_nodev (ctrl->pci_ops, busnumber, device, function, cloop << 2, (u32 *) … in cpqhp_save_config()
[all …]
Dshpchp_pci.c374 int shpchp_save_config(struct controller *ctrl, int busnumber, int num_ctlr_slots, int first_device… in shpchp_save_config() argument
417 pci_bus->number = busnumber; in shpchp_save_config()
462 new_slot = shpchp_slot_find(busnumber, device, index++); in shpchp_save_config()
467 new_slot = shpchp_slot_find(busnumber, device, index++); in shpchp_save_config()
472 new_slot = shpchp_slot_create(busnumber); in shpchp_save_config()
479 new_slot->bus = (u8) busnumber; in shpchp_save_config()
529 new_slot = shpchp_slot_create(busnumber); in shpchp_save_config()
536 new_slot->bus = (u8) busnumber; in shpchp_save_config()
Dpciehp.h206 extern struct pci_func *pciehp_slot_create (unsigned char busnumber);
222 extern int pciehp_save_config (struct controller *ctrl, int busnumber, int num_ctlr_slots, int fi…
Dshpchp.h213 extern struct pci_func *shpchp_slot_create (unsigned char busnumber);
229 extern int shpchp_save_config (struct controller *ctrl, int busnumber, int num_ctlr_slots, int fi…
Dpciehp_ctrl.c873 struct pci_func *pciehp_slot_create(u8 busnumber) in pciehp_slot_create() argument
877 dbg("%s: busnumber %x\n", __FUNCTION__, busnumber); in pciehp_slot_create()
889 if (pciehp_slot_list[busnumber] == NULL) { in pciehp_slot_create()
890 pciehp_slot_list[busnumber] = new_slot; in pciehp_slot_create()
892 next = pciehp_slot_list[busnumber]; in pciehp_slot_create()
Dcpqphp.h447 extern struct pci_func *cpqhp_slot_create (unsigned char busnumber);
459 extern int cpqhp_save_config (struct controller *ctrl, int busnumber, int is_hot_plug);
Dcpqphp_ctrl.c995 struct pci_func *cpqhp_slot_create(u8 busnumber) in cpqhp_slot_create() argument
1013 if (cpqhp_slot_list[busnumber] == NULL) { in cpqhp_slot_create()
1014 cpqhp_slot_list[busnumber] = new_slot; in cpqhp_slot_create()
1016 next = cpqhp_slot_list[busnumber]; in cpqhp_slot_create()
Dshpchp_ctrl.c886 struct pci_func *shpchp_slot_create(u8 busnumber) in shpchp_slot_create() argument
902 if (shpchp_slot_list[busnumber] == NULL) { in shpchp_slot_create()
903 shpchp_slot_list[busnumber] = new_slot; in shpchp_slot_create()
905 next = shpchp_slot_list[busnumber]; in shpchp_slot_create()