Lines Matching refs:pci_slot
22 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
30 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
40 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
92 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
97 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
105 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
179 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
199 struct pci_slot *slot; in pci_dev_assign_slot()
208 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
210 struct pci_slot *slot; in get_slot()
260 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot()
265 struct pci_slot *slot; in pci_create_slot()
345 void pci_destroy_slot(struct pci_slot *slot) in pci_destroy_slot()
365 void pci_hp_create_module_link(struct pci_slot *pci_slot) in pci_hp_create_module_link() argument
367 struct hotplug_slot *slot = pci_slot->hotplug; in pci_hp_create_module_link()
376 ret = sysfs_create_link(&pci_slot->kobj, kobj, "module"); in pci_hp_create_module_link()
378 dev_err(&pci_slot->bus->dev, "Error creating sysfs link (%d)\n", in pci_hp_create_module_link()
391 void pci_hp_remove_module_link(struct pci_slot *pci_slot) in pci_hp_remove_module_link() argument
393 sysfs_remove_link(&pci_slot->kobj, "module"); in pci_hp_remove_module_link()