Lines Matching refs:pci_slot
21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
57 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
62 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
70 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
144 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
164 struct pci_slot *slot; in pci_dev_assign_slot()
173 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
175 struct pci_slot *slot; in get_slot()
225 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot()
230 struct pci_slot *slot; in pci_create_slot()
312 void pci_destroy_slot(struct pci_slot *slot) in pci_destroy_slot()
332 void pci_hp_create_module_link(struct pci_slot *pci_slot) in pci_hp_create_module_link() argument
334 struct hotplug_slot *slot = pci_slot->hotplug; in pci_hp_create_module_link()
343 ret = sysfs_create_link(&pci_slot->kobj, kobj, "module"); in pci_hp_create_module_link()
345 dev_err(&pci_slot->bus->dev, "Error creating sysfs link (%d)\n", in pci_hp_create_module_link()
359 void pci_hp_remove_module_link(struct pci_slot *pci_slot) in pci_hp_remove_module_link() argument
361 sysfs_remove_link(&pci_slot->kobj, "module"); in pci_hp_remove_module_link()