Home
last modified time | relevance | path

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

12

/drivers/pci/hotplug/
Dpci_hotplug_core.c86 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in GET_STATUS()
91 retval = get_power_status(pci_slot->hotplug, &value); in GET_STATUS()
98 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument
101 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
143 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument
148 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
155 static ssize_t attention_write_file(struct pci_slot *pci_slot, const char *buf, in attention_write_file() argument
158 struct hotplug_slot_ops *ops = pci_slot->hotplug->ops; in attention_write_file()
172 retval = ops->set_attention_status(pci_slot->hotplug, attention); in attention_write_file()
187 static ssize_t latch_read_file(struct pci_slot *pci_slot, char *buf) in latch_read_file() argument
[all …]
Dsgi_hotplug.c94 static ssize_t path_show(struct pci_slot *pci_slot, char *buf) in path_show() argument
97 struct slot *slot = pci_slot->hotplug->private; in path_show()
194 struct pci_slot *pci_slot; in sn_hp_destroy() local
199 pci_slot = bss_hotplug_slot->pci_slot; in sn_hp_destroy()
202 sysfs_remove_file(&pci_slot->kobj, in sn_hp_destroy()
599 struct pci_slot *pci_slot; in sn_hotplug_slot_register() local
640 pci_slot = bss_hotplug_slot->pci_slot; in sn_hotplug_slot_register()
641 rc = sysfs_create_file(&pci_slot->kobj, in sn_hotplug_slot_register()
Dibmphp_core.c401 struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; in get_max_bus_speed()
608 struct pci_bus *bus = slot_cur->hotplug_slot->pci_slot->bus; in ibmphp_update_slot_info()
/drivers/acpi/
Dpci_slot.c63 struct pci_slot *pci_slot; /* corresponding pci_slot */ member
117 struct pci_slot *pci_slot; in register_slot() local
129 pci_slot = slot->pci_slot; in register_slot()
130 if (pci_slot->bus == pci_bus && pci_slot->number == device) in register_slot()
141 pci_slot = pci_create_slot(pci_bus, device, name, NULL); in register_slot()
142 if (IS_ERR(pci_slot)) { in register_slot()
143 err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot)); in register_slot()
148 slot->pci_slot = pci_slot; in register_slot()
154 pci_slot, pci_bus->number, device, name); in register_slot()
177 if (slot->pci_slot->bus == bus) { in acpi_pci_slot_remove()
[all …]
DMakefile66 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
/drivers/pci/
Dslot.c22 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()
92 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
97 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
105 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
179 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
199 struct pci_slot *slot; in pci_dev_assign_slot()
208 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
210 struct pci_slot *slot; in get_slot()
[all …]
Dpci.h212 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
218 ssize_t (*show)(struct pci_slot *, char *);
219 ssize_t (*store)(struct pci_slot *, const char *, size_t);
Dpci.c3936 static bool pci_slot_resetable(struct pci_slot *slot) in pci_slot_resetable()
3952 static void pci_slot_lock(struct pci_slot *slot) in pci_slot_lock()
3966 static void pci_slot_unlock(struct pci_slot *slot) in pci_slot_unlock()
3980 static int pci_slot_trylock(struct pci_slot *slot) in pci_slot_trylock()
4038 static void pci_slot_save_and_disable(struct pci_slot *slot) in pci_slot_save_and_disable()
4055 static void pci_slot_restore(struct pci_slot *slot) in pci_slot_restore()
4068 static int pci_slot_reset(struct pci_slot *slot, int probe) in pci_slot_reset()
4094 int pci_probe_reset_slot(struct pci_slot *slot) in pci_probe_reset_slot()
4115 int pci_reset_slot(struct pci_slot *slot) in pci_reset_slot()
4139 int pci_try_reset_slot(struct pci_slot *slot) in pci_try_reset_slot()
/drivers/net/ethernet/cisco/enic/
Dvnic_resource.h71 u16 pci_slot; /* installed pci slot */ member
/drivers/media/pci/netup_unidvb/
Dnetup_unidvb.h105 int pci_slot; member
Dnetup_unidvb_spi.c217 ndev->pci_slot, in netup_spi_init()
Dnetup_unidvb_core.c793 ndev->pci_slot = PCI_SLOT(pci_dev->devfn); in netup_unidvb_initdev()
795 ndev->board_num = ndev->pci_bus*10 + ndev->pci_slot; in netup_unidvb_initdev()
799 __func__, ndev->board_num, ndev->pci_bus, ndev->pci_slot); in netup_unidvb_initdev()
/drivers/scsi/megaraid/
Dmegaraid_ioctl.h185 uint8_t pci_slot; member
Dmegaraid_mm.c899 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo()
903 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo()
/drivers/media/pci/ivtv/
Divtv-driver.c417 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() local
489 if (pci_slot == 8 || pci_slot == 9) { in ivtv_process_eeprom()
490 int is_first = (pci_slot & 1) == 0; in ivtv_process_eeprom()
/drivers/staging/dgnc/
Ddgnc_driver.h166 uint pci_slot; /* PCI slot value */ member
Ddgnc_driver.c395 brd->pci_slot = PCI_SLOT(pdev->devfn); in dgnc_found_board()
/drivers/media/pci/cx25821/
Dcx25821.h244 int pci_bus, pci_slot; member
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h36 int pci_slot; member
/drivers/media/pci/saa7164/
Dsaa7164.h447 int pci_bus, pci_slot; member
/drivers/media/pci/cx88/
Dcx88.h351 int pci_slot; member
Dcx88-core.c1020 if (PCI_SLOT(pci->devfn) != core->pci_slot) in cx88_core_get()
/drivers/media/pci/cx23885/
Dcx23885.h360 int pci_bus, pci_slot; member
/drivers/staging/dgap/
Ddgap.h541 uint pci_slot; /* PCI slot value */ member
/drivers/net/ethernet/qlogic/
Dqla3xxx.h1083 u8 pci_slot; member

12