Home
last modified time | relevance | path

Searched refs:pci_slot (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/pci/hotplug/
A Dpci_hotplug_core.c234 static bool has_power_file(struct pci_slot *pci_slot) in has_power_file() argument
247 static bool has_attention_file(struct pci_slot *pci_slot) in has_attention_file() argument
259 static bool has_latch_file(struct pci_slot *pci_slot) in has_latch_file() argument
270 static bool has_adapter_file(struct pci_slot *pci_slot) in has_adapter_file() argument
281 static bool has_test_file(struct pci_slot *pci_slot) in has_test_file() argument
292 static int fs_add_slot(struct pci_slot *pci_slot) in fs_add_slot() argument
356 static void fs_remove_slot(struct pci_slot *pci_slot) in fs_remove_slot() argument
442 struct pci_slot *pci_slot; in __pci_hp_initialize() local
461 slot->pci_slot = pci_slot; in __pci_hp_initialize()
479 struct pci_slot *pci_slot = slot->pci_slot; in pci_hp_add() local
[all …]
A DTODO31 * Several functions access the pci_slot member in struct hotplug_slot even
33 example. Either the pci_slot member should no longer be declared private
A Dacpiphp_ampere_altra.c48 bus = slot->pci_slot->bus; in set_attention_status()
A Dibmphp_core.c364 struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus; in get_max_bus_speed()
501 struct pci_bus *bus = slot_cur->hotplug_slot.pci_slot->bus; in ibmphp_update_slot_info()
/linux/drivers/acpi/
A Dpci_slot.c34 struct pci_slot *pci_slot; /* corresponding pci_slot */ member
90 struct pci_slot *pci_slot; in register_slot() local
102 pci_slot = slot->pci_slot; in register_slot()
103 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot()
112 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot()
113 if (IS_ERR(pci_slot)) { in register_slot()
114 pr_err("pci_create_slot returned %pe\n", pci_slot); in register_slot()
119 slot->pci_slot = pci_slot; in register_slot()
125 pci_slot, pci_bus->number, device, name); in register_slot()
148 if (slot->pci_slot->bus == bus) { in acpi_pci_slot_remove()
[all …]
A DMakefile84 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
/linux/drivers/pci/
A Dslot.c21 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()
70 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
165 struct pci_slot *slot; in pci_dev_assign_slot()
176 struct pci_slot *slot; in get_slot()
231 struct pci_slot *slot; in pci_create_slot()
313 void pci_destroy_slot(struct pci_slot *slot) in pci_destroy_slot()
333 void pci_hp_create_module_link(struct pci_slot *pci_slot) in pci_hp_create_module_link() argument
335 struct hotplug_slot *slot = pci_slot->hotplug; in pci_hp_create_module_link()
360 void pci_hp_remove_module_link(struct pci_slot *pci_slot) in pci_hp_remove_module_link() argument
[all …]
A Dpci.h288 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
294 ssize_t (*show)(struct pci_slot *, char *);
295 ssize_t (*store)(struct pci_slot *, const char *, size_t);
A Dpci.c5597 static bool pci_slot_resettable(struct pci_slot *slot) in pci_slot_resettable()
5617 static void pci_slot_lock(struct pci_slot *slot) in pci_slot_lock()
5632 static void pci_slot_unlock(struct pci_slot *slot) in pci_slot_unlock()
5646 static int pci_slot_trylock(struct pci_slot *slot) in pci_slot_trylock()
5713 static void pci_slot_save_and_disable_locked(struct pci_slot *slot) in pci_slot_save_and_disable_locked()
5731 static void pci_slot_restore_locked(struct pci_slot *slot) in pci_slot_restore_locked()
5746 static int pci_slot_reset(struct pci_slot *slot, bool probe) in pci_slot_reset()
5772 int pci_probe_reset_slot(struct pci_slot *slot) in pci_probe_reset_slot()
5793 static int __pci_reset_slot(struct pci_slot *slot) in __pci_reset_slot()
5845 struct pci_slot *slot; in pci_bus_error_reset()
/linux/include/linux/
A Dpci_hotplug.h63 struct pci_slot *pci_slot; member
70 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
A Dpci.h76 struct pci_slot { struct
84 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name() argument
329 struct pci_slot *slot; /* Physical slot this device is in */
1153 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
1156 void pci_destroy_slot(struct pci_slot *slot);
1379 int pci_probe_reset_slot(struct pci_slot *slot);
2430 void pci_hp_create_module_link(struct pci_slot *pci_slot);
2431 void pci_hp_remove_module_link(struct pci_slot *pci_slot);
/linux/arch/sparc/kernel/
A Dpci.c909 struct pci_slot *pci_slot; in pcie_bus_slot_names() local
920 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
922 if (IS_ERR(pci_slot)) in pcie_bus_slot_names()
924 PTR_ERR(pci_slot)); in pcie_bus_slot_names()
954 struct pci_slot *pci_slot; in pci_bus_slot_names() local
965 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names()
966 if (IS_ERR(pci_slot)) in pci_bus_slot_names()
968 PTR_ERR(pci_slot)); in pci_bus_slot_names()
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_resource.h58 u16 pci_slot; /* installed pci slot */ member
/linux/drivers/pci/controller/
A Dpci-hyperv.c556 struct pci_slot *pci_slot; member
2324 if (hpdev->pci_slot) in hv_pci_assign_slots()
2331 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots()
2333 hpdev->pci_slot = NULL; in hv_pci_assign_slots()
2346 if (!hpdev->pci_slot) in hv_pci_remove_slots()
2348 pci_destroy_slot(hpdev->pci_slot); in hv_pci_remove_slots()
2349 hpdev->pci_slot = NULL; in hv_pci_remove_slots()
2660 if (hpdev->pci_slot) in pci_devices_present_work()
2859 if (hpdev->pci_slot) in hv_eject_device_work()
2860 pci_destroy_slot(hpdev->pci_slot); in hv_eject_device_work()
[all …]
/linux/drivers/media/pci/netup_unidvb/
A Dnetup_unidvb.h105 int pci_slot; member
A Dnetup_unidvb_spi.c208 ndev->pci_slot, in netup_spi_init()
A Dnetup_unidvb_core.c825 ndev->pci_slot = PCI_SLOT(pci_dev->devfn); in netup_unidvb_initdev()
827 ndev->board_num = ndev->pci_bus*10 + ndev->pci_slot; in netup_unidvb_initdev()
831 __func__, ndev->board_num, ndev->pci_bus, ndev->pci_slot); in netup_unidvb_initdev()
/linux/drivers/scsi/megaraid/
A Dmegaraid_ioctl.h187 uint8_t pci_slot; member
A Dmegaraid_mm.c890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo()
894 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
/linux/drivers/media/pci/ivtv/
A Divtv-driver.c387 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() local
459 if (pci_slot == 8 || pci_slot == 9) { in ivtv_process_eeprom()
460 int is_first = (pci_slot & 1) == 0; in ivtv_process_eeprom()
/linux/drivers/media/pci/cx25821/
A Dcx25821.h226 int pci_bus, pci_slot; member
/linux/arch/powerpc/kernel/
A Deeh_driver.c763 struct pci_slot *slot; in eeh_slot_presence_check()
795 struct pci_slot *slot; in eeh_clear_slot_attention()
/linux/drivers/net/ethernet/brocade/bna/
A Dbfa_ioc.h28 int pci_slot; member
/linux/drivers/media/pci/cx23885/
A Dcx23885.h360 int pci_bus, pci_slot; member
/linux/drivers/media/pci/cx88/
A Dcx88.h343 int pci_slot; member

Completed in 88 milliseconds

12