Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/pci/hotplug/
Dpci_hotplug_core.c67 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in GET_STATUS()
72 retval = get_power_status(pci_slot->hotplug, &value); in GET_STATUS()
79 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument
82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
124 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument
129 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
136 static ssize_t attention_write_file(struct pci_slot *pci_slot, const char *buf, in attention_write_file() argument
139 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file()
169 static ssize_t latch_read_file(struct pci_slot *pci_slot, char *buf) in latch_read_file() argument
174 retval = get_latch_status(pci_slot->hotplug, &value); in latch_read_file()
[all …]
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
56 * Several functions access the pci_slot member in struct hotplug_slot even
58 example. Either the pci_slot member should no longer be declared private
Dibmphp_core.c372 struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus; in get_max_bus_speed()
572 struct pci_bus *bus = slot_cur->hotplug_slot.pci_slot->bus; in ibmphp_update_slot_info()
/Linux-v5.4/drivers/acpi/
Dpci_slot.c37 struct pci_slot *pci_slot; /* corresponding pci_slot */ member
93 struct pci_slot *pci_slot; in register_slot() local
105 pci_slot = slot->pci_slot; in register_slot()
106 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot()
115 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot()
116 if (IS_ERR(pci_slot)) { in register_slot()
117 pr_err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot)); in register_slot()
122 slot->pci_slot = pci_slot; in register_slot()
128 pci_slot, pci_bus->number, device, name); in register_slot()
151 if (slot->pci_slot->bus == bus) { in acpi_pci_slot_remove()
[all …]
DMakefile78 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
/Linux-v5.4/drivers/pci/
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()
39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
93 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
98 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
106 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
180 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
200 struct pci_slot *slot; in pci_dev_assign_slot()
209 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
211 struct pci_slot *slot; in get_slot()
[all …]
Dpci.h245 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
251 ssize_t (*show)(struct pci_slot *, char *);
252 ssize_t (*store)(struct pci_slot *, const char *, size_t);
Dpci.c5079 static bool pci_slot_resetable(struct pci_slot *slot) in pci_slot_resetable()
5099 static void pci_slot_lock(struct pci_slot *slot) in pci_slot_lock()
5113 static void pci_slot_unlock(struct pci_slot *slot) in pci_slot_unlock()
5127 static int pci_slot_trylock(struct pci_slot *slot) in pci_slot_trylock()
5192 static void pci_slot_save_and_disable_locked(struct pci_slot *slot) in pci_slot_save_and_disable_locked()
5210 static void pci_slot_restore_locked(struct pci_slot *slot) in pci_slot_restore_locked()
5223 static int pci_slot_reset(struct pci_slot *slot, int probe) in pci_slot_reset()
5249 int pci_probe_reset_slot(struct pci_slot *slot) in pci_probe_reset_slot()
5270 static int __pci_reset_slot(struct pci_slot *slot) in __pci_reset_slot()
5322 struct pci_slot *slot; in pci_bus_error_reset()
/Linux-v5.4/include/linux/
Dpci_hotplug.h61 struct pci_slot *pci_slot; member
68 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
Dpci.h62 struct pci_slot { struct
70 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name() argument
298 struct pci_slot *slot; /* Physical slot this device is in */
1000 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
1003 void pci_destroy_slot(struct pci_slot *slot);
1195 int pci_probe_reset_slot(struct pci_slot *slot);
2094 void pci_hp_create_module_link(struct pci_slot *pci_slot);
2095 void pci_hp_remove_module_link(struct pci_slot *pci_slot);
/Linux-v5.4/arch/sparc/kernel/
Dpci.c1052 struct pci_slot *pci_slot; in pcie_bus_slot_names() local
1063 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
1065 if (IS_ERR(pci_slot)) in pcie_bus_slot_names()
1067 PTR_ERR(pci_slot)); in pcie_bus_slot_names()
1097 struct pci_slot *pci_slot; in pci_bus_slot_names() local
1108 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names()
1109 if (IS_ERR(pci_slot)) in pci_bus_slot_names()
1111 PTR_ERR(pci_slot)); in pci_bus_slot_names()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Dvnic_resource.h71 u16 pci_slot; /* installed pci slot */ member
/Linux-v5.4/drivers/pci/controller/
Dpci-hyperv.c529 struct pci_slot *pci_slot; member
1758 if (hpdev->pci_slot) in hv_pci_assign_slots()
1763 hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr, in hv_pci_assign_slots()
1765 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots()
1767 hpdev->pci_slot = NULL; in hv_pci_assign_slots()
1780 if (!hpdev->pci_slot) in hv_pci_remove_slots()
1782 pci_destroy_slot(hpdev->pci_slot); in hv_pci_remove_slots()
1783 hpdev->pci_slot = NULL; in hv_pci_remove_slots()
2063 if (hpdev->pci_slot) in pci_devices_present_work()
2064 pci_destroy_slot(hpdev->pci_slot); in pci_devices_present_work()
[all …]
/Linux-v5.4/drivers/media/pci/netup_unidvb/
Dnetup_unidvb.h105 int pci_slot; member
Dnetup_unidvb_spi.c208 ndev->pci_slot, in netup_spi_init()
Dnetup_unidvb_core.c819 ndev->pci_slot = PCI_SLOT(pci_dev->devfn); in netup_unidvb_initdev()
821 ndev->board_num = ndev->pci_bus*10 + ndev->pci_slot; in netup_unidvb_initdev()
825 __func__, ndev->board_num, ndev->pci_bus, ndev->pci_slot); in netup_unidvb_initdev()
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_ioctl.h187 uint8_t pci_slot; member
Dmegaraid_mm.c889 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo()
893 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-driver.c418 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() local
490 if (pci_slot == 8 || pci_slot == 9) { in ivtv_process_eeprom()
491 int is_first = (pci_slot & 1) == 0; in ivtv_process_eeprom()
/Linux-v5.4/drivers/media/pci/cx25821/
Dcx25821.h227 int pci_bus, pci_slot; member
/Linux-v5.4/arch/powerpc/kernel/
Deeh_driver.c788 struct pci_slot *slot; in eeh_slot_presence_check()
820 struct pci_slot *slot; in eeh_clear_slot_attention()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h28 int pci_slot; member
/Linux-v5.4/drivers/media/pci/cx23885/
Dcx23885.h359 int pci_bus, pci_slot; member
/Linux-v5.4/drivers/media/pci/cx88/
Dcx88.h342 int pci_slot; member
/Linux-v5.4/drivers/media/pci/saa7164/
Dsaa7164.h429 int pci_bus, pci_slot; member

12