/drivers/pci/hotplug/ |
D | pci_hotplug_core.c | 86 static ssize_t power_read_file(struct pci_slot *slot, char *buf) in GET_STATUS() 98 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument 101 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() 143 static ssize_t attention_read_file(struct pci_slot *slot, char *buf) in attention_read_file() 155 static ssize_t attention_write_file(struct pci_slot *slot, const char *buf, in attention_write_file() 187 static ssize_t latch_read_file(struct pci_slot *slot, char *buf) in latch_read_file() 204 static ssize_t presence_read_file(struct pci_slot *slot, char *buf) in presence_read_file() 221 static ssize_t test_write_file(struct pci_slot *pci_slot, const char *buf, in test_write_file() argument 224 struct hotplug_slot *slot = pci_slot->hotplug; in test_write_file() 252 static bool has_power_file(struct pci_slot *pci_slot) in has_power_file() argument [all …]
|
D | sgi_hotplug.c | 94 static ssize_t path_show(struct pci_slot *pci_slot, char *buf) in path_show() argument 97 struct slot *slot = pci_slot->hotplug->private; in path_show() 194 struct pci_slot *pci_slot; in sn_hp_destroy() local 199 pci_slot = bss_hotplug_slot->pci_slot; in sn_hp_destroy() 202 sysfs_remove_file(&pci_slot->kobj, in sn_hp_destroy() 598 struct pci_slot *pci_slot; in sn_hotplug_slot_register() local 639 pci_slot = bss_hotplug_slot->pci_slot; in sn_hotplug_slot_register() 640 rc = sysfs_create_file(&pci_slot->kobj, in sn_hotplug_slot_register()
|
D | ibmphp_core.c | 403 struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; in get_max_bus_speed() 610 struct pci_bus *bus = slot_cur->hotplug_slot->pci_slot->bus; in ibmphp_update_slot_info()
|
/drivers/acpi/ |
D | pci_slot.c | 67 struct pci_slot *pci_slot; /* corresponding pci_slot */ member 121 struct pci_slot *pci_slot; in register_slot() local 133 pci_slot = slot->pci_slot; in register_slot() 134 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot() 145 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot() 146 if (IS_ERR(pci_slot)) { in register_slot() 147 err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot)); in register_slot() 152 slot->pci_slot = pci_slot; in register_slot() 158 pci_slot, pci_bus->number, device, name); in register_slot() 181 if (slot->pci_slot->bus == bus) { in acpi_pci_slot_remove() [all …]
|
D | Makefile | 67 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
|
/drivers/pci/ |
D | slot.c | 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() [all …]
|
D | pci.h | 181 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj) 187 ssize_t (*show)(struct pci_slot *, char *); 188 ssize_t (*store)(struct pci_slot *, const char *, size_t);
|
D | pci.c | 3647 static bool pci_slot_resetable(struct pci_slot *slot) in pci_slot_resetable() 3663 static void pci_slot_lock(struct pci_slot *slot) in pci_slot_lock() 3677 static void pci_slot_unlock(struct pci_slot *slot) in pci_slot_unlock() 3691 static int pci_slot_trylock(struct pci_slot *slot) in pci_slot_trylock() 3749 static void pci_slot_save_and_disable(struct pci_slot *slot) in pci_slot_save_and_disable() 3766 static void pci_slot_restore(struct pci_slot *slot) in pci_slot_restore() 3779 static int pci_slot_reset(struct pci_slot *slot, int probe) in pci_slot_reset() 3805 int pci_probe_reset_slot(struct pci_slot *slot) in pci_probe_reset_slot() 3826 int pci_reset_slot(struct pci_slot *slot) in pci_reset_slot() 3850 int pci_try_reset_slot(struct pci_slot *slot) in pci_try_reset_slot()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_resource.h | 64 u16 pci_slot; /* installed pci slot */ member
|
/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 185 uint8_t pci_slot; member
|
D | megaraid_mm.c | 890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() 894 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
|
/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 417 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() local 489 if (pci_slot == 8 || pci_slot == 9) { in ivtv_process_eeprom() 490 int is_first = (pci_slot & 1) == 0; in ivtv_process_eeprom()
|
/drivers/staging/dgnc/ |
D | dgnc_driver.h | 214 uint pci_slot; /* PCI slot value */ member
|
D | dgnc_driver.c | 422 brd->pci_slot = PCI_SLOT(pdev->devfn); in dgnc_found_board()
|
/drivers/media/pci/cx25821/ |
D | cx25821.h | 239 int pci_bus, pci_slot; member
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.h | 35 int pci_slot; member
|
/drivers/media/pci/saa7164/ |
D | saa7164.h | 436 int pci_bus, pci_slot; member
|
/drivers/media/pci/cx23885/ |
D | cx23885.h | 351 int pci_bus, pci_slot; member
|
/drivers/media/pci/cx88/ |
D | cx88.h | 345 int pci_slot; member
|
D | cx88-core.c | 1059 if (PCI_SLOT(pci->devfn) != core->pci_slot) in cx88_core_get()
|
/drivers/staging/dgap/ |
D | dgap.h | 542 uint pci_slot; /* PCI slot value */ member
|
/drivers/net/ethernet/qlogic/ |
D | qla3xxx.h | 1083 u8 pci_slot; member
|
/drivers/vfio/pci/ |
D | vfio_pci.c | 313 static bool vfio_pci_dev_below_slot(struct pci_dev *pdev, struct pci_slot *slot) in vfio_pci_dev_below_slot()
|
/drivers/scsi/bfa/ |
D | bfa_ioc.h | 153 int pci_slot; member
|
/drivers/scsi/aic94xx/ |
D | aic94xx_sds.c | 117 u8 pci_slot; member
|