/Linux-v4.19/drivers/pci/hotplug/ |
D | pci_hotplug_core.c | 69 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in GET_STATUS() 74 retval = get_power_status(pci_slot->hotplug, &value); in GET_STATUS() 81 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument 84 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() 126 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument 131 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file() 138 static ssize_t attention_write_file(struct pci_slot *pci_slot, const char *buf, in attention_write_file() argument 141 struct hotplug_slot_ops *ops = pci_slot->hotplug->ops; in attention_write_file() 155 retval = ops->set_attention_status(pci_slot->hotplug, attention); in attention_write_file() 170 static ssize_t latch_read_file(struct pci_slot *pci_slot, char *buf) in latch_read_file() argument [all …]
|
D | sgi_hotplug.c | 91 static ssize_t path_show(struct pci_slot *pci_slot, char *buf) in path_show() argument 94 struct slot *slot = pci_slot->hotplug->private; in path_show() 191 struct pci_slot *pci_slot; in sn_hp_destroy() local 196 pci_slot = bss_hotplug_slot->pci_slot; in sn_hp_destroy() 199 sysfs_remove_file(&pci_slot->kobj, in sn_hp_destroy() 596 struct pci_slot *pci_slot; in sn_hotplug_slot_register() local 636 pci_slot = bss_hotplug_slot->pci_slot; in sn_hotplug_slot_register() 637 rc = sysfs_create_file(&pci_slot->kobj, in sn_hotplug_slot_register()
|
D | ibmphp_core.c | 385 struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; in get_max_bus_speed() 586 struct pci_bus *bus = slot_cur->hotplug_slot->pci_slot->bus; in ibmphp_update_slot_info()
|
/Linux-v4.19/drivers/acpi/ |
D | pci_slot.c | 45 struct pci_slot *pci_slot; /* corresponding pci_slot */ member 101 struct pci_slot *pci_slot; in register_slot() local 113 pci_slot = slot->pci_slot; in register_slot() 114 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot() 123 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot() 124 if (IS_ERR(pci_slot)) { in register_slot() 125 pr_err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot)); in register_slot() 130 slot->pci_slot = pci_slot; in register_slot() 136 pci_slot, pci_bus->number, device, name); in register_slot() 159 if (slot->pci_slot->bus == bus) { in acpi_pci_slot_remove() [all …]
|
D | Makefile | 74 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
|
/Linux-v4.19/drivers/pci/ |
D | slot.c | 22 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() 30 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() 40 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 …]
|
D | pci.h | 209 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj) 215 ssize_t (*show)(struct pci_slot *, char *); 216 ssize_t (*store)(struct pci_slot *, const char *, size_t);
|
D | pci.c | 4935 static bool pci_slot_resetable(struct pci_slot *slot) in pci_slot_resetable() 4955 static void pci_slot_lock(struct pci_slot *slot) in pci_slot_lock() 4969 static void pci_slot_unlock(struct pci_slot *slot) in pci_slot_unlock() 4983 static int pci_slot_trylock(struct pci_slot *slot) in pci_slot_trylock() 5045 static void pci_slot_save_and_disable(struct pci_slot *slot) in pci_slot_save_and_disable() 5062 static void pci_slot_restore(struct pci_slot *slot) in pci_slot_restore() 5077 static int pci_slot_reset(struct pci_slot *slot, int probe) in pci_slot_reset() 5103 int pci_probe_reset_slot(struct pci_slot *slot) in pci_probe_reset_slot() 5124 static int __pci_reset_slot(struct pci_slot *slot) in __pci_reset_slot()
|
/Linux-v4.19/include/linux/ |
D | pci_hotplug.h | 93 struct pci_slot *pci_slot; member 98 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
|
D | pci.h | 56 struct pci_slot { struct 64 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name() argument 293 struct pci_slot *slot; /* Physical slot this device is in */ 923 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, 926 void pci_destroy_slot(struct pci_slot *slot); 1118 int pci_probe_reset_slot(struct pci_slot *slot); 2028 void pci_hp_create_module_link(struct pci_slot *pci_slot); 2029 void pci_hp_remove_module_link(struct pci_slot *pci_slot);
|
/Linux-v4.19/arch/sparc/kernel/ |
D | pci.c | 1074 struct pci_slot *pci_slot; in pcie_bus_slot_names() local 1085 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names() 1087 if (IS_ERR(pci_slot)) in pcie_bus_slot_names() 1089 PTR_ERR(pci_slot)); in pcie_bus_slot_names() 1119 struct pci_slot *pci_slot; in pci_bus_slot_names() local 1130 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names() 1131 if (IS_ERR(pci_slot)) in pci_bus_slot_names() 1133 PTR_ERR(pci_slot)); in pci_bus_slot_names()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | vnic_resource.h | 71 u16 pci_slot; /* installed pci slot */ member
|
/Linux-v4.19/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb.h | 114 int pci_slot; member
|
D | netup_unidvb_spi.c | 217 ndev->pci_slot, in netup_spi_init()
|
D | netup_unidvb_core.c | 828 ndev->pci_slot = PCI_SLOT(pci_dev->devfn); in netup_unidvb_initdev() 830 ndev->board_num = ndev->pci_bus*10 + ndev->pci_slot; in netup_unidvb_initdev() 834 __func__, ndev->board_num, ndev->pci_bus, ndev->pci_slot); in netup_unidvb_initdev()
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 191 uint8_t pci_slot; member
|
D | megaraid_mm.c | 893 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() 897 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
|
/Linux-v4.19/drivers/pci/controller/ |
D | pci-hyperv.c | 500 struct pci_slot *pci_slot; member 1480 if (hpdev->pci_slot) in hv_pci_assign_slots() 1485 hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr, in hv_pci_assign_slots() 1487 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots() 1489 hpdev->pci_slot = NULL; in hv_pci_assign_slots() 1897 if (hpdev->pci_slot) in hv_eject_device_work() 1898 pci_destroy_slot(hpdev->pci_slot); in hv_eject_device_work()
|
/Linux-v4.19/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 418 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-v4.19/drivers/media/pci/cx25821/ |
D | cx25821.h | 238 int pci_bus, pci_slot; member
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.h | 36 int pci_slot; member
|
/Linux-v4.19/drivers/media/pci/saa7164/ |
D | saa7164.h | 439 int pci_bus, pci_slot; member
|
/Linux-v4.19/drivers/media/pci/cx88/ |
D | cx88.h | 352 int pci_slot; member
|
/Linux-v4.19/drivers/media/pci/cx23885/ |
D | cx23885.h | 370 int pci_bus, pci_slot; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/ |
D | qla3xxx.h | 1083 u8 pci_slot; member
|