Home
last modified time | relevance | path

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

12

/linux/drivers/pci/hotplug/
H A Dpci_hotplug_core.c55 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in GET_STATUS()
60 retval = get_power_status(pci_slot->hotplug, &value); in GET_STATUS()
67 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument
70 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
106 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument
111 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
118 static ssize_t attention_write_file(struct pci_slot *pci_slot, const char *buf, in attention_write_file() argument
121 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file()
145 static ssize_t latch_read_file(struct pci_slot *pci_slot, char *buf) in latch_read_file() argument
150 retval = get_latch_status(pci_slot->hotplug, &value); in latch_read_file()
[all …]
H A DTODO27 * Several functions access the pci_slot member in struct hotplug_slot even
29 example. Either the pci_slot member should no longer be declared private
H 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()
H A Dpnv_php.c679 struct pci_slot *slot; in pnv_php_disable_all_irqs()
/linux/drivers/acpi/
H 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 …]
H A DMakefile89 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
/linux/drivers/pci/
H A Dslot.c20 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
28 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
38 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
65 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
70 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
75 static bool pci_dev_matches_slot(struct pci_dev *dev, struct pci_slot *slot) in pci_dev_matches_slot()
95 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
182 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
202 struct pci_slot *slot; in pci_dev_assign_slot()
211 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
[all …]
/linux/include/linux/
H A Dpci_hotplug.h61 struct pci_slot *pci_slot; member
68 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
H A Dpci.h88 struct pci_slot { struct
97 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name() argument
363 struct pci_slot *slot; /* Physical slot this device is in */
1255 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
1258 void pci_destroy_slot(struct pci_slot *slot);
1488 int pci_probe_reset_slot(struct pci_slot *slot);
/linux/arch/sparc/kernel/
H A Dpci.c912 struct pci_slot *pci_slot; in pcie_bus_slot_names() local
923 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
925 if (IS_ERR(pci_slot)) in pcie_bus_slot_names()
927 PTR_ERR(pci_slot)); in pcie_bus_slot_names()
957 struct pci_slot *pci_slot; in pci_bus_slot_names() local
968 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names()
969 if (IS_ERR(pci_slot)) in pci_bus_slot_names()
971 PTR_ERR(pci_slot)); in pci_bus_slot_names()
/linux/drivers/pci/controller/
H A Dpci-hyperv.c554 struct pci_slot *pci_slot; member
2446 if (hpdev->pci_slot) in hv_pci_assign_slots()
2451 hpdev->pci_slot = pci_create_slot(hbus->bridge->bus, slot_nr, in hv_pci_assign_slots()
2453 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots()
2455 hpdev->pci_slot = NULL; in hv_pci_assign_slots()
2468 if (!hpdev->pci_slot) in hv_pci_remove_slots()
2470 pci_destroy_slot(hpdev->pci_slot); in hv_pci_remove_slots()
2471 hpdev->pci_slot = NULL; in hv_pci_remove_slots()
2790 if (hpdev->pci_slot) in pci_devices_present_work()
2791 pci_destroy_slot(hpdev->pci_slot); in pci_devices_present_work()
[all …]
/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb.h105 int pci_slot; member
/linux/drivers/scsi/megaraid/
H A Dmegaraid_ioctl.h187 uint8_t pci_slot; member
/linux/include/uapi/linux/
H A Dgpib_ioctl.h88 __s32 pci_slot; member
/linux/drivers/gpib/include/
H A Dgpib_types.h43 int pci_slot; member
/linux/arch/s390/pci/
H A Dpci_sysfs.c193 static ssize_t zpci_uid_slot_show(struct pci_slot *slot, char *buf) in zpci_uid_slot_show()
/linux/arch/powerpc/kernel/
H A Deeh_driver.c762 struct pci_slot *slot; in eeh_slot_presence_check()
794 struct pci_slot *slot; in eeh_clear_slot_attention()
/linux/drivers/media/pci/cx25821/
H A Dcx25821.h226 int pci_bus, pci_slot; member
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.h28 int pci_slot; member
/linux/drivers/media/pci/cx88/
H A Dcx88.h343 int pci_slot; member
H A Dcx88-core.c1053 if (PCI_SLOT(pci->devfn) != core->pci_slot) in cx88_core_get()
/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.h1082 u8 pci_slot; member
H A Dqla3xxx.c3383 qdev->pci_slot); in ql_display_dev_info()
3732 qdev->pci_slot = (u8) PCI_SLOT(qdev->pdev->devfn); in ql_get_board_info()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_sds.c99 u8 pci_slot; member
/linux/drivers/scsi/bfa/
H A Dbfad.c751 bfad->hal_pcidev.pci_slot = PCI_SLOT(pdev->devfn); in bfad_pci_init()

12