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()
91 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
96 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
104 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
176 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
194 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
196 struct pci_slot *slot; in get_slot()
247 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot()
252 struct pci_slot *slot; in pci_create_slot()
330 void pci_destroy_slot(struct pci_slot *slot) in pci_destroy_slot()
350 void pci_hp_create_module_link(struct pci_slot *pci_slot) in pci_hp_create_module_link() argument
352 struct hotplug_slot *slot = pci_slot->hotplug; in pci_hp_create_module_link()
361 ret = sysfs_create_link(&pci_slot->kobj, kobj, "module"); in pci_hp_create_module_link()
363 dev_err(&pci_slot->bus->dev, "Error creating sysfs link (%d)\n", in pci_hp_create_module_link()
376 void pci_hp_remove_module_link(struct pci_slot *pci_slot) in pci_hp_remove_module_link() argument
378 sysfs_remove_link(&pci_slot->kobj, "module"); in pci_hp_remove_module_link()