pci_slot          782 arch/powerpc/kernel/eeh_driver.c 	struct pci_slot *slot;
pci_slot          814 arch/powerpc/kernel/eeh_driver.c 	struct pci_slot *slot;
pci_slot         1052 arch/sparc/kernel/pci.c 		struct pci_slot *pci_slot;
pci_slot         1063 arch/sparc/kernel/pci.c 		pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL);
pci_slot         1065 arch/sparc/kernel/pci.c 		if (IS_ERR(pci_slot))
pci_slot         1067 arch/sparc/kernel/pci.c 			       PTR_ERR(pci_slot));
pci_slot         1097 arch/sparc/kernel/pci.c 		struct pci_slot *pci_slot;
pci_slot         1108 arch/sparc/kernel/pci.c 		pci_slot = pci_create_slot(bus, i, sp, NULL);
pci_slot         1109 arch/sparc/kernel/pci.c 		if (IS_ERR(pci_slot))
pci_slot         1111 arch/sparc/kernel/pci.c 				PTR_ERR(pci_slot));
pci_slot           37 drivers/acpi/pci_slot.c 	struct pci_slot *pci_slot;	/* corresponding pci_slot */
pci_slot           93 drivers/acpi/pci_slot.c 	struct pci_slot *pci_slot;
pci_slot          105 drivers/acpi/pci_slot.c 		pci_slot = slot->pci_slot;
pci_slot          106 drivers/acpi/pci_slot.c 		if (pci_slot->bus == pci_bus && pci_slot->number == device)
pci_slot          115 drivers/acpi/pci_slot.c 	pci_slot = pci_create_slot(pci_bus, device, name, NULL);
pci_slot          116 drivers/acpi/pci_slot.c 	if (IS_ERR(pci_slot)) {
pci_slot          117 drivers/acpi/pci_slot.c 		pr_err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot));
pci_slot          122 drivers/acpi/pci_slot.c 	slot->pci_slot = pci_slot;
pci_slot          128 drivers/acpi/pci_slot.c 		 pci_slot, pci_bus->number, device, name);
pci_slot          151 drivers/acpi/pci_slot.c 		if (slot->pci_slot->bus == bus) {
pci_slot          153 drivers/acpi/pci_slot.c 			pci_destroy_slot(slot->pci_slot);
pci_slot          942 drivers/media/pci/cx23885/cx23885-core.c 	dev->pci_slot = PCI_SLOT(dev->pci->devfn);
pci_slot         2648 drivers/media/pci/cx23885/cx23885-dvb.c 			dev->pci_slot);
pci_slot          360 drivers/media/pci/cx23885/cx23885.h 	int                        pci_bus, pci_slot;
pci_slot          884 drivers/media/pci/cx25821/cx25821-core.c 	dev->pci_slot = PCI_SLOT(dev->pci->devfn);
pci_slot          227 drivers/media/pci/cx25821/cx25821.h 	int pci_bus, pci_slot;
pci_slot         1165 drivers/media/pci/cx88/cx88-blackbird.c 		core->pci_slot);
pci_slot         3666 drivers/media/pci/cx88/cx88-cards.c 	core->pci_slot = PCI_SLOT(pci->devfn);
pci_slot         1039 drivers/media/pci/cx88/cx88-core.c 		if (PCI_SLOT(pci->devfn) != core->pci_slot)
pci_slot         1744 drivers/media/pci/cx88/cx88-dvb.c 		core->pci_slot);
pci_slot          342 drivers/media/pci/cx88/cx88.h 	int                        pci_slot;
pci_slot          418 drivers/media/pci/ivtv/ivtv-driver.c 	int pci_slot = PCI_SLOT(itv->pdev->devfn);
pci_slot          490 drivers/media/pci/ivtv/ivtv-driver.c 		if (pci_slot == 8 || pci_slot == 9) {
pci_slot          491 drivers/media/pci/ivtv/ivtv-driver.c 			int is_first = (pci_slot & 1) == 0;
pci_slot          105 drivers/media/pci/netup_unidvb/netup_unidvb.h 	int				pci_slot;
pci_slot          819 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	ndev->pci_slot = PCI_SLOT(pci_dev->devfn);
pci_slot          821 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	ndev->board_num = ndev->pci_bus*10 + ndev->pci_slot;
pci_slot          825 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		__func__, ndev->board_num, ndev->pci_bus, ndev->pci_slot);
pci_slot          208 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 		ndev->pci_slot,
pci_slot          976 drivers/media/pci/saa7164/saa7164-core.c 	dev->pci_slot = PCI_SLOT(dev->pci->devfn);
pci_slot          429 drivers/media/pci/saa7164/saa7164.h 	int		pci_bus, pci_slot;
pci_slot           28 drivers/net/ethernet/brocade/bna/bfa_ioc.h 	int	pci_slot;
pci_slot         3668 drivers/net/ethernet/brocade/bna/bnad.c 	pcidev_info.pci_slot = PCI_SLOT(bnad->pcidev->devfn);
pci_slot           71 drivers/net/ethernet/cisco/enic/vnic_resource.h 	u16 pci_slot;			/* installed pci slot */
pci_slot         3396 drivers/net/ethernet/qlogic/qla3xxx.c 		    qdev->pci_slot);
pci_slot         3748 drivers/net/ethernet/qlogic/qla3xxx.c 	qdev->pci_slot = (u8) PCI_SLOT(qdev->pdev->devfn);
pci_slot         1083 drivers/net/ethernet/qlogic/qla3xxx.h 	u8 pci_slot;
pci_slot          529 drivers/pci/controller/pci-hyperv.c 	struct pci_slot *pci_slot;
pci_slot         1758 drivers/pci/controller/pci-hyperv.c 		if (hpdev->pci_slot)
pci_slot         1763 drivers/pci/controller/pci-hyperv.c 		hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr,
pci_slot         1765 drivers/pci/controller/pci-hyperv.c 		if (IS_ERR(hpdev->pci_slot)) {
pci_slot         1767 drivers/pci/controller/pci-hyperv.c 			hpdev->pci_slot = NULL;
pci_slot         1780 drivers/pci/controller/pci-hyperv.c 		if (!hpdev->pci_slot)
pci_slot         1782 drivers/pci/controller/pci-hyperv.c 		pci_destroy_slot(hpdev->pci_slot);
pci_slot         1783 drivers/pci/controller/pci-hyperv.c 		hpdev->pci_slot = NULL;
pci_slot         2063 drivers/pci/controller/pci-hyperv.c 		if (hpdev->pci_slot)
pci_slot         2064 drivers/pci/controller/pci-hyperv.c 			pci_destroy_slot(hpdev->pci_slot);
pci_slot         2195 drivers/pci/controller/pci-hyperv.c 	if (hpdev->pci_slot)
pci_slot         2196 drivers/pci/controller/pci-hyperv.c 		pci_destroy_slot(hpdev->pci_slot);
pci_slot          372 drivers/pci/hotplug/ibmphp_core.c 	struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus;
pci_slot          572 drivers/pci/hotplug/ibmphp_core.c 	struct pci_bus *bus = slot_cur->hotplug_slot.pci_slot->bus;
pci_slot           67 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf)
pci_slot           72 drivers/pci/hotplug/pci_hotplug_core.c 	retval = get_power_status(pci_slot->hotplug, &value);
pci_slot           79 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf,
pci_slot           82 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          124 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf)
pci_slot          129 drivers/pci/hotplug/pci_hotplug_core.c 	retval = get_attention_status(pci_slot->hotplug, &value);
pci_slot          136 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t attention_write_file(struct pci_slot *pci_slot, const char *buf,
pci_slot          139 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          169 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t latch_read_file(struct pci_slot *pci_slot, char *buf)
pci_slot          174 drivers/pci/hotplug/pci_hotplug_core.c 	retval = get_latch_status(pci_slot->hotplug, &value);
pci_slot          186 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t presence_read_file(struct pci_slot *pci_slot, char *buf)
pci_slot          191 drivers/pci/hotplug/pci_hotplug_core.c 	retval = get_adapter_status(pci_slot->hotplug, &value);
pci_slot          203 drivers/pci/hotplug/pci_hotplug_core.c static ssize_t test_write_file(struct pci_slot *pci_slot, const char *buf,
pci_slot          206 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          234 drivers/pci/hotplug/pci_hotplug_core.c static bool has_power_file(struct pci_slot *pci_slot)
pci_slot          236 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          247 drivers/pci/hotplug/pci_hotplug_core.c static bool has_attention_file(struct pci_slot *pci_slot)
pci_slot          249 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          259 drivers/pci/hotplug/pci_hotplug_core.c static bool has_latch_file(struct pci_slot *pci_slot)
pci_slot          261 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          270 drivers/pci/hotplug/pci_hotplug_core.c static bool has_adapter_file(struct pci_slot *pci_slot)
pci_slot          272 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          281 drivers/pci/hotplug/pci_hotplug_core.c static bool has_test_file(struct pci_slot *pci_slot)
pci_slot          283 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          292 drivers/pci/hotplug/pci_hotplug_core.c static int fs_add_slot(struct pci_slot *pci_slot)
pci_slot          297 drivers/pci/hotplug/pci_hotplug_core.c 	pci_hp_create_module_link(pci_slot);
pci_slot          299 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_power_file(pci_slot)) {
pci_slot          300 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
pci_slot          306 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_attention_file(pci_slot)) {
pci_slot          307 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
pci_slot          313 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_latch_file(pci_slot)) {
pci_slot          314 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
pci_slot          320 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_adapter_file(pci_slot)) {
pci_slot          321 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
pci_slot          327 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_test_file(pci_slot)) {
pci_slot          328 drivers/pci/hotplug/pci_hotplug_core.c 		retval = sysfs_create_file(&pci_slot->kobj,
pci_slot          337 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_adapter_file(pci_slot))
pci_slot          338 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
pci_slot          341 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_latch_file(pci_slot))
pci_slot          342 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr);
pci_slot          344 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_attention_file(pci_slot))
pci_slot          345 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
pci_slot          348 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_power_file(pci_slot))
pci_slot          349 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr);
pci_slot          351 drivers/pci/hotplug/pci_hotplug_core.c 	pci_hp_remove_module_link(pci_slot);
pci_slot          356 drivers/pci/hotplug/pci_hotplug_core.c static void fs_remove_slot(struct pci_slot *pci_slot)
pci_slot          358 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_power_file(pci_slot))
pci_slot          359 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr);
pci_slot          361 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_attention_file(pci_slot))
pci_slot          362 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
pci_slot          365 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_latch_file(pci_slot))
pci_slot          366 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr);
pci_slot          368 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_adapter_file(pci_slot))
pci_slot          369 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj,
pci_slot          372 drivers/pci/hotplug/pci_hotplug_core.c 	if (has_test_file(pci_slot))
pci_slot          373 drivers/pci/hotplug/pci_hotplug_core.c 		sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_test.attr);
pci_slot          375 drivers/pci/hotplug/pci_hotplug_core.c 	pci_hp_remove_module_link(pci_slot);
pci_slot          442 drivers/pci/hotplug/pci_hotplug_core.c 	struct pci_slot *pci_slot;
pci_slot          457 drivers/pci/hotplug/pci_hotplug_core.c 	pci_slot = pci_create_slot(bus, devnr, name, slot);
pci_slot          458 drivers/pci/hotplug/pci_hotplug_core.c 	if (IS_ERR(pci_slot))
pci_slot          459 drivers/pci/hotplug/pci_hotplug_core.c 		return PTR_ERR(pci_slot);
pci_slot          461 drivers/pci/hotplug/pci_hotplug_core.c 	slot->pci_slot = pci_slot;
pci_slot          462 drivers/pci/hotplug/pci_hotplug_core.c 	pci_slot->hotplug = slot;
pci_slot          479 drivers/pci/hotplug/pci_hotplug_core.c 	struct pci_slot *pci_slot = slot->pci_slot;
pci_slot          482 drivers/pci/hotplug/pci_hotplug_core.c 	result = fs_add_slot(pci_slot);
pci_slot          486 drivers/pci/hotplug/pci_hotplug_core.c 	kobject_uevent(&pci_slot->kobj, KOBJ_ADD);
pci_slot          536 drivers/pci/hotplug/pci_hotplug_core.c 	fs_remove_slot(slot->pci_slot);
pci_slot          553 drivers/pci/hotplug/pci_hotplug_core.c 	struct pci_slot *pci_slot = slot->pci_slot;
pci_slot          555 drivers/pci/hotplug/pci_hotplug_core.c 	slot->pci_slot = NULL;
pci_slot          556 drivers/pci/hotplug/pci_hotplug_core.c 	pci_slot->hotplug = NULL;
pci_slot          557 drivers/pci/hotplug/pci_hotplug_core.c 	pci_destroy_slot(pci_slot);
pci_slot         5211 drivers/pci/pci.c static bool pci_slot_resetable(struct pci_slot *slot)
pci_slot         5231 drivers/pci/pci.c static void pci_slot_lock(struct pci_slot *slot)
pci_slot         5245 drivers/pci/pci.c static void pci_slot_unlock(struct pci_slot *slot)
pci_slot         5259 drivers/pci/pci.c static int pci_slot_trylock(struct pci_slot *slot)
pci_slot         5324 drivers/pci/pci.c static void pci_slot_save_and_disable_locked(struct pci_slot *slot)
pci_slot         5342 drivers/pci/pci.c static void pci_slot_restore_locked(struct pci_slot *slot)
pci_slot         5355 drivers/pci/pci.c static int pci_slot_reset(struct pci_slot *slot, int probe)
pci_slot         5381 drivers/pci/pci.c int pci_probe_reset_slot(struct pci_slot *slot)
pci_slot         5402 drivers/pci/pci.c static int __pci_reset_slot(struct pci_slot *slot)
pci_slot         5454 drivers/pci/pci.c 	struct pci_slot *slot;
pci_slot          249 drivers/pci/pci.h #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
pci_slot          255 drivers/pci/pci.h 	ssize_t (*show)(struct pci_slot *, char *);
pci_slot          256 drivers/pci/pci.h 	ssize_t (*store)(struct pci_slot *, const char *, size_t);
pci_slot           21 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
pci_slot           29 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
pci_slot           39 drivers/pci/slot.c static ssize_t address_read_file(struct pci_slot *slot, char *buf)
pci_slot           93 drivers/pci/slot.c static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf)
pci_slot           98 drivers/pci/slot.c static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf)
pci_slot          106 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
pci_slot          180 drivers/pci/slot.c static int rename_slot(struct pci_slot *slot, const char *name)
pci_slot          200 drivers/pci/slot.c 	struct pci_slot *slot;
pci_slot          209 drivers/pci/slot.c static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr)
pci_slot          211 drivers/pci/slot.c 	struct pci_slot *slot;
pci_slot          261 drivers/pci/slot.c struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
pci_slot          266 drivers/pci/slot.c 	struct pci_slot *slot;
pci_slot          346 drivers/pci/slot.c void pci_destroy_slot(struct pci_slot *slot)
pci_slot          366 drivers/pci/slot.c void pci_hp_create_module_link(struct pci_slot *pci_slot)
pci_slot          368 drivers/pci/slot.c 	struct hotplug_slot *slot = pci_slot->hotplug;
pci_slot          377 drivers/pci/slot.c 	ret = sysfs_create_link(&pci_slot->kobj, kobj, "module");
pci_slot          379 drivers/pci/slot.c 		dev_err(&pci_slot->bus->dev, "Error creating sysfs link (%d)\n",
pci_slot          392 drivers/pci/slot.c void pci_hp_remove_module_link(struct pci_slot *pci_slot)
pci_slot          394 drivers/pci/slot.c 	sysfs_remove_link(&pci_slot->kobj, "module");
pci_slot           99 drivers/scsi/aic94xx/aic94xx_sds.c 	u8   pci_slot;
pci_slot          150 drivers/scsi/bfa/bfa_ioc.h 	int		pci_slot;
pci_slot          755 drivers/scsi/bfa/bfad.c 	bfad->hal_pcidev.pci_slot = PCI_SLOT(pdev->devfn);
pci_slot          187 drivers/scsi/megaraid/megaraid_ioctl.h 	uint8_t		pci_slot;
pci_slot         3739 drivers/scsi/megaraid/megaraid_mbox.c 	hinfo->pci_slot		= PCI_SLOT(adapter->pdev->devfn);
pci_slot          889 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcidev		= hinfo->pci_slot;
pci_slot          893 drivers/scsi/megaraid/megaraid_mm.c 	cinfo->pcislot		= hinfo->pci_slot;
pci_slot          614 drivers/vfio/pci/vfio_pci.c static bool vfio_pci_dev_below_slot(struct pci_dev *pdev, struct pci_slot *slot)
pci_slot           70 include/linux/pci.h static inline const char *pci_slot_name(const struct pci_slot *slot)
pci_slot          298 include/linux/pci.h 	struct pci_slot	*slot;		/* Physical slot this device is in */
pci_slot         1000 include/linux/pci.h struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
pci_slot         1003 include/linux/pci.h void pci_destroy_slot(struct pci_slot *slot);
pci_slot         1195 include/linux/pci.h int pci_probe_reset_slot(struct pci_slot *slot);
pci_slot         2094 include/linux/pci.h void pci_hp_create_module_link(struct pci_slot *pci_slot);
pci_slot         2095 include/linux/pci.h void pci_hp_remove_module_link(struct pci_slot *pci_slot);
pci_slot           61 include/linux/pci_hotplug.h 	struct pci_slot			*pci_slot;
pci_slot           68 include/linux/pci_hotplug.h 	return pci_slot_name(slot->pci_slot);