| /linux/drivers/pci/hotplug/ |
| H A D | pci_hotplug_core.c | 55 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 D | TODO | 27 * 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 D | ibmphp_core.c | 364 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/ |
| H A D | pci_slot.c | 34 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 D | Makefile | 89 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
|
| /linux/include/linux/ |
| H A D | pci_hotplug.h | 61 struct pci_slot *pci_slot; member 68 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
|
| H A D | pci.h | 76 struct pci_slot { struct 84 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name() argument 345 struct pci_slot *slot; /* Physical slot this device is in */ 1218 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, 1221 void pci_destroy_slot(struct pci_slot *slot); 1447 int pci_probe_reset_slot(struct pci_slot *slot);
|
| /linux/arch/sparc/kernel/ |
| H A D | pci.c | 905 struct pci_slot *pci_slot; in pcie_bus_slot_names() local 916 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names() 918 if (IS_ERR(pci_slot)) in pcie_bus_slot_names() 920 PTR_ERR(pci_slot)); in pcie_bus_slot_names() 950 struct pci_slot *pci_slot; in pci_bus_slot_names() local 961 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names() 962 if (IS_ERR(pci_slot)) in pci_bus_slot_names() 964 PTR_ERR(pci_slot)); in pci_bus_slot_names()
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_resource.h | 58 u16 pci_slot; /* installed pci slot */ member
|
| /linux/drivers/media/pci/netup_unidvb/ |
| H A D | netup_unidvb.h | 105 int pci_slot; member
|
| H A D | netup_unidvb_core.c | 825 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/ |
| H A D | megaraid_ioctl.h | 187 uint8_t pci_slot; member
|
| H A D | megaraid_mm.c | 890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() 894 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
|
| /linux/include/uapi/linux/ |
| H A D | gpib_ioctl.h | 88 __s32 pci_slot; member
|
| /linux/drivers/gpib/include/ |
| H A D | gpib_types.h | 43 int pci_slot; member
|
| /linux/drivers/gpib/common/ |
| H A D | gpib_os.c | 1823 config->pci_slot = selection.pci_slot; in select_pci_ioctl() 2089 config->pci_slot = -1; in init_gpib_board_config() 2236 if (config->pci_slot >= 0 && config->pci_slot != in gpib_pci_get_device() 2258 if (config->pci_slot >= 0 && config->pci_slot != in gpib_pci_get_subsys()
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-driver.c | 374 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() local 446 if (pci_slot == 8 || pci_slot == 9) { in ivtv_process_eeprom() 447 int is_first = (pci_slot & 1) == 0; in ivtv_process_eeprom()
|
| /linux/drivers/gpib/lpvo_usb_gpib/ |
| H A D | lpvo_usb_gpib.c | 395 config->pci_bus, config->pci_slot, base); in usb_gpib_attach() 418 } else if (config->pci_bus != -1 && config->pci_slot != -1) { in usb_gpib_attach() 425 udev->bus->busnum, config->pci_bus, udev->devnum, config->pci_slot); in usb_gpib_attach() 427 config->pci_slot == udev->devnum) in usb_gpib_attach()
|
| /linux/drivers/pci/ |
| H A D | pci.h | 403 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj) 409 ssize_t (*show)(struct pci_slot *, char *); 410 ssize_t (*store)(struct pci_slot *, const char *, size_t);
|
| /linux/drivers/media/pci/cx25821/ |
| H A D | cx25821.h | 226 int pci_bus, pci_slot; member
|
| /linux/arch/powerpc/kernel/ |
| H A D | eeh_driver.c | 764 struct pci_slot *slot; in eeh_slot_presence_check() 796 struct pci_slot *slot; in eeh_clear_slot_attention()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_ioc.h | 28 int pci_slot; member
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88.h | 343 int pci_slot; member
|
| /linux/drivers/gpib/ines/ |
| H A D | ines_gpib.c | 765 if (config->pci_slot >= 0 && config->pci_slot != PCI_SLOT(pdev->devfn)) in ines_common_pci_attach()
|
| /linux/drivers/net/ethernet/qlogic/ |
| H A D | qla3xxx.h | 1082 u8 pci_slot; member
|